AgeCommit message (Collapse)AuthorLines
Trim the lua headers and fix the Scintillua notesBryce Kwon-104/+18
Fix cookie name escaping and stored hash trimmingBryce Kwon-3/+26
Make the server configs complete standalone filesBryce Kwon-204/+395
Add a hook that clears cgit's cache on pushBryce Kwon-0/+38
Set a readable umask in the post-update hookBryce Kwon-0/+7
Rewrite the agefile hook for reliabilityBryce Kwon-6/+25
Add `enable-relative-dates` and `date-format`Bryce Kwon-7/+188
Mark the security test executableBryce Kwon-0/+0
Drop the help tab and its built-in guideBryce Kwon-182/+0
Drop the GitHub workflows and the dist targetBryce Kwon-183/+1
Add `CGIT_EXTRA_CFLAGS` for cgit-only build flagsBryce Kwon-0/+4
Reorganize the tree into vendor/ and custom/Bryce Kwon-41/+28
Add `max-patch-count` to the example configBryce Kwon-0/+5
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