aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/ArchiveOldEnquiries.pm
Commit message (Collapse)AuthorAgeLines
* Fix archive report script to not skip first row.Matthew Somerville2019-03-28-7/+8
| | | | | | | ->first, as used in cd8a5702, uses the iterator, so ->next will then only return the second onward. Instead, do the needed thing in the first iteration of the loop. Also check the option is set as some scripts do not set it.
* make sure the archive report script sets up lang etcStruan Donald2019-03-27-0/+8
| | | | | | Previously if no reports were closed with an email this meant that the lang setup never ran and you got an error when _ was called in close_problems. So, we call the lang setup in close_problems too.
* [Buckinghamshire] Script to close old district flytipping reports.Matthew Somerville2019-01-23-18/+26
|
* Don’t send alert emails when archiving old reportsDave Arter2018-04-12-1/+16
|
* [Warwickshire] Add archive script data.Matthew Somerville2018-03-14-11/+24
| | | | Add an update with each report closure.
* [Oxfordshire] Old report archiving scriptpezholio2017-02-15-0/+141
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