aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport.pm
Commit message (Collapse)AuthorAgeLines
* better error if category for report does not existStruan Donald2019-06-20-0/+17
| | | | | | It is possible that the category of a report no longer exists and in that case the Open311 send process was falling over. This checks that we've found a contact and if not sets the error and skips the report.
* [UK] send reports on highways agency roads to highways agencyStruan Donald2018-11-19-0/+1
| | | | | | | Includes an option to send to the council instead for e.g. reports on underpasses or bridges. Fixes #736
* Never skip sending reports with --debug flagDave Arter2018-01-29-2/+4
| | | | | | | It’s a little annoying to have to fiddle with the database between runs of send-reports when debugging a stuck/failing report or working on a new Open311 integration. This commit disables skipping of reports when the --debug flag is used.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-9/+10
| | | | And create default cobrand class without all of Moose.
* Create timezone objects only once at startup.Matthew Somerville2015-02-13-2/+1
| | | | | | 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.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-0/+2
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Consolidate sending backoff for different types of sender.Matthew Somerville2013-05-02-2/+11
|
* Convert report sending code to use bodies rather than areas/councils.Matthew Somerville2012-12-15-7/+8
|
* allow endpoints to be configured at a category levelStruan Donald2012-08-29-1/+2
| | | | | default cobrand now checks for endpoint configuration and only extra fallbacks are in UK cobrand
* print out message about reports that we tried to send to unconfirmed email ↵Struan Donald2012-07-24-0/+2
| | | | addresses
* Simplify SendReport code, moving some Email only bits to that module.Matthew Somerville2012-07-20-2/+2
|
* put back in code to list skipped count if verbose mode onStruan Donald2012-05-17-0/+1
| | | | small bugfixes for Barnet plus comments on debuging
* implement skipping sending at adding council level and not atStruan Donald2012-04-04-0/+5
| | | | the sending level
* update send failed data if fail to send a reportStruan Donald2012-04-03-2/+4
| | | | add code in to save success and errors
* use module::pluggable to get a list of avaible sending modulesStruan Donald2012-04-03-0/+13
| | | | skip on sending if the sending module isn't available
* put something in the base class and make things inherit from itStruan Donald2012-02-27-0/+17
|
* rough first draft of send-report refactor not. Work in progress at the momentStruan Donald2012-02-27-0/+7