AgeCommit message (Collapse)AuthorLines
Report a snapshot format name that matches nothingBryce Kwon-0/+19
Log the path of a repository that will not openBryce Kwon-0/+14
The 404 page names only the repository and nothing reached the log, so a mistyped repo.path left no trace of the path cgit had tried.
Report a word where cgitrc expects a numberBryce Kwon-0/+36
atoi reads "yes" or "true" as 0, so repo.hide=yes, or cgit.hide true in a scanned repository's git config, silently did nothing. The values keep that meaning, since honouring them now would hide repositories on upgrade, but each one is logged with its file and line.
Report a cgitrc or include that cannot be readBryce Kwon-0/+37
A missing or unreadable cgitrc left only "No repositories found" and an empty log, the commonest first mistake with no trace of its cause. A scanned repository's own cgitrc stays quiet, since most have none.
Drain the about filter in the config testsBryce Kwon-2/+6
Move the later tests to the config writersBryce Kwon-15/+8
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.
Cut test comments that repeat what is said nearbyBryce Kwon-6/+1
Make the main cgitrc filter check run the filterBryce Kwon-3/+6
The check asked for the summary page, which never runs an about filter, so it passed with exec:/bin/true where no such file exists, and with a filter that does not exist at all. Its first line read the stderr the previous test left behind. execvp searches the PATH, so a plain true runs the same everywhere.
Run a config comment to the end of its lineBryce Kwon-0/+16
skip_line stopped at a NUL as well as at a newline, so the rest of the comment after one was read as a setting.
Harden the request path, scan and error recoveryBryce Kwon-3/+3
Answer 404 for a repository whose path is missingBryce Kwon-2/+21
Gate scanned filters with trust-scan-filtersBryce Kwon-4/+30
Report ignored config keys on stderrBryce Kwon-0/+53