aboutsummaryrefslogtreecommitdiff
path: root/endpoint_ws.go (unfollow)
Commit message (Collapse)AuthorFilesLines
8 daysws_connection.go: Remove TODO that should be resolved elsewhereRunxi Yu1-10/+0
8 daysstyle.css: No sticky headerRunxi Yu1-9/+1
8 daysendpoint_*.go: s/http.StatusInternalServerError/-1/Runxi Yu3-28/+23
8 days.inc -> .texincRunxi Yu10-11/+11
8 dayssethandler.go: Log errors from handlersRunxi Yu1-1/+8
References: https://todo.sr.ht/~runxiyu/cca/11
8 days*.go: Return and report errors from HTTP handlersRunxi Yu10-424/+249
We still need to fix error handling from WebSockets References: https://todo.sr.ht/~runxiyu/cca/10
8 days.gitattributesRunxi Yu3-2/+3
8 days{student,staff}.html: Fix column widthsv0.1.10Runxi Yu2-2/+20
References: https://todo.sr.ht/~runxiyu/cca/14
8 daysstudent.js: Display confirmed table when HI is after YCRunxi Yu1-0/+35
8 daysAllow exporting student list with confirmed attributeRunxi Yu4-4/+147
8 daysstudent.js: ReformatRunxi Yu1-28/+29
8 daysendpoint_export.go: Strip leading s from student IDRunxi Yu1-1/+1
8 daysgo.mod, go.sum: Remove UUIDRunxi Yu2-3/+0
8 daysAdd course metadata course_id and section_id for PowerSchoolRunxi Yu5-21/+44
8 daysAdd confirmed courses table to confirmed stateRunxi Yu2-2/+36
8 dayswsmsg_{un,}confirm.go: Check course selections open stateRunxi Yu2-0/+24
8 daysAdd confirmed dialogue on the client side (table not added yet)Runxi Yu7-64/+213
8 days{wsmsg_hello,confirm}.go: Send confirmed stateRunxi Yu3-3/+51
8 dayscancelled -> canceledRunxi Yu7-13/+16
8 daysShow required course types on frontend tooRunxi Yu3-4/+74
8 daysBackend confirm course type minimum checkRunxi Yu10-48/+295
We still need to: - Implement YC and NC on the frontend - Reject Y and N when confirmed - Export list of confirmed users
8 daysDisplay allowed groups/types on csv error; course{Group,Type}T -> stringRunxi Yu8-30/+37
8 daysiadocs: Use Inconsolatazi4Runxi Yu2-2/+2
8 daysiadocs: Include iadocs's own codeRunxi Yu3-1/+7
8 daysiadocs: AGPL \texttt -> \urlRunxi Yu1-2/+2
8 daysiadocs: Appendix updateRunxi Yu3-11/+37
8 dayslatexify-source.sh: CSS is of language CSS, not JavaScriptRunxi Yu1-1/+1
8 daysendpoint_index.go: Fix bug of not returning after rendering login pageRunxi Yu1-1/+1
8 daysRemove benchmarking utilityRunxi Yu4-134/+0
8 daysReduce code repetition and remove fake authenticationRunxi Yu9-349/+157
8 days*.go: Use wrapError() for brevityRunxi Yu13-91/+53
8 daysDon't pass session ID to WebSocket routinesRunxi Yu5-13/+1
8 daysdrop.sql: DROP TABLE misc;Runxi Yu1-0/+1
8 daysRename tmpl -> templatesRunxi Yu8-10/+7
8 days*.go: Restructure backend filesRunxi Yu14-143/+161
8 daysCombine "Enrichment" and "Culture" into "Non-sport"Runxi Yu2-12/+10
8 dayscourses.go: courseTypes should be a map[courseTypeT]struct{}Runxi Yu1-4/+4
This saves one byte per course type
8 daysSeparate wsm.go into a file for each functionRunxi Yu3-155/+215
8 daysMove AGPL out of the primary appendix documentRunxi Yu3-688/+685
9 dayslatexify-source.sh: Use a function instead of copying code aroundRunxi Yu1-55/+23
9 daysdeploy.sh: Update sed expressionRunxi Yu1-1/+1
9 daysstudent.js: Use wss://cca.runxiyu.org/wsv0.1.9Runxi Yu1-1/+1
9 daysREADME.md: Remove "(WIP)"Runxi Yu1-1/+1
9 daysRevert "auth.go: Set SameSite=Strict"Runxi Yu1-1/+1
This reverts commit a6a5db47eb7a2040cd70dbd39e16d7de3fd9bd9f. Users are unable to log in with it. I'll look for another way to prevent CSRF.
9 days*.html: s/IA Docs/IA/gRunxi Yu4-4/+4
9 daysauth.go: Set SameSite=StrictRunxi Yu1-1/+1
We use GET requests for some administration endpoints (most importantly, the ones managing the global state).
9 daysImplement course selection started/stopped statesRunxi Yu10-21/+135
Implements: https://todo.sr.ht/~runxiyu/cca/13
9 daysstaff.html: Add search functionalityRunxi Yu1-0/+11
9 daysstate.go: Cancel connections when setting state 0Runxi Yu1-8/+16
9 daysnewcourses.go: setupCourses must be run after commitRunxi Yu1-10/+11
Otherwise it reads an old snapshot of the database...