Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *.go: Update comments | Runxi Yu | 2024-10-09 | 1 | -4/+0 |
| | |||||
* | *.go: Further wrap errors | Runxi Yu | 2024-10-08 | 1 | -1/+1 |
| | |||||
* | *: Overhaul structure again and embed everything | Runxi Yu | 2024-10-06 | 1 | -0/+58 |
| | | | | | | | | - Remove sub-Makefiles; recursive make is annoying - Just use one top-level Makefile that builds everything - Embed templates and minified static resources into the binary - Embed all compiled documentation into the binary and serve - Embed all source into the binary and serve | ||||
* | *.go: Move to backend | Runxi Yu | 2024-10-05 | 1 | -58/+0 |
| | | | | And adjust Makefiles, admin handbook, and lint.sh accordingly. | ||||
* | {main,utils,ws}.go: Initialize cancelPool directly too | Runxi Yu | 2024-10-05 | 1 | -3/+0 |
| | |||||
* | {auth,utils,ws}.go: randomBytes -> randomString | Runxi Yu | 2024-10-02 | 1 | -1/+1 |
| | |||||
* | utils.go, auth.go: Rename random to randomBytes | Runxi Yu | 2024-09-30 | 1 | -1/+1 |
| | |||||
* | ws.go, utils.go: Document some synchronization design choices | Runxi Yu | 2024-09-30 | 1 | -0/+3 |
| | | | | Also use TryLock in setupChanPool, and fail when not successful. | ||||
* | *: Change license to AGPL-3.0-or-later | Runxi Yu | 2024-09-30 | 1 | -21/+11 |
| | |||||
* | utils.go: Better logging for wstr() | Runxi Yu | 2024-09-30 | 1 | -1/+1 |
| | |||||
* | *.go: Wrap errors | Runxi Yu | 2024-09-26 | 1 | -1/+2 |
| | |||||
* | *.go: Linting | Runxi Yu | 2024-09-24 | 1 | -3/+3 |
| | |||||
* | utils.go: Reformat | Runxi Yu | 2024-09-24 | 1 | -2/+2 |
| | |||||
* | {index,utils,ws}.go: Handle write errors | Runxi Yu | 2024-09-24 | 1 | -1/+5 |
| | |||||
* | {utils,auth,index,ws}.go: Handle errors in random number generation | Runxi Yu | 2024-09-24 | 1 | -3/+6 |
| | |||||
* | *.go: Add comments | Runxi Yu | 2024-09-09 | 1 | -0/+4 |
| | |||||
* | *: Basic authentication and templates | Runxi Yu | 2024-09-07 | 1 | -0/+56 |
These are imported from FBFP and slightly modified to be specific to YKPS (while not being hard to port to other environments that use APIs that use OAUTH 2.0). Some code is also simplified. Database code still needs an audit, and things are not tested yet. |