aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
...
* [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.
* [Highways England] Cobrand styles and templatesZarino Zappia2020-03-31-0/+24
|
* [UK] improved road lookupStruan Donald2020-03-31-3/+33
| | | | | Check in road lookup DB for junctions based on place name, motorway services and the joining road.
* [UK] Allow "jct" in junction lookup.Matthew Somerville2020-03-31-4/+8
|
* Have update controller treat name more like reporting.Matthew Somerville2020-03-31-4/+5
|
* Add option of anonymous updating.Matthew Somerville2020-03-31-0/+28
|
* Recent reports, use same query regardless of cacheMatthew Somerville2020-03-31-3/+1
| | | | | If you called this function not asking for photos, the result if fetched from the cache would only allow through ones with photos.
* Move summary failures to separate script.Matthew Somerville2020-03-31-2/+0
|
* Move per-row process to its own package.Matthew Somerville2020-03-31-271/+314
|
* Refactor Script::Report into an object.Matthew Somerville2020-03-31-206/+275
|
* [Open311] Allow save/drop of row extra during sendMatthew Somerville2020-03-31-70/+87
|
* Merge branch 'staff-only-cats-in-admin-sending'Matthew Somerville2020-03-30-2/+7
|\
| * [Admin] Access staff-only categories in admin.Matthew Somerville2020-03-19-1/+6
| |
| * Look at all categories when sending reports.Matthew Somerville2020-03-19-1/+1
| |
* | Merge branch 'inactive-accounts-to-header' of ↵Matthew Somerville2020-03-30-1/+1
|\ \ | | | | | | | | | git://github.com/Sambruk/fixmystreet
| * | Fixes the To header when sending emails about inactive accounts.Joe Siltberg2020-03-26-1/+1
| |/ | | | | | | | | | | | | Without the brackets the user's name was interpreted as a separate recipient. Fixes #2935
* / [Bristol] Update URL for map tilesChris Mytton2020-03-26-2/+2
|/
* Add Highways England junction lookupChris Mytton2020-03-12-0/+42
| | | | | | | This is taken from the sort-my-sign repo. It allows the user to search for motorways names and junction numbers, e.g. "M60, Junction 2", and then geocodes that using a SQLite database created from Highways England markerpost locations.
* Merge branch 'uk-council-no-edit-superuser'Matthew Somerville2020-03-11-1/+5
|\
| * [UK Councils] Superusers cannot be edited by staffMatthew Somerville2020-03-09-1/+5
| |
* | Merge branch 'norwich-norfolk'Matthew Somerville2020-03-11-9/+0
|\ \
| * | [UK] Norwich/Norfolk highways agreement now ended.Matthew Somerville2020-03-10-9/+0
| | |
* | | A number of warnfixes in tests.Matthew Somerville2020-03-09-2/+3
|/ /
* / order unsent reports in admin summary by confirmedStruan Donald2020-03-09-0/+3
|/ | | | | Make it a bit easier to see if any reports have been sitting unsent for some time
* Version 3.0.v3.0Matthew Somerville2020-03-04-3/+3
|
* Use existing loc() so translations find strings.Matthew Somerville2020-03-04-12/+2
| | | | | The gettext-extract script looks for loc() in templates, it did not find the loc_js() calls.
* [UK] Use staging hosts on some staging sites.Matthew Somerville2020-03-03-1/+2
|
* Merge branch 'check-filter_category-on-new'Matthew Somerville2020-02-28-0/+2
|\
| * Also check filter_category for category choice.Matthew Somerville2020-02-26-0/+2
| | | | | | | | | | | | | | If you submit the non-JS image map from an around page with a particular category selected, that is sent to the server in filter_category and should be checked to see if we can pre-fill the category dropdown on new report.
* | Merge branch 'admin-only-categories'Matthew Somerville2020-02-27-66/+56
|\ \
| * | Add a new "staff" contact state.Matthew Somerville2020-02-26-6/+27
| | | | | | | | | | | | | | | This state will appear when reporting if you are logged in as a staff member of the relevant body, but otherwise not appear on the site.
| * | [IsleOfWight] Factor together some identical code.Matthew Somerville2020-02-26-51/+12
| | |
| * | [Bexley,TfL] Search all contacts for groups.Matthew Somerville2020-02-26-2/+2
| | | | | | | | | | | | Might be exporting data for old categories.
| * | Fix password setting in createsuperuser script.Matthew Somerville2020-02-26-7/+15
| |/
* | Use ManifestTheme theme_colour for front page theme-color meta tagDave Arter2020-02-26-33/+47
| |
* | Cache available icons for front pageDave Arter2020-02-26-21/+38
| | | | | | | | This saves hammering the FS for every front page request
* | Show available cobrands in dropdown on FMSDave Arter2020-02-26-6/+7
| | | | | | | | | | | | | | For some reason switching to a Select stopped the update_model changes being applied when persisting the model, meaning the INSERT query failed because the cobrand column was null. This commit switches to a hidden input field for the cobrand which I’m not super keen on, but it does get the job done...
* | Add manifest icon management to admin formsDave Arter2020-02-26-4/+62
| |
* | Add admin UI for configuring manifest themeDave Arter2020-02-26-0/+115
| |
* | Use cobrand manifest icons as iOS icons, if presentDave Arter2020-02-26-18/+31
| |
* | Optional logging of unsuccessful location searchesZarino Zappia2020-02-26-0/+26
| | | | | | | | | | | | | | | | | | If a SQLite file exists at `../data/analytics.sqlite` with a table named `location_searches_with_no_results`, then a row will be created for each /around search that returns no results. Could come in useful for anybody running an instance and looking to better understand how well their geocoder is performing.
* | Fix error hiding user's updates with no confirmed.Matthew Somerville2020-02-26-0/+1
|/ | | | | | If a user had no confirmed updates, but did have e.g. an unconfirmed update that had mark_fixed set, you would get an error when trying to hide the user's reports/updates.
* [TfL] Restrict all reports areas to London.Matthew Somerville2020-02-24-1/+18
|
* [TfL] Allow bus stop reports outside London.Matthew Somerville2020-02-24-6/+57
| | | | | | | | | | | | | After this change, you can safely add the TfL body to other councils (namely the ones surrounding London that include TfL bus stops); clicking in those councils on other cobrands will have no change, as the TfL body will be fully ignored on a non-London council, but on the TfL cobrand it will allow it for e.g. the selection of bus stops outside London. It removes the body rather than just all its categories to prevent a "We do not have details of the other body covering this area" message appearing.
* [Peterborough] Don't send private_land info to open311Chris Mytton2020-02-20-1/+2
| | | | | | This field is shown in the FMS interface, but doesn't need to be sent to open311, it's just to check that the user isn't reporting problems on private land.