chinwagsocial/app/javascript/mastodon/features
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
..
account/components Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
account_timeline Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
blocks Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
community_timeline Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
compose Avoid useless renders (#3141) 2017-05-19 20:58:12 +02:00
favourited_statuses Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
favourites Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
follow_requests Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
followers Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
following Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
generic_not_found Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
getting_started Replace inline styles with stylesheet (#3115) 2017-05-19 11:42:54 +02:00
hashtag_timeline Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
home_timeline refactor: Import from react-router/lib (#3117) 2017-05-18 19:14:03 +02:00
mutes Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
notifications Avoid useless renders (#3141) 2017-05-19 20:58:12 +02:00
public_timeline Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
reblogs Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
report Use ES Class Fields & Static Properties (#3008) 2017-05-12 14:44:10 +02:00
status refactor: Import from react-router/lib (#3117) 2017-05-18 19:14:03 +02:00
ui Avoid useless renders (#3141) 2017-05-19 20:58:12 +02:00