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
Claire ec059317fa
Fix some link previews being incorrectly generated from other prior links (#16885)
* Add tests

* Fix some link previews being incorrectly generated from different prior links

PR #12403 added a cache to avoid redundant queries when the OEmbed endpoint can
be guessed from the URL. This caching mechanism is not perfectly correct as
there is no guarantee that all pages from a given domain share the same
OEmbed provider endpoint.

This PR prevents the FetchOEmbedService from caching OEmbed endpoint that
cannot be generalized by replacing a fully-qualified URL from the endpoint's
parameters, greatly reducing the number of incorrect cached generalizations.
3 years ago
..
activitypub Add support for fetching Create and Announce activities by URI (#16383) 3 years ago
concerns
keys Fix rubocop config and warnings (#15503) 4 years ago
account_search_service.rb Optimize some regex matching (#15528) 4 years ago
account_statuses_cleanup_service.rb Add feature to automatically delete old toots (#16529) 4 years ago
after_block_domain_from_account_service.rb
after_block_service.rb Fix blocking someone not clearing up list feeds (#16205) 4 years ago
after_unallow_domain_service.rb Change account suspensions to be reversible by default (#14726) 5 years ago
app_sign_up_service.rb Add IP-based rules (#14963) 4 years ago
authorize_follow_service.rb
backup_service.rb Add logging of S3-related errors (#16381) 4 years ago
base_service.rb
batched_remove_status_service.rb Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421) 4 years ago
block_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
block_service.rb
bootstrap_timeline_service.rb Change auto-following admin-selected accounts, show in recommendations (#16078) 4 years ago
clear_domain_media_service.rb
delete_account_service.rb Fix owned account notes not being deleted when an account is deleted (#16579) 4 years ago
deliver_to_device_service.rb
fan_out_on_write_service.rb Fix DMs not appearing into timelines (#15182) 4 years ago
favourite_service.rb Add option to be notified when a followed user posts (#13546) 4 years ago
fetch_link_card_service.rb Fix some RedisLocks auto-releasing too fast (#16276) 4 years ago
fetch_oembed_service.rb Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
fetch_remote_status_service.rb
fetch_resource_service.rb
follow_service.rb Fix empty home feed before first follow has finished processing (#16152) 4 years ago
import_service.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
move_service.rb
mute_service.rb Add duration parameter to muting. (#13831) 4 years ago
notify_service.rb Refactor notifications to go through a separate stream in streaming API (#16765) 3 years ago
post_status_service.rb Fix scheduled statuses decreasing statuses counts (#16791) 3 years ago
precompute_feed_service.rb Refactor feed manager (#14761) 5 years ago
process_hashtags_service.rb Change trending hashtags to be affected be reblogs (#16164) 4 years ago
process_mentions_service.rb Remove spam check and dependency on nilsimsa gem (#16011) 4 years ago
reblog_service.rb Change trending hashtags to be affected be reblogs (#16164) 4 years ago
reject_follow_service.rb
remove_from_followers_service.rb Add remove from followers api (#16864) 3 years ago
remove_status_service.rb Fix scoped order warning in RemoveStatusService (#16531) 4 years ago
report_service.rb Fix reports of already suspended accounts being recorded (#16047) 4 years ago
resolve_account_service.rb Fix remotely-suspended accounts' toots being merged back into timelines (#16628) 4 years ago
resolve_url_service.rb Improve searching for private toots from URL (#14856) 4 years ago
search_service.rb Optimize some regex matching (#15528) 4 years ago
suspend_account_service.rb Fix remote reporters not receiving suspend/unsuspend activities (#16050) 4 years ago
tag_search_service.rb
unallow_domain_service.rb
unblock_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsuspend_account_service.rb Fix remotely-suspended accounts' toots being merged back into timelines (#16628) 4 years ago
update_account_service.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 5 years ago
verify_link_service.rb
vote_service.rb