aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/root.t
Commit message (Collapse)AuthorAgeLines
* Deal with a variety of low-level test warnings.Matthew Somerville2018-10-04-1/+0
| | | | | | | | | | * Stop red warning being output by S3 bucket creation failure test * Make sure 'num_old_reports' is always a number on /around pages * Stop 'category_extra' being generated when unnecessary * Prevent warning printed in getservicerequestupdates.t * Prevent info lines from being output in develop.t * Remove line of #s in root.t * And an ID diag in zurich.t
* cobrand hook to deny access to pagesStruan Donald2018-06-19-0/+15
| | | | | | | Add a check in the root controller `auto` to a cobrand hook that denies access if it returns true. This goes here so that cobrands and users are set up, which is not the case for `check_login_required`. Used to do things like deny site access unless the user is a superuser.
* Prevent race condition in root.t test.Matthew Somerville2017-09-06-1/+1
| | | | | | This test assumed /reports would load, which it wouldn't if run in parallel and the data hadn't been generated by reports.t. Test a different page instead.
* Add LOGIN_REQUIRED config keyDave Arter2017-08-31-0/+76
If set to 1, this restricts all pages on the site to logged-in users.