summaryrefslogtreecommitdiff
path: root/db.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: Change license to AGPL-3.0-or-laterRunxi Yu6 days1-21/+11
|
* db.go: Fix tautological error handlingRunxi Yu10 days1-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: Wrap errorsRunxi Yu10 days1-1/+2
|
* *.go: LintingRunxi Yu11 days1-3/+5
|
* *.go: Add more licensesRunxi Yu2024-09-091-0/+30
|
* *.go: Add commentsRunxi Yu2024-09-091-0/+4
|
* *: Basic authentication and templatesRunxi Yu2024-09-071-0/+19
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.