Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | style.css: Do not differentiate between odd and even rows | Runxi Yu | 2024-09-29 | 1 | -9/+0 | |
| | | | | It looks annoying | |||||
* | index.html: Remove erroneous comma in tag attributes | Runxi Yu | 2024-09-29 | 1 | -1/+1 | |
| | ||||||
* | index.html, style.css: Use .reading-width instead of section | Runxi Yu | 2024-09-29 | 2 | -3/+3 | |
| | | | | Section has semantic meaning and should be accompanied by a heading | |||||
* | index.html: acronym -> abbr | Runxi Yu | 2024-09-29 | 1 | -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 Yu | 2024-09-29 | 2 | -1/+5 | |
| | ||||||
* | 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 | |
| |