aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | [UK] Pull in cobrand asset files on national site.Struan Donald2018-08-03-3745/+1141
| | | | | | | | | | | | | | Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.
* | [Buckinghamshire] Fix hard-coded category lookup.Matthew Somerville2018-08-03-2/+2
|/
* [Bromley] Fix selection on TfL red routes.Matthew Somerville2018-08-03-1/+11
|
* Allow asset layer display to be body dependent.Struan Donald2018-08-03-57/+260
| | | | | | | | | | | Return a list of associated bodies on around/new pages and in category ajax calls, and use that when deciding whether to show/hide layers. If the layer has no body information, then we show it as before, maybe based on category selected; if it does, it is only shown if the layer body matches the bodies for the point. As part of this create a new VectorAsset class to handle all the visibility changes for asset layers as it makes it a bit tidier.
* [UK] A few IE8-compatible JS fixes.Matthew Somerville2018-08-03-6/+6
|
* Favour .form-hints over input placeholder attributesZarino Zappia2018-08-01-67/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2180. Input placeholders are a generally problematic UI convention, and we’ve accidentally started using them in more and more parts of FMS over the last few years. In some cases, the placeholders simply repeated text from the input’s existing label element. In cases like those, the placeholder attribute could just be removed. In other cases, we broke the placeholder text out into a .form-hint element, between the input and its label, so that the text is easily accessible and falls into the top-to-bottom reading flow. Notable changes: * Form hint on main postcode search form, instead of placeholder. * Form hint on alert search form, instead of placeholder. * Form hints in reporting form (problem summary and description), instead of placeholders. * Removed placeholders from most login/password inputs. * The character limit for "Inspector" report updates is no longer displayed in the textarea placeholder. * Form hints now `#666` grey, and better spaced when immediately following a label element.
* Update Bing Maps parameter ID.Matthew Somerville2018-08-01-12/+12
| | | | [fixmystreet.com] Update to use OS OpenMap Local tiles.
* Trim spaces from user/report search input.Matthew Somerville2018-07-31-0/+3
|
* [Buckinghamshire] remove contact formStruan Donald2018-07-24-4/+15
| | | | Removing this while we sort out the process.
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-60/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Update Google Maps directions link.Matthew Somerville2018-07-19-1/+2
|
* Merge remote-tracking branch ↵Matthew Somerville2018-07-17-1/+1
|\ | | | | | | 'origin/issues/commercial/1087-dashboard-csv-download-teaser'
| * Make non-pro dashboard CSV download limit clearerZarino Zappia2018-07-12-1/+1
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1087.
* | [BANES] Update tracking scriptsDave Arter2018-07-17-0/+3
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1104
* | [Zurich] Amended Translationspaceman992018-07-16-1/+1
|/
* Allow questionnaire pages to be revisited within 2 minutesDave Arter2018-07-11-3/+12
| | | | | | | | Users who double click links were seeing an error when visiting the questionnaire page. This change gives a grace period of two minutes for revisiting the questionnaire page. Fixes #2123.
* [UK] Override a domain for DMARC handling.Matthew Somerville2018-07-11-0/+1
|
* Always show all reports by default on /my.Matthew Somerville2018-07-09-4/+7
|
* Hide password help field along with other similar.Matthew Somerville2018-07-09-2/+3
| | | | Fixes #2185.
* Do not fetch problem extra on /my.Matthew Somerville2018-07-09-1/+2
| | | | The code thought it was fetching the category extra, which it is not.
* Use do-not-reply address for sent report email.Matthew Somerville2018-07-09-6/+4
|
* Factor out empty list template.Matthew Somerville2018-07-04-1/+2
| | | | Make it customisable by cobrands.
* Add cobrand hook for custom searching on disambiguation pageDave Arter2018-07-04-0/+6
|
* [fixmystreet.com] Default to open reports only.Matthew Somerville2018-07-03-1/+3
|
* Merge branch 'issues/2098-repaginating-splines'Matthew Somerville2018-07-03-16/+154
|\
| * Only display reports from last 6 months on around.Struan Donald2018-07-03-9/+143
| | | | | | | | | | | | | | Add a checkbox to show older reports, plus if we get to the end of the new reports then instead of a Next button show a "show older" button that will reload the current page but with older reports also loaded. Wire it all up into the pushState code as well.
| * fix pushState paginationStruan Donald2018-07-03-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | Using `$('.pagination')` everywhere in javascript was causing issues because that returns two elements. This was especially true when triggering events as it was triggering two events so the data was being loaded twice. This was also resulting in resetting the page to the initial page so clicking the back button would always return to the first page of results. This also sets `use_page` when clicking the back button otherwise it also loads the initial page.
| * fix pushState back from report -> report listStruan Donald2018-07-03-0/+3
| | | | | | | | | | | | When moving back through pushState history from a report page to a list of reports the list of reports wasn't being displayed because code to redisplay it wasn't called.
* | Allow any user who sees private checkbox to use itMatthew Somerville2018-07-03-2/+3
|/
* Show all fixed issues when staff uses map filter.Matthew Somerville2018-07-02-6/+14
|
* Merge branch 'use-the-body-id'Matthew Somerville2018-07-02-31/+88
|\
| * [UK] Fix issue when body ID not equal to MapIt ID.Matthew Somerville2018-06-28-31/+88
| | | | | | | | | | | | | | | | | | | | | | Hitherto when creating a body or ward alert on a UK site, the MapIt area ID has been stored instead of the body ID. This is okay for www.fixmystreet.com which for historical reasons does have body IDs that match MapIt area IDs, but other UK-based sites may well not. The alert lookup looks for body ID, meaning those alerts will not work. Save the body ID instead, plus fix some tests that were making the same assumption.
* | [Rutland] archive reports email templatesStruan Donald2018-06-27-0/+79
| |
* | [Bucks] add one issue per report text to tipsStruan Donald2018-06-27-0/+12
| |
* | Merge branch 'issues/commercial/1029-banes-parks-and-rec'Dave Arter2018-06-26-31/+130
|\ \ | |/ |/|
| * [BANES] Update front page header to reflect expanded scopeDave Arter2018-06-26-1/+2
| |
| * [BANES] Relabel report rejection buttonDave Arter2018-06-26-3/+10
| |
| * [BANES] Add parks & grounds asset layerDave Arter2018-06-26-15/+78
| | | | | | | | Styled to only be visible to staff.
| * Add disable_pin_snapping flag to asset layersDave Arter2018-06-26-12/+40
|/ | | | | | | | | | This optional flag can be used for layers whose features should set report extra fields when selected, without the features themselves becoming highlighted and snapping the report pin to their location. Useful for polygonal asset layers whose features cover a wide geographic area where the actual location clicked by the user is important, e.g. parks.
* [Buckinghamshire] Add Siteimprove script.Matthew Somerville2018-06-26-0/+10
|
* Enable editing of category group in adminDave Arter2018-06-26-1/+78
| | | | Fixes mysociety/fixmystreetforcouncils#275
* add a send login email button to user edit pageStruan Donald2018-06-25-8/+111
| | | | | | | | | Add a button to the user edit page that sends a login token email to the user. Helpful for user support situations where someone is having trouble logging in. Also for situations where you have added a user and want to get them logged in. Fixes #2041
* [Buckinghamshire] Reduce flytipping road lookup to 5 metresDave Arter2018-06-22-1/+1
| | | | Anything smaller seems like it would result in a lot of false negatives.
* Merge branch '2172-inspect-issues'Dave Arter2018-06-22-9/+73
|\
| * Mandatory defect type selection if defect raised.Matthew Somerville2018-06-22-0/+9
| | | | | | | | And there are entries in the defect type dropdown.
| * Defect type changes must be after category change.Matthew Somerville2018-06-22-7/+37
| | | | | | | | | | As with priorities, they depend upon the category and so must be looked up after that has been updated.
| * Allow inspector to unset priority.Matthew Somerville2018-06-22-2/+27
|/
* Merge branch '2166-comma-category'Matthew Somerville2018-06-21-10/+44
|\
| * Use CSV escaping for categories in URLs.Matthew Somerville2018-06-21-10/+44
| | | | | | | | | | Categories could contain commas, so splitting on comma is not good enough. Let’s escape the fields as if it’s a line in CSV. Fixes #2166.
* | [Buckinghamshire] Update TfB flytipping addressDave Arter2018-06-21-2/+2
| |