aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet.pm
Commit message (Collapse)AuthorAgeLines
* Upgrade commonlib to read in config as Unicode.Matthew Somerville2017-10-10-3/+2
| | | | This means variables do not need decoding in a few places.
* Better testing for tests run on live site.Matthew Somerville2017-10-10-0/+3
| | | | | | | When the tests are run normally, using bin/run-tests, 00-check-config.t is pointless as the config will have been newly set up from the example file. To prevent running except through run-tests, check when test_mode is set, dying if the live config file has been used.
* [fixmystreet.com] Fix /reports displaying months.Matthew Somerville2017-07-07-0/+1
| | | | | | Month strings weren't escaped in data label, and would never match database data (using month number). Also issues displaying current day/month in graph.
* Remove final use of old DBHandle.Matthew Somerville2017-06-20-33/+0
|
* Move staging flags to their own config variable.Matthew Somerville2017-01-10-0/+14
|
* Use only one templating system for emails.Matthew Somerville2016-05-25-17/+0
| | | | | | | Historically, emails sent offline (alerts, questionnaires, etc) used a different templating system from those sent by the website (e.g. login emails), though the newer system was also being used for the site name and signature of offline emails.
* Remove many uses of mySociety::Config.Matthew Somerville2015-12-02-17/+3
|
* Only initialize TimeZones if used.Matthew Somerville2015-12-02-3/+6
|
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-2/+2
| | | | Command line scripts don't need a full blown app, just database.
* Allow MAP_TYPE to be overridden by testsDave Arter2015-10-06-1/+4
|
* Create timezone objects only once at startup.Matthew Somerville2015-02-13-0/+20
| | | | | | Cache a DateTime::TimeZone::Local object, so that in an environment where /etc/localtime is a copy of a timezone file, we don't repeatedly walk all the timezone files to find the matching one.
* refactor repeat code into get_email_templateHakim Cassimally2014-08-14-0/+17
|
* Comment setup_request's conf override in test_modeHakim Cassimally2014-06-04-0/+6
|
* bin/geocode script for testing geocodingHakim Cassimally2014-04-10-1/+3
| | | | | | | | | | | | | | | | | | | | | Run bin/geocode -h for options. Has: * configurable cobrand / config-file / geocoder * some diagnostics for missing cobrand Minor fixes rebased into this commit: * bin/geocode error if no --cobrand passed * bin/geocode docs and accept GEOCODER as string Notable TODOs remaining: * reverse geocoding, to double check that latitude actually maps somewhere useful (and is within Cobrand's boundaries) * diagnosis of relevant CONFIG settings * flag to disable caching
* More accurate config overriding for Zurich.Matthew Somerville2013-10-24-1/+2
|
* Have a central config-override function.Matthew Somerville2013-09-13-0/+36
| | | | You only need to pass in the values you wish to be different.
* Add a basic FMB test.Matthew Somerville2013-02-04-1/+1
|
* BCI -> FMS in config valuesStruan Donald2012-01-09-12/+12
|
* Revert "quote names in SQL to get round problems with joining the users table"Struan Donald2011-06-03-5/+1
| | | | This reverts commit d07bd0a10d8507c3952f81dcd7fdb251bec164c0.
* quote names in SQL to get round problems with joining the users tableStruan Donald2011-06-03-1/+5
|
* Allow users to create an account, confirm it and logoutEdmund von der Burg2011-03-03-0/+33
|
* Simple email sendingEdmund von der Burg2011-03-02-0/+22
|
* Added method to return DB connection infoEdmund von der Burg2011-03-01-0/+38
|
* More work on the Cobrand and setting for requestEdmund von der Burg2011-02-23-1/+1
| | | | test to see welsh about us page
* Allow access to the config through FixMyStreetEdmund von der Burg2011-02-23-3/+29
|
* FMS util module and testsEdmund von der Burg2011-02-23-0/+39