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 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).

docs/operations.md +5

@@ -39,6 +39,11 @@ timestamp action actor subject detail
39 39 start when the log cannot be opened for append, which turns a silent, long-lived
40 40 gap into a startup failure with a path in it.
41 41
42 An instance admin can read the log in the browser at **Admin → Audit log**. The
43 page shows one record per row, newest first, and pages back through the file. It
44 is a read-only view: it never edits, truncates, or rewrites a line, and a record
45 it cannot parse is skipped rather than hidden from the rest of the page.
46
42 47 Ship the file off the host — a read-only mount, a log shipper, or a periodic
43 48 `rsync` of an append-only copy — and alert on the absence of expected lines
44 49 as well as on the presence of unexpected ones. Local append-only storage is not