AgeCommit message (Collapse)AuthorLines
Say when logins are unavailableBryce Kwon-2/+3
The way back was signed part way through the form, so while the secret's directory did not exist, or a library was missing, cgit's error landed inside the hidden input and the page broke off there with no fields.
Keep the login page out of search indexesBryce Kwon-0/+14
Keep a protected repository's header to itselfBryce Kwon-0/+28
The login page stands in for any page of the repository, so it named the description and owner of one the visitor may not see, including one hidden from the index. The site's own description fills the line, as on the index, so the header keeps its height.
Move the later tests to the config writersBryce Kwon-1/+1
The one-line request wrappers go with them. Configs with several repositories, a key out of place on purpose, the cache on or no repository of their own stay written out.
Drop an auth prerequisite no test asks forBryce Kwon-4/+2
Set the Lua prerequisite once for every testBryce Kwon-9/+1
setup.sh already asks the binary, so the seven scripts that each turned the answer into a prerequisite now share one. test-lib names the missing prerequisite beside every test it skips, so the notes that cgit lacks Lua go, while the ones announcing a fallback stay. Every script that listed the standalone interpreters asked for the same ceiling, so lib.sh now builds that list for all of them.
Claim and test Lua 5.5 for every extensionBryce Kwon-1/+1
luaossl from release 20260910 and luaposix load under Lua 5.5, and cgit renders the same pages under it as under LuaJIT. Running the suites there already caught a write to a for loop's control variable, which 5.5 makes read-only.
Load auth libraries only when a request needs oneBryce Kwon-6/+30
Required at the top, a missing luaossl or luaposix failed every request to the site, public pages included, and each public page paid to load both.
Clean up the whole treeBryce Kwon-4/+2
Trim the comments and dead code across the treeBryce Kwon-9/+6
Add a test suite for the shipped extensionsBryce Kwon-0/+68