Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | sizechk.js: Delete as it's useless for CCAs | Runxi Yu | 2024-09-08 | 1 | -27/+0 | |
| | ||||||
* | index.tmpl: JavaScript warning | Runxi Yu | 2024-09-08 | 1 | -1/+23 | |
| | ||||||
* | auth.go: Expand staff departments | Runxi Yu | 2024-09-07 | 1 | -2/+2 | |
| | ||||||
* | *: Call Graph API for department information | Runxi Yu | 2024-09-07 | 9 | -72/+141 | |
| | | | | | | | | | | | | I am using a hybrid flow with "id_token" for OpenID Connect and "code" for an Authorization Code. I would use "token" too but that doesn't seem to be supported for standard web-apps and could result in strange session-hijacking issues. We still need PKCE sometime in the future; however it's not a priority: the worst attack someone could pull off is to use a different user's Authorization Code and steal a Department, which probably isn't too big of a deal as the Authorization Code should be secret anyways. | |||||
* | *: Basic authentication and templates | Runxi Yu | 2024-09-07 | 15 | -0/+1247 | |
| | | | | | | | | 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. | |||||
* | go.mod: Initialize go module | Runxi Yu | 2024-09-07 | 1 | -0/+3 | |
| | ||||||
* | Add a README | Runxi Yu | 2024-09-07 | 1 | -0/+34 | |
| | ||||||
* | LICENSE: BSD-2-Clause | Runxi Yu | 2024-09-07 | 1 | -0/+24 | |