docbrown/spec
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
..
black_box Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
decorators Make definition of new user configurable (#12999) 2021-03-23 14:13:06 +07:00
factories Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
fixtures ✂️ Remove the approvals gem ✂️ (#12978) 2021-03-19 13:28:06 -07:00
generator Add service generator (#11265) 2020-11-10 09:09:35 +07:00
helpers Re-Add Reporter Email Form to /admin/reports (#13011) [deploy] 2021-03-22 08:19:05 -06:00
initializers Fix regression in Honeybadger.config.exceptions.ignore (#12796) 2021-02-23 19:08:29 +01:00
lib Added credits_awarded to badges (#13073) 2021-03-24 11:33:58 +03:00
liquid_tags ✂️ Remove the approvals gem ✂️ (#12978) 2021-03-19 13:28:06 -07:00
mailers Configure badge credits by admins (#13145) 2021-03-30 10:58:48 +03: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 Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
requests Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
routing Add mobile push notifications to Forem (#12419) 2021-03-12 14:08:18 -06:00
serializers/search [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
services Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
support Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
system Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
tasks [15 Min Fix]: Fix incorrect scope used by metrics:overview rake task (#13138) 2021-03-25 17:31:10 -07:00
uploaders Upgrade Rails to 6.1.3.1 (#11333) 2021-04-05 10:39:48 -04:00
view_objects Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
views ✂️ Remove the approvals gem ✂️ (#12978) 2021-03-19 13:28:06 -07:00
workers Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
rails_helper.rb Remove buffer gem and related code: step 1 (#12993) 2021-03-24 09:58:38 +07:00
spec_helper.rb Manually load dotenv in test (#9971) 2020-08-24 20:19:03 +02:00