]> cat aescling's git repositories - mastodon.git/commit
Fix domain hiding logic (#7765)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 9 Jun 2018 20:46:54 +0000 (22:46 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Jun 2018 20:46:54 +0000 (22:46 +0200)
commit10f51c9886123982bc9f2a95fba39dd1f24b9a05
tree16be79ea33b963008b9dada14d4454062bf97b96
parent91e5d9f8af3a06c329de4bd603dc904a2a297e15
Fix domain hiding logic (#7765)

* Send rejections to followers when user hides domain they're on

* Use account domain blocks for "authorized followers" action

Replace soft-blocking (block & unblock) behaviour with follow rejection

* Split sync and async work of account domain blocking

Do not create domain block when removing followers by domain, that
is probably unexpected from the user's perspective.

* Adjust confirmation message for domain block

* yarn manage:translations
12 files changed:
app/controllers/api/v1/domain_blocks_controller.rb
app/controllers/settings/follower_domains_controller.rb
app/javascript/mastodon/features/account_timeline/containers/header_container.js
app/javascript/mastodon/locales/defaultMessages.json
app/javascript/mastodon/locales/en.json
app/services/after_block_domain_from_account_service.rb [new file with mode: 0644]
app/services/block_domain_from_account_service.rb [deleted file]
app/workers/after_account_domain_block_worker.rb [new file with mode: 0644]
app/workers/soft_block_domain_followers_worker.rb [deleted file]
app/workers/soft_block_worker.rb [deleted file]
spec/services/after_block_domain_from_account_service_spec.rb [new file with mode: 0644]
spec/services/block_domain_from_account_service_spec.rb [deleted file]