aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Improve wording/grammar when report is sent to more than two bodiesDave Arter2018-03-29-10/+14
|
* Allow cobrands to add extra MapIt areas & typesDave Arter2018-03-29-0/+11
|
* Add external_status_code to ResponseTemplate admin editing formsDave Arter2018-03-29-5/+14
|
* Add ResponseTemplate.external_status_code fieldDave Arter2018-03-29-2/+4
|
* Merge branch 'upgrade-test-postgresql'Matthew Somerville2018-03-27-11/+7
|\
| * Fix issue with test database removal.Matthew Somerville2018-03-26-11/+7
| | | | | | | | | | Upgrade Test::PostgreSQL, which fixes a bug delaying the end of test running, and introduces a nicer setup mechanism.
* | Add CORS header to Open311 output.Matthew Somerville2018-03-22-0/+1
|/
* Store server_set automated, but ignore for input.Matthew Somerville2018-03-21-1/+5
| | | | | We do need to store them, so that the sending knows which fields are being requested, but we do not want them output to the client at all.
* [fixmystreet.com] Add admin page to list refused.Matthew Somerville2018-03-21-0/+27
|
* send easting/northing over open311 if send_notpinpointed and no map/postcodeStruan Donald2018-03-21-1/+3
| | | | | | If the map was not clicked and we don't have a postcode we should still send the easting and northing extra attributes if send_notpinpointed is set.
* Merge branch 'store-contributed-as'Matthew Somerville2018-03-20-11/+25
|\
| * Store contributed-as data.Matthew Somerville2018-03-20-11/+25
| | | | | | | | | | Store if the report/update was created by someone using the contributed-as dropdown, and use that information to perhaps not send report-sent emails.
* | [Zurich] Prefetch report users, cache body lookupsMatthew Somerville2018-03-19-2/+6
| |
* | Pass columns CSV needs into Problem->as_hashref.Matthew Somerville2018-03-19-21/+16
|/ | | | Then it can skip working out some things as they are not needed.
* Merge branch '2023-bad-open311-dates'Matthew Somerville2018-03-16-4/+4
|\
| * Truncate dates in Open311 output to the second.Matthew Somerville2018-03-15-4/+4
| | | | | | | | This fixes #2023 by removing the comma.
* | Merge branch 'rutland-integration'Struan Donald2018-03-15-6/+62
|\ \
| * | permit blank updates to be fetched over Open311Struan Donald2018-03-15-2/+5
| | | | | | | | | | | | | | | Add a per body configuration option to allow Open311 updates to contain only a status change, rather than emitting a warning when this happens.
| * | Deal with 'automated' Open311 service attributes.Struan Donald2018-03-15-4/+5
| | | | | | | | | | | | | | | | | | This is part of the integration with our open311-adapter. The automated property indicates that it's an expected value but either it's going to be set by the server, or appear as a hidden field.
| * | send multiple photos over open311Struan Donald2018-03-15-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Per cobrand configurable option to send multiple photos over open311 instead of just a single one. Does this by sending multiple media_url parameters in the POST body. The default remains to send the first photo associated with a report.
| * | [Rutland] cobrand files for RutlandStruan Donald2018-03-15-0/+44
| | | | | | | | | | | | | | | Web and email template changes, CSS plus cobrand file with open311 config
| * | fetch new problems over open311Struan Donald2018-03-15-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | [Zurich] Fix typo causing crash on /report/ajaxDave Arter2018-03-15-1/+1
| | |
* | | Fix JSON-encoding crash on /report/ajaxDave Arter2018-03-15-1/+7
|/ /
* | Merge branch 'add-cypress'Matthew Somerville2018-03-15-36/+54
|\ \
| * | Add Cypress testing.Matthew Somerville2018-03-15-36/+54
| | |
* | | Allow searching for user reports if you have the user_edit permissionDave Arter2018-03-14-1/+2
|/ / | | | | | | | | This allows users (e.g. customer service staff) to search for a user's reports in the admin without being able to edit them.
* | Merge branch 'issues/commercial/987-zurich-csv-updates'Matthew Somerville2018-03-14-393/+413
|\ \
| * | [Zurich] Switch to more modern database states.Matthew Somerville2018-03-07-128/+131
| | | | | | | | | | | | | | | | | | | | | 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] Let SDM view awaiting reports.Matthew Somerville2018-03-07-2/+7
| | |
| * | [Zurich] Make wish state publicly visible.Matthew Somerville2018-03-07-8/+8
| | |
| * | [Zurich] Add abbreviation option to contacts.Matthew Somerville2018-03-06-6/+14
| | |
| * | Add a way to store extra cobrand data on contacts.Matthew Somerville2018-03-06-0/+10
| | |
| * | Remove category_options_copy.Matthew Somerville2018-03-06-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | This variable existed to keep a copy of the categories before it was overwritten by report_edit_location (if a bad location was provided) calling the variable setup functions again. But really, the function shouldn't be overwriting the stash, it's only testing the lookup and so should restore the stash at its end.
| * | [Zurich] Add fixture script.Matthew Somerville2018-03-06-139/+133
| | | | | | | | | | | | Remove old unused setup-contacts code, superceded by fixtures.
| * | [Zurich] Admin stats/CSV per category.Matthew Somerville2018-03-06-9/+16
| | | | | | | | | | | | Adapt look of default dashboard filtering.
| * | [Zurich] Include user email/phone/name in CSV export.Matthew Somerville2018-03-05-2/+7
| | |
| * | [Zurich] Refactor to use same CSV generation code.Matthew Somerville2018-03-05-111/+93
| | |
* | | Merge branch 'warks-email-archive'Matthew Somerville2018-03-14-11/+24
|\ \ \ | |_|/ |/| |
| * | [Warwickshire] Add archive script data.Matthew Somerville2018-03-14-11/+24
| |/ | | | | | | Add an update with each report closure.
* / Show default start date on dashboard.Matthew Somerville2018-03-13-24/+11
|/ | | | This makes it clearer what is being shown.
* Merge branch 'issues/commercial/974-closed-report-incorrectly-reopened'Matthew Somerville2018-03-02-4/+3
|\
| * [Zurich] Do not reopen closed reports by mistake.Matthew Somerville2018-03-02-4/+3
| | | | | | | | | | The code for moving a report to the intermediary state was running even if the report was in a closed state and had not been changed.
* | Fix post-edit issues on admin report edit page.Matthew Somerville2018-03-02-34/+32
| | | | | | | | | | If you rotated a photo, updates and the category list weren't loaded. If you changed a report's state, the map pin colour was derived from the old state.
* | [Zurich] Show to-be-hidden reports until confirmedMatthew Somerville2018-03-02-2/+1
|/
* Add development email previewer.Matthew Somerville2018-03-01-11/+155
|
* Use `report` more in email templates.Matthew Somerville2018-02-27-8/+0
|
* Fix duplicate report selectionDave Arter2018-02-20-2/+2
| | | | | | | | The underlying DOM structure returned from /report/xx/nearby.json had changed, meaning the "Which report is it a duplicate of?" list on the inspector form wasn't displaying any reports. This commit introduces a template specifically for the nearby URL instead of overloading the on_map_list_items template.
* [Bristol] Always include an email address for Open311 reportsDave Arter2018-02-19-0/+6
|
* Merge branch '1939-questionnaire-links'Matthew Somerville2018-02-19-27/+59
|\