aboutsummaryrefslogtreecommitdiff
path: root/scripts/pre-commit (unfollow)
Commit message (Expand)AuthorFilesLines
2024-10-01style.css: Switch the header to a grey themeRunxi Yu1-4/+8
2024-10-01style.css: Revert back to blue themeRunxi Yu1-3/+5
2024-10-01{ws,wsm}.go: Split message handlers into their own functionsRunxi Yu2-124/+182
2024-10-01lint.sh: Disable dogsled and unparamRunxi Yu1-1/+1
2024-10-01{auth,ws}.go: Remove unnecessary TODOsRunxi Yu2-19/+2
2024-10-01ws.go: Allow deselecting coursesRunxi Yu1-0/+34
2024-10-01lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu1-1/+1
2024-10-01ws.go: Fix logic error when reaffirming a course choiceRunxi Yu1-2/+2
2024-10-01{main,pw}.go, Makefile, index_login.html: Remove password auth stubRunxi Yu4-92/+1
2024-10-01ws.go: protocolError instead of R on unexpected database errorsRunxi Yu1-23/+7
2024-10-01index.go, ws.go: Fix race condition surrounding coursesRunxi Yu2-13/+21
2024-10-01courses.go: Propagate course.Selected when setting up coursesRunxi Yu1-2/+7
2024-10-01ws.go: Decrement course.Selected counter on commit failuresRunxi Yu1-0/+6
2024-10-01ws.go: Reaffirm course choice when duplicate is requestedRunxi Yu1-5/+13
2024-10-01ws.go: propagateCouldFail -> propagateIgnoreFailuresRunxi Yu1-2/+2
2024-10-01ws.go, schema.sql: Enforce uniqueness of course choicesRunxi Yu2-43/+65
2024-10-01lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu1-1/+1
2024-10-01ws.go, *.sql: Add course choices to the databaseRunxi Yu3-7/+47
2024-10-01postgres_run.sh: Run in debug level 2Runxi Yu1-1/+1
2024-10-01ws.go: propagate -> propagateCouldFailRunxi Yu1-3/+8
2024-10-01ws.go: propagate course number updates in another goroutineRunxi Yu1-1/+1
2024-10-01auth.go: Add TODO about INSERTRunxi Yu1-0/+7
2024-09-30admin_handbook: List configuration caveatsRunxi Yu1-3/+7
2024-09-30iadocs: cover_page.{html->htm}Runxi Yu2-353/+352
2024-09-30docs, iadocs: RevampRunxi Yu6-352/+544
2024-09-30docs: TeXinfo kinda sucks, removingRunxi Yu3-57/+0
2024-09-30ws.go: Separate c.Write calls into writeText()Runxi Yu1-25/+17
2024-09-30utils.go, auth.go: Rename random to randomBytesRunxi Yu2-3/+3
2024-09-30main.go: Actually repsect config.Perf.ReadHeaderTimeoutRunxi Yu1-1/+1
2024-09-30style.css: Misc enhancementsRunxi Yu1-29/+25
2024-09-30style.css: Break element specifiers onto its own line when longRunxi Yu1-6/+12
2024-09-30style.css: Rename --boxbg to --boxRunxi Yu1-13/+11
2024-09-30style.css: Add a dark themeRunxi Yu1-8/+28
2024-09-30style.css: Remove poorly-framed comment on --x-contrast colorsRunxi Yu1-5/+0
2024-09-30ws.go, utils.go: Document some synchronization design choicesRunxi Yu2-1/+21
2024-09-30index.html: Disable checkbox initially when .Selected >= MaxRunxi Yu1-0/+4
2024-09-30main.js: Move connect(s) to the event listener directlyRunxi Yu1-6/+2
2024-09-30{config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu6-14/+17
2024-09-30*: Change license to AGPL-3.0-or-laterRunxi Yu13-238/+787
2024-09-30index.go: Correct typoRunxi Yu1-1/+1
2024-09-30auth.go, config.go, cca.scfg.example: Issue expiring cookiesRunxi Yu3-2/+13
2024-09-30{auth,index,ws}.go, schema.sql: Move session cookie into the user tableRunxi Yu4-55/+23
2024-09-30utils.go: Better logging for wstr()Runxi Yu1-1/+1
2024-09-30main.js: Disable boxes when fullRunxi Yu1-0/+8
2024-09-30main.js: Fix the IRC-style message parserRunxi Yu1-0/+4
2024-09-30index.html, main.js, ws.go: Enhance course selection rejection messageRunxi Yu3-5/+9
2024-09-29main.js: Handle "Y" (course selection approved)Runxi Yu1-0/+4
2024-09-29style.css: Remove styling for preformatted textRunxi Yu1-9/+0
2024-09-29ws.go, config.go, config.scfg.example: Attempt to fix deadlockRunxi Yu3-4/+14
2024-09-29main.js: Handle number updatesRunxi Yu1-0/+3