AgeCommit message (Collapse)AuthorLines
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-207/+236
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
Add the link-trailers extensionBryce Kwon-0/+109
Split trailers out of the commit messageBryce Kwon-0/+19
Clean up the whole treeBryce Kwon-84/+43
Give the login inputs explicit field typesBryce Kwon-2/+2
Refresh the server configs and drop unsafe-inlineBryce Kwon-94/+71
style-src allowed inline styles only for the diffstat bars, which take their width from colspan instead. t0004 now checks that the three configs pin the same policy.
Trim the comments and dead code across the treeBryce Kwon-297/+203
Rename the inconsistent config keysBryce Kwon-120/+129
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
Replace nbsp spacing with CSSBryce Kwon-4/+4
Document cache directory ownershipBryce Kwon-1/+3
Refuse unknown and spoofed hostnames in nginx.confBryce Kwon-0/+31
Rework the response headers in the server configsBryce Kwon-30/+132
Drop the Last-Modified, Expires and ETag headersBryce Kwon-1/+11
Drop the update-server-info hookBryce Kwon-25/+0
Rename the agefile hook to cgit-ageBryce Kwon-0/+0
Let password managers fill the login formBryce Kwon-8/+8
Lazy load the avatar iconsBryce Kwon-2/+10
Restyle the filter extension headers and markupBryce Kwon-845/+917
Remove the repository homepage featureBryce Kwon-3/+0
Move the cookie-signing secret out of the cache v2.3.0Bryce Kwon-2/+2
Trim the lua headers and fix the Scintillua notesBryce Kwon-104/+18
Fix cookie name escaping and stored hash trimmingBryce Kwon-3/+26
Make the server configs complete standalone filesBryce Kwon-219/+410
Add a hook that clears cgit's cache on pushBryce Kwon-0/+38
Set a readable umask in the post-update hookBryce Kwon-0/+7
Rewrite the agefile hook for reliabilityBryce Kwon-6/+25
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-0/+3416