aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_tree.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* Unexport fields in Serverv0.1.24Runxi Yu2025-04-051-1/+1
* Move things to internal/v0.1.23Runxi Yu2025-04-051-2/+2
* Use cmd/forge for the entry pointRunxi Yu2025-04-051-3/+3
* config shall no longer be a global variableRunxi Yu2025-04-051-3/+3
* Separate code/README rendering and unsafe to their own packagesRunxi Yu2025-04-051-1/+2
* HTTP: Replace if-else chain with switchRunxi Yu2025-04-051-3/+4
* Refactor git2d comms to ./git2cRunxi Yu2025-04-051-100/+17
* Reduce unnecessary allocations when converting []byte to stringv0.1.22Runxi Yu2025-04-051-2/+2
* Reduce allocations when converting string to []byteRunxi Yu2025-04-051-2/+2
* Be a bit more careful handling size integer overflows and suchv0.1.19Runxi Yu2025-04-051-1/+1
* HTTP: Use range in for loops over integersRunxi Yu2025-04-051-1/+1
* HTTP: Avoid an sprintfRunxi Yu2025-04-051-1/+1
* HTTP: Make the tree and raw endpoints use git2dRunxi Yu2025-04-051-127/+95
* 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
* 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