| Commit message (Collapse) | Author | Age | Lines |
... | |
|/ /
| |
| |
| |
| |
| | |
We already had these but labeled as EPSG:900913 which is the same as
3857. However, we tend to use 3857 as not all map servers recognise
900913.
|
| |
| |
| |
| | |
Easier working with CSP headers.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This basic service worker behaves identically to the existing appcache -
some static scripts and CSS are cached, any HTML offline instead returns
a static HTML page that knows how to show data on stored problems out of
localStorage (stored there when /my/planned was visited online). Inspect
form submissions will be captured and can be synced back when online.
Once feature parity is established, we will then remove appcache, switch
from using localStorage to the cache API, and hopefully move all offline
support into the service worker.
|
|
|
|
|
| |
Reads information from a theme object if present, and icons from a
theme directory, with fallbacks.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
jQuery.show doesn’t override the `visibility: hidden` applied to
the .hidden-js class, so we remove this class on the form heading
at the same time as showing it.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Restrict the following categories to 'Adopted Highways' layer:
'Blocked drain surface'
'Blocked drain'
'Damaged Railing, manhole, or drain cover'
'Damaged bollard or post'
'Damaged road sign'
'Damaged street nameplate'
'Faded road markings'
'Flooding of a road or pavement'
|
|
|
|
|
|
|
|
|
|
|
| |
On the TfL cobrand, this treats the 'Flytipping (TfL)' category
the same as the existing 'General Litter' and redirects users to
fixmystreet.com.
On fixmystreet.com, borough flytipping categories are included in
those available on red routes.
For https://github.com/mysociety/fixmystreet-freshdesk/issues/120
|
| |
|
| |
|
|
|
|
| |
Allow all categories to make a report on roads or tree assets.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The presence of the ‘mouseenter’ handler meant two taps were required
to expand the report preview.
|
|
|
|
| |
For #2668.
|
|\ |
|
| |
| |
| |
| | |
Includes an updated version of jquery-multi-select.
|
|\ \ |
|
| |/ |
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes the existing logic to account for the fact that multiple
questions might have the disable form checkbox ticked for one of their
options.
At the moment this just displays one of the messages at a time, with the
first one taking priority. So if you have a "Is this an emergency"
question and a "Is this on private land" question which both disable the
form, and the user has selected "Yes" to both, then only the message for
the first question is displayed. This can potentially be improved in the
future, but seemed out of scope for this change.
|
|/
|
|
|
|
|
|
| |
When going back to the initial state with popstate, a change event was
being triggered on every single option of the filter selects. This led
to a lot of change events running on the category/status multi-selects
which then needlessly repeated the same activities over and over. This
locked up the browser for seconds in locations with many categories.
|
| |
|
|
|
|
| |
This helps distinguish between the heatmap and underlying features
|
| |
|
|
|
|
|
| |
We are overriding quite a bit of it and not using other bits,
so it will be less code to only have our own Control.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Attempts to allow for CSS animations by not destroying the
marker's DOM element each time a location update is received -
with limited success.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit checks the RedRoutes WFS layer on tilma to determine if the
point at which a new report is being made is on a TfL red route.
The returned categories are then adjusted accordingly:
- If on a red route, all TfL categories as well as borough categories
specific to street cleaning are returned.
- If not on a red route, all borough categories as well as TfL
categories that don't require a red route are returned.
- This category tweaking doesn't happen on the TfL cobrand, as the JS
handles it by signposting users to fixmystreet.com for borough
reports.
Doing the lookup server side means the app always shows the right
categories to the user and prevents them e.g. sending a borough
flytipping report to TfL.
Fixes https://github.com/mysociety/fixmystreet-commercial/issues/1716
|