mastodon/app/controllers
Eugen Rochko f1ab70649b Add buttons to block and unblock domain (#3127)
* Add buttons to block and unblock domain

* Relationship API now returns "domain_blocking" status for accounts,
rename "block entire domain" to "hide entire domain", fix unblocking domain,
do not block notifications from domain-blocked-but-followed people, do
not send Salmons to domain blocked users

* Add test

* Personal domain blocks shouldn't affect Salmon after all, since in this
direction of communication the control is very thin when it comes to
public stuff. Best stay consistent and not affect federation in this way

* Ignore followers and follow request from domain blocked folks,
ensure account domain blocks are not created for empty domain,
and avoid duplicates in validation

* Purge followers when blocking domain (without soft-blocks, since they
are useless here)

* Add tests, fix local timeline being empty when having any domain blocks
2017-05-19 21:05:32 +02:00
..
admin Add filter to AccountFilter (#2968) 2017-05-17 03:00:34 +02:00
api Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
auth Auth sign out (#2511) 2017-05-02 23:37:58 +02:00
concerns Remove unnecessary keep file. (#2902) 2017-05-08 15:01:19 +02:00
oauth
settings
well_known
about_controller.rb
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb use-symbol-in-order (#3081) 2017-05-16 12:10:09 +02:00
api_controller.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
application_controller.rb Error responses cleanup (#2692) 2017-05-01 22:24:36 +02:00
authorize_follows_controller.rb
follower_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
following_accounts_controller.rb Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
home_controller.rb
media_controller.rb
remote_follow_controller.rb Conditional validations no longer accept strings for if/unless (#3124) 2017-05-19 03:11:23 +02:00
statuses_controller.rb
stream_entries_controller.rb
tags_controller.rb