aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/script
Commit message (Collapse)AuthorAgeLines
* Don’t send alert emails when archiving old reportsDave Arter2018-04-12-0/+35
|
* [Warwickshire] Add archive script data.Matthew Somerville2018-03-14-5/+11
| | | | Add an update with each report closure.
* Make sure gettext domain specified in all tests.Matthew Somerville2017-08-25-2/+0
|
* Run each test file in a transaction.Matthew Somerville2017-06-20-5/+0
| | | | This means that the tests can be run in parallel.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-2/+4
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* Auto-add strict/warnings/Test::More with TestMech.Matthew Somerville2017-05-31-3/+0
|
* [Oxfordshire] Old report archiving scriptpezholio2017-02-15-0/+163
This script can be used for the bulk closure of old reports that haven't been updated in a long time. Reports that haven't been updated in a *really* long time (since 2014, by default) are simply closed, and those that haven't been updated since 2015 (by default) are closed and an email explaining the closure is sent to the report creator. This script can be used for other cobrands, but they'll need an archive.{txt,html} template in order for the emails to be sent. For mysociety/fixmystreetforcouncils#51