index
:
cca.git
master
[WIP] Co-curricular activities selection site (computer science internal assessment)
Runxi Yu
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
Commit message (
Collapse
)
Author
Age
Files
Lines
...
*
{auth,index,ws}.go: Add contexts for database calls
Runxi Yu
2024-09-26
3
-10
/
+10
|
*
README.md: Add link to CI page
Runxi Yu
2024-09-26
1
-1
/
+1
|
*
README.md: Update [skip ci]
Runxi Yu
2024-09-26
1
-10
/
+27
|
*
.woodpecker: Add linting
Runxi Yu
2024-09-26
1
-1
/
+2
|
*
lint.sh: Disable some bad checkers
Runxi Yu
2024-09-26
1
-1
/
+1
|
*
ws.go: Reformat
Runxi Yu
2024-09-26
1
-1
/
+1
|
*
.woodpecker: I can only release on tags
Runxi Yu
2024-09-26
1
-2
/
+2
|
*
.woodpecker: Attempt 3
Runxi Yu
2024-09-26
1
-2
/
+1
|
*
.woodpecker: Attempt 2
Runxi Yu
2024-09-26
1
-5
/
+2
|
*
.woodpecker: Add release workflow (well I'm trying)
Runxi Yu
2024-09-26
1
-0
/
+14
|
*
.woodpecker: Try alpine:edge
Runxi Yu
2024-09-25
1
-1
/
+1
|
*
.woodpecker: Initialize CI
Runxi Yu
2024-09-25
1
-0
/
+11
|
*
ws.go: Document chanPoolLock's purpose
Runxi Yu
2024-09-24
1
-0
/
+9
|
*
auth.go: Close PostForm response body
Runxi Yu
2024-09-24
1
-0
/
+1
|
*
style.css: Fix more regressions
Runxi Yu
2024-09-24
1
-4
/
+8
|
*
index.html, main.js: Display message when connection is closed
Runxi Yu
2024-09-24
3
-2
/
+41
|
|
|
|
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
|
*
auth.go: Fix json tag, should be access_token not accessToken
Runxi Yu
2024-09-24
1
-1
/
+1
|
*
auth.go: Fix grant_type=authorization_code
Runxi Yu
2024-09-24
1
-1
/
+1
|
|
|
|
I accidentally changed it to authorizationCode during linting
*
cca.scfg.example -> docs/
Runxi Yu
2024-09-24
1
-0
/
+0
|
*
docs, scripts, sql: Sort support files into subdirectories
Runxi Yu
2024-09-24
6
-0
/
+0
|
*
Makefile: Update number of Go files
Runxi Yu
2024-09-24
1
-1
/
+1
|
*
main.js: Omit semicolons
Runxi Yu
2024-09-24
2
-40
/
+38
|
*
main.js, eslint.config.js: Start using eslint
Runxi Yu
2024-09-24
2
-41
/
+149
|
*
main.js: Don't indent case in switch
Runxi Yu
2024-09-24
1
-28
/
+28
|
*
*.go: Linting
Runxi Yu
2024-09-24
10
-140
/
+147
|
*
style.css, index.html: More clean-up
Runxi Yu
2024-09-24
2
-136
/
+106
|
*
style.css: Initial clean-up
Runxi Yu
2024-09-24
1
-42
/
+9
|
*
utils.go: Reformat
Runxi Yu
2024-09-24
1
-2
/
+2
|
*
courses.go: Comment out coursetype_t enum to make linter happy for now
Runxi Yu
2024-09-24
1
-5
/
+7
|
*
{index,utils,ws}.go: Handle write errors
Runxi Yu
2024-09-24
3
-39
/
+39
|
*
{utils,auth,index,ws}.go: Handle errors in random number generation
Runxi Yu
2024-09-24
4
-10
/
+30
|
*
ws.go: Log userid and sessionid with channel pointer
Runxi Yu
2024-09-24
1
-3
/
+4
|
*
auth.go: Remove unnecessary fmt.Sprintf
Runxi Yu
2024-09-23
1
-1
/
+1
|
*
ws.go: chanPoolLock should be a RWMutex rather than a pointer to one
Runxi Yu
2024-09-23
1
-1
/
+1
|
|
|
|
|
|
|
A pointer to one could always be obtained via &chanPoolLock; but if I declare it as a pointer globally, I would need to initialize it somewhere so I don't get a null pointer dereference. It's more convenient to just declare it as the value.
*
ws.go: Add missing returns after authentication failure
Runxi Yu
2024-09-23
1
-0
/
+2
|
*
ws.go: Initial attempt to manage chanPool
Runxi Yu
2024-09-23
1
-13
/
+22
|
*
auth.go, ws.go: Update comments
Runxi Yu
2024-09-23
2
-7
/
+10
|
*
Bump dependencies
Runxi Yu
2024-09-23
2
-3
/
+3
|
*
Bump dependencies
Runxi Yu
2024-09-22
2
-6
/
+6
|
*
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
4
-85
/
+156
|
*
ws.go: Fix previous commit's type inconsistencies
Runxi Yu
2024-09-13
1
-4
/
+5
|
*
ws.go: Very basic channels
Runxi Yu
2024-09-13
2
-5
/
+23
|
*
go.mod: Bump dependencies
Runxi Yu
2024-09-12
2
-21
/
+21
|
*
tcourse.sql: Use real-ish example data
Runxi Yu
2024-09-12
1
-6
/
+5
|
*
ws.go: Clarrify handleWs's purpose
Runxi Yu
2024-09-12
1
-1
/
+2
|
*
ws.go: Move the login logic to handleWs from handleConn
Runxi Yu
2024-09-12
1
-19
/
+38
|
*
ws.go: gofmt
Runxi Yu
2024-09-12
1
-3
/
+2
|
*
ws.go: Use channels to handle incoming messages
Runxi Yu
2024-09-12
1
-11
/
+30
|
[prev]
[next]