| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
If a category has hardcoded set to 1 in it's extra metadata then prevent
the name being edited in the admin. This is to avoid issues where the
name of the category is used in e.g. layers or other configuration and
changing it breaks things.
Also includes admin interface for setting this that is restricted to
super users only.
Fixes mysociety/fixmystreet-commercial#1992
|
| |
|
|
|
|
|
|
| |
If a category’s send method is Open311, only strip spaces from the
ends of the code. We are aware of active Open311 servers that have
codes with spaces in the middle.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Co-Authored-By: Zarino Zappia <mail@zarino.co.uk>
|
|/ |
|
|
|
|
|
|
| |
If a body was set to Open311, and a contact set to Email, it was
impossible to unset the contact's send method and set an Open311
code, because it would always demaned a valid email address.
|
| |
|
|
|
|
|
| |
Rather than have a method in the Cobrand module use the COBRAND_FEATURES
section of the config file.
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#275
|
|
|
|
|
|
| |
UI to update the fetch_all_problems setting in extra for a body. This also
adds handling for extra body values in the Admin in a similar manner to the
way other body params are handled.
|
|
|