docbrown/app/errors
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
..
authentication Prevent suspended users from self-deleting and returning (#12503) 2021-02-11 09:28:59 +07:00
fastly_config.rb [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
liquid_tags.rb [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
payments.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
search.rb Centralize search error handling (#6227) [deploy] 2020-02-25 14:03:49 -05:00
subclass_responsibility.rb [deploy] Authentication refactoring - step 1 (#7259) 2020-04-15 12:13:10 -04:00
unauthorized_error.rb Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
uninferrable_decorator_error.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00