docbrown/app
Jacob Herrington a5b2d109d5
Rename banned and comment_banned roles (#12270)
* Rename banned and comment_banned roles

* Add data update script to rename roles containing 'ban'

* Add named error for Suspended users

* Update unidiomatic method names

* Rename misc banned to suspended

* Apply suggestions from code review

Co-authored-by: Michael Kohl <me@citizen428.net>

* Add unit tests for suspended methods

This commit also adds TODO comments for removing banned and
comment_banned from the codebase after data update scripts have
successfully run on all of our Forems.

Co-authored-by: Michael Kohl <me@citizen428.net>
2021-04-06 10:12:14 -05:00
..
assets [15 minute fix] Fix word wrapping on mobile dashboard (#13218) 2021-04-05 14:46:06 -05:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
decorators Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
errors Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
helpers Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
javascript [15 min fix] Allow resize hook to contrain max-height as well as min (#13269) 2021-04-06 12:11:03 +01:00
lib Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
liquid_tags improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
mailers Email confirmation to abuse reports (#12557) 2021-02-03 22:59:50 +03:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
policies Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
queries Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Video max width (#12436) 2021-01-26 15:12:37 +01:00
serializers Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
services Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
uploaders Change frame limit to match imgproxy (#13265) 2021-04-06 12:28:50 +02:00
validators Add validations to SiteConfig model (#12341) 2021-01-26 09:12:24 +07:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
workers reenable article rescoring when moderators flag users (#12983) 2021-03-16 14:04:13 -05:00