Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | index.html, style.css: Misc enhancements | Runxi Yu | 2024-09-29 | 2 | -19/+24 | |
| | ||||||
* | eslint.sh: Pass additional arguments to eslint (to use e.g. --fix) | Runxi Yu | 2024-09-29 | 1 | -1/+1 | |
| | ||||||
* | main.js: Set checkboxes to indeterminate after selection | Runxi Yu | 2024-09-29 | 1 | -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 struct | Runxi Yu | 2024-09-29 | 1 | -6/+5 | |
| | ||||||
* | courses.go: courseT.{Lock->SelectedLock} | Runxi Yu | 2024-09-29 | 1 | -12/+12 | |
| | ||||||
* | courses.go: Add a RWMutex to courseT | Runxi Yu | 2024-09-28 | 1 | -8/+15 | |
| | ||||||
* | Add eslint.sh | Runxi Yu | 2024-09-28 | 1 | -0/+7 | |
| | ||||||
* | eslint.config.js: Allow globals and reformat | Runxi Yu | 2024-09-28 | 1 | -19/+29 | |
| | ||||||
* | main.js: event -> _event because it's unused | Runxi Yu | 2024-09-28 | 1 | -1/+1 | |
| | ||||||
* | main.js: Fix spacing in array indices | Runxi Yu | 2024-09-28 | 2 | -8/+9 | |
| | ||||||
* | main.js, style.css, index.html: Clear notice by JS instead of using noscript | Runxi Yu | 2024-09-27 | 3 | -20/+23 | |
| | ||||||
* | Add phony all target for the handbooks | Runxi Yu | 2024-09-27 | 1 | -0/+3 | |
| | ||||||
* | IA documentation stub | Runxi Yu | 2024-09-27 | 10 | -7/+20 | |
| | ||||||
* | Add an admin handbook stub | Runxi Yu | 2024-09-27 | 3 | -0/+51 | |
| | ||||||
* | Update handbook URLs | Runxi Yu | 2024-09-27 | 1 | -3/+3 | |
| | ||||||
* | Add a .gitignore to ignore generated .html files from TeXinfo | Runxi Yu | 2024-09-27 | 1 | -0/+3 | |
| | ||||||
* | Initialize IA documentation | Runxi Yu | 2024-09-27 | 1 | -0/+351 | |
| | ||||||
* | Update go.yml | Runxi Yu | 2024-09-27 | 1 | -0/+3 | |
| | ||||||
* | ws.go: chanPoolLock should be locked during setupChanPool | Runxi Yu | 2024-09-27 | 1 | -0/+2 | |
| | ||||||
* | ws.go: chanPool should be a map too | Runxi Yu | 2024-09-27 | 1 | -19/+8 | |
| | ||||||
* | courses.go, etc: Make courses a map instead of a slice | Runxi Yu | 2024-09-26 | 3 | -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 spaces | Runxi Yu | 2024-09-26 | 1 | -0/+4 | |
| | ||||||
* | .github: Try to upload artifacts | Runxi Yu | 2024-09-26 | 1 | -0/+6 | |
| | ||||||
* | main.go: Use http.Server.Serve | Runxi Yu | 2024-09-26 | 1 | -1/+5 | |
| | ||||||
* | db.go: Fix tautological error handling | Runxi Yu | 2024-09-26 | 1 | -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 options | Runxi Yu | 2024-09-26 | 4 | -4/+40 | |
| | ||||||
* | Revert "main.go: Use http.Server with timeouts" | Runxi Yu | 2024-09-26 | 1 | -5/+1 | |
| | | | | | | | This reverts commit 65d3c85e3bee4b5961e53338f8b42e5a68ff1b04. I'm reverting this for now because it seems to make requests hang indefinitely. | |||||
* | lint.sh: Add #!/bin/sh | Runxi Yu | 2024-09-26 | 1 | -0/+1 | |
| | ||||||
* | *.go: Wrap errors | Runxi Yu | 2024-09-26 | 7 | -20/+25 | |
| | ||||||
* | README.md: Mention GitHub CI too | Runxi Yu | 2024-09-26 | 1 | -1/+2 | |
| | ||||||
* | Attempt to use GitHub workflows | Runxi Yu | 2024-09-26 | 1 | -0/+28 | |
| | ||||||
* | main.go: Use http.Server with timeouts | Runxi Yu | 2024-09-26 | 1 | -1/+5 | |
| | ||||||
* | auth.go: Use contexts in getAccessToken | Runxi Yu | 2024-09-26 | 1 | -3/+8 | |
| | ||||||
* | {auth,index,ws}.go: Add contexts for database calls | Runxi Yu | 2024-09-26 | 3 | -10/+10 | |
| | ||||||
* | README.md: Add link to CI page | Runxi Yu | 2024-09-26 | 1 | -1/+1 | |
| | ||||||
* | README.md: Update [skip ci] | Runxi Yu | 2024-09-26 | 1 | -10/+27 | |
| | ||||||
* | .woodpecker: Add linting | Runxi Yu | 2024-09-26 | 1 | -1/+2 | |
| | ||||||
* | lint.sh: Disable some bad checkers | Runxi Yu | 2024-09-26 | 1 | -1/+1 | |
| | ||||||
* | ws.go: Reformat | Runxi Yu | 2024-09-26 | 1 | -1/+1 | |
| | ||||||
* | .woodpecker: I can only release on tags | Runxi Yu | 2024-09-26 | 1 | -2/+2 | |
| | ||||||
* | .woodpecker: Attempt 3 | Runxi Yu | 2024-09-26 | 1 | -2/+1 | |
| | ||||||
* | .woodpecker: Attempt 2 | Runxi Yu | 2024-09-26 | 1 | -5/+2 | |
| | ||||||
* | .woodpecker: Add release workflow (well I'm trying) | Runxi Yu | 2024-09-26 | 1 | -0/+14 | |
| | ||||||
* | .woodpecker: Try alpine:edge | Runxi Yu | 2024-09-25 | 1 | -1/+1 | |
| | ||||||
* | .woodpecker: Initialize CI | Runxi Yu | 2024-09-25 | 1 | -0/+11 | |
| | ||||||
* | ws.go: Document chanPoolLock's purpose | Runxi Yu | 2024-09-24 | 1 | -0/+9 | |
| | ||||||
* | auth.go: Close PostForm response body | Runxi Yu | 2024-09-24 | 1 | -0/+1 | |
| | ||||||
* | style.css: Fix more regressions | Runxi Yu | 2024-09-24 | 1 | -4/+8 | |
| | ||||||
* | index.html, main.js: Display message when connection is closed | Runxi Yu | 2024-09-24 | 3 | -2/+41 | |
| | | | | Also fixed some CSS regressions | |||||
* | index.html: Fix template to match the new "ID" rather than "Id" | Runxi Yu | 2024-09-24 | 1 | -5/+5 | |
| |