summaryrefslogtreecommitdiff
path: root/utils.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* utils.go, auth.go: Rename random to randomBytesRunxi Yu6 days1-1/+1
|
* ws.go, utils.go: Document some synchronization design choicesRunxi Yu6 days1-0/+3
| | | | Also use TryLock in setupChanPool, and fail when not successful.
* *: Change license to AGPL-3.0-or-laterRunxi Yu6 days1-21/+11
|
* utils.go: Better logging for wstr()Runxi Yu6 days1-1/+1
|
* *.go: Wrap errorsRunxi Yu10 days1-1/+2
|
* *.go: LintingRunxi Yu12 days1-3/+3
|
* utils.go: ReformatRunxi Yu12 days1-2/+2
|
* {index,utils,ws}.go: Handle write errorsRunxi Yu12 days1-1/+5
|
* {utils,auth,index,ws}.go: Handle errors in random number generationRunxi Yu12 days1-3/+6
|
* *.go: Add commentsRunxi Yu2024-09-091-0/+4
|
* *: Basic authentication and templatesRunxi Yu2024-09-071-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.