aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* 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
|
* Don’t crash when fetching Open311 requests with missing descriptionDave Arter2018-08-17-1/+1
|
* [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
|
* Merge branch 'issues/commercial/1118-confirm-flytipping'Matthew Somerville2018-08-07-14/+13
|\
| * [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.
* | Merge branch 'issues/commercial/1123-fixed-state-thing'Matthew Somerville2018-08-06-2/+4
|\ \ | |/ |/|
| * [Open311] No update text on fixed state move.Matthew Somerville2018-08-06-2/+4
| | | | | | | | | | | | 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.
* | 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.
* [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/+6
|
* Do not fetch problem extra on /my.Matthew Somerville2018-07-09-1/+1
| | | | 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-1/+0
|
* Add cobrand hook for custom searching on disambiguation pageDave Arter2018-07-04-0/+3
|