forge
Explore
Log in

Don't you dare go Hollow

fix: 🐛 nginx API whitelist, answer-sheet join, prefs clear; contract …

#18

ClosedTahinli1 month ago0 comments

Tahinli

Originally by @burakboduroglu on GitHub, 2026-07-19, original

Imported pull request (merged). Its branches may no longer exist, so there is nothing to merge here.

…tests

  • nginx.conf: proxy whitelist gains sessions/work/pomodoro/attendance/ settings/subjects/terms — containerized frontend served index.html for those APIs; new nginx.conf.test.ts (bun test) guards the list
  • teacher answer sheet: join via tested lib/answer-sheet.ts and list every question, showing unanswered ones too (answers-only merge hid them)
  • admin user preferences: send "" (not null) to clear theme/language — backend keeps on null; body types now forbid null
  • live monitor: attemptLabel moved to lib/exam-labels.ts with a real unlimited-attempts guard (max_attempts 0 no longer renders "n / 0")
  • PATCH body types stop offering null-clears the backend ignores (session/event/course/note/work); only true set_or_clear fields stay nullable
  • course edit form gains maxlength hints matching backend limits
  • unit tests for answer-sheet join, exam weight, attempt label; tsconfig excludes src/**/*.test.ts from app typecheck
Tahinli added the imported PR label · closed this as completed

Log in to comment.

Labels

imported PR

Assignees

Milestone