aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | [Northamptonshire] script to update NCC statusesStruan Donald2019-10-02-0/+177
| | | | | | | | | | | | | | This is a one off script to update the status of NCC reports affected by a bug in the NCC update process. It relies on a csv file containing a mapping of report id to Alloy status and uses this to update the FixMyStreet status.
* | [IsleOfWight] remove council from all reports RSS linkStruan Donald2019-10-02-0/+2
| | | | | | | | Reports do not go to the council so remove council from link for clarity
* | [IsleOfWight] update reference number textStruan Donald2019-10-02-0/+17
| | | | | | | | Use Enquiry instead of Council as report does not go to council
* | [IsleOfWight] lookup site_code if missing from reportStruan Donald2019-10-01-0/+17
| | | | | | | | Mostly to handle the lack of assets in the mobile app
* | [IsleOfWight] use appropriate asset server on staging/liveStruan Donald2019-10-01-1/+6
|/ | | | | Change the tilma url based on whether we are using the live or staging site.
* [IsleOfWight] hide reports created before go liveStruan Donald2019-09-30-0/+11
|
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-115/+257
|\
| * Add top disable-form field to admin category form.Matthew Somerville2019-09-30-2/+64
| |
| * Rejig top-level part of admin category form.Matthew Somerville2019-09-30-115/+120
| | | | | | | | Co-Authored-By: Zarino Zappia <mail@zarino.co.uk>
| * Add two new helper functions to Roles::Extra.Matthew Somerville2019-09-30-0/+75
| | | | | | | | For updating/removing an extra field.
* | Merge branch 'zurich-staging'Matthew Somerville2019-09-30-759/+724
|\ \
| * | [Zurich] Do not override envelope sender.Matthew Somerville2019-09-30-15/+0
| | |
| * | [Zurich] Treat closed/fixed the same in filter.Matthew Somerville2019-09-30-1/+16
| | |
| * | [Zurich] Fix category dropdown on /reports.Matthew Somerville2019-09-30-0/+8
| | |
| * | [Zurich] Add external body email to report edit.Matthew Somerville2019-09-30-0/+1
| | |
| * | [Zurich] Fix status message overlapping content.Matthew Somerville2019-09-30-6/+10
| | |
| * | [Zurich] Set envelope for external body emails.Matthew Somerville2019-09-30-3/+36
| | |
| * | [Zurich] Include administrative district in admin.Matthew Somerville2019-09-30-2/+50
| | |
| * | [Zurich] Sort categories in admin alphabetically.Matthew Somerville2019-09-30-2/+4
| | |
| * | [Zurich] Add admin label attribute for categories.Matthew Somerville2019-09-30-7/+44
| | |
| * | [Zurich] Show relevant external bodies in admin.Matthew Somerville2019-09-30-20/+49
| | |
| * | [Zurich] Allow external body to link to a categoryMatthew Somerville2019-09-30-8/+43
| | |
| * | [Zurich] Add new meta title/description.Matthew Somerville2019-09-30-4/+18
| | |
| * | [Zurich] Remove some parts of admin report view.Matthew Somerville2019-09-30-36/+8
| | |
| * | [Zurich] Use Beantwortet on external banner.Matthew Somerville2019-09-30-6/+6
| | |
| * | [Zurich] Wrap all tests in one config override.Matthew Somerville2019-09-30-577/+389
| | |
| * | Factor out status select filter template.Matthew Somerville2019-09-30-46/+46
| | |
| * | [OpenLayers] Never send X-Requested-With header.Matthew Somerville2019-09-30-22/+15
| | |
| * | [WMTS] Remove unneeded reprojection code.Matthew Somerville2019-09-30-23/+0
| | | | | | | | | | | | | | | The base layer does this transformation, so I am not sure what this was for.
* | | [IsleOfWight] do not send comment recording triage actionStruan Donald2019-09-27-23/+48
| | | | | | | | | | | | | | | This is only used for audit purposes on FixMyStreet and not required in Confirm.
* | | [IsleOfWight] ignore description on fetched reportsStruan Donald2019-09-27-1/+51
| | | | | | | | | | | | | | | Use a generic report description for fetched reports rather than the one fetched over open311
* | | [IsleOfWight] highlight asset details when selectedStruan Donald2019-09-27-0/+6
| | | | | | | | | | | | Make it a bit more obvious that something has been selected.
* | | [IsleOfWight] script to add emergency categoriesStruan Donald2019-09-27-0/+73
| | | | | | | | | | | | | | | | | | One off script that adds an question to each Triage category to ask if the problem is urgent or not. Sets urgent answer to block form submission.
* | | [IsleOfWight] test correct email sent templates usedStruan Donald2019-09-27-1/+15
| | | | | | | | | | | | | | | Different report sent confirmation text is used for reports when they are submitted to Triage and when they are submitted to Confirm
* | | improve report new munge namesStruan Donald2019-09-27-3/+3
| | |
* | | add asset_details to triage category setup scriptStruan Donald2019-09-27-0/+9
| | |
* | | [IsleOfWight] limit filter category on national around pageStruan Donald2019-09-27-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Only display non triage categories on this because getting the category expansion to work if we use the triage categories isn't in place and may not be. This is because when we get the list of reports using /around/ajax there's no way to know which body it is for so we don't know how to expand a triage category to the list of 'child' categories. So, just display the non triage ones for now.
* | | do not send triage comments in alertsStruan Donald2019-09-27-1/+29
| | | | | | | | | | | | | | | | | | add a check into the Alerts script to skip comments that have `triage_report` set in extra. Otherwise we send these our in new_updates alerts.
* | | [IsleOfWight] correctly filter categories on report pageStruan Donald2019-09-27-8/+105
| | | | | | | | | | | | | | | | | | | | | | | | If it's a standard user only display the Triage category list but if one of these is selected then look up all the categories in that group and use those to select the reports to display. It it's a staff user then ignore the Triage categories.
* | | [IsleOfWight] zoom in on selected report from triage listStruan Donald2019-09-27-1/+8
| | |
* | | [IsleOfWight] correctly handle triage categories on reports/around pagesStruan Donald2019-09-27-12/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add in some cobrand handlers to make sure a) the appropriate categories are show to staff/non staff users on the around and reports pages b) that those categories are correctly expanded to the child categories when using the category filter to search reports This is because non staff users should only be shown Isle of Wight categories with a send_method of 'Triage', however once those reports are triaged the post triage categories need to be included in any filtering
* | | [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-94/+788
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On reports with a state of `for_triage` override the `_inspect.html` template to display one which allows only allows the user to change the category from one with a 'Triage' send_method to a non Triage send_method. When saved this records a comment with the original category and the category it was triaged to. This is hidden from the site as it's only used for audit purposes and sending over Open311. This assumes that the triage categories have the same names as the groups of the confirm categories. It uses this to select the first confirm category in the group corresponding to the triage category. This also makes the sidebar geolocation onclick handler check for the presence of the button, as the triage inspect form does not have it.
* | | [IsleOfWight] add Triage SendReport moduleStruan Donald2019-09-27-1/+70
| | | | | | | | | | | | sets the state of the report to `for_triage` upon sending
* | | [IsleOfWight] decrease spot asset snap threshold to 5mStruan Donald2019-09-27-5/+1
| | |
* | | [fixmystreet.com] include isle of wight assetsStruan Donald2019-09-27-0/+1
| | |
* | | [IsleOfWight] add asset layersStruan Donald2019-09-27-0/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the Triage categories as the category names and uses the associated groups to make sure the assets are displayed to staff users. There is a default streets layer as a fallback for site_codes. Some of the categories include both line and point assets so the line assets have `display_zoom_message` in order that both show the details of the currently selected asset.
* | | enable non interactive layers to show zoom messageStruan Donald2019-09-27-1/+4
| | | | | | | | | | | | | | | | | | | | | we want the road layers to be able to show the zoom/pick a thing/you have picked a thing message so add a `display_zoom_message` config option to override the `non_interative` option. We don't want to remove the `non_interative` option as otherwise item selection hides the pin.
* | | allow stopper message to be after category extrasStruan Donald2019-09-27-1/+18
| | | | | | | | | | | | | | | | | | check for a `fixmystreet.stopper_after` property and if present insert the stopper element after the category extra to allow for layout preferences.
* | | allow asset snap threshold to be changedStruan Donald2019-09-27-1/+1
| | | | | | | | | | | | | | | for assets layers where we have both line and point assets it's not helpful to have the snap threshold be very large.
* | | [IsleOfWight] script to add asset attributes to triage categoriesStruan Donald2019-09-27-0/+124
| | | | | | | | | | | | | | | These need a script to add asset_id/site_code to the category so this is set by the front end