aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* 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.
* [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
|
* [fixmystreet.com] Default to open reports only.Matthew Somerville2018-07-03-0/+2
|
* Merge branch 'issues/2098-repaginating-splines'Matthew Somerville2018-07-03-2/+31
|\
| * Only display reports from last 6 months on around.Struan Donald2018-07-03-2/+31
| | | | | | | | | | | | | | 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.
* | Allow any user who sees private checkbox to use itMatthew Somerville2018-07-03-2/+2
|/
* [UK] Fix issue when body ID not equal to MapIt ID.Matthew Somerville2018-06-28-9/+27
| | | | | | | | | | | 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.
* Enable editing of category group in adminDave Arter2018-06-26-0/+6
| | | | Fixes mysociety/fixmystreetforcouncils#275
* add a send login email button to user edit pageStruan Donald2018-06-25-7/+39
| | | | | | | | | Add a button to the user edit page that sends a login token email to the user. Helpful for user support situations where someone is having trouble logging in. Also for situations where you have added a user and want to get them logged in. Fixes #2041