mastodon/app/services
Eugen Rochko ddd30f331c
Improve support for aspects/circles (#8950)
* Add silent column to mentions

* Save silent mentions in ActivityPub Create handler and optimize it

Move networking calls out of the database transaction

* Add "limited" visibility level masked as "private" in the API

Unlike DMs, limited statuses are pushed into home feeds. The access
control rules between direct and limited statuses is almost the same,
except for counter and conversation logic

* Ensure silent column is non-null, add spec

* Ensure filters don't check silent mentions for blocks/mutes

As those are "this person is also allowed to see" rather than "this
person is involved", therefore does not warrant filtering

* Clean up code

* Use Status#active_mentions to limit returned mentions

* Fix code style issues

* Use Status#active_mentions in Notification

And remove stream_entry eager-loading from Notification
2018-10-17 17:13:04 +02:00
..
activitypub Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
concerns
pubsubhubbub
account_search_service.rb
after_block_domain_from_account_service.rb Get rid of all batch order warnings (#8334) 2018-08-21 12:25:50 +02:00
after_block_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
authorize_follow_service.rb Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244) 2018-08-17 14:08:17 +02:00
backup_service.rb Add favourites to archive takeout (#8351) 2018-08-22 19:33:10 +02:00
base_service.rb
batched_remove_status_service.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
block_domain_service.rb Get rid of all batch order warnings (#8334) 2018-08-21 12:25:50 +02:00
block_service.rb
bootstrap_timeline_service.rb Add autofollow option to invites (#7805) 2018-06-15 18:00:23 +02:00
fan_out_on_write_service.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
favourite_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
fetch_atom_service.rb
fetch_link_card_service.rb Redesign forms, verify link ownership with rel="me" (#8703) 2018-09-18 16:45:58 +02:00
fetch_oembed_service.rb Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669) 2018-09-10 18:26:28 +02:00
fetch_remote_account_service.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
fetch_remote_status_service.rb
follow_service.rb Bump interactions count when a follow happens (#8468) 2018-08-26 20:02:45 +02:00
mute_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
notify_service.rb always allow DMs from staff (#8993) 2018-10-16 19:55:05 +02:00
post_status_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
precompute_feed_service.rb
process_feed_service.rb
process_hashtags_service.rb
process_interaction_service.rb
process_mentions_service.rb Do not process outgoing mentions to suspended accounts (#8272) 2018-08-18 19:42:13 +02:00
reblog_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
reject_follow_service.rb
remove_status_service.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
report_service.rb Add preference for report notification e-mails, skip for duplicates (#8559) 2018-09-02 00:11:58 +02:00
resolve_account_service.rb
resolve_url_service.rb Allow accessing local private/DM messages by URL (#8196) 2018-08-15 19:33:36 +02:00
search_service.rb Allow accessing local private/DM messages by URL (#8196) 2018-08-15 19:33:36 +02:00
send_interaction_service.rb
subscribe_service.rb
suspend_account_service.rb Increase reach of Delete->Actor activities (#8305) 2018-08-20 13:28:05 +02:00
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsubscribe_service.rb
update_account_service.rb Fix VerifyAccountLinksWorker not being queued (#8721) 2018-09-18 23:57:21 +02:00
update_remote_profile_service.rb
verify_link_service.rb Fix link verification for remote accounts (#8868) 2018-10-04 15:47:03 +02:00
verify_salmon_service.rb