summaryrefslogtreecommitdiff
path: root/static (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style.css: Add a dark themeRunxi Yu2024-09-301-8/+28
|
* style.css: Remove poorly-framed comment on --x-contrast colorsRunxi Yu2024-09-301-5/+0
|
* main.js: Move connect(s) to the event listener directlyRunxi Yu2024-09-301-6/+2
|
* {config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu2024-09-301-14/+1
|
* *: Change license to AGPL-3.0-or-laterRunxi Yu2024-09-302-24/+25
|
* main.js: Disable boxes when fullRunxi Yu2024-09-301-0/+8
|
* main.js: Fix the IRC-style message parserRunxi Yu2024-09-301-0/+4
| | | | | Previously, if it receives a message like "a b :c", it returns "["a", "b", "c "]" which is erroneous.
* index.html, main.js, ws.go: Enhance course selection rejection messageRunxi Yu2024-09-301-3/+7
|
* main.js: Handle "Y" (course selection approved)Runxi Yu2024-09-291-0/+4
|
* style.css: Remove styling for preformatted textRunxi Yu2024-09-291-9/+0
|
* main.js: Handle number updatesRunxi Yu2024-09-291-0/+3
|
* main.js: Relocate a comment and remove a blank lineRunxi Yu2024-09-291-2/+1
|
* main.js: Add stub case "R" for course selection rejectedRunxi Yu2024-09-291-0/+5
|
* main.js: Comments should be /* */ rather than //Runxi Yu2024-09-291-2/+2
|
* main.js: Remove command "A" (authentication)Runxi Yu2024-09-291-3/+0
| | | | | Authentication is handled during the HTTP request that establishes the WebSocket connection since the cookie is passed there anyway.
* style.css, index.html: Emit warning when CSS doesn't loadRunxi Yu2024-09-291-0/+4
|
* style.css: Use YK Pao GreenRunxi Yu2024-09-291-1/+1
|
* style.css: Do not differentiate between odd and even rowsRunxi Yu2024-09-291-9/+0
| | | | It looks annoying
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu2024-09-291-1/+1
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu2024-09-291-0/+4
|
* index.html, style.css: Misc enhancementsRunxi Yu2024-09-291-2/+8
|
* main.js: Set checkboxes to indeterminate after selectionRunxi Yu2024-09-291-1/+3
| | | | They should be set to "checked" only when a response to "Y" is received.
* eslint.config.js: Allow globals and reformatRunxi Yu2024-09-281-19/+29
|
* main.js: event -> _event because it's unusedRunxi Yu2024-09-281-1/+1
|
* main.js: Fix spacing in array indicesRunxi Yu2024-09-282-8/+9
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu2024-09-272-0/+10
|
* style.css: Fix more regressionsRunxi Yu2024-09-241-4/+8
|
* index.html, main.js: Display message when connection is closedRunxi Yu2024-09-242-2/+22
| | | | Also fixed some CSS regressions
* main.js: Omit semicolonsRunxi Yu2024-09-242-40/+38
|
* main.js, eslint.config.js: Start using eslintRunxi Yu2024-09-242-41/+149
|
* main.js: Don't indent case in switchRunxi Yu2024-09-241-28/+28
|
* style.css, index.html: More clean-upRunxi Yu2024-09-241-116/+106
|
* style.css: Initial clean-upRunxi Yu2024-09-241-42/+9
|
* ws.go, main.js, index.html: Better WS documentation and structureRunxi Yu2024-09-162-4/+18
|
* ws.go: Split IRC-style messagesRunxi Yu2024-09-091-0/+3
|
* style.css, index.tmpl: Style changesRunxi Yu2024-09-081-0/+6
|
* main.js, index.tmpl: Confirmation buttonRunxi Yu2024-09-081-0/+4
| | | | | In the future we shall the confirmation button to only work when all fields are correctly completed.
* *: Password login stubRunxi Yu2024-09-081-3/+11
|
* main.js: More robust check handlingRunxi Yu2024-09-081-1/+15
|
* main.js: Send message whenever the checkbox changesRunxi Yu2024-09-081-0/+6
|
* main.js: Send HELLO, not BLOOPRunxi Yu2024-09-081-1/+1
|
* main.js: Slight reformat and code commentsRunxi Yu2024-09-081-0/+7
|
* main.js: Break after caseRunxi Yu2024-09-081-3/+2
| | | | | Go's switch statements break implicitly so I assumed it was the same in JavaScript, but JavaScript's case is actually just like C's.
* main.js: Fix WS url and consistently use automatic semicolon insertionRunxi Yu2024-09-081-8/+11
|
* *: Basic WebSocket connection may be established nowRunxi Yu2024-09-082-1/+58
|
* sizechk.js: Delete as it's useless for CCAsRunxi Yu2024-09-081-27/+0
|
* *: Basic authentication and templatesRunxi Yu2024-09-072-0/+371
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.