aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Add hook for per-row questionnaire override.Matthew Somerville2018-09-13-1/+4
|
* allow web based use of report importStruan Donald2018-09-13-0/+6
| | | | | | | | if a web parameter is passed to /import then display the email confirmation sent page rather than a SUCCESS message. Enables this page to be used for creating partial reports from a web page. For mysociety/collideoscope#17
* Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-1/+14
|
* Prevent scan of all problems on /_dev pages.Matthew Somerville2018-09-12-5/+5
|
* pull out reports group_by code to methodStruan Donald2018-09-12-9/+16
| | | | So we can use this in collideoscope
* add end argument to loop_periodStruan Donald2018-09-12-5/+6
| | | | | So we can use it for collideoscope which does not use a fixed end period.
* move body stats page code to own methodStruan Donald2018-09-12-8/+19
| | | | Enables this to be used in cobrand hooks for reports data
* [Zurich] use report_page_data cobrand hookStruan Donald2018-09-12-23/+25
| | | | remove hard coded report page behaviour
* hook to allow cobrand to generate reports page dataStruan Donald2018-09-12-0/+4
|
* Version 2.4.v2.4Matthew Somerville2018-09-06-4/+4
|
* Fix reference issue in can_moderate.Matthew Somerville2018-09-06-2/+2
| | | | Arguments in TT functions are passed as a hashref.
* Update user object before attempting sign-in.Matthew Somerville2018-09-06-1/+2
| | | | | This prevents leaking of user account phone number on a failed login attempt.
* Check all contacts for metadata and non-public.Matthew Somerville2018-09-06-6/+13
| | | | | | Previously it would only check the first matching entry, which could miss out on information if two bodies had the same category and only the second one looked at had metadata, or was marked as non-public.
* Convert all single newlines, not only first.Matthew Somerville2018-08-31-1/+1
|
* Include report in _dev confirm_report_sent email.Matthew Somerville2018-08-30-0/+1
|
* Do not delete other category extras on first matchMatthew Somerville2018-08-29-8/+2
|
* Merge branch 'issues/collideoscope/30-user-moderation'Matthew Somerville2018-08-29-139/+91
|\
| * Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-11/+24
| |
| * Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-4/+13
| |
| * Refactor together similar moderate functions.Matthew Somerville2018-08-28-127/+57
| |
* | Merge branch 'dev-confirmation-pages'Matthew Somerville2018-08-29-50/+121
|\ \
| * | Move all test endpoints under /_dev.Zarino Zappia2018-08-29-50/+121
| |/
* / Remove need for category_extras ajax call.Matthew Somerville2018-08-28-48/+55
|/ | | | | | Add by_category output to the /report/new/ajax call, containing all the data that /report/new/category_extras returns for one category. Then alter the JS to use that data immediately when needed.
* [Bromley] Include ID/PROW in title only if given.Matthew Somerville2018-08-24-0/+1
|
* [Zurich] Use HTTPS map tiles, update OpenLayers.Matthew Somerville2018-08-22-2/+2
|
* Include user agent in contact form emails.Matthew Somerville2018-08-21-0/+1
|
* [Lincolnshire] Update front page wordingDave Arter2018-08-20-0/+6
| | | | Lincolnshire uses ‘division’ instead of ‘ward’ as well as Oxfordshire.
* [Lincolnshire] Add contact email addressDave Arter2018-08-17-1/+7
|
* [Lincolnshire] Add admin_user_domain and base_url configDave Arter2018-08-17-0/+8
|
* [Lincolnshire] Colour pins according to stateDave Arter2018-08-17-0/+10
|
* [Lincolnshire] Disable questionnairesDave Arter2018-08-17-1/+1
|
* [Lincolnshire] Send ‘report logged’ emails; don’t show FMS ID on ↵Dave Arter2018-08-17-0/+2
| | | | confirmation page
* [Lincolnshire] Show external ID on report pagesDave Arter2018-08-17-1/+1
|
* [Lincolnshire] Update example places & geocoder configDave Arter2018-08-17-0/+17
|
* [Lincolnshire] Add assets to map & roadworks.org integrationDave Arter2018-08-17-0/+45
|
* [Lincolnshire] Only show certain district categories on cobrandDave Arter2018-08-17-0/+15
|
* [Lincolnshire] Add cobrand templates & stylesDave Arter2018-08-17-0/+35
|
* [Buckinghamshire] Factor lookup_site_code up into UKCouncils cobrandDave Arter2018-08-17-81/+112
|
* Fix inspector dragging of pins.Matthew Somerville2018-08-09-2/+6
|
* [UK] OS map only shown from zoom 12+.Matthew Somerville2018-08-09-1/+1
| | | | Bing no longer shows it at zoom level 11.
* [Buckinghamshire] Open reports only by default.Matthew Somerville2018-08-07-0/+2
|
* [Buckinghamshire] Update flytipping handling.Matthew Somerville2018-08-07-14/+13
| | | | | | 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.
* allow front end to not send to specific bodyStruan Donald2018-08-06-2/+13
| | | | | | | | 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.
* [UK] Pull in cobrand asset files on national site.Struan Donald2018-08-03-8/+10
| | | | | | | 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
|
* Allow asset layer display to be body dependent.Struan Donald2018-08-03-1/+18
| | | | | | | | | | | 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.
* Update Bing Maps parameter ID.Matthew Somerville2018-08-01-3/+3
| | | | [fixmystreet.com] Update to use OS OpenMap Local tiles.
* Trim spaces from user/report search input.Matthew Somerville2018-07-31-0/+2
|
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-5/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Allow questionnaire pages to be revisited within 2 minutesDave Arter2018-07-11-1/+2
| | | | | | | | 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.