aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu2024-09-292-3/+3
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html: acronym -> abbrRunxi Yu2024-09-291-4/+1
| | | | It seems deprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu2024-09-292-1/+5
|
* index.html, style.css: Misc enhancementsRunxi Yu2024-09-292-19/+24
|
* eslint.sh: Pass additional arguments to eslint (to use e.g. --fix)Runxi Yu2024-09-291-1/+1
|
* main.js: Set checkboxes to indeterminate after selectionRunxi Yu2024-09-291-1/+3
| | | | They should be set to "checked" only when a response to "Y" is received.
* index.html: Remove "course.Confirmed" as it was removed from structRunxi Yu2024-09-291-6/+5
|
* courses.go: courseT.{Lock->SelectedLock}Runxi Yu2024-09-291-12/+12
|
* courses.go: Add a RWMutex to courseTRunxi Yu2024-09-281-8/+15
|
* Add eslint.shRunxi Yu2024-09-281-0/+7
|
* eslint.config.js: Allow globals and reformatRunxi Yu2024-09-281-19/+29
|
* main.js: event -> _event because it's unusedRunxi Yu2024-09-281-1/+1
|
* main.js: Fix spacing in array indicesRunxi Yu2024-09-282-8/+9
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu2024-09-273-20/+23
|
* Add phony all target for the handbooksRunxi Yu2024-09-271-0/+3
|
* IA documentation stubRunxi Yu2024-09-2710-7/+20
|
* Add an admin handbook stubRunxi Yu2024-09-273-0/+51
|
* Update handbook URLsRunxi Yu2024-09-271-3/+3
|
* Add a .gitignore to ignore generated .html files from TeXinfoRunxi Yu2024-09-271-0/+3
|
* Initialize IA documentationRunxi Yu2024-09-271-0/+351
|
* Update go.ymlRunxi Yu2024-09-271-0/+3
|
* ws.go: chanPoolLock should be locked during setupChanPoolRunxi Yu2024-09-271-0/+2
|
* ws.go: chanPool should be a map tooRunxi Yu2024-09-271-19/+8
|
* courses.go, etc: Make courses a map instead of a sliceRunxi Yu2024-09-263-10/+3
| | | | | We need to refer to courses by their ID, and a map makes significantly more sense than a slice.
* .editorconfig: Indent yaml with 2 spacesRunxi Yu2024-09-261-0/+4
|
* .github: Try to upload artifactsRunxi Yu2024-09-261-0/+6
|
* main.go: Use http.Server.ServeRunxi Yu2024-09-261-1/+5
|
* db.go: Fix tautological error handlingRunxi Yu2024-09-261-1/+4
| | | | | | While introducing error wrapping, I accidentally made setupDatabase() return an error even if there is no error. Now I make it actually check for an error to wrap, and return nil otherwise.
* *.go, cca.scfg.example: Expose performance optionsRunxi Yu2024-09-264-4/+40
|
* Revert "main.go: Use http.Server with timeouts"Runxi Yu2024-09-261-5/+1
| | | | | | | This reverts commit 65d3c85e3bee4b5961e53338f8b42e5a68ff1b04. I'm reverting this for now because it seems to make requests hang indefinitely.
* lint.sh: Add #!/bin/shRunxi Yu2024-09-261-0/+1
|
* *.go: Wrap errorsRunxi Yu2024-09-267-20/+25
|
* README.md: Mention GitHub CI tooRunxi Yu2024-09-261-1/+2
|
* Attempt to use GitHub workflowsRunxi Yu2024-09-261-0/+28
|
* main.go: Use http.Server with timeoutsRunxi Yu2024-09-261-1/+5
|
* auth.go: Use contexts in getAccessTokenRunxi Yu2024-09-261-3/+8
|
* {auth,index,ws}.go: Add contexts for database callsRunxi Yu2024-09-263-10/+10
|
* README.md: Add link to CI pageRunxi Yu2024-09-261-1/+1
|
* README.md: Update [skip ci]Runxi Yu2024-09-261-10/+27
|
* .woodpecker: Add lintingRunxi Yu2024-09-261-1/+2
|
* lint.sh: Disable some bad checkersRunxi Yu2024-09-261-1/+1
|
* ws.go: ReformatRunxi Yu2024-09-261-1/+1
|
* .woodpecker: I can only release on tagsRunxi Yu2024-09-261-2/+2
|
* .woodpecker: Attempt 3Runxi Yu2024-09-261-2/+1
|
* .woodpecker: Attempt 2Runxi Yu2024-09-261-5/+2
|
* .woodpecker: Add release workflow (well I'm trying)Runxi Yu2024-09-261-0/+14
|
* .woodpecker: Try alpine:edgeRunxi Yu2024-09-251-1/+1
|
* .woodpecker: Initialize CIRunxi Yu2024-09-251-0/+11
|
* ws.go: Document chanPoolLock's purposeRunxi Yu2024-09-241-0/+9
|
* auth.go: Close PostForm response bodyRunxi Yu2024-09-241-0/+1
|