AgeCommit message (Collapse)AuthorLines
End a request quietly when the client has goneBryce Kwon-0/+5
A write that failed with EPIPE on an uncached page died into an error page, which died again at exit when the page could not be sent either, and git logged a recursion warning on every dropped connection. A filter that exits early fails a write the same way, so the quiet exit is kept for writes that reach the client itself.
Keep the Lua-less build compilingBryce Kwon-0/+6
`cgit_abort_filters` unhooks the Lua write interposer under NO_LUA too, where neither the hook nor its state exists, so `make NO_LUA=1` and the default mode of `tools/release-build.sh` have not compiled since the die path learned to take stdout back from a filter. The suite now builds that variant into `build/nolua` and runs it, and a `lua:` filter in such a build is refused with a message naming the cause instead of an unknown filter type.
Harden the request path, scan and error recoveryBryce Kwon-13/+43
Fail cleanly when a filter cannot runBryce Kwon-5/+17
A filter program that could not be run answered with two responses, and a filter that exited without reading its input ended cgit with the page half written.
Split trailers out of the commit messageBryce Kwon-0/+3
Clean up the whole treeBryce Kwon-32/+16
Harden the lua filter failure pathsBryce Kwon-5/+9
Trim the comments and dead code across the treeBryce Kwon-36/+17
Restyle the sources and fix the audit's findingsBryce Kwon-146/+178
Gather page output into one bufferBryce Kwon-0/+10
Settle the names, types and layout of the sourcesBryce Kwon-9/+9
Remove the owner filter hookBryce Kwon-6/+0
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/+457
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.