docbrown/app/services/search/query_builders
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
..
chat_channel_membership.rb Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
feed_content.rb [deploy] Feature: Serve Reading List from FeedContent Index (#10294) 2020-09-17 17:20:14 -05:00
listing.rb Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
query_base.rb [deploy] Boost Scores For Adjacent Words (#9562) 2020-07-30 15:24:11 +02:00
user.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00