Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [UK] Use staging hosts on some staging sites. | Matthew Somerville | 2020-03-03 | -1/+2 |
| | ||||
* | [Northamptonshire] config files for WMS maps | Struan Donald | 2020-02-17 | -0/+38 |
| | ||||
* | base files for displaying WMS maps | Struan Donald | 2020-02-17 | -3/+36 |
| | | | | | Basic config and setup files for using WMS based map tiles. These still require config in appropriate cobrand perl and javascript files | |||
* | Restrict lat/lon in URL/fields to 6dp. | Matthew Somerville | 2020-01-31 | -6/+6 |
| | ||||
* | Don’t highlight duplicate pins on mobile | Dave Arter | 2020-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 mobile | Dave Arter | 2020-01-31 | -0/+4 |
| | | | | For #2668. | |||
* | Use our own Permalink class. | Matthew Somerville | 2020-01-10 | -59/+74 |
| | | | | | We are overriding quite a bit of it and not using other bits, so it will be less code to only have our own Control. | |||
* | Reduce duplicate Permalink.updateLink calls when zooming map | Dave Arter | 2020-01-09 | -0/+18 |
| | ||||
* | Merge branch 'cheshire-east-maps' | Matthew Somerville | 2020-01-09 | -65/+51 |
|\ | ||||
| * | [Cheshire East] Use own map tiles. | Matthew Somerville | 2020-01-08 | -0/+33 |
| | | ||||
| * | Use variables for marker size boundaries. | Matthew Somerville | 2020-01-08 | -65/+18 |
| | | ||||
* | | Display GPS marker on /around & /report/new if geolocate link used | Dave Arter | 2020-01-08 | -0/+94 |
|/ | | | | | | Attempts to allow for CSS animations by not destroying the marker's DOM element each time a location update is received - with limited success. | |||
* | [Bexley] Switch to use MasterMap map type | Chris Mytton | 2019-11-27 | -24/+0 |
| | | | | | | Now that both Peterborough and Bexley are using MasterMap data we can combine them into a single "MasterMap" map type to reduce code duplication. | |||
* | [Peterborough] Add OS MasterMap map tiles | Chris Mytton | 2019-11-27 | -0/+24 |
| | | | | | This adds a new "MasterMap" map type which uses tiles from Tilma to display MasterMap data. | |||
* | Merge branch 'fix-dupes-' | Matthew Somerville | 2019-10-15 | -3/+6 |
|\ | ||||
| * | Fix issue loading inspector duplicates on /around. | Matthew Somerville | 2019-10-15 | -3/+6 |
| | | | | | | | | | | | | As there are two category drop-downs in this situation (one in the hidden reporting form, one in the inspect form), the correct entry needs to be specified. | |||
* | | Add map filter debouncing. | Matthew Somerville | 2019-10-15 | -2/+15 |
|/ | ||||
* | Only show duplicate suggestions once per category change on mobile | Dave Arter | 2019-10-07 | -2/+22 |
| | ||||
* | Dismiss duplicate selection UI when returning to map on mobile | Dave Arter | 2019-10-07 | -0/+6 |
| | ||||
* | Merge branch 'zurich-staging' | Matthew Somerville | 2019-09-30 | -23/+15 |
|\ | ||||
| * | [OpenLayers] Never send X-Requested-With header. | Matthew Somerville | 2019-09-30 | -0/+15 |
| | | ||||
| * | [WMTS] Remove unneeded reprojection code. | Matthew Somerville | 2019-09-30 | -23/+0 |
| | | | | | | | | | | The base layer does this transformation, so I am not sure what this was for. | |||
* | | [IsleOfWight] fix wmts bbox strategy setting | Struan Donald | 2019-09-27 | -2/+2 |
| | | | | | | | | | | | | Change the way we set the BBOX strategy for the map layer as otherwise when we check for bbox_strategy in display_around this is set but has not been associated with a layer so .activate fails. | |||
* | | [IsleOfWight] switch to IoW map tiles | Struan Donald | 2019-09-27 | -0/+206 |
|/ | ||||
* | Merge branch 'bexley-map-tiles' | Matthew Somerville | 2019-09-19 | -0/+24 |
|\ | ||||
| * | [Bexley] Add new map tiles. | Matthew Somerville | 2019-09-19 | -0/+24 |
| | | ||||
* | | Remove on-map permalink. | Matthew Somerville | 2019-09-19 | -41/+8 |
|/ | | | | We retain the code as it is updating the URL on map move. | |||
* | Maintain filter_category/group if locate me used. | Matthew Somerville | 2019-08-16 | -1/+1 |
| | | | | Also update lat/lon parameters to match JS. | |||
* | Merge branch 'issues/commercial/1480-asset-duplicate-interaction' | Matthew Somerville | 2019-08-08 | -1/+17 |
|\ | ||||
| * | Have duplicate suggestion & assets coexist better. | Matthew Somerville | 2019-08-07 | -1/+17 |
| | | ||||
* | | Hide category extras when dupe suggestions shown. | Matthew Somerville | 2019-08-07 | -0/+2 |
|/ | ||||
* | prevent including email address in report title | Struan Donald | 2019-08-02 | -1/+1 |
| | | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570 | |||
* | Improve map JavaScript defensiveness. | Matthew Somerville | 2019-07-10 | -0/+13 |
| | | | | | Add more checking for map things so e.g. on a skipped map page we stop getting JavaScript errors given there is no map present. | |||
* | [Hounslow] Use custom WMTS base map | Dave Arter | 2019-06-04 | -0/+194 |
| | ||||
* | Have duplicate and asset messages work together. | Matthew Somerville | 2019-05-28 | -2/+13 |
| | ||||
* | Do not focus on title on duplicate list removal. | Matthew Somerville | 2019-05-28 | -14/+3 |
| | | | | | Sometimes this can be a long way down, if e.g. extra Open311 questions above. | |||
* | [Buckinghamshire] use buckinghamshire map tiles | Struan Donald | 2019-05-16 | -0/+147 |
| | | | | | Add a WMTS config to use Buckinghamshire's own map tiles to display house numbers. | |||
* | Tidy up duplicate fetching code. | Matthew Somerville | 2019-03-28 | -26/+8 |
| | | | | | | Run immediately, not onready, so the category change listener is in place; listen to a better event, removing need for a debouncer; don't look up if empty category. | |||
* | Listen for all inspector form duplicate events. | Matthew Somerville | 2019-03-06 | -2/+2 |
| | | | | | | The form may be brought in via JS, so we have to add an event to something that will always be there (or alternatively set up when pulled in, which was the old pre-duplicates.js behaviour). | |||
* | [Bromley] Initial heatmap page. | Matthew Somerville | 2019-02-28 | -1/+8 |
| | ||||
* | Duplicate suggestion UI when reporting problems. | Zarino Zappia | 2019-02-25 | -4/+210 |
| | | | | | | | | | | | | | | | | | | The previously staff-only fixmystreet.set_up.manage_duplicates() has been promoted from staff.js to its own file so that we can use it to display the duplicate suggestions on the `/report/new` form. render_duplicate_list (the old refresh_duplicate_list) no longer filters or slices the reports_list returned by the ajax call, since it turns out the server handles all of that (`sub _nearby_json` in `Report.pm` and `sub nearby` in `Nearby.pm`). Since the expandable list items include the "fancybox" image previews, the fancybox CSS now has to be included in the `/report/new` page head, hence the addition of "photo-js.html" in `fill_in_details.html`. The “Get updates” flow reuses the same JavaScript that handles the submission of the "Get updates" drawer at the bottom of around pages. | |||
* | Add parameter to URL when “Show older” clicked. | Matthew Somerville | 2019-02-14 | -2/+1 |
| | | | | | The behaviour should be the same whether “Show older” or “Show older reports” is clicked, but only the latter was updating the URL. | |||
* | Fix typo in d4c2211cf. | Matthew Somerville | 2019-02-13 | -1/+1 |
| | ||||
* | Improve use of OL ArgParser/missing zoom in URL. | Matthew Somerville | 2019-02-04 | -16/+24 |
| | | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs. | |||
* | Update URL whenever map moves, using replaceState. | Dave Arter | 2019-02-04 | -16/+51 |
| | | | | | | Fixes #2242. Co-authored-by: Matthew Somerville <matthew@mysociety.org> | |||
* | Make staff JavaScript more self-contained. | Matthew Somerville | 2019-01-29 | -2/+2 |
| | | | | So it can run even when fixmystreet.js is not loaded. | |||
* | Make who question more prominent. | Matthew Somerville | 2018-12-19 | -0/+14 |
| | ||||
* | [UK Councils] Fix undefined body_validation_rules. | Matthew Somerville | 2018-12-11 | -2/+0 |
| | | | | The core validation_rules.js is not included on e.g. the front page. | |||
* | Don't draw a pin for a problem with no location. | Martin Wright | 2018-12-03 | -0/+3 |
| | ||||
* | Restore zoom level when navigating back to /around from /report | Dave Arter | 2018-11-27 | -0/+16 |
| | | | | Fixes #1649. |