aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | [Bristol] Fix display of assets on .com map.Matthew Somerville2018-08-07-2/+11
| | | |
| * | | [UK] Show assets at more zoomed out level.Matthew Somerville2018-08-07-3/+3
| | | |
* | | | call inspector setup when display reportStruan Donald2018-08-07-0/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | If an inspector clicks on a report from an around page the code to setup the pin dragging needs to be called. This adds a method to the map to allow the setup code to be called on report load. Fixes #2073
* | | Add missing ID to /alert postcode input.Matthew Somerville2018-08-07-1/+1
|/ / | | | | | | Fixes #2197.
* | Merge branch 'issues/commercial/1123-fixed-state-thing'Matthew Somerville2018-08-06-2/+25
|\ \ | |/ |/|
| * [Open311] No update text on fixed state move.Matthew Somerville2018-08-06-2/+25
| | | | | | | | | | | | A move between fixed states (presumably from fixed-user to fixed-council) should not count as a state change for the purposes of generating comment text from templates.
* | Do update layer visibility on extras received.Matthew Somerville2018-08-06-0/+3
| | | | | | | | | | | | | | Asset layer visibility depends on fixmystreet.bodies, which is updated from ajax request by pin selection or category change, but the visibility change happens before the ajax request - so if visibility is not also checked when category_extras returns it can get out of sync.
* | allow front end to not send to specific bodyStruan Donald2018-08-06-12/+96
| | | | | | | | | | | | | | | | add a do_not_send parameter to reports which allows the front end to specify a comma separated list of bodies that reports should not be sent to even if there is a valid contact match. This enables asset layers to override backend body processing, e.g. if a body only accepts reports that are on a road this allows the front end to specify that.
* | [Buckinghamshire] Display not-road message better.Struan Donald2018-08-06-2/+9
| | | | | | | | | | | | is_only_body() checks if the supplied body is the only one listed in fixmystreet.bodies and hence if it's the only one that reports for the current pin position will be sent to.
* | show not on roads message on national siteStruan Donald2018-08-03-0/+11
| | | | | | | | currently will show even if it's only appropriate for one body
* | [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
|