masto-fe/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 Optimize account search (#2421) 2017-04-25 04:44:43 +02:00
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 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 Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
fetch_atom_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
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 Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
fetch_remote_status_service_spec.rb Fix #54 - Fetch remote accounts by URL from mentions 2016-09-26 16:44:40 +02:00
follow_remote_account_service_spec.rb Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
follow_service_spec.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
mute_service_spec.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
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 Specs for precompute feed service (#3142) 2017-05-19 16:21:52 +02:00
process_feed_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
process_interaction_service_spec.rb Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
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 Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 2017-05-05 17:26:04 +02:00
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 domain service specs/refactor (#2867) 2017-05-07 14:44:28 +02:00
unblock_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unfollow_service_spec.rb Adding more unit tests. Fixing Salmon slaps XML 2017-02-12 17:30:15 +01:00
unmute_service_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly. 2017-03-01 22:31:21 -06:00
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