Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

Add the status page and language-aware file icons

09b15120717116d07d0227444bdb2d2a499164b1 · Keenan Nemetz · 15d ago · parent b355db72

Add the status page and language-aware file icons

GET /status is the human version of /healthz: store checks, account/repository counts, queue depth, runners seen recently, LFS availability, and uptime, with a footer link. /healthz stays a plain-text probe for scripts.

The code tree, directory list, and file search now choose an icon and language colour from the file extension, with build files and go.mod handled by name. Both are presentation only; unknown files keep the generic icon.

server/web/templates/code_search.html +1−1

@@ -38,7 +38,7 @@
38 38 <table class="search-files">
39 39 <tbody>
40 40 {{range .FileHits}}
41 <tr><td><a href="/r/{{$.Name}}/blob/{{esc $.Ref}}/{{pathurl .}}" hx-get="/r/{{$.Name}}/blob/{{esc $.Ref}}/{{pathurl .}}" hx-target="#code-main" hx-swap="outerHTML" hx-push-url="true">{{icon "file"}}{{.}}</a></td></tr>
41 <tr><td><a href="/r/{{$.Name}}/blob/{{esc $.Ref}}/{{pathurl .}}" hx-get="/r/{{$.Name}}/blob/{{esc $.Ref}}/{{pathurl .}}" hx-target="#code-main" hx-swap="outerHTML" hx-push-url="true">{{icon (fileicon .)}}{{.}}</a></td></tr>
42 42 {{end}}
43 43 </tbody>
44 44 </table>