summaryrefslogtreecommitdiff
path: root/auth.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* auth.go, schema.sql: Add "confirmed" field to usersRunxi Yu2024-10-091-1/+1
* *.go, tmpl/staff.html: Allow staff to export choicesRunxi Yu2024-10-091-1/+1
* *.go: Update commentsRunxi Yu2024-10-091-7/+0
* err.go: Create, and unify some error definitionsRunxi Yu2024-10-081-19/+13
* *.go: Limit to approximately 80 characters per lineRunxi Yu2024-10-061-20/+77
* *: Overhaul structure again and embed everythingRunxi Yu2024-10-061-0/+374
* *.go: Move to backendRunxi Yu2024-10-051-374/+0
* auth.go: Improve display of OAuth 2.0 errorsRunxi Yu2024-10-041-4/+17
* {auth,utils,ws}.go: randomBytes -> randomStringRunxi Yu2024-10-021-2/+2
* {auth,db,wsm}.go: Make 23505 (uniqueness violation) a constantRunxi Yu2024-10-011-1/+1
* {auth,ws}.go: Remove unnecessary TODOsRunxi Yu2024-10-011-5/+0
* auth.go: Add TODO about INSERTRunxi Yu2024-10-011-0/+7
* utils.go, auth.go: Rename random to randomBytesRunxi Yu2024-09-301-2/+2
* *: Change license to AGPL-3.0-or-laterRunxi Yu2024-09-301-21/+11
* auth.go, config.go, cca.scfg.example: Issue expiring cookiesRunxi Yu2024-09-301-2/+7
* {auth,index,ws}.go, schema.sql: Move session cookie into the user tableRunxi Yu2024-09-301-19/+6
* auth.go: Document why we use a hybrid auth flowRunxi Yu2024-09-291-1/+12
* *.go: Wrap errorsRunxi Yu2024-09-261-9/+9
* auth.go: Use contexts in getAccessTokenRunxi Yu2024-09-261-3/+8
* {auth,index,ws}.go: Add contexts for database callsRunxi Yu2024-09-261-6/+7
* auth.go: Close PostForm response bodyRunxi Yu2024-09-241-0/+1
* auth.go: Fix json tag, should be access_token not accessTokenRunxi Yu2024-09-241-1/+1
* auth.go: Fix grant_type=authorization_codeRunxi Yu2024-09-241-1/+1
* *.go: LintingRunxi Yu2024-09-241-80/+80
* {utils,auth,index,ws}.go: Handle errors in random number generationRunxi Yu2024-09-241-4/+11
* auth.go: Remove unnecessary fmt.SprintfRunxi Yu2024-09-231-1/+1
* auth.go, ws.go: Update commentsRunxi Yu2024-09-231-2/+5
* auth.go: Use && instead of nested if statementRunxi Yu2024-09-111-14/+12
* *.go: Shorter line lengthsRunxi Yu2024-09-091-3/+9
* *.go: Add commentsRunxi Yu2024-09-091-2/+40
* *.go: Simplify error messages and reformatRunxi Yu2024-09-081-30/+29
* auth.go: Expand staff departmentsRunxi Yu2024-09-071-2/+2
* *: Call Graph API for department informationRunxi Yu2024-09-071-9/+102
* *: Basic authentication and templatesRunxi Yu2024-09-071-0/+215