docbrown/app/controllers/concerns
Michael Kohl 0af8fc1866
Prevent suspended users from self-deleting and returning (#12503)
* Add new table and model

* Store banned user username hash on delete

* Prevent previously banned user from signing up again

* Update method name

* Refactor code and add more specs

* Test improvements

* Don't override existing global flash

* Fix typo

* Update spec description

* Update schema.rb

* More schema.rb fixes

* Simplify spec

* Update migration

* Clean up migration

* Rename method

* Add DataDog counter

* Revisit error handling

* Remove spurious empty line

* Make model name more explicit
2021-02-11 09:28:59 +07:00
..
.keep Initial commit 2018-02-28 16:11:08 -05:00
caching_headers.rb Developer experience/security: Make dev/test blow up if current_user is used erroneously (#11237) 2020-11-12 11:54:23 -05:00
development_dependency_checks.rb Feature:Notify Devs when Sidekiq is Not Running in Development (#10541) 2020-10-13 12:13:47 -05:00
edge_cache_safety_check.rb Developer experience/security: Make dev/test blow up if current_user is used erroneously (#11237) 2020-11-12 11:54:23 -05:00
image_uploads.rb [deploy] Remove logging of image data to Datadog (#7829) 2020-05-13 16:23:42 -04:00
listings_toolkit.rb Upgrade rubocop* packages to the latest version and fix violations (#11972) 2020-12-21 18:29:43 +01:00
session_current_user.rb Refactor session_current_user_id in a shared concern (#4936) 2019-11-26 13:21:56 -05:00
site_config_params.rb Add config post route for admin api (#11698) 2020-12-22 15:50:34 -05:00
valid_request.rb Upgrade rubocop* packages to the latest version and fix violations (#11972) 2020-12-21 18:29:43 +01:00
verify_setup_completed.rb Prevent suspended users from self-deleting and returning (#12503) 2021-02-11 09:28:59 +07:00