aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "main.go: Use http.Server with timeouts"Runxi Yu10 days1-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 Yu10 days1-0/+1
|
* *.go: Wrap errorsRunxi Yu10 days7-20/+25
|
* README.md: Mention GitHub CI tooRunxi Yu10 days1-1/+2
|
* Attempt to use GitHub workflowsRunxi Yu10 days1-0/+28
|
* main.go: Use http.Server with timeoutsRunxi Yu10 days1-1/+5
|
* auth.go: Use contexts in getAccessTokenRunxi Yu10 days1-3/+8
|
* {auth,index,ws}.go: Add contexts for database callsRunxi Yu10 days3-10/+10
|
* README.md: Add link to CI pageRunxi Yu10 days1-1/+1
|
* README.md: Update [skip ci]Runxi Yu10 days1-10/+27
|
* .woodpecker: Add lintingRunxi Yu10 days1-1/+2
|
* lint.sh: Disable some bad checkersRunxi Yu10 days1-1/+1
|
* ws.go: ReformatRunxi Yu10 days1-1/+1
|
* .woodpecker: I can only release on tagsRunxi Yu10 days1-2/+2
|
* .woodpecker: Attempt 3Runxi Yu10 days1-2/+1
|
* .woodpecker: Attempt 2Runxi Yu10 days1-5/+2
|
* .woodpecker: Add release workflow (well I'm trying)Runxi Yu10 days1-0/+14
|
* .woodpecker: Try alpine:edgeRunxi Yu10 days1-1/+1
|
* .woodpecker: Initialize CIRunxi Yu10 days1-0/+11
|
* ws.go: Document chanPoolLock's purposeRunxi Yu11 days1-0/+9
|
* auth.go: Close PostForm response bodyRunxi Yu11 days1-0/+1
|
* style.css: Fix more regressionsRunxi Yu11 days1-4/+8
|
* index.html, main.js: Display message when connection is closedRunxi Yu11 days3-2/+41
| | | | Also fixed some CSS regressions
* index.html: Fix template to match the new "ID" rather than "Id"Runxi Yu11 days1-5/+5
|
* auth.go: Fix json tag, should be access_token not accessTokenRunxi Yu11 days1-1/+1
|
* auth.go: Fix grant_type=authorization_codeRunxi Yu11 days1-1/+1
| | | | I accidentally changed it to authorizationCode during linting
* cca.scfg.example -> docs/Runxi Yu11 days1-0/+0
|
* docs, scripts, sql: Sort support files into subdirectoriesRunxi Yu11 days6-0/+0
|
* Makefile: Update number of Go filesRunxi Yu11 days1-1/+1
|
* main.js: Omit semicolonsRunxi Yu12 days2-40/+38
|
* main.js, eslint.config.js: Start using eslintRunxi Yu12 days2-41/+149
|
* main.js: Don't indent case in switchRunxi Yu12 days1-28/+28
|
* *.go: LintingRunxi Yu12 days10-140/+147
|
* style.css, index.html: More clean-upRunxi Yu12 days2-136/+106
|
* style.css: Initial clean-upRunxi Yu12 days1-42/+9
|
* utils.go: ReformatRunxi Yu12 days1-2/+2
|
* courses.go: Comment out coursetype_t enum to make linter happy for nowRunxi Yu12 days1-5/+7
|
* {index,utils,ws}.go: Handle write errorsRunxi Yu12 days3-39/+39
|
* {utils,auth,index,ws}.go: Handle errors in random number generationRunxi Yu12 days4-10/+30
|
* ws.go: Log userid and sessionid with channel pointerRunxi Yu12 days1-3/+4
|
* auth.go: Remove unnecessary fmt.SprintfRunxi Yu13 days1-1/+1
|
* ws.go: chanPoolLock should be a RWMutex rather than a pointer to oneRunxi Yu13 days1-1/+1
| | | | | | | A pointer to one could always be obtained via &chanPoolLock; but if I declare it as a pointer globally, I would need to initialize it somewhere so I don't get a null pointer dereference. It's more convenient to just declare it as the value.
* ws.go: Add missing returns after authentication failureRunxi Yu13 days1-0/+2
|
* ws.go: Initial attempt to manage chanPoolRunxi Yu13 days1-13/+22
|
* auth.go, ws.go: Update commentsRunxi Yu13 days2-7/+10
|
* Bump dependenciesRunxi Yu13 days2-3/+3
|
* Bump dependenciesRunxi Yu14 days2-6/+6
|
* index.html: Add box styling to the WebSocket warningRunxi Yu2024-09-171-1/+1
|
* ws.go, main.js, index.html: Better WS documentation and structureRunxi Yu2024-09-164-85/+156
|
* ws.go: Fix previous commit's type inconsistenciesRunxi Yu2024-09-131-4/+5
|