tootlab-mastodon/app/javascript/mastodon
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
..
actions Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
components Avoid useless renders (#3141) 2017-05-19 20:58:12 +02:00
containers refactor: Import from react-router/lib (#3117) 2017-05-18 19:14:03 +02:00
features Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
locales Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
middleware Add boop sounds in Vorbis format (#2963) 2017-05-10 16:58:54 +02:00
reducers Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
selectors Fix snackbar notification stacking order (#2935) 2017-05-09 14:01:29 +02:00
store Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
.gitkeep Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
api.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
emoji.js Show emoji shortname by a tooltip (#2784) 2017-05-04 15:50:09 +02:00
is_mobile.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
link_header.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
main.js Introduce common JavaScript file (#2981) 2017-05-15 20:20:10 +02:00
polyfills.js Add dynamic polyfills for older browsers (#2985) 2017-05-11 11:26:06 +02:00
rtl.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
stream.js Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
uuid.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00