mastodon/spec/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
..
pubsubhubbub Specs for pubsub subscribe service (#2951) 2017-05-09 20:48:30 +02:00
account_search_service_spec.rb
after_block_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service_spec.rb
block_domain_from_account_service_spec.rb
block_domain_service_spec.rb
block_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
fan_out_on_write_service_spec.rb Quick attempt to get pull requests passing 2017-04-04 12:14:44 -07:00
favourite_service_spec.rb
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb
fetch_remote_account_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
fetch_remote_resource_service_spec.rb
fetch_remote_status_service_spec.rb
follow_remote_account_service_spec.rb Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
follow_service_spec.rb
mute_service_spec.rb
notify_service_spec.rb
post_status_service_spec.rb
precompute_feed_service_spec.rb Specs for precompute feed service (#3142) 2017-05-19 16:21:52 +02:00
process_feed_service_spec.rb
process_interaction_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb
reject_follow_service_spec.rb
search_service_spec.rb
send_interaction_service_spec.rb
subscribe_service_spec.rb
suspend_account_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unfollow_service_spec.rb
unmute_service_spec.rb
unsubscribe_service_spec.rb
update_remote_profile_service_spec.rb