AgeCommit message (Collapse)AuthorLines
Show an odd pushed date rather than die on itBryce Kwon-0/+4
A date past what the system holds, a zone that is no hhmm offset, or a date earlier than its own westward offset all made git die inside show_date, which took the summary, refs, log, commit and feed pages of the repository down. They are now clamped as git's own log clamps them.
Refuse pathspec magic in the feed as in the logBryce Kwon-0/+8
A feed path starting with a colon reached git as pathspec magic, so an unknown magic word ended the request in a 500 and a known one changed what the path matched, while the log answers both with a 400.
Test the advisory classes and name an empty authorBryce Kwon-6/+10
Each class behind cgit's published advisories now has a check against the current code, from a newline in a file name to shell syntax handed to a filter. The feed also treated an ident with an empty name and an empty address as present and wrote an empty person, which Atom forbids.
Replace the stray bytes of text that is not UTF-8Bryce Kwon-34/+1
A commit whose encoding header names something iconv cannot convert, or whose text is labelled UTF-8 without being it, reached a page declared UTF-8 with its bytes untouched. The atom feed already replaced them, so its UTF-8 reader moves to shared.c and every ident, subject, message and tag text passes through it.
Harden the page renderersBryce Kwon-45/+42
Clean up the whole treeBryce Kwon-2/+1
Trim the comments and dead code across the treeBryce Kwon-12/+9
Rename the inconsistent config keysBryce Kwon-1/+1
The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace.
Spell the charset UTF-8 everywhereBryce Kwon-2/+2
Date an empty atom feed at the epochBryce Kwon-2/+3
Replace non-ASCII output glyphs with ASCIIBryce Kwon-2/+2
Bring the atom feed up to the rfcBryce Kwon-21/+117
Restyle the sources and fix the audit's findingsBryce Kwon-41/+66
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.
Emit the updated element on an empty atom feedBryce Kwon-0/+7
The feed-level element was written only inside the commit loop, so a feed with no commits omitted an element the atom format requires.
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.