aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Model/DB.pm
Commit message (Collapse)AuthorAgeLines
* Make current cobrand available on DB::SchemaDave Arter2017-09-01-0/+1
|
* Add debug toolbar middleware.Matthew Somerville2017-08-29-0/+5
| | | | | | | | | | | | | | 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.
* Use a schema cache to remember body lookups.Matthew Somerville2017-08-23-1/+10
|
* Move FixMyStreet::DB to FixMyStreet::DB::Schema.Matthew Somerville2017-08-09-2/+2
| | | | Store a schema object on FixMyStreet::DB instead.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-1/+1
| | | | Command line scripts don't need a full blown app, just database.
* Added FixMyStreet::DB as a model to FixMyStreet::AppEdmund von der Burg2011-03-01-0/+24