aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * [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
|
* [Northamptonshire] update Vegetation asset layersStruan Donald2020-02-06-3/+6
| | | | Allow all categories to make a report on roads or tree assets.
* [UK Councils] Make sure TfL link works everywhere.Matthew Somerville2020-02-06-1/+9
|
* Merge branch 'bexley-ooh-p1-highways'Matthew Somerville2020-02-05-6/+7
|\
| * [Bexley] Highways/covers out-of-hours matching P1.Matthew Somerville2020-02-04-6/+7
| |
* | [UK] Use feature flag for send_questionnaire.Matthew Somerville2020-02-04-11/+22
|/
* [Peterborough] Add message to front page.Matthew Somerville2020-02-03-0/+12
|
* Merge remote-tracking branch 'origin/2667-improve-mobile-try-again'Matthew Somerville2020-02-03-83/+118
|\
| * Improve try again on mobile.Matthew Somerville2020-01-31-9/+28
| |
| * Restrict lat/lon in URL/fields to 6dp.Matthew Somerville2020-01-31-6/+6
| |
| * No history entry for updates to new pin location.Matthew Somerville2020-01-31-3/+7
| |
| * Create helper function for translation template.Matthew Somerville2020-01-31-67/+79
| |
* | [Hounslow,IoW] Revert switch of map type.Matthew Somerville2020-01-31-2/+2
| | | | | | | | This reverts commit c82b1734cd2b5f224e3d4779972e4dcdefb41c7f.
* | Merge branch 'admin-user-logged-preference'Matthew Somerville2020-01-31-2/+2
|\ \ | |/ |/|
| * Default logging to logged in user.Matthew Somerville2020-01-31-2/+2
| | | | | | | | | | | | | | | | | | Historically, the FixMyStreet admin was accessed via HTTP Basic Auth and a secure proxy, so the auth user was used for logging purposes. Nowadays all admin use is by FixMyStreet user, and any Basic Auth is used for the purpose of hiding staging sites from bots. This configuration means that on those staging sites, all admin is logged by the one staging user, not the actual user, so let's swap that round.
* | Don’t highlight duplicate pins on mobileDave Arter2020-01-31-9/+15
| | | | | | | | | | The presence of the ‘mouseenter’ handler meant two taps were required to expand the report preview.
* | Display inline map for duplicate suggestions on mobileDave Arter2020-01-31-5/+31
|/ | | | For #2668.
* Merge branch 'tfl-map-filter-category-groups'Matthew Somerville2020-01-30-18/+68
|\
| * Enable category groups on map filter dropdown.Dave Arter2020-01-30-18/+68
| | | | | | | | Includes an updated version of jquery-multi-select.
* | Merge branch 'remove-pan-from-mobile'Matthew Somerville2020-01-30-15/+21
|\ \
| * | Remove pan control from mobile widths.Matthew Somerville2020-01-30-15/+21
| |/
* | [Zurich] Not sure what this exemption was for.Matthew Somerville2020-01-30-4/+2
| |
* | Stop capitalising key tools.Matthew Somerville2020-01-30-1/+0
| |
* | Keep report updates link in usual place on mobile.Matthew Somerville2020-01-30-1/+1
| |
* | After login during update, separate form/report.Matthew Somerville2020-01-30-0/+1
| |
* | Use nicer default photo upload message.Matthew Somerville2020-01-30-3/+8
| |
* | Merge branch 'issues/freshdesk/389-northamptonshire-add-index-step'Graeme Porteous2020-01-30-0/+18
|\ \ | |/ |/|
| * [Northamptonshire] customise index step templateGraeme Porteous2020-01-30-0/+18
|/ | | | Add 5 step to discourage more than one problem per enquiry.
* [Hounslow,IoW] Switch map type whilst server down.Matthew Somerville2020-01-29-2/+2
|
* Merge branch 'bodies-list-cats-by-group'Matthew Somerville2020-01-29-8/+35
|\
| * List categories in body admin by group.Matthew Somerville2020-01-28-8/+35
| |
* | Merge branch 'scrubber-allow-img'Matthew Somerville2020-01-29-0/+1
|\ \
| * | Allow img elements in scrubbed fields.Matthew Somerville2020-01-27-0/+1
| | |
* | | Merge branch 'allow-multiple-questions-to-disable-new-report-form'Chris Mytton2020-01-29-23/+107
|\ \ \ | |_|/ |/| |
| * | [Peterborough] Add test for multiple questions disabling new report formChris Mytton2020-01-29-2/+69
| | |
| * | Allow multiple question to disable the new report formChris Mytton2020-01-28-21/+38
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / Only trigger one change event on initial popstate.Matthew Somerville2020-01-28-3/+4
|/ | | | | | | | 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.