You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
concerns Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 8 years ago
pubsubhubbub Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954) 8 years ago
account_search_service.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 8 years ago
after_block_service.rb Optimize MuteService and AfterBlockService (#2836) 8 years ago
authorize_follow_service.rb
base_service.rb
block_domain_from_account_service.rb Add buttons to block and unblock domain (#3127) 8 years ago
block_domain_service.rb Refactor domain_blocks_controller (#2843) 8 years ago
block_service.rb
fan_out_on_write_service.rb
favourite_service.rb
fetch_atom_service.rb OEmbed support for PreviewCard (#2337) 8 years ago
fetch_link_card_service.rb Fetch remote image using http.rb (#3114) 8 years ago
fetch_remote_account_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 8 years ago
fetch_remote_resource_service.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 8 years ago
fetch_remote_status_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 8 years ago
follow_remote_account_service.rb Handling failed http response (#2823) 8 years ago
follow_service.rb More robust PuSH subscription refreshes (#2799) 8 years ago
mute_service.rb Optimize MuteService and AfterBlockService (#2836) 8 years ago
notify_service.rb Add buttons to block and unblock domain (#3127) 8 years ago
post_status_service.rb OEmbed support for PreviewCard (#2337) 8 years ago
precompute_feed_service.rb Specs for precompute feed service (#3142) 8 years ago
process_feed_service.rb Fetch remote image using http.rb (#3114) 8 years ago
process_hashtags_service.rb Unify the method of extracting tags (#3138) 8 years ago
process_interaction_service.rb Add buttons to block and unblock domain (#3127) 8 years ago
process_mentions_service.rb Revert HTML CW changes (#3020) 8 years ago
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb
search_service.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 8 years ago
send_interaction_service.rb Add buttons to block and unblock domain (#3127) 8 years ago
subscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 8 years ago
suspend_account_service.rb Delete records in smaller transaction (#2802) 8 years ago
unblock_domain_service.rb Unblock domain service specs/refactor (#2867) 8 years ago
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb Fixed NoMethodError in UnfollowService (#1918) 8 years ago
unmute_service.rb
unsubscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 8 years ago
update_remote_profile_service.rb Move account header and avatar methods to a concern (#2825) 8 years ago
verify_salmon_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 8 years ago
warm_cache_service.rb