aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | Add WM* missing compass parameters.Matthew Somerville2020-02-17-0/+12
| | |
* | | [Northamptonshire] colour PROW assets by typeStruan Donald2020-02-17-3/+52
| | |
* | | [Northamptonshire] update alloy asset code for WMSStruan Donald2020-02-17-1/+3
| | | | | | | | | | | | | | | | | | 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.
* | | [Northamptonshire] switch to using custom map tilesStruan Donald2020-02-17-1/+2
| | | | | | | | | | | | Use Northamptonshire map tiles via WMS.
* | | [Northamptonshire] config files for WMS mapsStruan Donald2020-02-17-0/+123
| | |
* | | base files for displaying WMS mapsStruan Donald2020-02-17-178/+2037
| | | | | | | | | | | | | | | Basic config and setup files for using WMS based map tiles. These still require config in appropriate cobrand perl and javascript files
* | | Fix WMTS map display.Matthew Somerville2020-02-17-38/+16
| | | | | | | | | | | | Non-JS clicking does not work if map tiles are scaled.
* | | add EPSG:3857 -> EPSG:27700 transformsStruan Donald2020-02-17-0/+4
|/ / | | | | | | | | | | 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.
* | [fixmystreet.com] Remove double escape of website badge.Matthew Somerville2020-02-17-2/+2
| |
* | Vendor in idb-keyval.Matthew Somerville2020-02-14-2/+3
| | | | | | | | Easier working with CSP headers.
* | [fixmystreet.com] Expand Pro link text.Matthew Somerville2020-02-14-2/+2
| |
* | [fixmystreet.com] Improve front page hint contrastMatthew Somerville2020-02-14-0/+4
|/
* Merge branch 'pwa'Matthew Somerville2020-02-14-297/+519
|\
| * Catch POST in service worker, not by rewriting button.Matthew Somerville2020-02-14-25/+36
| |
| * Replace localStorage with indexedDB.Matthew Somerville2020-02-14-125/+144
| |
| * Use Web API cache to save offline pages.Matthew Somerville2020-02-14-67/+48
| |
| * Remove appcache (breaking showing reports from localStorage cache).Matthew Somerville2020-02-14-137/+31
| |
| * Initial service worker.Matthew Somerville2020-02-14-4/+108
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * A basic web manifest starter.Matthew Somerville2020-02-14-3/+111
| | | | | | | | | | Reads information from a theme object if present, and icons from a theme directory, with fallbacks.
| * Add ManifestTheme model for customising web manifestDave Arter2020-02-14-0/+105
| |
* | Fix lookup; App not available when run from scriptMatthew Somerville2020-02-14-1/+1
|/ | | | Not caught by test because App is loaded in tests.
* Merge branch 'allow-anon-on-some-categories'Matthew Somerville2020-02-14-4/+76
|\
| * Allow anonymous reporting on per-category basis.Matthew Somerville2020-02-13-4/+65
| |
| * Show report anonymously button non-JS when needed.Matthew Somerville2020-02-13-0/+9
| |
| * [Westminster] Remove unused form from HTML.Matthew Somerville2020-02-12-0/+2
| |
* | Merge branch 'missing-council-js'Matthew Somerville2020-02-14-164/+51
|\ \
| * | [UK Councils] Factor footer JS templates together.Matthew Somerville2020-02-13-171/+51
| | |
| * | [UK Councils] Include highways code where relevantMatthew Somerville2020-02-13-0/+7
| | |
| * | [UK Councils] Make sure js.js included in all.Matthew Somerville2020-02-13-17/+17
| | |
* | | Merge branch 'private-in-email'Matthew Somerville2020-02-14-46/+216
|\ \ \ | |/ / |/| |
| * | Reword/hide things viewing unauthed private reportMatthew Somerville2020-02-13-0/+13
| | | | | | | | | | | | | | | | | | 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.
| * | Link in other-reported email shows private report.Matthew Somerville2020-02-13-46/+132
| | | | | | | | | | | | | | | 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.
| * | Include explanation in email if a private report.Matthew Somerville2020-02-13-0/+71
| |/
* | Reveal report form heading when making a private reportDave Arter2020-02-12-1/+1
| | | | | | | | | | | | 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.
* | Fix category extra AJAX call for categories with ampersandsDave Arter2020-02-12-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'issues/freshdesk/377-adopted-highways-restrictions'Graeme Porteous2020-02-12-3/+12
|\ \ | |/ |/|
| * [BANES] Limit categories to adopted highways layerGraeme Porteous2020-02-11-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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'
* | [Isle of Wight] Add extra advisory text above report form.Dave Arter2020-02-11-0/+1
| | | | | | | | For https://github.com/mysociety/fixmystreet-freshdesk/issues/123
* | [Zürich] Fix crash on certain /report/ajax/<id> URLsDave Arter2020-02-10-1/+17
|/ | | | | | | | | | | | Attempting to load the /report/ajax/<id> URL for a problem that had a public response and wasn't in the ‘external’ state was causing a crash because the call to FixMyStreet::App::View::Web::add_links in updates_as_hashref was returning a FixMyStreet::Template::SafeString that the JSON module didn't know how to serialise. This commit adds a TO_JSON method to SafeString, and ensures the output of /report/ajax is JSON-encoded with convert_blessed turned on so the TO_JSON method is called.
* Merge remote-tracking branch 'Sambruk/libpng-in-generic-packages'Matthew Somerville2020-02-07-0/+2
|\
| * Add libpng-dev to package lists (generic and for Docker)Joe Siltberg2020-02-07-0/+2
| |
* | [TfL] Include borough flytipping categories on red routesDave Arter2020-02-07-10/+22
| | | | | | | | | | | | | | | | | | | | | | 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 class attribute to be set on a elements in form fieldsDave Arter2020-02-07-1/+1
| | | | | | | | | | This is handy for certain inputs that tie in to existing JS in the codebase, e.g. the TfL ‘category disabled’ messages that have a lat/lon appended by JS.
* | Merge remote-tracking branch 'origin/travis-cypress-3'M Somerville2020-02-07-1/+1
|\ \
| * | [Travis] Pin cypress to version 3.Matthew Somerville2020-02-07-1/+1
| |/
* / [Northamptonshire] Update front page steps textDave Arter2020-02-06-2/+2
|/ | | | For https://github.com/mysociety/fixmystreet-freshdesk/issues/119
* ignore tilma and rw.org requests in cypress testsStruan Donald2020-02-06-1/+1
|
* [Northamptonshire] switch cypress tests away from treesStruan Donald2020-02-06-26/+26
| | | | | Because trees now allow you to click on a highway as well as a tree it's simpler to switch the tests to a different type
* enable layer snap threshold to be 0 to disable snappingStruan Donald2020-02-06-1/+4
|
* [Northamptonshire] remove snapping for Trees layerStruan Donald2020-02-06-1/+5
|