aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* Factor out some new report tests into own files.Matthew Somerville2020-04-24-881/+874
|
* Merge branch 'bristol-remove-group'Matthew Somerville2020-04-24-0/+3
|\
| * [Bristol] Remove Open311 groups.Matthew Somerville2020-04-23-0/+3
| |
* | [Docs] Remove analytics.Matthew Somerville2020-04-23-11/+0
| |
* | [Buckinghamshire] Update mapping server.Matthew Somerville2020-04-23-2/+2
|/
* [TfL] Update homepage messageChris Mytton2020-04-23-7/+11
| | | | Request from client to update the text on the homepage.
* Switch round staff/superuser staff-category check.Matthew Somerville2020-04-17-4/+4
| | | | | If it checks the body first, then a superuser who is also assigned to a body would not be able to see staff categories in a different body.
* [Bromley] Fix heatmap category filter.Matthew Somerville2020-04-17-12/+17
| | | | | As it has switched to using category groups, the special subcategory code needs updating to update the correct variable.
* [Cheshire East] COVID-19 message on .com.Matthew Somerville2020-04-15-0/+9
|
* [Peterborough] Improve extra question handling.Matthew Somerville2020-04-15-12/+15
| | | | | | | Ignore (for Open311-sending purposes) any questions whose code starts "PCC-", so that it is easier to use the admin to add extra questions, and move the removal of the extra questions to a more normal location so answers are not lost when extra fields is reset post-send.
* Merge branch 'bromley-covid'Matthew Somerville2020-04-14-0/+19
|\
| * [Bromley] COVID-19 message and nav item.Matthew Somerville2020-04-14-0/+19
| |
* | Merge branch 'factor-report-nav-link'Matthew Somerville2020-04-14-43/+14
|\ \ | |/ |/|
| * Refactor/stop double escape in report nav link.Matthew Somerville2020-04-14-43/+14
| |
* | Merge branch 'he-pin-move-fix'Matthew Somerville2020-04-14-27/+21
|\ \
| * | [UK] Fix Highways England categories on pin move.Matthew Somerville2020-04-08-27/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you clicked on a non-HE location (so showing non-HE categories), then moved the pin to a HE location, the HE message box would show and update categories (but there would be no HE ones at the time). The server would return the new categories (including HE ones), but as the issue location had now not changed on this second call, the categories would not update to hide non-HE ones (it would show both HE and non-HE categories). So, instead of going off a location, check the road name - if it has not changed, do not recreate the whole HE message box, but do call the right HE selected/not selected function to update the categories. Note that this, if "Somewhere else" is selected, then causes an infinite loop, because the highways_change event triggers a category_change event which fires the layer's road found function, and then repeat. The highways_change->category_change event firing, according to the code comment, is so that asset selection can take place, or to remove stopper messages being shown. Previously, HE did not have its own categories but overrode the body to be sent to; HE now does have categories of its own, so I think this code can be removed.
* | | Merge branch 'full-name-field-label'Matthew Somerville2020-04-14-6/+1
|\ \ \ | |_|/ |/| |
| * | [UK] Make it clearer that full name is required.Zarino Zappia2020-04-08-6/+1
| | |
* | | Stop double escape in Google Maps URL.Matthew Somerville2020-04-10-1/+1
| | |
* | | [HE] message about being able to use report ids in searchStruan Donald2020-04-09-0/+1
| |/ |/|
* | Merge branch 'tfl-stroke-opacity'Matthew Somerville2020-04-08-9/+34
|\ \
| * | [TfL] Restrict HE categories to HE roads.Matthew Somerville2020-04-08-8/+33
| | | | | | | | | | | | The checks added in 285e183db missed the TfL cobrand.
| * | [TfL] Increase stroke opacity of red routes.Matthew Somerville2020-04-08-1/+1
| |/ | | | | | | | | In Firefox/Edge on Windows, having a translucent stroke causes a large slowdown in page painting.
* / [Open311] external status code takes precedence.Struan Donald2020-04-08-3/+83
|/ | | | | | | | Order the response templates query by external status code so if you have an update with an external status code the response template matching that is always used. Previously with the database left to determine the order it could pick a response template with a matching state rather than a matching external status.
* Merge branch 'uk-he-cobrand-fix'Matthew Somerville2020-04-07-5/+9
|\
| * [UK] Show Highways England categories on cobrands.Matthew Somerville2020-04-07-5/+9
| | | | | | | | | | | | Without allowing through the Highways England body, clicking on a Highways England road in these cobrands would leave no categories to be selected.
* | Merge branch 'bexley-confirm-p1-email'Matthew Somerville2020-04-07-4/+15
|\ \
| * | [Bexley] Treat any oil spillage report as P1.Matthew Somerville2020-04-07-0/+9
| | |
| * | [Bexley] Use other P1 email for Confirm reports.Matthew Somerville2020-04-07-4/+6
| |/
* | Merge branch 'send-reports-tidy'Matthew Somerville2020-04-07-82/+80
|\ \ | |/ |/|
| * Ignore sending failures within the database query.Matthew Somerville2020-04-06-35/+32
| | | | | | | | This means the code can assume it should be trying to send a report.
| * Tidy up verbose/debug handling of send-reports.Matthew Somerville2020-04-06-53/+54
| | | | | | | | | | Use verbose for all log output, and debug only for overriding the should_skip check.
* | [Highways England] Allow lookup with “FMS” prefix.Matthew Somerville2020-04-07-0/+14
|/ | | | This form of reference is shown on a report confirmation page.
* Merge branch 'admin-access-doc-2937' of git://github.com/Sambruk/fixmystreetMatthew Somerville2020-04-06-16/+2
|\
| * Removes documentation about restricting access to /adminJoe Siltberg2020-04-06-16/+2
| | | | | | | | Fixes #2937
* | [Westminster] Explicitly return no extra data.Matthew Somerville2020-04-06-0/+2
|/ | | | | Otherwise something can be passed back, confusing the parent Open311 sending code. Missed in 7ed37641.
* [Cheshire East] COVID-19 message.Matthew Somerville2020-04-03-0/+6
|
* Merge branch 'improve-fetch-scripts'Matthew Somerville2020-04-03-211/+185
|\
| * Allow slow processes to spin up new ones.Matthew Somerville2020-04-02-4/+26
| |
| * Parallelize fetching updates.Matthew Somerville2020-04-02-0/+32
| | | | | | | | Allow a configurable number of bodies to fetch updates simultaneously.
| * Combine and improve fetch-comments/reports scriptsMatthew Somerville2020-04-02-211/+131
| | | | | | | | | | Make them take start/end hour arguments, cope if only one given, optional body, and combine them together in one `fetch` script.
* | [HE] add a how did you hear about us questionStruan Donald2020-04-03-0/+77
|/
* Merge branch 'export-import-data'Matthew Somerville2020-04-02-0/+154
|\
| * Add script to export/import body data.Matthew Somerville2020-03-31-0/+154
| | | | | | | | This covers response templates, roles, and staff users.
* | Merge branch 'bucks-flytipping-id-fix'Matthew Somerville2020-04-02-5/+5
|\ \
| * | [Buckinghamshire] Fix flytipping closure script.Matthew Somerville2020-04-02-5/+5
| | | | | | | | | | | | | | | | | | The ex-districts are not associated with areas any more, and the Bucks body will be associated with a different area ID once the generation is updated. The names are fixed, so use them instead.
* | | [HE] fix opengraph tagsStruan Donald2020-04-02-0/+21
|/ / | | | | | | | | | | Add title, image and also favicon Fixes mysociety/commercial-staging#1834
* | [Highways England] Hide messaging if not Area 7.Matthew Somerville2020-04-02-3/+9
| |
* | [UK] Fix client side HE category submission.Matthew Somerville2020-04-01-7/+8
| | | | | | | | | | | | | | | | | | | | Once a location is fixed, we never want to regenerate the Highways England question, as that can lose the selected category. Store the location regardless of the HE question answer, so any category change, as opposed to a location change, does not do anything. We also do not want to clear category_meta, as that is where the extra data fields appear.
* | [Buckinghamshire] Remove district mentions from Help.Matthew Somerville2020-04-01-9/+4
| |