aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_index.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* repo/*: Use var instead of :=Runxi Yu8 days1-7/+15
|
* Add SPDX license headers to all Go filesRunxi Yu10 days1-0/+3
|
* http: Refactor more handler code duplication into the routerRunxi Yu2025-02-181-7/+3
|
* repo_index: Add HTTP clone along with SSHRunxi Yu2025-02-161-1/+2
|
* repo_index: Allow refspecsRunxi Yu2025-02-141-5/+6
|
* http_handle_*.go: Remove redundant return statementsRunxi Yu2025-02-141-1/+0
|
* http_*.go: Abstract out render_template for deduplicationRunxi Yu2025-02-141-5/+2
|
* http_*: Refactor to reduce duplicationRunxi Yu2025-02-141-1/+0
|
* http_handle_*.go: Fix http.Error callsRunxi Yu2025-02-131-6/+6
| | | | | | Previously when I was converting the fmt.Fprintln calls into http.Error, there was a mistake in my sed command which caused some of the messages to have double colons. This should fix them.
* ssh_url_generation.go, etc.: Add config ssh.root and use itRunxi Yu2025-02-131-2/+1
| | | | | Detecting it based on HTTP host name is definitely unreliable. Just add a configuration option and it should work.
* http_*.go: Use http.ErrorRunxi Yu2025-02-131-7/+6
|
* repo_index: Add repo descriptionsRunxi Yu2025-02-131-1/+2
|
* http_handle_*.go: Use fmt.Fprintln, not w.WriteRunxi Yu2025-02-131-6/+7
|
* _header.html: Add headerRunxi Yu2025-02-131-11/+8
|
* *.go: Mass rename files for clarityRunxi Yu2025-02-131-0/+52