aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
* [Peterborough] Add USRN/site_code lookupDave Arter2019-10-21-0/+41
|
* [Peterborough] Confirm-specific configurationDave Arter2019-10-21-0/+1
| | | | | | - Apply Confirm validation rules - Add admin_user_domain and Confirm-required open311 fields - Prefix Open311 updates with notice that it’s come from FMS
* [Peterborough] Initial cobrandMartin Wright2019-10-21-0/+367
|
* Make sure disable form message is in view.Matthew Somerville2019-10-21-0/+1
|
* [UK Councils] Remove MultiCurveFix asset layer formatterDave Arter2019-10-21-8/+1
| | | | | | | | | This is no longer needed on tilma-served layers since we have upgraded to MapServer 7. A side-effect of using the MultiCurveFix format_class was that it implied the use of GML v3 as that was its base class. This commit sets the default format_class to OpenLayers.Format.GML.v3, which is required to parse the GML v3 responses from tilma.
* Do not clear asset attributes on category change.Matthew Somerville2019-10-18-3/+3
|
* Merge branch 'subcat-asset-pick'Matthew Somerville2019-10-17-38/+48
|\
| * Check asset attribute fields on category change.Matthew Somerville2019-10-16-0/+16
| | | | | | | | | | | | It's possible an asset has been selected before a category (e.g. if assets are showing for a whole category group. So on category change, make sure we check if any attribute fields need setting/clearing.
| * Stop VectorNearest listening on assets:selected.Matthew Somerville2019-10-16-8/+4
| | | | | | | | | | | | An assets:selected event is always accompanied by a maps:update_pin event, which is already being listened on. Reorder the asset selection so the event still occurs before any attribute field setting.
| * Make attribute field functions class methods.Matthew Somerville2019-10-16-31/+29
| |
* | [Northamptonshire] add max resolution for gully layerStruan Donald2019-10-16-10/+15
| |
* | [Northamptonshire] update live layer versionsStruan Donald2019-10-16-11/+11
| |
* | [Northamptonshire] change drain categories to use gully layerStruan Donald2019-10-16-5/+13
|/
* Restore debug toolbar on non-contact admin pagesDave Arter2019-10-15-6/+8
| | | | | | sortable() returns undefined if no elements match, so on admin pages that weren't the contact editing page a TypeError was being thrown by the [0] line which resulted in the debug toolbar not being shown.
* Merge branch 'fix-dupes-'Matthew Somerville2019-10-15-3/+6
|\
| * Fix issue loading inspector duplicates on /around.Matthew Somerville2019-10-15-3/+6
| | | | | | | | | | | | As there are two category drop-downs in this situation (one in the hidden reporting form, one in the inspect form), the correct entry needs to be specified.
* | Default heatmap page to showing heatmap.Matthew Somerville2019-10-15-0/+7
| |
* | Add map filter debouncing.Matthew Somerville2019-10-15-6/+19
| |
* | Generalise heatmap code to be under /dashboard.Matthew Somerville2019-10-15-0/+1
|/
* Fix error when code called via duplicate checking code on report page.Matthew Somerville2019-10-10-1/+1
|
* Do not prefill with ‘Pick a category’.Matthew Somerville2019-10-10-0/+1
|
* Only call updateSize once when report pulled in.Matthew Somerville2019-10-10-4/+5
|
* [Oxfordshire] Remove defect type front end code.Matthew Somerville2019-10-10-11/+0
|
* [Oxfordshire] Remove raise defect/inspected code.Matthew Somerville2019-10-10-20/+0
|
* Allow ctrl-/cmd-clicking ‘Report another problem here’ buttonDave Arter2019-10-08-0/+3
|
* Display asset message as button on mobileDave Arter2019-10-07-0/+9
|
* Only show duplicate suggestions once per category change on mobileDave Arter2019-10-07-3/+23
|
* Dismiss duplicate selection UI when returning to map on mobileDave Arter2019-10-07-0/+9
|
* Merge branch 'bristol-map-server-upgrade'Matthew Somerville2019-10-07-1/+1
|\
| * [Bristol] Explicitly request shape information.Matthew Somerville2019-10-04-1/+1
| | | | | | | | An upgrade to Bristol’s server means this will need to be requested.
* | [Northants] Blue pins and no ID for body reports.Matthew Somerville2019-10-04-0/+0
|/
*-. Merge branches 'use-right-asset-name', 'deadlock', ↵Matthew Somerville2019-10-04-104/+211
|\ \ | | | | | | | | | '2469-fancy-admin-category-form' and 'fix-missing-body-message-flash'
| | * Restructured admin category extra-metadata-formZarino Zappia2019-10-03-104/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Much simplified display of metadata field options. * Fields can now be dragged into the desired order. * Drop-down question form disabling can now have a different message per option. Co-Authored-By: Matthew Somerville <matthew@mysociety.org>
* | | Limit asset string finding to chosen ID.Matthew Somerville2019-10-03-1/+1
|/ /
* / [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.
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-17/+53
|\
| * Rejig top-level part of admin category form.Matthew Somerville2019-09-30-17/+53
| | | | | | | | Co-Authored-By: Zarino Zappia <mail@zarino.co.uk>
* | Merge branch 'zurich-staging'Matthew Somerville2019-09-30-45/+18
|\ \
| * | [Zurich] Fix status message overlapping content.Matthew Somerville2019-09-30-0/+3
| | |
| * | [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] highlight asset details when selectedStruan Donald2019-09-27-0/+6
| | | | | | | | | | | | Make it a bit more obvious that something has been selected.
* | | [IsleOfWight] zoom in on selected report from triage listStruan Donald2019-09-27-1/+8
| | |
* | | [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] decrease spot asset snap threshold to 5mStruan Donald2019-09-27-5/+1
| | |
* | | [IsleOfWight] add asset layersStruan Donald2019-09-27-0/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] fix wmts bbox strategy settingStruan Donald2019-09-27-2/+2
| | | | | | | | | | | | | | | | | | Change the way we set the BBOX strategy for the map layer as otherwise when we check for bbox_strategy in display_around this is set but has not been associated with a layer so .activate fails.