AgeCommit message (Collapse)AuthorLines
Check the stats columns, periods and pathBryce Kwon-30/+138
Each period check needed a single heading of the right shape, so a wrong window or column count passed, and the weekly default had no check. A request that straddles midnight is made again rather than failing, since cgit reads the clock for itself and a new day can open a new period. The absence checks gain a presence check on the same page.
Check the stats page counts and orders authorsBryce Kwon-10/+60
No test asserted a count, and the fixture had a single author, so a page that stopped counting or sorting passed. The commit graph came in for a language breakdown that is gone. It stays because the walk still releases each commit as it goes, which a commit read from the graph has to survive.
Let a keyboard scroll the stats tableBryce Kwon-0/+6
It scrolls sideways like the hex dump, with nothing inside a keyboard can reach, so it takes focus and the shared focus ring the same way.
Drop the check for a language breakdown long goneBryce Kwon-4/+0
Add the shared config writers and cgit_rcBryce Kwon-35/+15
The helpers are named by kind. cgitrc_repo and cgitrc_copy write the config file named first, and cgit_url, cgit_query and cgit_rc run cgit, each named after what it is handed first. A repository copies its defaults from the globals read before its repo.url, so cgitrc_repo places every setting itself, and a global can no longer land where it silently stops applying. The t00xx and t01xx files move to them here.
Refuse pathspec magic on the stats pageBryce Kwon-0/+9
Open the stats window at midnight on its first dayBryce Kwon-0/+28
Test the features the suite never reachedBryce Kwon-0/+11
Index sorting, the commit graph, the stats periods past a week, the hex dump of a binary file and a Lua filter's html_url_arg and html_include ran in no test.
Fold enable-stats back into max-statsBryce Kwon-7/+6
A max-stats period enables the page again, as it did before v2.2.0, so one key does both jobs.
Remove the language breakdown from the stats pageBryce Kwon-14/+9
Null-terminate the stats pathspec argvBryce Kwon-0/+6
Renumber the test scripts into themed rangesBryce Kwon-0/+0
The numbering walks outward from the ground the suite stands on. - t000x for the git version, html validity and the cache - t01xx for page content, one script per page - t02xx for filters, submodule links, dates and limits, which cut across pages - t03xx for defence, the security regressions and the $HOME promise - t04xx for the helper tools under tools/