AgeCommit message (Collapse)AuthorLines
Hold object sizes in size_t as git 2.55 doesBryce Kwon-1/+1
Git 2.55 moved object sizes from unsigned long to size_t. The two are the same type on 64-bit hosts, but not on a 32-bit one, where GCC 14 rejects the mismatched pointers, so cgit stopped compiling there.
Share the max-blob-size check and its refusalBryce Kwon-3/+2
Five copies of the test and four of the error page had to agree by hand. The new check pins the four refusals, which no test covered.
Word the blob size and binary errors alikeBryce Kwon-5/+3
The four pages that refuse a blob over max-blob-size each said it in their own way, two of them in lower case, and the blame page ended its binary notice with a full stop no other error carries.
Add stable markup hooks for site themesBryce Kwon-2/+2
Harden the page renderersBryce Kwon-15/+14
Clean up the whole treeBryce Kwon-41/+29
Trim the comments and dead code across the treeBryce Kwon-6/+5
Rename the inconsistent config keysBryce Kwon-2/+2
The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace.
Use standard HTTP reason phrasesBryce Kwon-7/+7
Treat text blobs with stray nuls as binaryBryce Kwon-1/+13
Restyle the sources and fix the audit's findingsBryce Kwon-131/+193
Reuse a blame commit's detail across its entriesBryce Kwon-3/+15
Emit generated runs in batches, not a write eachBryce Kwon-11/+53
Settle the names, types and layout of the sourcesBryce Kwon-8/+3
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.
Check max-blob-size up front and default to 10 MBBryce Kwon-0/+6
Only the tree view honoured the limit, and only after loading the whole object. The default moves from unlimited to 10 MB so a fresh install never buffers a huge object whole. Zero still turns the limit off.
Harden the blob view error pathsBryce Kwon-2/+3
A blob requested by ref with an unknown path fell through to the commit object and was served with a 200 instead of a 404. Two error pages passed a null pointer to a %s format when the request carried no object id, and the error pages left the layout open.
Reorganise into source, assets and librariesBryce Kwon-0/+0
Everything the build generates now lands in build/, so a clean is a single remove and the source tree stays free of build output.