| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
encode_json encodes to UTF-8, and then
he output was being encoded again.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
We are getting spam submissions of e.g. alert subscribe form,
which causes people to get a confirmation email.
|
|\ \ \
| |_|/
|/| | |
|
| |/ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
When compiling the reporting category dropdown, only one instance of
each value was used. But if a value appears twice, from two different
bodies, in different groups, it would then not appear in all the groups
it would be expected to. Make sure we update the list of groups of the
category if we come across another with the same value.
|
|
|
|
|
|
|
|
| |
Add an interface to enable a category to accept anonymous reports, plus
the code to handle permitting this.
It's only available on single body cobrand sites in the default
configuration.
|
|
|
|
| |
Include name, email and body rather than just user id.
|
|\ |
|
| |
| |
| |
| |
| | |
Shortlist buttons and extended print information
will not appear where not allowed.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Users with assigned_categories_only will only see staff features on a
report page in their assigned categories.
Users will only see staff features on a report page in a category with
assigned_users_only if it is in their assigned categories.
|
|/
|
|
|
|
| |
If you rename an Open311 category when it is not protected, it will only
get reinstated/deleted by the Open311 populate script shortly after, and
can cause issues due to the problem category renaming that occurs.
|
|
|
|
|
|
| |
The change to join in e16054150 did not include a collapse that the
previous prefetch was doing, so multiple rows per result were being
returned.
|
|
|
|
|
| |
Add a tickbox to the category admin, and do not allow reopening on
reports made in the selected categories.
|
|
|
|
|
| |
Add a tickbox to the category admin, and do not allow updates on
reports made in those selected categories.
|
|\ |
|
| | |
|
|/ |
|
|\ \ \
| | | |
| | | |
| | | | |
'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 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
|
| |
|
|
|
|
| |
New unitary branding, and remove County from name.
|
|
|
|
| |
Use normal contact email, with special override in Area 7.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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 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.
|
|\ |
|
| | |
|