aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Merge branch 'server-side-cursor-dashboard-export'Matthew Somerville2020-04-29-7/+18
|\
| * Only request needed join data in places.Matthew Somerville2020-04-28-7/+15
| | | | | | | | | | The export flow and the admin search request more data from the database than they need, which slows it down.
| * Use server cursors on dashboard export.Matthew Somerville2020-04-28-0/+2
| |
| * Add dbic-pg-server-cursors library, set as defaultMatthew Somerville2020-04-28-0/+1
| | | | | | | | Found at https://github.com/mzealey/dbic-pg-server-cursors, not on CPAN.
* | Merge branch 'sending-dæmon'Matthew Somerville2020-04-29-32/+51
|\ \
| * | Add sending updates capability to daemon.Matthew Somerville2020-04-28-2/+7
| | |
| * | Have a daemon that can send reports.Matthew Somerville2020-04-28-30/+44
| | |
* | | Merge branch 'cached_recent_order' of git://github.com/Sambruk/fixmystreetMatthew Somerville2020-04-29-1/+1
|\ \ \
| * | | Makes sure cached recent reports are displayed in order.Joe Siltberg2020-04-29-1/+1
| | | | | | | | | | | | | | | | Fixes #2999
* | | | [Oxfordshire] Include external problem reference in CSV exportDave Arter2020-04-29-0/+15
|/ / / | | | | | | | | | For https://github.com/mysociety/fixmystreet-commercial/issues/1876
* | | [EastSussex] display council reference number on reportStruan Donald2020-04-29-1/+1
| | |
* | | [East Sussex] add additional question to text for open311Struan Donald2020-04-29-0/+32
| | | | | | | | | | | | | | | The extra question data is added here rather than in the adapter as we have the question text along with the answer here.
* | | [EastSussex] add basic cobrandStruan Donald2020-04-29-0/+9
|/ / | | | | | | | | This is required so we can use groups when fetching categories over open311.
* | Merge branch 'peterborough-skanska-ref'Matthew Somerville2020-04-28-0/+13
|\ \
| * | [Peterborough] Include Skanska ref in description.Matthew Somerville2020-04-28-0/+13
| |/
* / Error page when submitting /import with web param.Matthew Somerville2020-04-28-8/+13
|/ | | | | | If the web param is used, show an error web page rather than the normal plain text output. Also do the normal remember/show uploaded photos feature, and hide the inputs better if unneeded.
*-. Merge branches '2961-disable-private-tickbox', ↵Matthew Somerville2020-04-28-49/+59
|\ \ | | | | | | | | | '2962-pin-move-category-group' and 'move-admin-index-stats-to-stats-page'
| | * Move stats from main admin index to stats index.Matthew Somerville2020-04-24-43/+54
| | | | | | | | | | | | | | | These stats can take a while to generate, and we don't want to slow down people mostly coming to the admin index to do something else.
| | * [UK] No FMS graph link on UK cobrand pages.Matthew Somerville2020-04-24-0/+2
| | |
| | * Do not calculate user count on status page.Matthew Somerville2020-04-24-6/+3
| |/
* / Add contact flag to protect category/group names from Open311 changesDave Arter2020-04-28-0/+5
|/ | | | | | | Adds a new tickbox to the contact editing form that protects the category and group names from being changed by Open311. For mysociety/fixmystreet-commercial#1776
* Merge branch 'bristol-remove-group'Matthew Somerville2020-04-24-0/+3
|\
| * [Bristol] Remove Open311 groups.Matthew Somerville2020-04-23-0/+3
| |
* | [Buckinghamshire] Update mapping server.Matthew Somerville2020-04-23-2/+2
|/
* Switch round staff/superuser staff-category check.Matthew Somerville2020-04-17-4/+4
| | | | | If it checks the body first, then a superuser who is also assigned to a body would not be able to see staff categories in a different body.
* [Bromley] Fix heatmap category filter.Matthew Somerville2020-04-17-11/+16
| | | | | As it has switched to using category groups, the special subcategory code needs updating to update the correct variable.
* [Peterborough] Improve extra question handling.Matthew Somerville2020-04-15-9/+9
| | | | | | | Ignore (for Open311-sending purposes) any questions whose code starts "PCC-", so that it is easier to use the admin to add extra questions, and move the removal of the extra questions to a more normal location so answers are not lost when extra fields is reset post-send.
* Stop double escape in Google Maps URL.Matthew Somerville2020-04-10-1/+1
|
* [TfL] Restrict HE categories to HE roads.Matthew Somerville2020-04-08-1/+13
| | | | The checks added in 285e183db missed the TfL cobrand.
* Merge branch 'uk-he-cobrand-fix'Matthew Somerville2020-04-07-5/+9
|\
| * [UK] Show Highways England categories on cobrands.Matthew Somerville2020-04-07-5/+9
| | | | | | | | | | | | Without allowing through the Highways England body, clicking on a Highways England road in these cobrands would leave no categories to be selected.
* | Merge branch 'bexley-confirm-p1-email'Matthew Somerville2020-04-07-1/+8
|\ \
| * | [Bexley] Treat any oil spillage report as P1.Matthew Somerville2020-04-07-0/+6
| | |
| * | [Bexley] Use other P1 email for Confirm reports.Matthew Somerville2020-04-07-1/+2
| |/
* | Merge branch 'send-reports-tidy'Matthew Somerville2020-04-07-79/+66
|\ \ | |/ |/|
| * Ignore sending failures within the database query.Matthew Somerville2020-04-06-35/+32
| | | | | | | | This means the code can assume it should be trying to send a report.
| * Tidy up verbose/debug handling of send-reports.Matthew Somerville2020-04-06-50/+40
| | | | | | | | | | Use verbose for all log output, and debug only for overriding the should_skip check.
* | [Highways England] Allow lookup with “FMS” prefix.Matthew Somerville2020-04-07-0/+14
|/ | | | This form of reference is shown on a report confirmation page.
* [Westminster] Explicitly return no extra data.Matthew Somerville2020-04-06-0/+2
| | | | | Otherwise something can be passed back, confusing the parent Open311 sending code. Missed in 7ed37641.
* [HE] add a how did you hear about us questionStruan Donald2020-04-03-0/+4
|
* [Buckinghamshire] Update off-road flytipping.Dave Arter2020-03-31-41/+8
| | | | | | | | | Instead of sending off-road flytipping reports to the district, now that Buckinghamshire is unitary we instead recategorise them into a new email specific “Flytipping (off-road)” category which is handled in the same way as other ex-district categories with the borough_email_addresses cobrand feature, and omitted from the dropdown by the categories_restriction cobrand method.
* [Buckinghamshire] Use BoroughEmails role for district emailsDave Arter2020-03-31-0/+20
|
* [TfL] Factor borough_email_addresses handler into reusable RoleDave Arter2020-03-31-57/+71
|
* [Buckinghamshire] Update for change to unitary.Martin Wright2020-03-31-1/+1
| | | | New unitary branding, and remove County from name.
* [Highways England] Do road-position server-side.Matthew Somerville2020-03-31-2/+47
| | | | | Restrict cobrand to HE categories. Want to do it by body, not category, because otherwise there's a "missing" council body.
* Match body construction on Around with New setup.Matthew Somerville2020-03-31-2/+4
| | | | | | | | | | | | On an around page on the HE cobrand, both bodies (HE and council) are listed and so when you clicked the map (not on a HE road) the not-HE code did not fire because it wasn't the only body present. But New.pm calls only return the HE body because they call munge_report_new_bodies. So it worked when you picked category/ moved pin. Around should call the munge function too so bodies is set up same as on New.pm. We need to always use the cobrand package, regardless of if it is a valid cobrand or not (for e.g. Bromley/Hounslow tests).
* [Highways England] Error if road name searched.Struan Donald2020-03-31-0/+12
|
* [Highways England] Ignore HE wherever TfL is.Matthew Somerville2020-03-31-6/+8
|
* [Highways England] Update report sending handling.Matthew Somerville2020-03-31-5/+19
| | | | Use normal contact email, with special override in Area 7.
* [Highways England] cobrand behaviour configChris Mytton2020-03-31-0/+86
| | | | | | | Anonymous reports only Don't allow updates on fixed or closed reports Various required problem/admin restriction fns. Only England, no photos.