aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Admin
Commit message (Collapse)AuthorAgeLines
* [Bexley] Resend on nearly all category changes.Matthew Somerville2020-01-08-1/+1
| | | | | The only exception is when the category change is between two categories in the same Symology database, in which case we do not want to resend.
* [Bexley] Allow resending, still hide resend buttonMatthew Somerville2020-01-08-1/+1
|
* Clear any categories from user when unsetting from_bodyDave Arter2020-01-06-0/+2
| | | | This was most likely the cause of #2815.
* [TfL] Resend report upon category change.Matthew Somerville2019-12-09-0/+4
|
* Group categories on response template edit page, if cobrand allowsDave Arter2019-12-09-0/+2
|
* Group categories on user edit page, if cobrand has grouping enabledDave Arter2019-12-09-0/+2
|
* Add user admin log page.Matthew Somerville2019-11-08-0/+32
|
* Store a moderation history on admin report edit.Matthew Somerville2019-11-08-1/+16
|
* Add admin log entry for more objects and things.Matthew Somerville2019-11-08-17/+20
| | | | | Namely templates, roles, bodies, categories, various user edits, and when using the inspect form and changing category.
* Refactor user controller to use chained action.Matthew Somerville2019-11-08-9/+14
|
* Factor out admin reports code to own controller.Matthew Somerville2019-11-08-1/+501
|
* Factor out admin template code to own controller.Matthew Somerville2019-11-08-0/+176
|
* Merge branch 'remove-extra-cat-heading'Matthew Somerville2019-10-31-2/+1
|\
| * Sort reporting categories in display order.Matthew Somerville2019-10-31-2/+1
| |
* | Remove unused inspection required/reputation code.Matthew Somerville2019-10-28-37/+0
|/
* [BANES] Override category display name.Matthew Somerville2019-10-25-2/+3
|
* Allow editing of category name.Matthew Somerville2019-10-25-1/+17
|
* Make contact edit note optional on staging sites.Matthew Somerville2019-10-25-1/+1
|
* Refactor admin body creation/editing together.Matthew Somerville2019-10-25-153/+154
|
* Refactor Reports controller a bit.Matthew Somerville2019-10-14-0/+1
| | | | | Split load_and_group_problems in two, split out category list/map setup, and factor out sort stash setting. No actual changes.
* [Oxfordshire] Remove unused Exor RDI code.Matthew Somerville2019-10-10-81/+0
|
* Merge branch '2469-improve-admin-category-form'Matthew Somerville2019-09-30-0/+16
|\
| * Add top disable-form field to admin category form.Matthew Somerville2019-09-30-0/+16
| |
* | Merge branch 'zurich-staging'Matthew Somerville2019-09-30-1/+5
|\ \
| * | [Zurich] Allow external body to link to a categoryMatthew Somerville2019-09-30-1/+5
| |/
* | [IsleOfWight] do not send comment recording triage actionStruan Donald2019-09-27-1/+2
| | | | | | | | | | This is only used for audit purposes on FixMyStreet and not required in Confirm.
* | do not send triage comments in alertsStruan Donald2019-09-27-1/+14
| | | | | | | | | | | | add a check into the Alerts script to skip comments that have `triage_report` set in extra. Otherwise we send these our in new_updates alerts.
* | [IsleOfWight] add an admin interface to triage reportsStruan Donald2019-09-27-0/+149
|/ | | | | | | | | | | | | | | | | | On reports with a state of `for_triage` override the `_inspect.html` template to display one which allows only allows the user to change the category from one with a 'Triage' send_method to a non Triage send_method. When saved this records a comment with the original category and the category it was triaged to. This is hidden from the site as it's only used for audit purposes and sending over Open311. This assumes that the triage categories have the same names as the groups of the confirm categories. It uses this to select the first confirm category in the group corresponding to the triage category. This also makes the sidebar geolocation onclick handler check for the presence of the button, as the triage inspect form does not have it.
* Allow contact send method to be unset always.Matthew Somerville2019-09-05-1/+1
| | | | | | 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.
* Redirect correctly after editing user to remove them from cobrandDave Arter2019-08-07-2/+15
|
* Allow password hash setting in user import.Matthew Somerville2019-07-10-10/+10
|
* admin interface for adding multiple groups to a categoryStruan Donald2019-06-17-2/+7
|
* Move ResponsePriority admin to HTML::FormHandler.Matthew Somerville2019-06-07-72/+68
|
* Some small Roles fixes.Matthew Somerville2019-06-07-4/+7
| | | | | | Code: Prefetch body data to reduce queries, remove an unused variable. Form: Move outer <ul> class to form from widget, and include <li>. Template: Escape role.name, and mark "Create" for translation.
* Add role to users from admin user list page.Matthew Somerville2019-05-28-0/+17
|
* User import allowing roles.Matthew Somerville2019-05-28-8/+19
|
* Add role search to users page.Matthew Somerville2019-05-28-20/+44
|
* Add way to pick role for a user.Matthew Somerville2019-05-28-10/+42
|
* Add Role adding/editing/deleting admin.Matthew Somerville2019-05-28-0/+96
|
* Fix uses of != instead of not_in.Matthew Somerville2019-05-28-4/+4
|
* Consistent status message block.Matthew Somerville2019-05-28-2/+1
|
* Show field entries if error on add user formMatthew Somerville2019-05-28-4/+5
|
* Remove need for add detachMatthew Somerville2019-05-28-1/+0
|
* If report hidden, also purge update photos cache.Matthew Somerville2019-05-07-1/+1
|
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-3/+3
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-8/+6
|
* Make sure MapIt generation always used if given.Matthew Somerville2019-04-01-2/+6
|
* Add DateRange class.Matthew Somerville2019-03-04-7/+9
| | | | | This simplifies the places where a date range is used; it also makes Dashboard date parsing more flexible.
* Fix admin index body dropdown redirect.Matthew Somerville2019-02-26-2/+2
|
* Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-0/+1159
|