AgeCommit message (Collapse)AuthorLines
Say where the commit-filter appliesBryce Kwon-1/+2
Say that an about page needs a readme lineBryce Kwon-2/+3
Without one a repository has no about tab and its about url redirects to the summary, so a site that sets only about-filter never sees the renderer run.
Say which trailers the shipped filter linksBryce Kwon-2/+3
link-trailers.lua has shipped its Closes and Bug rules commented out since b4e780a, as they need a tracker address, but both docs still promised those links.
Suggest a Markdown file for root-readmeBryce Kwon-3/+4
Warn that a repository listed twice shows twiceBryce Kwon-0/+2
Say strict-export applies only to a scanBryce Kwon-1/+1
State once that cgitrc is read in orderBryce Kwon-0/+4
The rule was written down only under scan-path, so a setting such as enable-blame=1 added at the end of cgitrc silently did nothing.
List a theme after cgit.cssBryce Kwon-3/+5
Any css or js line replaces the default rather than adding to it, so a theme set with a single css line, as the README implied, left every page unstyled.
Say the auth filters match a repository's urlBryce Kwon-4/+5
A list keyed on the name the index shows matched nothing, so the repository it meant to protect stayed public.
Say where an edited auth filter belongsBryce Kwon-2/+5
make install copies every filter into the filters directory with mode 0644, so an edited auth-inline.lua there lost its lists on the next install, which turned every protected repository public, and until then showed its password hashes to every local user.
Describe a negative section-from-path in cgitrcBryce Kwon-2/+3
Correct two fallbacks the sample config statesBryce Kwon-3/+3
cgit_snapshot_prefix falls back to the basename of the repository url, and print_object sends a binary blob as application/octet-stream.
Point the source-filter sample at its notesBryce Kwon-3/+2
Write five compound terms one way in the docsBryce Kwon-2/+2
Each takes the form its option name or most of the prose already uses, as in case-sensitive-sort and side-by-side-diffs.
Spell HTML in capitals as most of the docs doBryce Kwon-1/+1
The head section loses its capitals too, since HEAD elsewhere in the manual is git's.
Spell url the way the tree mostly doesBryce Kwon-1/+1
Names keep their own spelling, so the URL trailer and CGIT_REPO_URL stay in capitals.
Rewrap the max-ref-count commentBryce Kwon-2/+1
Spell customisation and uncoloured the British wayBryce Kwon-1/+2
Leave the filter prefixes to the filter preambleBryce Kwon-12/+7
The preamble above the filters explains lua: and exec:, and the repo.* filter entries already read "Value is a command."
Say minutes once in the cache ttl commentsBryce Kwon-12/+9
Drop the filter note from the cgitrc headerBryce Kwon-4/+0
The filter section names about-render.lua and the source-filter itself.
Name the guarded settings in one placeBryce Kwon-5/+4
Say each css and js line holds one urlBryce Kwon-3/+3
Say which versions enable-version-info namesBryce Kwon-4/+3
Only the footer carries the git version. The reason the versions stay out by default is left to MANUAL, which already gives it.
Document virtual-root's default of SCRIPT_NAMEBryce Kwon-2/+2
cgit falls back to SCRIPT_NAME followed by a slash when virtual-root is unset, so its links always take the path form and none take the ?url= form the docs described.
Move scan-path below the settings it inheritsBryce Kwon-4/+5
The quick start says to uncomment scan-path, and in its old place a scanned repository missed every setting below it, among them the filters, the snapshots and the enable flags.
Offer the versions as an optionBryce Kwon-0/+6
enable-version-info brings back the cgit and git versions that 872bd7c took off the footer and the generator tag, for a site that wants them, and the version f7d2b83 put on the signature of patches now follows it too. It stays off by default for the reason 872bd7c gave.
Load the scripts with deferBryce Kwon-2/+3
A plain script in the head held up parsing until it had downloaded and run, though cgit.js only acts once the document is ready. Deferred scripts still run in the order given and before DOMContentLoaded, so a site script after cgit.js can still call window.cgit.
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