index
:
forge.git
broken
hare
master
[WIP] Some random software forge
Runxi Yu
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
http_handle_repo_tree.go
(
follow
)
Commit message (
Collapse
)
Author
Age
Files
Lines
*
Unexport fields in Server
v0.1.24
Runxi Yu
2025-04-05
1
-1
/
+1
|
*
Move things to internal/
v0.1.23
Runxi Yu
2025-04-05
1
-2
/
+2
|
*
Use cmd/forge for the entry point
Runxi Yu
2025-04-05
1
-3
/
+3
|
*
config shall no longer be a global variable
Runxi Yu
2025-04-05
1
-3
/
+3
|
*
Separate code/README rendering and unsafe to their own packages
Runxi Yu
2025-04-05
1
-1
/
+2
|
*
HTTP: Replace if-else chain with switch
Runxi Yu
2025-04-05
1
-3
/
+4
|
*
Refactor git2d comms to ./git2c
Runxi Yu
2025-04-05
1
-100
/
+17
|
*
Reduce unnecessary allocations when converting []byte to string
v0.1.22
Runxi Yu
2025-04-05
1
-2
/
+2
|
*
Reduce allocations when converting string to []byte
Runxi Yu
2025-04-05
1
-2
/
+2
|
*
Be a bit more careful handling size integer overflows and such
v0.1.19
Runxi Yu
2025-04-05
1
-1
/
+1
|
*
HTTP: Use range in for loops over integers
Runxi Yu
2025-04-05
1
-1
/
+1
|
*
HTTP: Avoid an sprintf
Runxi Yu
2025-04-05
1
-1
/
+1
|
*
HTTP: Make the tree and raw endpoints use git2d
Runxi Yu
2025-04-05
1
-127
/
+95
|
*
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
|
*
Avoid allocations by using unsafe strinng/bytes conversions
Runxi Yu
2025-03-30
1
-1
/
+1
|
*
Lint and add CI
Runxi Yu
2025-03-27
1
-1
/
+1
|
*
Lint
Runxi Yu
2025-03-27
1
-6
/
+1
|
*
Cache file view
Runxi Yu
2025-03-25
1
-4
/
+15
|
*
Cache dir view in tree view
Runxi Yu
2025-03-25
1
-31
/
+50
|
*
Reuse the cache for /tree
Runxi Yu
2025-03-22
1
-43
/
+78
|
*
Use a custom errPage500
Runxi Yu
2025-03-22
1
-7
/
+7
|
*
Variable name lengths
Runxi Yu
2025-03-22
1
-12
/
+12
|
*
Fix tree/raw redirection and disallow slashes in their path segments
Runxi Yu
2025-03-22
1
-2
/
+1
|
*
Remove underscores from Go code, pt 4
Runxi Yu
2025-03-19
1
-36
/
+36
|
*
Remove underscores from Go code, pt 3
Runxi Yu
2025-03-19
1
-2
/
+2
|
*
repo/tree, readme: nosec G203
Runxi Yu
2025-03-06
1
-1
/
+1
|
*
repo/*: Use var instead of :=
Runxi Yu
2025-03-05
1
-22
/
+31
|
*
Add SPDX license headers to all Go files
Runxi Yu
2025-03-03
1
-0
/
+3
|
*
http: Refactor more handler code duplication into the router
Runxi Yu
2025-02-18
1
-7
/
+2
|
*
http_handle_repo_*.go: Remove redundant return
Runxi Yu
2025-02-14
1
-1
/
+0
|
*
http_*.go: Abstract out render_template for deduplication
Runxi Yu
2025-02-14
1
-10
/
+3
|
*
http_*: Refactor to reduce duplication
Runxi Yu
2025-02-14
1
-12
/
+2
|
*
http_handle_*.go: Fix http.Error calls
Runxi Yu
2025-02-13
1
-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.Error
Runxi Yu
2025-02-13
1
-12
/
+11
|
*
repo_index: Add repo descriptions
Runxi Yu
2025-02-13
1
-1
/
+3
|
*
http_handle_*.go: Use fmt.Fprintln, not w.Write
Runxi Yu
2025-02-13
1
-11
/
+12
|
*
_header.html: Add header
Runxi Yu
2025-02-13
1
-11
/
+9
|
*
*.go: Mass rename files for clarity
Runxi Yu
2025-02-13
1
-0
/
+115