docbrown/app/services/users
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
..
approved_liquid_tags.rb Move method #approved_liquid_tags to user service (#10663) 2020-10-07 12:04:08 +07:00
cleanup_chat_channels.rb
create_mascot_account.rb Auto generate mascot accounts (#11380) 2020-11-12 16:33:16 -05:00
delete.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
delete_activity.rb Prevent banned users from using API (#12730) 2021-02-18 17:56:16 -05:00
delete_articles.rb Remove buffer gem and related code: step 1 (#12993) 2021-03-24 09:58:38 +07:00
delete_comments.rb Update bust_user to EdgeCache::BustUser (#12051) 2020-12-29 09:53:00 +01:00
profile_image_generator.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
remove_role.rb Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
request_destroy.rb
safe_remote_profile_image_url.rb Fix failure on blank image URLs passed from oauth (#12390) 2021-01-27 09:34:19 +01:00