Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Skip accounts without email for inactive emails. | Matthew Somerville | 2020-06-11 | -0/+1 |
| | ||||
* | Ignore body users when anonymizing. | Matthew Somerville | 2020-06-03 | -0/+6 |
| | ||||
* | Mark user as active when sent an email alert. | Matthew Somerville | 2020-06-03 | -0/+4 |
| | ||||
* | Fix breaking test. | Matthew Somerville | 2020-05-06 | -1/+1 |
| | | | | The change in cc2b8f54 made a typo in the default argument. | |||
* | [BANES] Add script to close redundant reports | Chris Mytton | 2020-05-06 | -2/+3 |
| | | | | | | | | | B&NES have sent us a spreadsheet with a list of reports along with their IDs that they want marking as "No further action" along with a specific update. This script takes a comma-separated list of report IDs and closes those reports, leaving the appropriate comment text. | |||
* | Have a daemon that can send reports. | Matthew Somerville | 2020-04-28 | -19/+31 |
| | ||||
* | Ignore sending failures within the database query. | Matthew Somerville | 2020-04-06 | -3/+29 |
| | | | | This means the code can assume it should be trying to send a report. | |||
* | Tidy up verbose/debug handling of send-reports. | Matthew Somerville | 2020-04-06 | -32/+22 |
| | | | | | Use verbose for all log output, and debug only for overriding the should_skip check. | |||
* | Move summary failures to separate script. | Matthew Somerville | 2020-03-31 | -2/+0 |
| | ||||
* | Move per-row process to its own package. | Matthew Somerville | 2020-03-31 | -271/+9 |
| | ||||
* | Refactor Script::Report into an object. | Matthew Somerville | 2020-03-31 | -202/+272 |
| | ||||
* | [Open311] Allow save/drop of row extra during send | Matthew Somerville | 2020-03-31 | -8/+1 |
| | ||||
* | Fixes the To header when sending emails about inactive accounts. | Joe Siltberg | 2020-03-26 | -1/+1 |
| | | | | | | | Without the brackets the user's name was interpreted as a separate recipient. Fixes #2935 | |||
* | Fix password setting in createsuperuser script. | Matthew Somerville | 2020-02-26 | -6/+14 |
| | ||||
* | Allow anonymous reporting on per-category basis. | Matthew Somerville | 2020-02-13 | -1/+1 |
| | ||||
* | [TfL] Add hook to restrict to safety reports. | Matthew Somerville | 2020-01-09 | -0/+1 |
| | ||||
* | [Inactive] Add option to only act on one cobrand. | Matthew Somerville | 2020-01-09 | -16/+24 |
| | ||||
* | [Inactive] Add option to fully delete reports. | Matthew Somerville | 2020-01-09 | -3/+28 |
| | ||||
* | [Inactive] Ignore already anonymized users. | Matthew Somerville | 2020-01-09 | -0/+1 |
| | ||||
* | [TfL] Fix reference ID in logged email. | Matthew Somerville | 2019-12-11 | -8/+1 |
| | | | | | | If report made on .com, `body->get_cobrand_handler` does not return TfL as it covers many bodies. Now we have the body handler, we can use that instead. | |||
* | [UK] Fix links in submit email. | Matthew Somerville | 2019-12-11 | -3/+6 |
| | | | | | | For an email to somewhere for which the report has a body handler, we want to use that cobrand's domain for the link - we already are using their cobrand for the email template, after all. | |||
* | [TfL] Exclude TfL items from non-TfL email alerts. | Matthew Somerville | 2019-12-09 | -1/+7 |
| | ||||
* | Record first time fixed/closed update sent to reporter in email. | Matthew Somerville | 2019-12-09 | -4/+13 |
| | ||||
* | pass cobrand name to state display from alert script | Struan Donald | 2019-11-26 | -1/+1 |
| | | | | | This was passing the cobrand object so the checks in State::display that were relying on the moniker were not working. | |||
* | Remove unused inspection required/reputation code. | Matthew Somerville | 2019-10-28 | -19/+0 |
| | ||||
* | [Oxfordshire] Remove raise defect/inspected code. | Matthew Somerville | 2019-10-10 | -1/+0 |
| | ||||
* | Turn on quote_names. | Matthew Somerville | 2019-06-26 | -4/+4 |
| | ||||
* | Update a number of packages. | Matthew Somerville | 2019-05-13 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update: * Catalyst * Specify Catalyst::DispatchType::Regex explicitly * Remove Catalyst::Plugin::Unicode::Encoding * Catalyst::Plugin::SmartURI * Specify URI::SmartURI explicitly * Catalyst::Plugin::Static::Simple * CGI * Class::Load * DateTime * DateTime::TimeZone * DBD::Pg * DBIx::Class * DBIx::Class::EncodedColumn. * Email::Address. * Email::MIME * ExtUtils::MakeMaker * ExtUtils::ParseXS (for Params::Classify upgrade) * File::ChangeNotify * Image::Size * IO::Socket::SSL * local::lib * Moo * Moose (and some related others due to deprecations) * namespace::autoclean * Net::Server * Net::SSLeay * Number::Phone * Plack * Starman * Template * Test::PostgreSQL * Test::WWW::Mechanize::Catalyst * Text::CSV * YAML carton install was run on a wheezy box, the oldest that is supported, to make sure the required minimal vesions of core modules weren't removed from the snapshot. Cpanel::JSON::XS, Devel::GlobalDestruction::XS, and MooseX::NonMoose were then put back in the snapshot, in case another system needs them (e.g. system Perl on Mac looks for MooseX::NonMoose). | |||
* | Factor to common FixMyStreet::MapIt call. | Matthew Somerville | 2019-04-04 | -4/+3 |
| | ||||
* | Fix archive report script to not skip first row. | Matthew Somerville | 2019-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. | |||
* | Merge branch 'issues/commercial/1273-ref-number-com' | Matthew Somerville | 2019-03-27 | -1/+11 |
|\ | ||||
| * | [UK] Council reference in .com confirm sent email. | Matthew Somerville | 2019-03-27 | -1/+11 |
| | | ||||
* | | make sure the archive report script sets up lang etc | Struan Donald | 2019-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. | |||
* | more obvious delineation between reports in error email | Struan Donald | 2019-03-25 | -1/+1 |
| | | | | | It can be hard to see where one error stops and a new one begins in the send reports error emails so put in a more obvious break between them. | |||
* | [FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list) | Joe Siltberg | 2019-02-25 | -1/+1 |
| | | | | Fixes #1957 | |||
* | [Buckinghamshire] Script to close old district flytipping reports. | Matthew Somerville | 2019-01-23 | -18/+26 |
| | ||||
* | Remove any use of `my $x if $foo`. | Matthew Somerville | 2019-01-14 | -1/+3 |
| | | | | | | | | As perlsyn says, "NOTE: The behaviour of a `my`, `state`, or `our` modified with a statement modifier conditional or loop construct (for example, `my $x if ...`) is undefined. The value of the `my` variable may be `undef`, any previously assigned value, or possibly anything else." | |||
* | Deal with possible multiple send_method_useds. | Matthew Somerville | 2018-11-06 | -1/+8 |
| | ||||
* | Don’t send questionnaires for closed reports. | Dave Arter | 2018-10-26 | -1/+3 |
| | | | | Fixes mysociety/fixmystreet-freshdesk#24. | |||
* | Add get_cobrand_logged to Comment. | Matthew Somerville | 2018-10-09 | -2/+2 |
| | ||||
* | Add hook for per-row questionnaire override. | Matthew Somerville | 2018-09-13 | -1/+4 |
| | ||||
* | pull out reports group_by code to method | Struan Donald | 2018-09-12 | -9/+16 |
| | | | | So we can use this in collideoscope | |||
* | add end argument to loop_period | Struan Donald | 2018-09-12 | -5/+6 |
| | | | | | So we can use it for collideoscope which does not use a fixed end period. | |||
* | Use do-not-reply address for sent report email. | Matthew Somerville | 2018-07-09 | -1/+0 |
| | ||||
* | [UK] Fix issue when body ID not equal to MapIt ID. | Matthew Somerville | 2018-06-28 | -1/+4 |
| | | | | | | | | | | | Hitherto when creating a body or ward alert on a UK site, the MapIt area ID has been stored instead of the body ID. This is okay for www.fixmystreet.com which for historical reasons does have body IDs that match MapIt area IDs, but other UK-based sites may well not. The alert lookup looks for body ID, meaning those alerts will not work. Save the body ID instead, plus fix some tests that were making the same assumption. | |||
* | Merge branch 'user-inactivity' | Matthew Somerville | 2018-05-24 | -0/+174 |
|\ | ||||
| * | Add ability to close updates on reports. | Matthew Somerville | 2018-05-23 | -0/+24 |
| | | | | | | | | | | The inactive report script can mark matched reports as closed for updates. This removes the update form and signing up for updates from a report page. | |||
| * | Script to scrub old non-open reports. | Matthew Somerville | 2018-05-23 | -0/+57 |
| | | ||||
| * | Script to email/anonymize inactive users. | Matthew Somerville | 2018-05-23 | -0/+93 |
| | | ||||
* | | Use default sender for report sent email. | Matthew Somerville | 2018-05-23 | -1/+1 |
|/ |