mastodon/app/services
ThibG 84cfee2488 Do not process undeliverable mentions (#5598)
* Resolve remote accounts when mentioned even if they are already known

This commit reduces the risk of not having up-to-date public key or protocol
information for a remote account, which is required to deliver toots
(especially direct messages).

* Do not add mentions in private messages for remote users we cannot deliver to

Mastodon does not deliver private and direct toots to OStatus users, as there
is no guarantee the remote software understands the toot's privacy. However,
users currently do not get any feedback on it (Mastodon won't attempt delivery,
but the toot will be displayed exactly the same way to the user).

This change introduces *some* feedback by not processing mentions that are
not going to be delivered. A long-term solution is still needed to have
delivery receipts or at least some better indication of what is going on, but
at least an user can see *something* is up.
2017-11-07 14:47:39 +01:00
..
activitypub Update remote ActivityPub users when fetching their toots (#5545) 2017-10-30 00:24:16 +09:00
concerns Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
pubsubhubbub
account_search_service.rb
after_block_service.rb
authorize_follow_service.rb
base_service.rb
batched_remove_status_service.rb Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
block_domain_from_account_service.rb
block_domain_service.rb Admin interface for listing, adding and removing custom emojis (#5002) 2017-09-19 03:52:38 +02:00
block_service.rb
bootstrap_timeline_service.rb Default follows for new users (#4871) 2017-09-10 09:58:38 +02:00
fan_out_on_write_service.rb
favourite_service.rb
fetch_atom_service.rb Fix regression in FetchRemoteResourceService (#5217) 2017-10-05 00:21:44 +02:00
fetch_link_card_service.rb Don't capture scheme-less URLs in the status (#5435) 2017-10-17 18:32:25 +02:00
fetch_remote_account_service.rb Validate id of ActivityPub representations (#5114) 2017-10-04 01:13:48 +02:00
fetch_remote_resource_service.rb Fix regression in FetchRemoteResourceService (#5217) 2017-10-05 00:21:44 +02:00
fetch_remote_status_service.rb Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372) 2017-10-13 12:58:13 +02:00
follow_service.rb Default follows for new users (#4871) 2017-09-10 09:58:38 +02:00
mute_service.rb Follow up to #5172, clean up notifications after mute like after block (#5198) 2017-10-04 01:22:33 +02:00
notify_service.rb
post_status_service.rb Instantiate service classes for each call (fixes #5540) (#5543) 2017-10-27 19:08:30 +02:00
precompute_feed_service.rb Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
process_feed_service.rb Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00
process_hashtags_service.rb
process_interaction_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
process_mentions_service.rb Do not process undeliverable mentions (#5598) 2017-11-07 14:47:39 +01:00
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
resolve_remote_account_service.rb Validate id of ActivityPub representations (#5114) 2017-10-04 01:13:48 +02:00
search_service.rb
send_interaction_service.rb Close connection when succeeded posting (#5390) 2017-10-14 14:38:57 +02:00
subscribe_service.rb Close connection when succeeded posting (#5390) 2017-10-14 14:38:57 +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 Close connection when succeeded posting (#5390) 2017-10-14 14:38:57 +02:00
update_account_service.rb
update_remote_profile_service.rb
verify_salmon_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00