This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/services
Eugen Rochko 620d0d8029 Account domain blocks (#2381)
* Add <ostatus:conversation /> tag to Atom input/output

Only uses ref attribute (not href) because href would be
the alternate link that's always included also.

Creates new conversation for every non-reply status. Carries
over conversation for every reply. Keeps remote URIs verbatim,
generates local URIs on the fly like the rest of them.

* Conversation muting - prevents notifications that reference a conversation
(including replies, favourites, reblogs) from being created. API endpoints
/api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute

Currently no way to tell when a status/conversation is muted, so the web UI
only has a "disable notifications" button, doesn't work as a toggle

* Display "Dismiss notifications" on all statuses in notifications column, not just own

* Add "muted" as a boolean attribute on statuses JSON

For now always false on contained reblogs, since it's only relevant for
statuses returned from the notifications endpoint, which are not nested

Remove "Disable notifications" from detailed status view, since it's
only relevant in the notifications column

* Up max class length

* Remove pending test for conversation mute

* Add tests, clean up

* Rename to "mute conversation" and "unmute conversation"

* Raise validation error when trying to mute/unmute status without conversation

* Adding account domain blocks that filter notifications and public timelines

* Add tests for domain blocks in notifications, public timelines
Filter reblogs of blocked domains from home

* Add API for listing and creating account domain blocks

* API for creating/deleting domain blocks, tests for Status#ancestors
and Status#descendants, filter domain blocks from them

* Filter domains in streaming API

* Update account_domain_block_spec.rb
2017-05-19 01:14:30 +02:00
..
concerns
pubsubhubbub Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954) 2017-05-10 02:55:43 +02:00
account_search_service.rb
after_block_service.rb
authorize_follow_service.rb
base_service.rb
block_domain_service.rb
block_service.rb
fan_out_on_write_service.rb
favourite_service.rb
fetch_atom_service.rb
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
fetch_remote_resource_service.rb
fetch_remote_status_service.rb
follow_remote_account_service.rb
follow_service.rb
mute_service.rb
notify_service.rb Account domain blocks (#2381) 2017-05-19 01:14:30 +02:00
post_status_service.rb
precompute_feed_service.rb Add `account_id DESC` to optimize PrecomputeFeedService (#2967) 2017-05-10 20:33:32 +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 Revert HTML CW changes (#3020) 2017-05-13 04:03:43 +02:00
process_interaction_service.rb Fix not rejecting remote URIs when parsing out local IDs (#3012) 2017-05-12 16:47:55 +02:00
process_mentions_service.rb Revert HTML CW changes (#3020) 2017-05-13 04:03:43 +02:00
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb
search_service.rb
send_interaction_service.rb
subscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
suspend_account_service.rb
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsubscribe_service.rb Services specs for subscribe and unsubscribe (#2928) 2017-05-09 00:45:02 +02:00
update_remote_profile_service.rb
verify_salmon_service.rb
warm_cache_service.rb