Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | index.html: Use div instead of main to be semantically appropriate | Runxi Yu | 2024-09-29 | 1 | -7/+5 |
| | |||||
* | index.html: Remove erroneous comma in tag attributes | Runxi Yu | 2024-09-29 | 1 | -1/+1 |
| | |||||
* | index.html, style.css: Use .reading-width instead of section | Runxi Yu | 2024-09-29 | 1 | -2/+2 |
| | | | | Section has semantic meaning and should be accompanied by a heading | ||||
* | index.html: acronym -> abbr | Runxi Yu | 2024-09-29 | 1 | -4/+1 |
| | | | | It seems deprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym | ||||
* | index.html, style.css: #table-of-courses { width: 100%; } | Runxi Yu | 2024-09-29 | 1 | -1/+1 |
| | |||||
* | index.html, style.css: Misc enhancements | Runxi Yu | 2024-09-29 | 1 | -17/+16 |
| | |||||
* | index.html: Remove "course.Confirmed" as it was removed from struct | Runxi Yu | 2024-09-29 | 1 | -6/+5 |
| | |||||
* | main.js, style.css, index.html: Clear notice by JS instead of using noscript | Runxi Yu | 2024-09-27 | 1 | -20/+13 |
| | |||||
* | index.html, main.js: Display message when connection is closed | Runxi Yu | 2024-09-24 | 1 | -0/+19 |
| | | | | Also fixed some CSS regressions | ||||
* | index.html: Fix template to match the new "ID" rather than "Id" | Runxi Yu | 2024-09-24 | 1 | -5/+5 |
| | |||||
* | *.go: Linting | Runxi Yu | 2024-09-24 | 1 | -1/+1 |
| | |||||
* | style.css, index.html: More clean-up | Runxi Yu | 2024-09-24 | 1 | -20/+0 |
| | |||||
* | index.html: Add box styling to the WebSocket warning | Runxi Yu | 2024-09-17 | 1 | -1/+1 |
| | |||||
* | ws.go, main.js, index.html: Better WS documentation and structure | Runxi Yu | 2024-09-16 | 1 | -62/+83 |
| | |||||
* | index{,_login}.tmpl: Rename .tmpl to .html | Runxi Yu | 2024-09-09 | 2 | -0/+0 |
| | |||||
* | index.tmpl: Add git.rx and GitHub URL | Runxi Yu | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | style.css, index.tmpl: Style changes | Runxi Yu | 2024-09-08 | 1 | -2/+2 |
| | |||||
* | main.js, index.tmpl: Confirmation button | Runxi Yu | 2024-09-08 | 1 | -0/+13 |
| | | | | | In the future we shall the confirmation button to only work when all fields are correctly completed. | ||||
* | index.tmpl: Place the search bar inside the table | Runxi Yu | 2024-09-08 | 1 | -3/+5 |
| | |||||
* | *: Password login stub | Runxi Yu | 2024-09-08 | 1 | -1/+36 |
| | |||||
* | index.tmpl: Rename the "Course" field into "Name", in the HTML | Runxi Yu | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | index.tmpl: Add .coursecheckbox to checkboxes | Runxi Yu | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | index.tmpl: Search bar | Runxi Yu | 2024-09-08 | 1 | -3/+18 |
| | |||||
* | index.tmpl: Checkbox should not have {{.Id}} as text | Runxi Yu | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | *: Display courses | Runxi Yu | 2024-09-08 | 1 | -34/+38 |
| | |||||
* | *: Basic WebSocket connection may be established now | Runxi Yu | 2024-09-08 | 1 | -1/+39 |
| | |||||
* | index.tmpl: JavaScript warning | Runxi Yu | 2024-09-08 | 1 | -1/+23 |
| | |||||
* | *: Call Graph API for department information | Runxi Yu | 2024-09-07 | 1 | -62/+5 |
| | | | | | | | | | | | | 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 | 2 | -0/+158 |
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. |