Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *.go: Reformat | Runxi Yu | 2025-02-15 | 1 | -4/+4 |
| | |||||
* | {http_server,url}.go: Fix redirects | Runxi Yu | 2025-02-15 | 1 | -15/+10 |
| | | | | | | | | | | r.URL.Path contains URL segments already decoded which makes it impossible to distinguish from an encoded %2F and a path separator /. We introduce redirect_with_slash which checks it properly. There is still an occurence of r.URL.Path in the commit handler, but that's going to get a major revamp anyway so I'm not bothering to fix that for now. :/ | ||||
* | http_server.go: Redirect tree to tree/, same for raw | Runxi Yu | 2025-02-15 | 1 | -0/+8 |
| | |||||
* | *_server.go: clog.Info instead of Debug for requests | Runxi Yu | 2025-02-14 | 1 | -1/+1 |
| | |||||
* | repo_log: Use parameters for refspec | Runxi Yu | 2025-02-14 | 1 | -7/+3 |
| | |||||
* | http_server.go: Rename dir_mode to trailing_slash | Runxi Yu | 2025-02-14 | 1 | -7/+7 |
| | |||||
* | http_*: Refactor to reduce duplication | Runxi Yu | 2025-02-14 | 1 | -2/+14 |
| | |||||
* | *.go: Reformat | Runxi Yu | 2025-02-13 | 1 | -2/+2 |
| | |||||
* | http_{server,handle_login}.go: Fix missing error handling | Runxi Yu | 2025-02-13 | 1 | -1/+9 |
| | |||||
* | {http,ssh}_server.go: Add debug logs for incoming requests | Runxi Yu | 2025-02-13 | 1 | -0/+4 |
| | |||||
* | http_*.go: Use http.Error | Runxi Yu | 2025-02-13 | 1 | -1/+1 |
| | |||||
* | handle_user: Stub | Runxi Yu | 2025-02-13 | 1 | -3/+5 |
| | |||||
* | login: Stub login page | Runxi Yu | 2025-02-13 | 1 | -3/+13 |
| | |||||
* | _header.html: Add header | Runxi Yu | 2025-02-13 | 1 | -9/+22 |
| | |||||
* | *.go: Mass rename files for clarity | Runxi Yu | 2025-02-13 | 1 | -0/+125 |