Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HTML: Use the proper repo_url_root in tree/rawtreev0.1.12 | Runxi Yu | 2025-04-03 | 1 | -0/+7 |
| | |||||
* | HTTP: Ref type query errors should be 400, not 500 | Runxi Yu | 2025-04-03 | 1 | -1/+1 |
| | |||||
* | HTTP: Remove resolved TODO on subgroups | Runxi Yu | 2025-04-03 | 1 | -2/+0 |
| | |||||
* | Git: Return fsPath from OpenRepo | Runxi Yu | 2025-04-02 | 1 | -1/+1 |
| | |||||
* | Fix colon warning page's headers | Runxi Yu | 2025-04-01 | 1 | -7/+7 |
| | |||||
* | Remind visitors of the change | Runxi Yu | 2025-04-01 | 1 | -0/+7 |
| | |||||
* | Change the main separator from : to - | Runxi Yu | 2025-04-01 | 1 | -3/+3 |
| | | | | Implements: https://todo.sr.ht/~runxiyu/forge/28 | ||||
* | Add descriptive comments to most Go functions | Runxi Yu | 2025-03-31 | 1 | -0/+4 |
| | |||||
* | Replace FileContributor with FileCopyrightText | Runxi Yu | 2025-03-31 | 1 | -1/+1 |
| | |||||
* | Add branches page | Runxi Yu | 2025-03-31 | 1 | -0/+6 |
| | |||||
* | Mandoc more | Runxi Yu | 2025-03-31 | 1 | -0/+3 |
| | |||||
* | Fix out of bounds in commit path handling | Runxi Yu | 2025-03-25 | 1 | -0/+4 |
| | |||||
* | Add 403 and 501 pages | Runxi Yu | 2025-03-25 | 1 | -3/+3 |
| | |||||
* | Navbar slashes | Runxi Yu | 2025-03-25 | 1 | -0/+1 |
| | |||||
* | Fix regression in tree/raw dir handling | Runxi Yu | 2025-03-25 | 1 | -2/+12 |
| | |||||
* | Support X-Forwarded-For for reverse proxies | Runxi Yu | 2025-03-22 | 1 | -1/+12 |
| | |||||
* | Use a custom errPage500 | Runxi Yu | 2025-03-22 | 1 | -5/+5 |
| | |||||
* | Variable name lengths | Runxi Yu | 2025-03-22 | 1 | -46/+46 |
| | |||||
* | Initial linting | Runxi Yu | 2025-03-22 | 1 | -3/+1 |
| | |||||
* | Fix tree/raw redirection and disallow slashes in their path segments | Runxi Yu | 2025-03-22 | 1 | -1/+8 |
| | |||||
* | Add a "Proper" 404 page | Runxi Yu | 2025-03-21 | 1 | -7/+8 |
| | |||||
* | Stop using the cursed contentfulSegmentsLen | Runxi Yu | 2025-03-21 | 1 | -30/+32 |
| | |||||
* | Rename httpRouter | Runxi Yu | 2025-03-21 | 1 | -2/+2 |
| | |||||
* | Remove underscores from Go code, pt 4 | Runxi Yu | 2025-03-19 | 1 | -70/+70 |
| | |||||
* | Remove underscores from Go code, pt 3 | Runxi Yu | 2025-03-19 | 1 | -1/+1 |
| | |||||
* | Remove underscores from Go code, pt 2 | Runxi Yu | 2025-03-18 | 1 | -1/+1 |
| | |||||
* | Remove underscores from Go code, pt 1 | Runxi Yu | 2025-03-18 | 1 | -2/+2 |
| | |||||
* | gc: Add a garbage collection button | Runxi Yu | 2025-03-09 | 1 | -0/+3 |
| | |||||
* | *: Remove unnecessary debug printf | Runxi Yu | 2025-03-06 | 1 | -2/+0 |
| | |||||
* | http: Check for direct user access | Runxi Yu | 2025-03-06 | 1 | -2/+3 |
| | |||||
* | *: Reformat | Runxi Yu | 2025-03-06 | 1 | -2/+2 |
| | |||||
* | *: Support subgroups via SQL recursion | Runxi Yu | 2025-03-06 | 1 | -23/+19 |
| | |||||
* | *: Typing fixes | Runxi Yu | 2025-03-05 | 1 | -1/+1 |
| | |||||
* | *: Replacing more := with var | Runxi Yu | 2025-03-05 | 1 | -17/+21 |
| | |||||
* | Add SPDX license headers to all Go files | Runxi Yu | 2025-03-03 | 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 |
| |