aboutsummaryrefslogtreecommitdiff
path: root/http_server.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gc: Add a garbage collection buttonRunxi Yu4 days1-0/+3
|
* *: Remove unnecessary debug printfRunxi Yu7 days1-2/+0
|
* http: Check for direct user accessRunxi Yu7 days1-2/+3
|
* *: ReformatRunxi Yu7 days1-2/+2
|
* *: Support subgroups via SQL recursionRunxi Yu7 days1-23/+19
|
* *: Typing fixesRunxi Yu8 days1-1/+1
|
* *: Replacing more := with varRunxi Yu8 days1-17/+21
|
* Add SPDX license headers to all Go filesRunxi Yu10 days1-0/+3
|
* all: Remove error wrappingRunxi Yu2025-02-191-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: ReformatRunxi Yu2025-02-191-2/+2
|
* *.go: Use lowercase error valuesRunxi Yu2025-02-191-1/+1
|
* repo/contrib: Display merge request diffsRunxi Yu2025-02-191-1/+4
|
* http: Add blank contrib/%d templateRunxi Yu2025-02-191-1/+9
|
* http: Fix detecting subgroups with separator_indexRunxi Yu2025-02-191-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 pageRunxi Yu2025-02-191-1/+6
|
* http: Consistently use redirect_with{out,}_slash, never r.URL.PathRunxi Yu2025-02-191-5/+1
|
* http: Refactor more handler code duplication into the routerRunxi Yu2025-02-181-11/+29
|
* http_server.go: Error out on subgroupsRunxi Yu2025-02-181-0/+6
|
* *.go: Fix missing error handlingRunxi Yu2025-02-161-2/+8
|
* http_*: Add HTTP cloningRunxi Yu2025-02-161-0/+2
|
* *.go: ReformatRunxi Yu2025-02-151-4/+4
|
* {http_server,url}.go: Fix redirectsRunxi Yu2025-02-151-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 rawRunxi Yu2025-02-151-0/+8
|
* *_server.go: clog.Info instead of Debug for requestsRunxi Yu2025-02-141-1/+1
|
* repo_log: Use parameters for refspecRunxi Yu2025-02-141-7/+3
|
* http_server.go: Rename dir_mode to trailing_slashRunxi Yu2025-02-141-7/+7
|
* http_*: Refactor to reduce duplicationRunxi Yu2025-02-141-2/+14
|
* *.go: ReformatRunxi Yu2025-02-131-2/+2
|
* http_{server,handle_login}.go: Fix missing error handlingRunxi Yu2025-02-131-1/+9
|
* {http,ssh}_server.go: Add debug logs for incoming requestsRunxi Yu2025-02-131-0/+4
|
* http_*.go: Use http.ErrorRunxi Yu2025-02-131-1/+1
|
* handle_user: StubRunxi Yu2025-02-131-3/+5
|
* login: Stub login pageRunxi Yu2025-02-131-3/+13
|
* _header.html: Add headerRunxi Yu2025-02-131-9/+22
|
* *.go: Mass rename files for clarityRunxi Yu2025-02-131-0/+125