aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Moderate.pm
Commit message (Collapse)AuthorAgeLines
* Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-1/+2
|
* Allow cobrands to disable moderation emailsDave Arter2017-11-22-1/+1
| | | | | | | This adds a new send_moderation_notifications method which can be overridden by cobrands to prevent “your report has been moderated” emails from being sent. Fixes mysociety/fixmystreet-commercial#936
* Tidy up report page permission checkings.Matthew Somerville2017-10-18-4/+1
|
* log all state changes in admin as commentsStruan Donald2017-10-16-1/+1
| | | | | | | | | | | | Create a comment on a problem when the admin is used to change the state of the problem. If only the state is changed then create a comment with blank text. If the category and state are changing then include details of the category change in the comment. Not all the state changes are displayed at the template level by default. Fixes #1846
* Adapt things that assume email will be present.Matthew Somerville2017-09-30-13/+15
| | | | | | This includes stopping some emails being sent (moderation, alert, questionnaire), dealing with Open311/email report sending, and tokenised_url.
* do not replace deleted text with [...] when moderatingStruan Donald2017-07-27-26/+3
| | | | | | | | Replacing deleted text with [...] when moderating reports and comments leads to very odd looking reports when correcting minor typos so just leave the text as deleted. Fixes #1774
* Use name at time of moderation, include superusersMatthew Somerville2017-03-14-2/+7
| | | | This works better if e.g. a user stops being associated with a body.
* Remove from_body requirement from User::has_permission_toDave Arter2016-09-20-1/+1
|
* Direct report moderated emails correctly.Matthew Somerville2016-08-10-7/+3
|
* Improve CSRF tokens and add to more forms.Matthew Somerville2016-06-20-0/+2
|
* Add default sender to send_email_cron.Matthew Somerville2015-08-19-4/+0
| | | | | Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email.
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-13/+13
| | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref.
* Version 1.5.2.v1.5.2Matthew Somerville2014-12-17-1/+6
| | | | | | | Includes: * [UK] Don't show topic form field when reporting abuse. * Use token in moderation response URL to prevent hidden report leak. * Make sure successful submission page is full width.
* Remove unused variable.Matthew Somerville2014-11-07-1/+0
| | | | | Also, s///r isn't present in 5.10, and FixMyStreet should still install on squeeze.
* Tests for moderationHakim Cassimally2014-08-14-1/+1
|
* Report moderationHakim Cassimally2014-08-13-0/+365
- redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log