docbrown/app/controllers/internal
Jacob Herrington 38d56542eb
[deploy] Moderator and admin actions log (#6797)
* Add audit logging for negative reactions

This change saves requests that create negative reactions to the audit
log. We need to be monitoring admin and moderator actions throughout the
app to increase visiblity on how our tools are being used and identify
abuse.

Additionally, this will help east concerns about giving elevated users
more powerful tools.

* Add a basic UI for moderator audit logs

* Log experience level ratings

* Log tag adjustments

* UI tweaks for moderator actions log

* Add logging to internal reactions controller

* Add logging for admin actions on users and articles

* Add searching to the moderator actions table

* Move audit instrumentation out of concern

We are able to use a PORO here instead of using a Rails concern. Moving
this also makes syntax to audit something quite a bit more explicit and
obvious to future developers

* Change moderator logs pagination page length

* Move auditing to after action filters

* Add moderator actions to the internal navbar

* Add request spec for internal moderator actions

* Use request params to populate AuditLog slug
2020-03-26 16:59:24 -05:00
..
application_controller.rb
articles_controller.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
badges_controller.rb
broadcasts_controller.rb Only send notifications that belong to an active broadcast (#6319) [deploy] 2020-02-27 08:02:45 -08:00
buffer_updates_controller.rb
chat_channels_controller.rb
classified_listings_controller.rb Convert internal listing table view to bootstrap (#6486) 2020-03-06 20:03:24 +01:00
comments_controller.rb
configs_controller.rb Create primary_sticker_image_url in SiteConfig (#6746) [deploy] 2020-03-23 14:55:18 -04:00
events_controller.rb
feedback_messages_controller.rb Add Slack messengers: part 1 (#6748) 2020-03-24 18:45:40 +01:00
growth_controller.rb
moderator_actions_controller.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
mods_controller.rb
negative_reactions_controller.rb Increase the number of negative reactions per page (#6840) 2020-03-25 14:18:24 -04:00
organization_memberships_controller.rb
organizations_controller.rb
pages_controller.rb Add social image to internal/pages form (#6401) [deploy] 2020-03-02 11:38:01 -05:00
permissions_controller.rb
podcasts_controller.rb Fetch podcast's episodes from /internal (#6593) [deploy] 2020-03-11 17:25:12 -04:00
reactions_controller.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
response_templates_controller.rb Add response templates for internal usage (#6676) 2020-03-20 11:32:55 -04:00
sponsorships_controller.rb Started moving sponsorships to /internal (#6355) [deploy] 2020-03-01 12:48:47 -05:00
tags_controller.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
tools_controller.rb
users_controller.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
webhook_endpoints_controller.rb
welcome_controller.rb