aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* 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.
* [Peterborough] Include service code in open311 updatesChris Mytton2020-02-20-0/+3
| | | | | This is needed to route reports correctly when using the "Multi" backend.
* [Peterborough] Add FMS ID when sending update to open311Chris Mytton2020-02-20-0/+3
| | | | | We need the FMS ID so we can send it through to ezytreev, as that matches updates to existing reports using the FMS ID.
* Merge branch 'tfl-show-tlrn-to-staff'Matthew Somerville2020-02-17-0/+13
|\
| * [TfL] Include borough name in report lists.Matthew Somerville2020-02-17-0/+13
| |
* | “Fix” WMTS inches_per_unit figure.Matthew Somerville2020-02-17-1/+1
| | | | | | | | All servers connected to are using 39.37.
* | Add WM* missing compass parameters.Matthew Somerville2020-02-17-0/+12
| |
* | [Northamptonshire] switch to using custom map tilesStruan Donald2020-02-17-1/+1
| | | | | | | | Use Northamptonshire map tiles via WMS.
* | [Northamptonshire] config files for WMS mapsStruan Donald2020-02-17-0/+85
| |
* | base files for displaying WMS mapsStruan Donald2020-02-17-171/+362
|/ | | | | Basic config and setup files for using WMS based map tiles. These still require config in appropriate cobrand perl and javascript files
* Merge branch 'pwa'Matthew Somerville2020-02-14-22/+114
|\
| * Remove appcache (breaking showing reports from localStorage cache).Matthew Somerville2020-02-14-33/+1
| |
| * Initial service worker.Matthew Somerville2020-02-14-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This basic service worker behaves identically to the existing appcache - some static scripts and CSS are cached, any HTML offline instead returns a static HTML page that knows how to show data on stored problems out of localStorage (stored there when /my/planned was visited online). Inspect form submissions will be captured and can be synced back when online. Once feature parity is established, we will then remove appcache, switch from using localStorage to the cache API, and hopefully move all offline support into the service worker.
| * A basic web manifest starter.Matthew Somerville2020-02-14-3/+71
| | | | | | | | | | Reads information from a theme object if present, and icons from a theme directory, with fallbacks.
| * Add ManifestTheme model for customising web manifestDave Arter2020-02-14-0/+47
| |
* | Fix lookup; App not available when run from scriptMatthew Somerville2020-02-14-1/+1
|/ | | | Not caught by test because App is loaded in tests.
* Merge branch 'allow-anon-on-some-categories'Matthew Somerville2020-02-14-2/+4
|\
| * Allow anonymous reporting on per-category basis.Matthew Somerville2020-02-13-2/+4
| |
* | Link in other-reported email shows private report.Matthew Somerville2020-02-13-4/+36
|/ | | | | Use a token that does not log the user in, but lets the report be shown, even if it's a private report. Allow old tokens of that type to work.
* [Zürich] Fix crash on certain /report/ajax/<id> URLsDave Arter2020-02-10-1/+8
| | | | | | | | | | | | Attempting to load the /report/ajax/<id> URL for a problem that had a public response and wasn't in the ‘external’ state was causing a crash because the call to FixMyStreet::App::View::Web::add_links in updates_as_hashref was returning a FixMyStreet::Template::SafeString that the JSON module didn't know how to serialise. This commit adds a TO_JSON method to SafeString, and ensures the output of /report/ajax is JSON-encoded with convert_blessed turned on so the TO_JSON method is called.
* [TfL] Include borough flytipping categories on red routesDave Arter2020-02-07-9/+22
| | | | | | | | | | | On the TfL cobrand, this treats the 'Flytipping (TfL)' category the same as the existing 'General Litter' and redirects users to fixmystreet.com. On fixmystreet.com, borough flytipping categories are included in those available on red routes. For https://github.com/mysociety/fixmystreet-freshdesk/issues/120
* Allow class attribute to be set on a elements in form fieldsDave Arter2020-02-07-1/+1
| | | | | This is handy for certain inputs that tie in to existing JS in the codebase, e.g. the TfL ‘category disabled’ messages that have a lat/lon appended by JS.
* [UK Councils] Make sure TfL link works everywhere.Matthew Somerville2020-02-06-1/+3
|
* Merge branch 'bexley-ooh-p1-highways'Matthew Somerville2020-02-05-4/+5
|\
| * [Bexley] Highways/covers out-of-hours matching P1.Matthew Somerville2020-02-04-4/+5
| |
* | [UK] Use feature flag for send_questionnaire.Matthew Somerville2020-02-04-11/+10
|/
* Merge remote-tracking branch 'origin/2667-improve-mobile-try-again'Matthew Somerville2020-02-03-0/+12
|\
| * Create helper function for translation template.Matthew Somerville2020-01-31-0/+12
| |
* | [Hounslow,IoW] Revert switch of map type.Matthew Somerville2020-01-31-2/+2
| | | | | | | | This reverts commit c82b1734cd2b5f224e3d4779972e4dcdefb41c7f.
* | Merge branch 'admin-user-logged-preference'Matthew Somerville2020-01-31-2/+2
|\ \ | |/ |/|