aboutsummaryrefslogtreecommitdiff
path: root/main.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* {main,pw}.go, Makefile, index_login.html: Remove password auth stubRunxi Yu4 days1-1/+0
| | | | | | | | | | I don't think password authentication is really useful, since Microsoft Entra ID is the "proper" way of doing authentication in our school system and there's just little reason to have a password login. I previously wanted to use password authentication for stress testing, but stress testing really could just use completely fake authentication and there's no need for any password whatsoever.
* main.go: Actually repsect config.Perf.ReadHeaderTimeoutRunxi Yu5 days1-1/+1
|
* *: Change license to AGPL-3.0-or-laterRunxi Yu5 days1-21/+11
|
* main.go: Use http.Server.ServeRunxi Yu9 days1-1/+5
|
* Revert "main.go: Use http.Server with timeouts"Runxi Yu9 days1-5/+1
| | | | | | | This reverts commit 65d3c85e3bee4b5961e53338f8b42e5a68ff1b04. I'm reverting this for now because it seems to make requests hang indefinitely.
* main.go: Use http.Server with timeoutsRunxi Yu9 days1-1/+5
|
* ws.go: Very basic channelsRunxi Yu2024-09-131-0/+6
|
* *: Password login stubRunxi Yu2024-09-081-0/+1
|
* *: Display coursesRunxi Yu2024-09-081-0/+6
|
* *: Basic WebSocket connection may be established nowRunxi Yu2024-09-081-0/+1
|
* *: Basic authentication and templatesRunxi Yu2024-09-071-0/+96
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.