AgeCommit message (Collapse)AuthorLines
Read a negative ref count as no limitBryce Kwon-4/+6
summary-branches, summary-tags and max-ref-count already listed every ref at 0, but a negative value reached qsort as a count and crashed the summary and refs pages, and emptied the branch switcher.
Say blame gets the source filter and line numbersBryce Kwon-6/+6
Name every trailer link-trailers.lua linksBryce Kwon-3/+3
Fix the sample cgitrc's defaults and value syntaxBryce Kwon-13/+16
Describe root-readme as the site's about pageBryce Kwon-5/+5
Name the log link that enable-index-links addsBryce Kwon-1/+1
The manual has named the commit page since it was written in 2008, a year after the index started linking the log instead.
Stop caching clone files and oversized responsesBryce Kwon-0/+5
The dumb transport reads files that already sit on the disk, so a pack copied into a slot cost that disk twice and the request a second write of every byte. A snapshot took a slot whatever its size, so a visitor naming distinct refs and ids could fill the cache root with archives. cache-max-slot-size, 64 MB unless set, now serves a larger response from the lock file and drops it, along with any expired copy it would have replaced.
Gate html serving behind trust-scan-configBryce Kwon-3/+3
enable-html-serving makes the plain page send a repository file as text/html on the site's own origin, with no nosniff and no policy, so a scanned repository could switch it on from its git config or cgitrc without trust-scan-config and run script against every visitor. The warning for a key read from git config also named a null repository, because repo->path was set only after that file had been read.
Rename enable-trailers to enable-commit-trailersBryce Kwon-11/+12
Unify the docs, samples and extensionsBryce Kwon-133/+139
Harden the request path, scan and error recoveryBryce Kwon-6/+6
Gate scanned filters with trust-scan-filtersBryce Kwon-18/+16
Apply the mailmap at HEAD to every identBryce Kwon-0/+9
Split trailers out of the commit messageBryce Kwon-0/+19
Clean up the whole treeBryce Kwon-4/+3
Trim the comments and dead code across the treeBryce Kwon-74/+28
Rename the inconsistent config keysBryce Kwon-117/+126
The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace.
Remove the language breakdown from the stats pageBryce Kwon-2/+2
Document cache directory ownershipBryce Kwon-1/+3
Remove the repository homepage featureBryce Kwon-3/+0
Add enable-relative-dates and date-formatBryce Kwon-0/+9
Drop the help tab and its built-in guideBryce Kwon-4/+0
Reorganise the tree into vendor/ and custom/Bryce Kwon-2/+2
Add max-patch-count to the example configBryce Kwon-0/+5
Swap the browser markdown renderer for a filterBryce Kwon-12/+7
The readme is now escaped plain text unless about-filter points at the new about-render.lua, which renders markdown, man pages and plain text server-side. The enable-markdown setting goes away with the renderer.
Gate the stats page and add a language breakdownBryce Kwon-0/+5
The max-stats setting now only bounds the selectable periods and no longer doubles as the enable switch. The tree walk runs before the history walk on purpose. Releasing commit memory while walking history resets each commit slab index, and a commit graph lookup afterwards would read another commit slot and walk the wrong tree. The stats fixture writes a commit graph so the tests cover that path. The history walk bounds the window in process rather than passing a formatted since date to setup_revisions, and parses each commit once.
Remove the owner filter hookBryce Kwon-9/+0
Move syntax highlighting to a Lua source filterBryce Kwon-8/+11
Stat oversized diffs instead of inlining themBryce Kwon-0/+10
Cap and paginate the ref listingsBryce Kwon-0/+5
Add a help page with common workflowsBryce Kwon-0/+4
Add a commented example configurationBryce Kwon-0/+548