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
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.
7 years ago
..
activitypub Update remote ActivityPub users when fetching their toots (#5545) 7 years ago
concerns Introduce OStatus::TagManager (#5008) 7 years ago
pubsubhubbub Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) 7 years ago
account_search_service.rb Fix an error when a user tries to search nonexistent remote user (regression from #4275) (#4400) 7 years ago
after_block_service.rb Optimize MuteService and AfterBlockService (#2836) 8 years ago
authorize_follow_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
base_service.rb Remove unused AtomBuilderHelper (#1364) 8 years ago
batched_remove_status_service.rb Non-Serial ("Snowflake") IDs (#4801) 7 years ago
block_domain_from_account_service.rb Add buttons to block and unblock domain (#3127) 8 years ago
block_domain_service.rb Admin interface for listing, adding and removing custom emojis (#5002) 7 years ago
block_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
bootstrap_timeline_service.rb Default follows for new users (#4871) 7 years ago
fan_out_on_write_service.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 7 years ago
favourite_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
fetch_atom_service.rb Fix regression in FetchRemoteResourceService (#5217) 7 years ago
fetch_link_card_service.rb Don't capture scheme-less URLs in the status (#5435) 7 years ago
fetch_remote_account_service.rb Validate id of ActivityPub representations (#5114) 7 years ago
fetch_remote_resource_service.rb Fix regression in FetchRemoteResourceService (#5217) 7 years ago
fetch_remote_status_service.rb Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372) 7 years ago
follow_service.rb Default follows for new users (#4871) 7 years ago
mute_service.rb Follow up to #5172, clean up notifications after mute like after block (#5198) 7 years ago
notify_service.rb Fix #4172 - Mutes now block notifications (#4300) 7 years ago
post_status_service.rb Instantiate service classes for each call (fixes #5540) (#5543) 7 years ago
precompute_feed_service.rb Non-Serial ("Snowflake") IDs (#4801) 7 years ago
process_feed_service.rb Set snowflake IDs for backdated statuses (#5260) 7 years ago
process_hashtags_service.rb Unify the method of extracting tags (#3138) 8 years ago
process_interaction_service.rb Introduce OStatus::TagManager (#5008) 7 years ago
process_mentions_service.rb Do not process undeliverable mentions (#5598) 7 years ago
reblog_service.rb Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739) 7 years ago
reject_follow_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
remove_status_service.rb Non-Serial ("Snowflake") IDs (#4801) 7 years ago
resolve_remote_account_service.rb Validate id of ActivityPub representations (#5114) 7 years ago
search_service.rb Add specs (and refactor) of FetchRemoteResourceService and SearchService (#2812) 8 years ago
send_interaction_service.rb Close connection when succeeded posting (#5390) 7 years ago
subscribe_service.rb Close connection when succeeded posting (#5390) 7 years ago
suspend_account_service.rb Fix account delete form not accepting password, update suspended (#3745) 7 years ago
unblock_domain_service.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 7 years ago
unblock_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
unfavourite_service.rb Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
unfollow_service.rb Make "unfollow" undo pending outgoing follow request too (#4781) 7 years ago
unmute_service.rb Fix #231 - Muting 8 years ago
unsubscribe_service.rb Close connection when succeeded posting (#5390) 7 years ago
update_account_service.rb authorize-follow-requests-after-unlocking (#4658) 7 years ago
update_remote_profile_service.rb Account deletion (#3728) 7 years ago
verify_salmon_service.rb Introduce OStatus::TagManager (#5008) 7 years ago