docbrown/app/views
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
..
additional_content_boxes Refactor ProfileImage (#5803) 2020-02-07 08:56:16 -05:00
admin/application Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
api/v0 Move user following suggestions to internal API (#6601) [deploy] 2020-03-13 13:37:24 +01:00
articles Crayons'ifizing Header (#6780) [deploy] 2020-03-26 12:21:53 -04:00
badges Added title attribute for Badges (#5201) 2019-12-27 10:40:29 -05:00
blocks Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
chat_channels Upgrade to webpacker/webpack 4 and Babel 7 (#6664) 2020-03-17 08:20:36 -04:00
classified_listings Upgrade to webpacker/webpack 4 and Babel 7 (#6664) 2020-03-17 08:20:36 -04:00
comments Validate file uploads client-side (#6737) 2020-03-24 09:21:49 +01:00
credits Add new font and theme config, plus new navbar config option (#4462) 2019-10-24 08:38:46 -04:00
dashboards Lower the minimum number of page views (#6728) 2020-03-20 10:26:59 -04:00
devise Allow communities to dictate authentication providers (#6639) [deploy] 2020-03-18 16:41:39 -04:00
doorkeeper add styling for oauth page (#4108) 2019-09-25 12:00:45 -07:00
downloads Add android and ios apps download page (#3736) (#3798) 2019-08-22 21:04:58 -04:00
email_subscriptions Fix linting issues in app/views/email_subscriptions (#1859) [ci skip] 2019-02-25 12:50:41 -05:00
events Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
feedback_messages Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
fields Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
followings Move followings to internal API (#6494) 2020-03-06 19:33:26 +01:00
github_repos [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05:00
homepage Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
html_variants Campaign settings (#6141) [deploy] 2020-02-18 11:02:09 -06:00
internal [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
layouts Crayons'ifizing Header (#6780) [deploy] 2020-03-26 12:21:53 -04:00
liquid_embeds Fix style issues on liquid tag embed page (#6445) [deploy] 2020-03-04 10:40:34 -05:00
liquids Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers only show link to original commentable if it exists (#6810) [deploy] 2020-03-24 10:13:41 -05:00
moderations Upgrade to webpacker/webpack 4 and Babel 7 (#6664) 2020-03-17 08:20:36 -04:00
notifications Allow users to opt-out of welcome notifications (#6852) [deploy] 2020-03-26 11:26:19 -07:00
onboardings Upgrade to webpacker/webpack 4 and Babel 7 (#6664) 2020-03-17 08:20:36 -04:00
organizations Replacing theme variables (#6682) 2020-03-24 15:05:35 +01:00
pages Crayons'ifizing Header (#6780) [deploy] 2020-03-26 12:21:53 -04:00
partnerships Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
podcast_episodes Remove Unused JS file and Algolia References (#6750) [deploy] 2020-03-20 16:33:15 -05:00
podcasts Validate file uploads client-side (#6737) 2020-03-24 09:21:49 +01:00
pro_memberships Consistently use cache_key_heroku_slug (#6495) 2020-03-06 16:35:35 -05:00
reading_list_items Upgrade to webpacker/webpack 4 and Babel 7 (#6664) 2020-03-17 08:20:36 -04:00
response_templates [deploy] Add response templates to user settings (#6823) 2020-03-26 14:48:00 -04:00
service_worker Add logo_png SiteConfig for manifest etc. use (#6760) [deploy] 2020-03-23 14:31:41 +01:00
shared Add SRI Support (#4658) [deploy] 2019-12-06 08:35:37 -05:00
shell Add logo_png SiteConfig for manifest etc. use (#6760) [deploy] 2020-03-23 14:31:41 +01:00
sitemaps Update lastmod for generated sitemap (#6738) [deploy] 2020-03-19 18:59:36 -04:00
social_previews Changed shecoded preview template (#6475) 2020-03-05 18:26:28 -05:00
stories Create primary_sticker_image_url in SiteConfig (#6746) [deploy] 2020-03-23 14:55:18 -04:00
stripe_subscriptions Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
tags Replacing theme variables (#6682) 2020-03-24 15:05:35 +01:00
twitch_live_streams Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
users Use dynamic community name rather than hardcoding "DEV" (#6893) 2020-03-26 15:38:49 -04:00
videos Allow community admins to alter site description (#6662) [deploy] 2020-03-16 15:34:49 -04:00