Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | {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. |