AgeCommit message (Collapse)AuthorLines
Settle the snapshot v-prefix from the tag listBryce Kwon-8/+35
`compose_snapshot_prefix` dropped the leading v of a tag only when just one of the names 1.2, v1.2 and V1.2 resolved as a tag, so that the shorter snapshot name could always be traced back to one tag. Those probes went through ref lookups, and on a case-insensitive filesystem a lookup for V1.2 finds the loose file of v1.2, so every freshly made tag counted as ambiguous and kept its v. Once git packed the refs the lookups became exact and the same tag quietly changed its snapshot names. The claimants on a stripped name are now counted over the tag list itself with exact string comparison, so the answer no longer depends on how a ref is stored or on the filesystem underneath. Two tags that really differ only by the letter's case still both keep it.
Clean up the whole treeBryce Kwon-198/+120
Trim the comments and dead code across the treeBryce Kwon-17/+19
Remove the auto-submitting selectsBryce Kwon-1/+1
Remove the theme toggleBryce Kwon-2/+0
Rename the inconsistent config keysBryce Kwon-3/+3
noplainemail enable-plain-email noheader enable-header cache-root-ttl cache-index-ttl cache-repo-ttl cache-summary-ttl cache-scanrc-ttl cache-scan-ttl agefile age-file renamelimit rename-limit extra-head-content head-content
Fold `enable-stats` back into `max-stats`Bryce Kwon-1/+1
A `max-stats` period enables the page again, as it did before v2.2.0, so one key does both jobs.
Point clone rows at a url a browser can followBryce Kwon-0/+69
Keep a detached head in the branch switcherBryce Kwon-0/+41
Add a meta description to the page headBryce Kwon-0/+12
Use standard HTTP reason phrasesBryce Kwon-1/+1
Spell the charset UTF-8 everywhereBryce Kwon-1/+1
Drop the wall clock from the page footerBryce Kwon-3/+2
Replace non-ASCII output glyphs with ASCIIBryce Kwon-3/+2
Resolve submodule links from `.gitmodules`Bryce Kwon-6/+244
Fix the submodule rows in the tree listingBryce Kwon-13/+17
A submodule row linked to a path with its trailing slash stripped, was labelled by its path rather than its entry name, shared the name's element with its hash, claimed a size of zero and offered a blame button that cannot work on a gitlink.
Keep error pages out of the cacheBryce Kwon-0/+6
Show a pinned commit in the switcher, title, crumbsBryce Kwon-18/+110
Always send the Status headerBryce Kwon-0/+4
Print the raw-content headers with the restBryce Kwon-0/+7
Drop the Last-Modified, Expires and ETag headersBryce Kwon-19/+0
Tidy the structure of the generated markupBryce Kwon-9/+9
Wrap the dates in time elementsBryce Kwon-3/+12
Drop the XHTML slashes and boolean spellingsBryce Kwon-6/+6
Modernize the document headBryce Kwon-14/+19
Fix ampersand handling in generated urlsBryce Kwon-1/+3
Remove the repository homepage featureBryce Kwon-5/+0
Restyle the sources and fix the audit's findingsBryce Kwon-728/+763
Gather page output into one bufferBryce Kwon-0/+4
Expand `module-link` placeholders outside printfBryce Kwon-2/+40
Settle the names, types and layout of the sourcesBryce Kwon-33/+35
Give empty repositories their own pageBryce Kwon-2/+12
Add `enable-relative-dates` and `date-format`Bryce Kwon-6/+25
Drop the help tab and its built-in guideBryce Kwon-6/+0
Cap the header branch switcherBryce Kwon-2/+9
Backfill an absent commit messageBryce Kwon-1/+1
Emit a conforming `rel=icon` for the favicon linkBryce Kwon-1/+1
Gate the stats page and add a language breakdownBryce Kwon-1/+1
`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-7/+1
Add a help page with common workflowsBryce Kwon-0/+6
Submit option forms without inline handlersBryce Kwon-1/+1
Point the fork's links and credits at itselfBryce Kwon-2/+2
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
URL-encode the repolist pager linksBryce Kwon-2/+2
The pager html-escaped its search and sort values instead of url-encoding them, so a term with a hash or ampersand broke the link and dropped the active filter on the next page.
Keep an overlong path out of the tab titleBryce Kwon-4/+15
`fmt()` aborts the request rather than truncate, so a very long path fed into a context-sensitive tab title took down page rendering.
Cast signed chars before ctype callsBryce Kwon-1/+1
A plain char is undefined in the ctype functions for negative values, which a high byte produces wherever char is signed.
Add a light and dark theme toggleBryce Kwon-0/+3
The button is emitted hidden and only revealed by the script, so a browser without JavaScript never shows a control that cannot work and the page keeps tracking the system theme.
Overhaul the stylesheet with tokens and dark modeBryce Kwon-1/+1
The old sheet had no overflow rules, so wide code, diff, blame and stats blocks scrolled the whole page sideways on a phone. The classic layout, badge colours and age shading are kept.
Add viewport and color-scheme meta tagsBryce Kwon-0/+5
Without a viewport meta, mobile browsers assume a desktop-width page and scale it down, which is the root cause of content overflowing on small screens.
Rebuild the page chrome as semantic HTMLBryce Kwon-59/+91
The masthead, tab bar, breadcrumb, content region and footer were HTML tables, which cannot reflow and forced the page to scroll sideways on small screens. Class and id names are kept so custom themes keep matching, the tabs gain title hints and the form controls accessible names.
Replace the glibc-only `memrchr` for portabilityBryce Kwon-1/+12