1
0
Fork 0
forked from fedi/mastodon
mastodon/app/services
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
..
concerns Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
pubsubhubbub Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954) 2017-05-10 02:55:43 +02:00
account_search_service.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
after_block_service.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
block_domain_from_account_service.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
block_domain_service.rb Refactor domain_blocks_controller (#2843) 2017-05-06 17:03:34 +02:00
block_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
fan_out_on_write_service.rb Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
favourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
fetch_atom_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
fetch_link_card_service.rb Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +02:00
fetch_remote_account_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
fetch_remote_resource_service.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
fetch_remote_status_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
follow_remote_account_service.rb Handling failed http response (#2823) 2017-05-06 12:55:59 +02:00
follow_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
mute_service.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
notify_service.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
post_status_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
precompute_feed_service.rb Specs for precompute feed service (#3142) 2017-05-19 16:21:52 +02:00
process_feed_service.rb Fetch remote image using http.rb (#3114) 2017-05-18 15:43:10 +02:00
process_hashtags_service.rb Unify the method of extracting tags (#3138) 2017-05-19 20:19:14 +02:00
process_interaction_service.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
process_mentions_service.rb Revert HTML CW changes (#3020) 2017-05-13 04:03:43 +02:00
reblog_service.rb Add "direct" visibility level in the backend. Web UI is not yet 2017-03-15 22:55:45 +01:00
reject_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
remove_status_service.rb Fix wrong pubsub channel on public timelines 2017-04-06 04:03:23 +02:00
search_service.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
send_interaction_service.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
subscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
suspend_account_service.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
unblock_domain_service.rb Unblock domain service specs/refactor (#2867) 2017-05-07 14:44:28 +02:00
unblock_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfavourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfollow_service.rb Fixed NoMethodError in UnfollowService (#1918) 2017-04-16 14:55:43 +02:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
update_remote_profile_service.rb Move account header and avatar methods to a concern (#2825) 2017-05-05 21:37:02 +02:00
verify_salmon_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
warm_cache_service.rb Preheat status cache 2017-02-05 17:24:18 +01:00