]> cat aescling's git repositories - mastodon.git/commit
Account deletion (#3728)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 14 Jun 2017 16:01:27 +0000 (18:01 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 16:01:27 +0000 (18:01 +0200)
commit4a618908e836ecb94f70e99f2198ee7b3ba3b2ec
treef2a02c2deaf9c1af2b53dae705cc652f83e08db7
parenta208e7d65581168cda04be543742f302a162ac1a
Account deletion (#3728)

* Add form for account deletion

* If avatar or header are gone from source, remove them

* Add option to have SuspendAccountService remove user record, add tests

* Exclude suspended accounts from search
15 files changed:
app/controllers/settings/deletes_controller.rb [new file with mode: 0644]
app/javascript/styles/admin.scss
app/javascript/styles/forms.scss
app/models/account.rb
app/models/form/delete_confirmation.rb [new file with mode: 0644]
app/services/suspend_account_service.rb
app/services/update_remote_profile_service.rb
app/views/auth/registrations/edit.html.haml
app/views/settings/deletes/show.html.haml [new file with mode: 0644]
app/workers/admin/suspension_worker.rb
config/locales/en.yml
config/locales/simple_form.ru.yml
config/navigation.rb
config/routes.rb
spec/controllers/settings/deletes_controller_spec.rb [new file with mode: 0644]