aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_tree.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add descriptive comments to most Go functionsRunxi Yu2025-03-311-0/+4
|
* Replace FileContributor with FileCopyrightTextRunxi Yu2025-03-311-1/+1
|
* Avoid allocations by using unsafe strinng/bytes conversionsRunxi Yu2025-03-301-1/+1
|
* Lint and add CIRunxi Yu2025-03-271-1/+1
|
* LintRunxi Yu2025-03-271-6/+1
|
* Cache file viewRunxi Yu2025-03-251-4/+15
|
* Cache dir view in tree viewRunxi Yu2025-03-251-31/+50
|
* Reuse the cache for /treeRunxi Yu2025-03-221-43/+78
|
* Use a custom errPage500Runxi Yu2025-03-221-7/+7
|
* Variable name lengthsRunxi Yu2025-03-221-12/+12
|
* Fix tree/raw redirection and disallow slashes in their path segmentsRunxi Yu2025-03-221-2/+1
|
* Remove underscores from Go code, pt 4Runxi Yu2025-03-191-36/+36
|
* Remove underscores from Go code, pt 3Runxi Yu2025-03-191-2/+2
|
* repo/tree, readme: nosec G203Runxi Yu2025-03-061-1/+1
|
* repo/*: Use var instead of :=Runxi Yu2025-03-051-22/+31
|
* Add SPDX license headers to all Go filesRunxi Yu2025-03-031-0/+3
|
* http: Refactor more handler code duplication into the routerRunxi Yu2025-02-181-7/+2
|
* http_handle_repo_*.go: Remove redundant returnRunxi Yu2025-02-141-1/+0
|
* http_*.go: Abstract out render_template for deduplicationRunxi Yu2025-02-141-10/+3
|
* http_*: Refactor to reduce duplicationRunxi Yu2025-02-141-12/+2
|
* http_handle_*.go: Fix http.Error callsRunxi Yu2025-02-131-11/+11
| | | | | | 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.
* http_*.go: Use http.ErrorRunxi Yu2025-02-131-12/+11
|
* repo_index: Add repo descriptionsRunxi Yu2025-02-131-1/+3
|
* http_handle_*.go: Use fmt.Fprintln, not w.WriteRunxi Yu2025-02-131-11/+12
|
* _header.html: Add headerRunxi Yu2025-02-131-11/+9
|
* *.go: Mass rename files for clarityRunxi Yu2025-02-131-0/+115