aboutsummaryrefslogtreecommitdiffstats
path: root/app.psgi
Commit message (Collapse)AuthorAgeLines
* Add LWP panel to debug toolbar.Matthew Somerville2017-09-12-1/+1
|
* Add template debug panel.Matthew Somerville2017-09-01-1/+1
| | | | | Use a small subclass of (our) P::M::D::Template to have better display of our template path names.
* Add debug toolbar middleware.Matthew Somerville2017-08-29-1/+8
| | | | | | | | | | | | | | If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG environment variables, add a debug toolbar to the output, including request/response details and a database query log. This uses Plack middleware, so works by switching our dev server to use Starman with plack directly, rather than via the script runner. We remove the GZip compression as this interferes, and take a local copy of the QueryLog::AdoptPlack trait as it needs a tweak to work. Make sure the CSP header is not output in debug mode, as that would prevent the toolbar JavaScript from running.
* Add standard app.psgi file.Matthew Somerville2015-08-28-0/+8
This enables easier integration with Plack/PSGI web servers.