AgeCommit message (Collapse)AuthorLines
Replace the browser markdown renderer with a filterBryce Kwon-12/+7
The readme is now escaped plain text unless `about-filter` points at the new `about-render.lua`, which renders markdown, man pages and plain text server-side. `enable-markdown` goes away with the renderer.
Gate the stats page and add a language breakdownBryce Kwon-0/+5
`max-stats` only bounds the selectable periods now and no longer doubles as the enable switch. The tree walk runs before the history walk on purpose. Releasing commit memory while walking history resets each commit slab index, and a commit graph lookup afterwards would read another commit slot and walk the wrong tree. The stats fixture writes a commit graph so the tests cover that path. The history walk bounds the window in process rather than passing a formatted since date to `setup_revisions`, and parses each commit once.
Remove the owner filter hookBryce Kwon-9/+0
Move syntax highlighting to a Lua source filterBryce Kwon-8/+11
Stat oversized diffs instead of inlining themBryce Kwon-0/+10
Cap and paginate the ref listingsBryce Kwon-0/+5
Add a help page with common workflowsBryce Kwon-0/+4
Add a post-update hook for HTTP clonesBryce Kwon-0/+18
cgit's built-in clone support speaks the dumb HTTP protocol, which serves static files that only `git update-server-info` refreshes. Without this hook a clone can miss refs pushed after the repository was created.
Add example web server configurationsBryce Kwon-0/+477
The wiring has real pitfalls around PATH_INFO and the link base, so these ship as working commented configs. nginx needs the fcgiwrap bridge while apache and lighttpd run the CGI directly. The security headers live here rather than in cgit because they must also cover the static assets the server serves itself.
Add a commented example configurationBryce Kwon-0/+548
Reorganize into source, assets and librariesBryce Kwon-0/+19
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.