AgeCommit message (Collapse)AuthorLines
Release v2.2.0v2.2.0Bryce Kwon-1/+1
Drop the example cgitrc from the manualBryce Kwon-190/+0
Replace the browser markdown renderer with a filterBryce Kwon-233/+613
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.
Skip a malformed config lineBryce Kwon-24/+34
Bound the cache listing key outputBryce Kwon-2/+9
Prune the stats walk and guard its datesBryce Kwon-1/+9
Keep zstd snapshots single-threadedBryce Kwon-1/+3
Add `max-patch-count` to bound the patch viewBryce Kwon-0/+27
Cap the header branch switcherBryce Kwon-2/+9
Backfill an absent commit messageBryce Kwon-8/+36
Stream the tree line numbers instead of bufferingBryce Kwon-5/+2
Apply the diff size caps under followBryce Kwon-7/+9
Cap diff blobs by `max-blob-size`Bryce Kwon-3/+48
The diff family inflated a blob of any size just to render it. A file over the limit is reported as binary instead.
Skip a ref whose object cannot be parsedBryce Kwon-1/+7
A dangling or unreadable ref was described through a null object.
Percent-encode file paths in side-by-side diffsBryce Kwon-2/+42
Tighten the gitignore and gitattributes rulesBryce Kwon-5/+24
Bound syntax-highlight memory and widen coverageBryce Kwon-74/+173
Rework link-commits into a rules filterBryce Kwon-14/+140
Guard the avatar filters and expose settingsBryce Kwon-23/+181
Harden and reorganize the auth filtersBryce Kwon-334/+667
Add a dist target and build releases through itBryce Kwon-10/+24
Reorganize and simplify the MakefileBryce Kwon-97/+98
Remove the PDF documentation outputBryce Kwon-22/+6
Make the clean targets remove real test outputBryce Kwon-3/+6
Emit a conforming `rel=icon` for the favicon linkBryce Kwon-4/+5
Redraw the logo and favicon at higher resolutionBryce Kwon-0/+10
Widen the `robots.txt` rules to extensionless pathsBryce Kwon-3/+2
Build the sources with `-fno-common`Bryce Kwon-0/+7
Apple clang still defaults to `-fcommon`, so git's 64 KB packet_buffer became a common symbol whose size drove a 32 KB section alignment that ld64 then clamped to the 16 KB page size, warning on every macOS link. Everywhere else already compiles with `-fno-common`.
Gate the stats page and add a language breakdownBryce Kwon-24/+297
`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.
Release v2.1.0v2.1.0Bryce Kwon-1/+1
Keep the version fallback in shallow buildsBryce Kwon-2/+8
A checkout without tags made `git describe` fail and the empty result overwrote the fallback, so CI release binaries carried no version at all. The release workflow now also fetches tags so a tag build stamps its exact version.
Run CI only on branch pushesBryce Kwon-1/+2
Even out font sizes and drop dead stylesBryce Kwon-116/+47
Remove the owner filter hookBryce Kwon-55/+3
Declutter the interface on small screensBryce Kwon-36/+32
Follow the theme in the external tab iconBryce Kwon-3/+13
Highlight and center fragment-targeted linesBryce Kwon-0/+79
Move syntax highlighting to a Lua source filterBryce Kwon-250/+247
Stat oversized diffs instead of inlining themBryce Kwon-3/+130
Cap and paginate the ref listingsBryce Kwon-14/+189
Add a help page with common workflowsBryce Kwon-0/+182
Keep line structure in plaintext readmesBryce Kwon-1/+29
Submit option forms without inline handlersBryce Kwon-6/+34
Add security and fork-behaviour regression testsv2.0.0Bryce Kwon-0/+113
Rewrite the README for the fork as `README.txt`Bryce Kwon-99/+144
Point the fork's links and credits at itselfBryce Kwon-34/+42
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
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
Harden the auth filter headers and session cookieBryce Kwon-10/+62
The filters signed the request url and later wrote it into a Location header, and the signing step re-encoded a newline that the verifying step decoded back, so a crafted url could smuggle CR and LF into the response. The cookie HMAC was also checked with a short-circuiting comparison and carried no SameSite attribute.