Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
9 days | *: Typing fixes | Runxi Yu | 1 | -1/+1 | |
9 days | *: Replacing more := with var | Runxi Yu | 1 | -17/+21 | |
10 days | Add SPDX license headers to all Go files | Runxi Yu | 1 | -0/+3 | |
2025-02-19 | all: Remove error wrapping | Runxi Yu | 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. | |||||
2025-02-19 | *.go: Reformat | Runxi Yu | 1 | -2/+2 | |
2025-02-19 | *.go: Use lowercase error values | Runxi Yu | 1 | -1/+1 | |
2025-02-19 | repo/contrib: Display merge request diffs | Runxi Yu | 1 | -1/+4 | |
2025-02-19 | http: Add blank contrib/%d template | Runxi Yu | 1 | -1/+9 | |
2025-02-19 | http: Fix detecting subgroups with separator_index | Runxi Yu | 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. | |||||
2025-02-19 | contrib: Add contrib/MR index page | Runxi Yu | 1 | -1/+6 | |
2025-02-19 | http: Consistently use redirect_with{out,}_slash, never r.URL.Path | Runxi Yu | 1 | -5/+1 | |
2025-02-18 | http: Refactor more handler code duplication into the router | Runxi Yu | 1 | -11/+29 | |
2025-02-18 | http_server.go: Error out on subgroups | Runxi Yu | 1 | -0/+6 | |
2025-02-16 | *.go: Fix missing error handling | Runxi Yu | 1 | -2/+8 | |
2025-02-16 | http_*: Add HTTP cloning | Runxi Yu | 1 | -0/+2 | |
2025-02-15 | *.go: Reformat | Runxi Yu | 1 | -4/+4 | |
2025-02-15 | {http_server,url}.go: Fix redirects | Runxi Yu | 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. :/ | |||||
2025-02-15 | http_server.go: Redirect tree to tree/, same for raw | Runxi Yu | 1 | -0/+8 | |
2025-02-14 | *_server.go: clog.Info instead of Debug for requests | Runxi Yu | 1 | -1/+1 | |
2025-02-14 | repo_log: Use parameters for refspec | Runxi Yu | 1 | -7/+3 | |
2025-02-14 | http_server.go: Rename dir_mode to trailing_slash | Runxi Yu | 1 | -7/+7 | |
2025-02-14 | http_*: Refactor to reduce duplication | Runxi Yu | 1 | -2/+14 | |
2025-02-13 | *.go: Reformat | Runxi Yu | 1 | -2/+2 | |
2025-02-13 | http_{server,handle_login}.go: Fix missing error handling | Runxi Yu | 1 | -1/+9 | |
2025-02-13 | {http,ssh}_server.go: Add debug logs for incoming requests | Runxi Yu | 1 | -0/+4 | |
2025-02-13 | http_*.go: Use http.Error | Runxi Yu | 1 | -1/+1 | |
2025-02-13 | handle_user: Stub | Runxi Yu | 1 | -3/+5 | |
2025-02-13 | login: Stub login page | Runxi Yu | 1 | -3/+13 | |
2025-02-13 | _header.html: Add header | Runxi Yu | 1 | -9/+22 | |
2025-02-13 | *.go: Mass rename files for clarity | Runxi Yu | 1 | -0/+0 | |
2025-02-12 | router_http: Ensure module index has / | Runxi Yu | 1 | -0/+4 | |
2025-02-12 | router_{http,ssh}.go, url_misc.go: Fix escaping | Runxi Yu | 1 | -0/+2 | |
2025-02-12 | *.go: Reformat | Runxi Yu | 1 | -1/+0 | |
2025-02-12 | router_http: Use http.Error instead of Fprintln to report errors | Runxi Yu | 1 | -6/+9 | |
2025-02-12 | http_router.go: Move from router.go and fix conditional placement bug | Runxi Yu | 1 | -5/+5 | |
2025-02-12 | router.go: Fix out-of-bounds read on /: | Runxi Yu | 1 | -0/+5 | |
2025-02-12 | *.go: Reformat | Runxi Yu | 1 | -1/+0 | |
2025-02-12 | router: Stricter URL | Runxi Yu | 1 | -0/+12 | |
2025-02-12 | *: Migrate to the new path scheme | Runxi Yu | 1 | -0/+101 | |