aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* [UK] New House Rule forbidding impersonationZarino Zappia2018-08-10-0/+4
|
* Fix inspector dragging of pins.Matthew Somerville2018-08-09-7/+22
|
* [Oxfordshire] Load UK projection JS library.Matthew Somerville2018-08-09-0/+1
|
* [UK] OS map only shown from zoom 12+.Matthew Somerville2018-08-09-2/+2
| | | | Bing no longer shows it at zoom level 11.
* Merge remote-tracking branch 'origin/2012-new-report-near-here'Matthew Somerville2018-08-07-2/+88
|\
| * "Report a problem here" button in nav when viewing a locationZarino Zappia2018-08-07-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2016. When you load a page that includes either a problem report, or is centered on a location, the "Report a problem" button in the nav bar (that normally takes you to the homepage) becomes a "Report a(nother) problem here" button, that leads directly to the new report form for the location in question. On full map pages (/around and any /report/<id> pages loaded via it) the reporting form will be rendered client-side, avoiding a full page reload. On pages lacking the full map (eg: missing fixmystreet.bbox_strategy), namely /reports/<area> and any /report/<id> page that hasn’t been client-side loaded via /around, we fall back to a server-side page load. Finally, as you’d expect, the text and URL for the button dynamically update as you move around the map, or switch between the different client-side states of the reporting flow. We also hide the button entirely when you’re reporting a problem, which was something suggested a long time ago.
| * Better padding for "report a problem" nav buttonZarino Zappia2018-08-07-1/+1
| |
* | Merge remote-tracking branch 'origin/2012-report-another'Matthew Somerville2018-08-07-0/+13
|\ \
| * | "Report another problem here" button on confirmation pageZarino Zappia2018-08-07-0/+13
| |/ | | | | | | | | | | | | Part of #2012. Should make it much quicker to report multiple problems in the same location, one after the other.
* | [Buckinghamshire] Open reports only by default.Matthew Somerville2018-08-07-0/+2
| |
* | Merge branch 'issues/commercial/1118-confirm-flytipping'Matthew Somerville2018-08-07-23/+62
|\ \
| * | [Buckinghamshire] Update flytipping handling.Matthew Somerville2018-08-07-23/+62
| | | | | | | | | | | | | | | | | | Allow flytipping reporting on cobrand and .com, with road reports going to Bucks Confirm and email, and non-road reports going to district and Bucks emails.
* | | Merge branch 'bristol-map-resolution'Matthew Somerville2018-08-07-5/+14
|\ \ \
| * | | [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.