aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* Version 2.4.v2.4Matthew Somerville2018-09-06-1/+1
|
* [UK] utility script to generate stats for DefraStruan Donald2018-08-30-0/+69
|
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-51/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Version 2.3.4.v2.3.4masterMatthew Somerville2018-06-07-1/+1
|
* Version 2.3.3.v2.3.3Matthew Somerville2018-06-06-1/+1
|
* Version 2.3.2.v2.3.2Matthew Somerville2018-05-31-1/+1
|
* Add ability to close updates on reports.Matthew Somerville2018-05-23-3/+4
| | | | | 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 Somerville2018-05-23-0/+40
|
* Script to email/anonymize inactive users.Matthew Somerville2018-05-23-0/+43
|
* Update last_active on active sessions too.Matthew Somerville2018-05-23-21/+17
|
* Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-2/+15
|
* Refactor out some session functions.Matthew Somerville2018-05-23-23/+4
|
* Add created and last_active columns to user.Matthew Somerville2018-05-23-0/+1
|
* [KiitC] Add cpanfile feature for optional modules.Matthew Somerville2018-05-09-1/+1
|
* [Open311] Make sure updates sent in order.Matthew Somerville2018-05-08-0/+1
| | | | | Some Open311 servers will refuse an update with a timestamp earlier than one it already received.
* [Open311] Always try and send updates if verbose.Matthew Somerville2018-05-03-3/+1
| | | | Otherwise we may not warn on otherwise skipped updates.
* [Open311] warn about send-comments errors if verbose flag setStruan Donald2018-04-26-1/+5
| | | | | | | | | Previously send-comments errors would only be printed the first time they occurred so there was no visibility of ongoing errors. This brings send-comments in line with send-reports by emitting errors if the script is called with --verbose. Fixes #2091
* add extra column to body tableStruan Donald2018-04-11-0/+1
| | | | Adds and extra column for bodies and the associated Extra role.
* [BANES] Send email when Open311 update submitted.Matthew Somerville2018-04-10-4/+52
|
* Updates to bounce handling strings.Matthew Somerville2018-04-06-1/+1
|
* Default to last two hours in GetServiceRequestsDave Arter2018-04-04-3/+38
| | | | Also adds script for fetching the last 24hrs of reports
* [Buckinghamshire] Don’t send updates not made by original reporterDave Arter2018-04-03-1/+12
|
* add convert_latlong option to body tableStruan Donald2018-03-29-0/+1
| | | | | For controlling if reports pulled in via Open311 should have the position converted from Easting/Northing to lat/long.
* Add ResponseTemplate.external_status_code fieldDave Arter2018-03-29-0/+1
|
* Fix check for visible sub map links.Matthew Somerville2018-03-19-0/+1
| | | | | | | | I don't think this check could ever have worked, because items are invisible if their parent is set to `display: none`, so it would hide the links bar if it was already hidden, and show it if it was already shown. Use a js- class for the movement of the feed item into the sub map links.
* permit blank updates to be fetched over Open311Struan Donald2018-03-15-0/+1
| | | | | Add a per body configuration option to allow Open311 updates to contain only a status change, rather than emitting a warning when this happens.
* fetch new problems over open311Struan Donald2018-03-15-0/+26
| | | | | | | | | | This enables the display of existing reports from the back end on FMS if the body is configured to do this. Reports will not be created if they are missing an id, a lat or a long, if the lat/long is outside the area covered by the body, if there is already a report with a matching id, or if we can't parse out the request time.
* Add Cypress testing.Matthew Somerville2018-03-15-0/+132
|
* Merge branch 'issues/commercial/987-zurich-csv-updates'Matthew Somerville2018-03-14-304/+126
|\
| * [Zurich] Switch to more modern database states.Matthew Somerville2018-03-07-5/+8
| | | | | | | | | | | | | | The Zurich code was written a long time ago, and used overriding so that e.g. the hard-coded 'investigating' state referred to Wunsch (wish). Now that states are stored in the database, we can create ones specially for Zurich and use them instead. Hooray!
| * [Zurich] Add fixture script.Matthew Somerville2018-03-06-302/+121
| | | | | | | | Remove old unused setup-contacts code, superceded by fixtures.
* | [Warwickshire] Add archive script data.Matthew Somerville2018-03-14-4/+5
|/ | | | Add an update with each report closure.
* Version 2.3.1.Matthew Somerville2018-02-12-1/+1
|
* Script to remove expired sessions.Matthew Somerville2018-02-09-0/+79
| | | | | This also can set up users so that the admin "Log user out" function works correctly.
* Hide 'updates not sent' message on reports sent via Open311Dave Arter2018-01-23-1/+1
| | | | | | | | | | | | | | | The 'updates are not sent to the council' message was incorrectly being shown on reports where updates would in fact be sent. This was affecting non-Bromley/Stevenage reports on fms.com and all cobrands using Open311. This commit moves the logic out of the template and adds the Problem->updates_sent_to_body method which inspects the receiving body's Open311 configuration to determine whether updates will be sent. The duplication of the Lewisham/Oxfordshire logic between Problem.pm and send-comments isn't ideal but hopefully there won't be any new Open311 bodies that only send and don't receive updates. If there are we'll have to look at refactoring that list.
* [UK] Re-include Bristol in open311-populate-service-listDave Arter2018-01-18-2/+2
| | | | | | | | | | | | Bristol's Open311 endpoint still seems to be returning empty metadata for some services that claim to have metadata. They have made changes to their published services since the change was made to exclude their endpoint, which is causing issues for new reports. Rather than exclude their endpoint entirely from being updated, this commit just silences the noisy error message for Bristol. Reverts the change made in 491eb26e4.
* <insert grumble at case-insensitive filesystems>Matthew Somerville2018-01-12-1/+1
|
* Add some example fixture images.Matthew Somerville2018-01-11-0/+23
|
* Catch nget() when written on a single line.Matthew Somerville2018-01-09-2/+2
|
* Add some new Body model helper methods.Matthew Somerville2018-01-03-1/+1
| | | | And use the existing ones more.
* [Oxfordshire] Allow lat/lon to be sent as integers to Exor Open311 CGIDave Arter2017-12-19-1/+1
| | | | | | | | | | It took a few years but somebody finally made a report at a whole-number lat/lon (52°N in this case) which was duly rejected by the OCC Exor script as not being a valid coordinate due to the assumption that all lat/lon values will contain a ‘.’ character. This commit makes the decimal part of the value optional, allowing integer values to be sent.
* Version 2.3.Matthew Somerville2017-12-18-1/+1
|
* [fixmystreet.com] Improve fixture descriptions.Matthew Somerville2017-12-07-14/+146
|
* Fix update-all-reports for all bodies generation.Matthew Somerville2017-11-21-1/+2
| | | | | Only works on bodies with an associated area, and requires the object to be passed in, not just its ID.
* [Oxfordshire] Clearly mark RDI emails if sent from stagingDave Arter2017-11-08-1/+7
| | | | Fixes mysociety/fixmystreetforcouncils#251
* [demo] set email_verified to true when creating demo usersStruan Donald2017-10-23-5/+5
| | | | otherwise the login doesn't work post sms auth changes.
* update-all-reports operate per body optionally.Matthew Somerville2017-10-20-8/+24
|
* Allow testing override of /reports data.Matthew Somerville2017-10-16-2/+12
|
* Add 'verified' database columns for email/phone.Matthew Somerville2017-09-30-0/+1
| | | | | These are so we can state whether a user's email address or phone number have been verified by confirmation email/text.
* [Oxfordshire] Make sure RDI file is encoded.Matthew Somerville2017-09-21-1/+2
| | | | | body_str is encoded with the provided charset/encoding, body is used as-is (and so will die in email sending if it contains wide characters).