| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
check for a `fixmystreet.stopper_after` property and if present insert
the stopper element after the category extra to allow for layout
preferences.
|
|
|
|
|
| |
for assets layers where we have both line and point assets it's not
helpful to have the snap threshold be very large.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Matthew Somerville <matthew@mysociety.org>
Configured to allow:
- updates only from original reporter
- close updates from fetch reports
- use OSM geocoder
|
| |
|
|
|
|
| |
Fixes: https://github.com/mysociety/fixmystreet-commercial/issues/1566
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
We retain the code as it is updating the URL on map move.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a bug that appears to have been introduced in edf8456, where the
RSS icons on the /alert page were being stacked behind the relatively
positioned form labels, making them unclickable.
While I was there, I also standardised the markup for all three RSS
images to use the translatable alt text and double quotes for the HTML
attributes.
Fixes #2624.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The extras may be a confusing stopper message that only applies to the
'main' body, or it may be extra questions that are now not required.
Either way, we should hide this information, and we need to make sure
the server no longer checks if required extra questions have been
answered.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was previously restricted to coming directly to /report/new, but
this meant it wasn't being run when e.g. Buckinghamshire winter routes
or Westminster TfL roads were being loaded after the appropriate
category selection, so their effects did not occur (as the checkFeature
code was called prior to the layer finishing loading).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The stopper check runs first, which could mean that if the asset layer
has not yet loaded, the form is disabled when it should not be (e.g. on
a TfL road in a road category). Make sure that we always run the stopper
check after the TfL layer check, in case it changes something.
|
| |/ |
|
|/
|
|
|
|
| |
It's still not working as expected, with lots of rejected reports.
This reverts commit 49c74ded4275005e766a948ec47d4cc722e0567e.
|
| |
|
|
|
|
|
|
|
|
| |
Note how in road_not_found, the Highways England check could never pass
because the only_send was being removed the line before. When the
Buckinghamshire and Northamptonshire code was factored together, it
looks like bits were taken from one that weren't present in the other,
and so should not have been present in the shared code.
|
|
|
|
|
| |
Any message being included there will be for the appropriate council and
not relevant.
|
| |
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#1293
|
| |
|
|
|
|
|
| |
Remove all existing hard-coded register_category calls, and have
a new way of implementing staff_ignore.
|
|
|
|
|
|
| |
The asset data we hold is out of date with Confirm, and is causing
problems sending reports as the central_asset_id field is being
rejected by Confirm.
|
|
|
|
|
|
| |
The CSV utils function returns an array of arrays, not just an array,
which this code did not realise. All this affected was sometimes both
bodies were shown in a two-tier area when the code meant to show one.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also updates client-side UPRN lookup config to handle renamed fields.
|
|
|
|
| |
Also update lat/lon parameters to match JS.
|
| |
|