| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
| |
The gettext-extract script looks for loc() in templates, it did not find
the loc_js() calls.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | | |
Might be exporting data for old categories.
|
| |/ |
|
| | |
|
| |
| |
| |
| | |
This saves hammering the FS for every front page request
|
| |
| |
| |
| |
| |
| |
| | |
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...
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is needed to route reports correctly when using the "Multi"
backend.
|
|
|
|
|
| |
We need the FMS ID so we can send it through to ezytreev, as that
matches updates to existing reports using the FMS ID.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
All servers connected to are using 39.37.
|
| | |
|
| |
| |
| |
| | |
Use Northamptonshire map tiles via WMS.
|
| | |
|
|/
|
|
|
| |
Basic config and setup files for using WMS based map tiles. These still
require config in appropriate cobrand perl and javascript files
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Reads information from a theme object if present, and icons from a
theme directory, with fallbacks.
|
| | |
|
|/
|
|
| |
Not caught by test because App is loaded in tests.
|
|\ |
|
| | |
|
|/
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
This reverts commit c82b1734cd2b5f224e3d4779972e4dcdefb41c7f.
|
|\ \
| |/
|/| |
|