docbrown/app
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
..
assets Make notification hide correctly on click (#6895) [deploy] 2020-03-26 16:33:37 -04:00
black_box Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
controllers [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
dashboards Ignore unused display_ads columns (#6785) 2020-03-25 17:59:53 -04:00
decorators Use scopes for Follow instead of where all the time (#6149) [deploy] 2020-02-25 19:29:52 -05:00
errors Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
fields
helpers Add URL module and article_url, user_url helpers (#6833) 2020-03-25 13:54:45 -04:00
javascript Crayons'ifizing Header (#6780) [deploy] 2020-03-26 12:21:53 -04:00
labor show the nausea emoji when a vomit reaction is displayed (#6882) 2020-03-26 12:21:27 -05:00
lib Add URL module and article_url, user_url helpers (#6833) 2020-03-25 13:54:45 -04:00
liquid_tags Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers Add a form to email users from internal (#6668) 2020-03-17 11:19:42 -04:00
models [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
policies Allow users to opt-out of welcome notifications (#6852) [deploy] 2020-03-26 11:26:19 -07:00
sanitizers
serializers Index comments into FeedContent index (#6791) [deploy] 2020-03-24 09:24:20 -05:00
services [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
uploaders Limit ALL Upload file sizes to 25 MB (#5356) [deploy] 2020-01-07 11:20:40 -05:00
view_objects Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
views [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
workers Log Elasticsearch index counts to Datadog (#6845) [deploy] 2020-03-25 15:52:54 -05:00