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 one Admin page with status, accounts, and the audit log
43e681d8a5d94567aa9530d32b2c89223c1a17f9 · Keenan Nemetz · 5d ago · parent af018ce8
Add one Admin page with status, accounts, and the audit log Instance administration was split between the Status and Accounts pages, and the audit log had no browser view at all. The new /admin page gathers the status tabs, the account roster, and a read-only audit viewer into one place with a tab for each, and /status, /runners, and /users redirect to the tab they named so old links keep working. The audit reader walks the file backwards a chunk at a time, returns the newest records first, and shows one extra record to know whether an older page exists. It skips a line it cannot parse rather than failing the page and refuses a symlink or a non-regular file, as startup already does. Refs #198 (01M6MK0NNZ2XR1D5TQKNWYT4HN).
server/web/page.go +2−2
| @@ -75,8 +75,8 @@ func pageSection(path string) string { | |||
| 75 | 75 | return "repos" | |
| 76 | 76 | case strings.HasPrefix(path, "/activity"): | |
| 77 | 77 | return "activity" | |
| 78 | case path == "/users" || strings.HasPrefix(path, "/users/"): | ||
| 79 | return "users" | ||
| 78 | case path == "/admin" || path == "/status" || path == "/users" || strings.HasPrefix(path, "/users/"): | ||
| 79 | return "admin" | ||
| 80 | 80 | case path == "/u" || strings.HasPrefix(path, "/u/"): | |
| 81 | 81 | return "people" | |
| 82 | 82 | case strings.HasPrefix(path, "/account"): | |