aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* limit problem body to single body if requiredStruan Donald2018-04-03-2/+11
| | | | | | Add a single_body_only form value to reports that contains the name of the only body to send the problem to. If the name doesn't match any of the valid bodies for the report then send to all.
* Merge branch 'jonkri-2.3'Matthew Somerville2018-04-03-187/+70
|\
| * [FixaMinGata] Update geocoding.Matthew Somerville2018-04-03-184/+63
| | | | | | | | | | | | | | | | - Removes the FixaMinGata Geocode module - Surround bounds coordinates with quotes - Return a different bounding box for Öckerö and other places - Specifies specific GPS coordinates for certain OpenStreetMap relations - Removes a comment
| * [FixaMinGata] Change pin colours.Matthew Somerville2018-04-03-3/+4
| |
| * Make sure OSM geocoder is bounded, includes icon.Matthew Somerville2018-04-03-0/+3
| |
* | add convert latlong option to open311 body adminStruan Donald2018-03-29-0/+1
| |
* | add convert_latlong option to body tableStruan Donald2018-03-29-2/+4
| | | | | | | | | | For controlling if reports pulled in via Open311 should have the position converted from Easting/Northing to lat/long.
* | fix timezone problems with offline inspector commentsStruan Donald2018-03-29-1/+7
|/ | | | | | | Comments added offline by an inspector set the time in JavaScript using a UTC epoch. We need to add the FMS timezone to this so it's in the timezone the database expects for timestamps otherwise it's incorrect when we fetch it back out
* Don’t show empty ‘provide extra detail’ sectionDave Arter2018-03-29-0/+4
| | | | | | Hides the empty “Help <council> resolve your problem quicker” section of the new report form if report metas for the selected category are all hidden fields.
* Make it easier to identify Open311 categories in category checkbox listDave Arter2018-03-29-0/+1
| | | | | | Displays the category’s email address (service code, for Open311) as a tooltip. This makes it easier to identify the right category when editing response templates, for example.
* Fix invalid SQL on cobrand admin update edit pagesDave Arter2018-03-29-1/+1
|
* 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
|\ \ \ | |_|/ |/| |