aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin/bodies.t
Commit message (Collapse)AuthorAgeLines
* prevent editing of category names with hardcoded flagStruan Donald2020-10-28-0/+65
| | | | | | | | | | | | 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
* Show all category history even if category renamedM Somerville2020-10-07-0/+1
|
* Don’t strip all spaces from Open311 categories.M Somerville2020-10-02-1/+2
| | | | | | 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.
* [UK] Show message if site-wide update disallowed.Matthew Somerville2020-07-14-0/+27
|
* admin interface for per category anonymous reportingStruan Donald2020-05-12-0/+34
| | | | | | | | 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.
* Merge branch 'tfl-category-restrictions'Matthew Somerville2020-05-12-0/+10
|\
| * Add assigned_(users|categories)_only functionalityMatthew Somerville2020-05-08-0/+10
| | | | | | | | | | | | | | | | 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.
* | Disable rename on unprotected Open311 categories.Matthew Somerville2020-05-11-0/+2
|/ | | | | | 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 way to disallow report reopening in a categoryMatthew Somerville2020-05-07-0/+11
| | | | | Add a tickbox to the category admin, and do not allow reopening on reports made in the selected categories.
* Add ability to disallow updates in a category.Matthew Somerville2020-05-06-0/+11
| | | | | Add a tickbox to the category admin, and do not allow updates on reports made in those selected categories.
* Add contact flag to protect category/group names from Open311 changesDave Arter2020-04-28-0/+11
| | | | | | | 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
* Scrub admin description fields.Matthew Somerville2020-01-09-2/+2
|
* Replace use of FixMyStreet::App with DB in tests.Matthew Somerville2019-11-22-4/+4
|
* Add user admin log page.Matthew Somerville2019-11-08-0/+7
|
* Allow editing of category name.Matthew Somerville2019-10-25-1/+16
|
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-4/+21
|\
| * Add top disable-form field to admin category form.Matthew Somerville2019-09-30-0/+18
| |
| * Rejig top-level part of admin category form.Matthew Somerville2019-09-30-4/+3
| | | | | | | | Co-Authored-By: Zarino Zappia <mail@zarino.co.uk>
* | [Zurich] Allow external body to link to a categoryMatthew Somerville2019-09-30-2/+2
|/
* Allow contact send method to be unset always.Matthew Somerville2019-09-05-0/+18
| | | | | | 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.
* admin interface for adding multiple groups to a categoryStruan Donald2019-06-17-1/+31
|
* configure category_groups via COBRAND_FEATURESStruan Donald2019-06-17-8/+3
| | | | | Rather than have a method in the Cobrand module use the COBRAND_FEATURES section of the config file.
* Enable editing of category group in adminDave Arter2018-06-26-1/+52
| | | | Fixes mysociety/fixmystreetforcouncils#275
* admin UI to configure fetch_all_problems Open311 optionStruan Donald2018-04-11-0/+39
| | | | | | 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.
* Split up admin test file into many separate files.Matthew Somerville2018-01-31-0/+165