AgeCommit message (Collapse)AuthorLines
Sign patches with the cgit versionBryce Kwon-3/+9
git format-patch ends each patch with the version of git that wrote it, and the bare "cgit" that 3a00e19 left in its place said less. The version is written as git writes its own, without the v of the tag, so a release build signs with "cgit 2.9.0". The footer and the generator tag still leave versions out.
Hold patch and rawdiff to max-blob-sizeBryce Kwon-0/+4
Both pages hand the diff to git, whose own limit on an inlined blob is 512 MB, so a commit adding a blob the other views refuse was inflated and diffed in full. The cap is passed through to git, which shows such a blob as binary.
Remove what the version removal left behindBryce Kwon-2/+2
Keep the version numbers off the pagesBryce Kwon-1/+1
The generator meta, the footer and the patch signature named the exact cgit and git versions on every response, which only helps someone matching a site against an advisory. The shipped server configs already hide the server's own version for the same reason, and `cgit --version` still answers on the host.
Harden the page renderersBryce Kwon-12/+23
Clean up the whole treeBryce Kwon-22/+12
Trim the comments and dead code across the treeBryce Kwon-5/+3
Rename the inconsistent config keysBryce Kwon-1/+1
noplainemail enable-plain-email noheader enable-header cache-root-ttl cache-index-ttl cache-repo-ttl cache-summary-ttl cache-scanrc-ttl cache-scan-ttl agefile age-file renamelimit rename-limit extra-head-content head-content
Use standard HTTP reason phrasesBryce Kwon-4/+4
Restyle the sources and fix the audit's findingsBryce Kwon-46/+78
Settle the names, types and layout of the sourcesBryce Kwon-2/+2
Add `max-patch-count` to bound the patch viewBryce Kwon-0/+5
Point the fork's links and credits at itselfBryce Kwon-1/+1
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
Reorganize into source, assets and librariesBryce Kwon-0/+100
The C sources move to source/, the served files to assets/, the bundled Git submodule to libraries/git and the filter scripts to extensions/. Everything the build generates now lands in build/, so a clean is a single remove and the tree stays clean.