aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* [Buckinghamshire] Increase fallback USRN lookup radius to 10MDave Arter2018-04-20-1/+1
| | | | | It’s not quite a ‘radius’ as it’s a square box, but this does bring it closer in line with the cobrand JS behaviour.
* Always set memcached namespace.Matthew Somerville2018-04-16-2/+0
| | | | | | The namespace was only being set in the web loop, so cron scripts were accessing different memcached keys. In particular, the state list would be shared between instances on the same host.
* [Oxfordshire] Fix admin exor download page.Matthew Somerville2018-04-16-1/+1
| | | | | 07906f40 changed the HTML date input form, but did not update the server parsing of the format.
* [FixaMinGata] Remove a state label from the staff dropdown menuJon Kristensen2018-04-13-0/+8
|
* Merge branch 'mapit-proxy-api-key'Matthew Somerville2018-04-13-2/+14
|\
| * Provide API key to MapIt proxy if present.Matthew Somerville2018-04-12-2/+14
| |
* | Don’t send alert emails when archiving old reportsDave Arter2018-04-12-1/+16
|/
* admin UI to configure fetch_all_problems Open311 optionStruan Donald2018-04-11-5/+18
| | | | | | UI to update the fetch_all_problems setting in extra for a body. This also adds handling for extra body values in the Admin in a similar manner to the way other body params are handled.
* add extra column to body tableStruan Donald2018-04-11-3/+9
| | | | Adds and extra column for bodies and the associated Extra role.
* [BANES] Limit categories visible on cobrandDave Arter2018-04-10-0/+17
|
* Reliably sort send methods in admin.Matthew Somerville2018-04-10-2/+2
|
* Lower case/strip whitespace from email addresses during user importDave Arter2018-04-10-0/+2
|
* Fix again test script running on PostgreSQL 9.1.Matthew Somerville2018-04-10-2/+4
| | | | | It was not enough to move the schema to a separate run, the two fixtures need to be separate too.
* [BANES] Add cobrand base_urlDave Arter2018-04-10-0/+6
|
* [BANES] Update contact addressDave Arter2018-04-10-1/+1
|
* [BANES] Pass fixed search string back to geocoderDave Arter2018-04-10-0/+1
|
* Geocoders: allow cobrands to fixup user's search stringDave Arter2018-04-10-0/+6
| | | | | This is useful, for example, if the cobrand has a list of common typos that you want to account for.
* [BANES] Send email when Open311 update submitted.Matthew Somerville2018-04-10-0/+6
|
* [BANES] Rename usrn field to site_codeDave Arter2018-04-10-4/+6
| | | | To match the more generic changes in open311-adapter
* [BANES] Handle common road name typos in geocoder disambiguationDave Arter2018-04-10-0/+21
|
* [BANES] Update wording of front page and report formDave Arter2018-04-10-0/+6
|
* [BANES] Lookup USRN at point of sending report, if not presentDave Arter2018-04-10-0/+51
| | | | | | | Reports made via FMS.com or the app probably won't have a USRN value because we don't display the adopted highways layer on those frontends. Instead we'll look up the closest asset from the WFS service at the point we're sending the report over Open311.
* [BANES] Send confirmation email for all reports upon sending to CouncilDave Arter2018-04-10-1/+1
|
* [BANES] Add report rejection workflowDave Arter2018-04-10-0/+14
| | | | WIP, for mysociety/fixmystreetforcouncils#284
* [BANES] Send report title and detail in individual Open311 attributesDave Arter2018-04-10-0/+16
| | | | | | | | | | The BANES Confirm integration puts the report title and description in different fields within Confirm. Because Open311 has no ‘title’ field for ServiceRequests, FMS will by default send the report title and description (along with a link) in a single string in the ‘description’ ServiceRequest field. The BANES open311-adapter code includes a title and description attribute on all published services, so this commit will fill those with the appropriate FMS fields when sending reports.
* [BANES] OSM geocoder & include full council nameDave Arter2018-04-10-1/+5
|
* [BANES] Add Email::BathNES send method with custom template for street light ↵Dave Arter2018-04-10-0/+23
| | | | reports
* [BANES] Add BathNES map type & assetsDave Arter2018-04-10-3/+31
| | | | | | | | | | | | | BANES have some staff-only assets, so this adds a cobrand hook to enable extra JS to be included on the page for staff users. - Add custom OpenLayers build with GeoJSON support - Add grit bins/street lights/LLPG asset layers - Displays non-BANES street light assets in grey - Add adopted highways to map This means USRNs will be set for reports made by members of the public. To keep the map simple, however, the highways layer is invisible to non-staff users.
* [BANES] Add Bath & North East Somerset cobrandDave Arter2018-04-10-0/+54
|
* [fixmystreet.com] Stop non-council email sign-up.Matthew Somerville2018-04-09-4/+4
| | | | 100% false positives so far.
* Check recent reports for any hidden since cached.Matthew Somerville2018-04-06-22/+13
| | | | | Also stop caching lat/lon specific alert photo lists, and improve Memcached code.
* [Buckinghamshire] Update contact email addressDave Arter2018-04-06-1/+1
|
* [Buckinghamshire] Look up site code from WFS when sending reportDave Arter2018-04-06-0/+50
| | | | | | Reports made via the national site or the app won’t have a site_code set as the asset layer isn’t shown in those cases. This commit adds a method that looks up the closest road from the WFS feed at the point of sending the report.
* Make sure fixture clears out cached photo files.Matthew Somerville2018-04-04-0/+2
|
* Fix test script running on PostgreSQL 9.1.Matthew Somerville2018-04-03-5/+3
|
* User import admin pageDave Arter2018-04-03-0/+47
| | | | | | This is intended to be an internal tool for quickly creating staff users in bulk. As such, it's hidden at /admin/user_import and is only available to superusers.
* Include cobrand in ‘report logged’ template paramsDave Arter2018-04-03-0/+1
| | | | | This was causing broken URLs in emails when sending reports to Bucks, as there was no cobrand to call `base_url_for_report` on.
* [Buckinghamshire] Set cobrand base_urlDave Arter2018-04-03-1/+6
|
* [Buckinghamshire] Hide district-level categories from cobrandDave Arter2018-04-03-0/+7
|
* [Buckinghamshire] Update contact email address; hide address on contact pageDave Arter2018-04-03-1/+1
|
* [Buckinghamshire] Switch to OSM geocoderDave Arter2018-04-03-0/+3
|
* [Buckinghamshire] Set cobrand ‘is_council_with_case_management’ flagDave Arter2018-04-03-0/+2
| | | | | | | This hides the ‘Sent 5 minutes later’ message on each report and replaces it with ‘Received by Bucks moments later’ which is closer to what Bucks have requested. I’m not entirely sure this is the right thing to do, as Bucks haven’t actually received the report into Confirm moments later...
* [Buckinghamshire] Include Confirm ID in report confirmation emailsDave Arter2018-04-03-0/+2
|
* [Buckinghamshire] Disable phone number fieldDave Arter2018-04-03-0/+2
|
* [Buckinghamshire] Don’t send updates not made by original reporterDave Arter2018-04-03-0/+8
|
* [Buckinghamshire] Remove duplicate disambiguation for ‘Aylesbury’Dave Arter2018-04-03-0/+4
|
* [Buckinghamshire] Switch base map to OpenStreetMapDave Arter2018-04-03-3/+2
|
* [Buckinghamshire] Initial roadworks work.Matthew Somerville2018-04-03-0/+1
|
* [Buckinghamshire] Update OL to have GeoJSON and 27700 stuff.Matthew Somerville2018-04-03-0/+1
|
* [Buckinghamshire] Enable MapIt lookups for parish councilsDave Arter2018-04-03-0/+202
|