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
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 Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
block_domain_from_account_service_spec.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
block_domain_service_spec.rb Domain block service cleanup (#2490) 2017-04-26 20:09:01 +02:00
block_service_spec.rb
fan_out_on_write_service_spec.rb
favourite_service_spec.rb
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088) 2017-05-17 00:41:15 +02:00
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 Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
post_status_service_spec.rb Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents (#2419) 2017-04-25 15:04:49 +02:00
precompute_feed_service_spec.rb
process_feed_service_spec.rb
process_interaction_service_spec.rb
process_mentions_service_spec.rb Fixing some bugs, adding pending test examples 2016-03-05 12:50:59 +01:00
reblog_service_spec.rb Removing external hub completely, fix #333 fixing digit-only hashtags, 2016-12-18 12:24:37 +01:00
reject_follow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
search_service_spec.rb
send_interaction_service_spec.rb Fixing some bugs, adding pending test examples 2016-03-05 12:50:59 +01:00
subscribe_service_spec.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
suspend_account_service_spec.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
unblock_domain_service_spec.rb
unblock_service_spec.rb
unfollow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unmute_service_spec.rb
unsubscribe_service_spec.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
update_remote_profile_service_spec.rb Set correct attachment type for rejected media (#2599) 2017-04-29 00:18:32 +02:00