| Commit message (Collapse) | Author | Age | Lines |
| |
|
|\ |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Not sure why this margin was even here. Appears to have been
present since the original FMS redesign in 2012.
|
|/ |
|
|
|
|
| |
Fixes #3003.
|
|\ |
|
| |
| |
| |
| |
| | |
The export flow and the admin search request more data
from the database than they need, which slows it down.
|
| | |
|
| | |
|
|/
|
|
|
|
| |
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.
|
|\ \ \
| | | |
| | | |
| | | | |
'2962-pin-move-category-group' and 'move-admin-index-stats-to-stats-page'
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
If the same category is in multiple groups, upon moving the pin and
fetching new categories from the server it would then pick the last
instance of that category in the list. Instead of using val(), pick
the correct entry in the previously selected optgroup.
|
| |/
| |
| |
| |
| |
| |
| | |
If a category is marked private, new reports are always marked private
regardless of the setting of the private checkbox shown to relevant
staff when making a new report. So tick/disable this box in that
situation to prevent any confusion.
|
|/
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Order the response templates query by external status code so if you
have an update with an external status code the response template
matching that is always used. Previously with the database left to
determine the order it could pick a response template with a matching
state rather than a matching external status.
|
|
|
|
|
| |
Make them take start/end hour arguments, cope if only one given,
optional body, and combine them together in one `fetch` script.
|
|
|
|
| |
This covers response templates, roles, and staff users.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add a sudo rule to permit the `fms` user to run `install_packages` if
necessary.
|
|
|
|
|
| |
Make it a bit easier to see if any reports have been sitting unsent for
some time
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a script, `bin/install_packages`, that will install packages
listed in versions of `conf/packages*` and calls it from the bootstrap
script in a way appropriate to the environment it is being run under.
This should ensure that, for example, changes to dependencies will be
applied to Vagrant machines in-between tagged releases.
The default packages file used will be `packages.generic`.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
For #2668.
|
|\ |
|
| |
| |
| |
| | |
Includes an updated version of jquery-multi-select.
|
|\ \ |
|
| |/ |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
When going back to the initial state with popstate, a change event was
being triggered on every single option of the filter selects. This led
to a lot of change events running on the category/status multi-selects
which then needlessly repeated the same activities over and over. This
locked up the browser for seconds in locations with many categories.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes a bit of refactoring of PhotoSet::get_image_data to make
it easier to call subsequent methods on the photo object. We then
do this to get the width and height.
Also adds width/height attributes to FixMyStreet::ImageMagick
Attributes are updated every time the image is transformed and before
the as_blob data, which also undefs the image, is returned so it always
present for subsequent calls.
Fixes #2394.
|
|
|
|
|
|
|
| |
To avoid issues with autogenerated updates in the bodies back-end
happening quicker that the back-end returns the external_id to us ignore
the check for comment being earlier than the last update if it's the
first comment.
|