| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
| |
Two layers, one for tree points, the other for tree groups.
|
|
|
|
|
|
| |
This field is shown in the FMS interface, but doesn't need to be sent to
open311, it's just to check that the user isn't reporting problems on
private land.
|
|
|
|
|
| |
This is needed to route reports correctly when using the "Multi"
backend.
|
|
|
|
|
| |
We need the FMS ID so we can send it through to ezytreev, as that
matches updates to existing reports using the FMS ID.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Rather than setting a min_resolution on all of the cobrands just set a
default in web/cobrands/fixmystreet/assets.js. This means that assets
will appear at all zoom levels, which seems like what we want to happen
most of the time.
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a line asset spans two tiles it seems like it's included in both
tiles which means you end up with it added to a layer twice. This means
you get two overlaid identical assets which, when combined with low
opacity colours produces inconsistent colours. This uses the `fid` to
check for duplicates on adding.
|
| | |
| | |
| | |
| | |
| | | |
If the options to either road or asset layer include a `class` attribute
then use the Layer class there, otherwise the defaults.
|
| | |
| | |
| | |
| | | |
All servers connected to are using 39.37.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Hard code the resolution as it only ever used the one value which isn't
the same in the 27700 based map. This is to avoid pulling in asset
groups.
|
| | |
| | |
| | |
| | | |
Use Northamptonshire map tiles via WMS.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Basic config and setup files for using WMS based map tiles. These still
require config in appropriate cobrand perl and javascript files
|
| | |
| | |
| | |
| | | |
Non-JS clicking does not work if map tiles are scaled.
|
|/ /
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
| |
Not caught by test because App is loaded in tests.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If you've e.g. come from an email link that lets you view a private
report, hide reporting/getting updates/sharing, and replace the update
form with a link saying you need to sign in.
|
| | |
| | |
| | |
| | |
| | | |
Use a token that does not log the user in, but lets the report be shown,
even if it's a private report. Allow old tokens of that type to work.
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `IF category_extras.$category.size` condition in category_extras.html
was using an escaped string for `$category`, meaning the lookup would
always fail for categories that had an ampersand in their name. The result
of this was an empty `<div id="category_meta">`, and no extra fields shown
to the user. This caused issues when one or more of the fields were
required, as they were always empty and the error message wasn't being
rendered and shown to the user. This meant the user would see their report
form over and over again when submitting instead of useful feedback.
We also ensure $category is always a SafeString when used as a key into
a hashref in other templates.
Fixes https://github.com/mysociety/fixmystreet-freshdesk/issues/126
|
|\ \
| |/
|/| |
|