docbrown/app/services/users
rhymes ba8b3dd443
[deploy] Add missing dependent clauses to User and cleanup relations (#10011)
* Add dependent: :destroy relation to user.notes

* Add cleanup script for orphaned notes

* Reorder relations and reorganize specs in User

* Update specs as notes are not needed after a user is deleted

* Tweets can just be nullified

* Add other cleanup scripts

* Tell the specs we keep tweets

* Fix comments

* Keep page_views and rating_votes when a user is deleted

* Fix specs
2020-08-28 20:19:24 +02:00
..
cleanup_chat_channels.rb dont delete chat channel memberships multiple times (#6556) 2020-03-09 20:04:40 -04:00
delete.rb [deploy] Delete all users via the DeleteWorker for consistency (#7013) 2020-04-02 19:26:58 -04:00
delete_activity.rb [deploy] Add missing dependent clauses to User and cleanup relations (#10011) 2020-08-28 20:19:24 +02:00
delete_articles.rb Rubocop: enable and fix new Rails cops (#9537) 2020-07-29 11:14:19 +02:00
delete_comments.rb Remove Comment and Article docs From Elasticsearch During User Delete (#7008) 2020-04-01 16:01:16 -04:00
estimate_default_language.rb Social Auth generalization refactor (#9837) 2020-08-17 20:09:44 -04:00
profile_image_generator.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
request_destroy.rb [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00