Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *: Remove unnecessary debug printf | Runxi Yu | 7 days | 1 | -2/+0 |
| | |||||
* | http: Check for direct user access | Runxi Yu | 7 days | 1 | -2/+3 |
| | |||||
* | *: Reformat | Runxi Yu | 7 days | 1 | -2/+2 |
| | |||||
* | *: Support subgroups via SQL recursion | Runxi Yu | 7 days | 1 | -23/+19 |
| | |||||
* | *: Typing fixes | Runxi Yu | 8 days | 1 | -1/+1 |
| | |||||
* | *: Replacing more := with var | Runxi Yu | 8 days | 1 | -17/+21 |
| | |||||
* | Add SPDX license headers to all Go files | Runxi Yu | 10 days | 1 | -0/+3 |
| | |||||
* | all: Remove error wrapping | Runxi Yu | 2025-02-19 | 1 | -2/+0 |
| | | | | | I'm undecided on how I wrap errors in this project. I'll just return errors directly for now. This will probably be adjusted later. | ||||
* | *.go: Reformat | Runxi Yu | 2025-02-19 | 1 | -2/+2 |
| | |||||
* | *.go: Use lowercase error values | Runxi Yu | 2025-02-19 | 1 | -1/+1 |
| | |||||
* | repo/contrib: Display merge request diffs | Runxi Yu | 2025-02-19 | 1 | -1/+4 |
| | |||||
* | http: Add blank contrib/%d template | Runxi Yu | 2025-02-19 | 1 | -1/+9 |
| | |||||
* | http: Fix detecting subgroups with separator_index | Runxi Yu | 2025-02-19 | 1 | -1/+1 |
| | | | | | | In eabdb3c93cd7118deb5745cca7be9f11a196a9b8 we caused an error message whenver subgroups are used which was written erroneously, causing e.g. the forge front page to be handled here. | ||||
* | contrib: Add contrib/MR index page | Runxi Yu | 2025-02-19 | 1 | -1/+6 |
| | |||||
* | http: Consistently use redirect_with{out,}_slash, never r.URL.Path | Runxi Yu | 2025-02-19 | 1 | -5/+1 |
| | |||||
* | http: Refactor more handler code duplication into the router | Runxi Yu | 2025-02-18 | 1 | -11/+29 |
| | |||||
* | http_server.go: Error out on subgroups | Runxi Yu | 2025-02-18 | 1 | -0/+6 |
| | |||||
* | *.go: Fix missing error handling | Runxi Yu | 2025-02-16 | 1 | -2/+8 |
| | |||||
* | http_*: Add HTTP cloning | Runxi Yu | 2025-02-16 | 1 | -0/+2 |
| | |||||
* | *.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 |