Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | {config,main}.go, cca.scfg.example: Settable static path | Runxi Yu | 2024-10-04 | 1 | -6/+3 |
| | | | | | | | | | Because of the poor performance of using NGINX as a reverse proxy, I've added native TLS in commit 4a1a7af76408e956ebc343bf28960fdd00c00c58. Serving static files was already supported, but it was expected that people use a static web server to do so, so we didn't support a configurable static path. Now since reverse proxy setups are discouraged, it makes more sense to be better at serving static files. | ||||
* | {config,main}.go, cca.scfg.example: Support TLS | Runxi Yu | 2024-10-04 | 1 | -0/+16 |
| | |||||
* | main.go, cca.scfg.example: Remove FastCGI support | Runxi Yu | 2024-10-04 | 1 | -5/+3 |
| | | | | | | I would love to serve FastCGI but it is a huge pain to get WebSocket working, at least with NGINX. I don't think OpenBSD httpd would be better at this either. | ||||
* | cca.scfg.example: Listen on 127.0.0.1:5555 only by default | Runxi Yu | 2024-10-03 | 1 | -3/+3 |
| | | | | | | I would have used IPv6, i.e. [::1]:5555, but our school network only has IPv4 and it'd be easier to keep everything on the same protocol, though this probably wouldn't matter for standard reverse proxy setups. | ||||
* | {config,ws}.go, cca.scfg.example: Allow same-user fake auth | Runxi Yu | 2024-10-03 | 1 | -5/+0 |
| | | | | This is useful for testing whether connection collisions work well. | ||||
* | {config,ws}.go, cca.scfg.example: Add fake auth support | Runxi Yu | 2024-10-02 | 1 | -0/+5 |
| | | | | | Fake authentication is useful when benchmarking the server with an external program without going insane with the OpenID Connect forms. | ||||
* | admin_handbook: List configuration caveats | Runxi Yu | 2024-09-30 | 1 | -3/+7 |
| | |||||
* | docs, iadocs: Revamp | Runxi Yu | 2024-09-30 | 3 | -0/+187 |
| | |||||
* | docs: TeXinfo kinda sucks, removing | Runxi Yu | 2024-09-30 | 3 | -57/+0 |
| | |||||
* | {config,index}.go, cca.scfg.example, style.css, *.html: Link to source | Runxi Yu | 2024-09-30 | 1 | -0/+4 |
| | |||||
* | auth.go, config.go, cca.scfg.example: Issue expiring cookies | Runxi Yu | 2024-09-30 | 1 | -0/+3 |
| | |||||
* | ws.go, config.go, config.scfg.example: Attempt to fix deadlock | Runxi Yu | 2024-09-29 | 1 | -0/+4 |
| | | | | | | | When propagate tries to propagate a message to a connection that actually called propagate, it deadlocks because the it tries to send to that connection's send channel in the same goroutine. This is an attempt at a fix. | ||||
* | Add phony all target for the handbooks | Runxi Yu | 2024-09-27 | 1 | -0/+3 |
| | |||||
* | Add an admin handbook stub | Runxi Yu | 2024-09-27 | 3 | -0/+51 |
| | |||||
* | Add a .gitignore to ignore generated .html files from TeXinfo | Runxi Yu | 2024-09-27 | 1 | -0/+3 |
| | |||||
* | courses.go, etc: Make courses a map instead of a slice | Runxi Yu | 2024-09-26 | 1 | -4/+0 |
| | | | | | We need to refer to courses by their ID, and a map makes significantly more sense than a slice. | ||||
* | *.go, cca.scfg.example: Expose performance options | Runxi Yu | 2024-09-26 | 1 | -0/+20 |
| | |||||
* | cca.scfg.example -> docs/ | Runxi Yu | 2024-09-24 | 1 | -0/+65 |
| | |||||
* | docs, scripts, sql: Sort support files into subdirectories | Runxi Yu | 2024-09-24 | 1 | -0/+26 |