chinwagsocial/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.
2021-10-21 20:39:35 +02:00
..
activitypub Add support for fetching Create and Announce activities by URI (#16383) 2021-10-21 01:14:04 +02:00
concerns
keys
account_search_service.rb Optimize some regex matching (#15528) 2021-01-22 10:09:08 +01:00
account_statuses_cleanup_service.rb Add feature to automatically delete old toots (#16529) 2021-08-09 23:11:50 +02:00
after_block_domain_from_account_service.rb
after_block_service.rb Fix blocking someone not clearing up list feeds (#16205) 2021-05-10 17:31:55 +02:00
after_unallow_domain_service.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
app_sign_up_service.rb
authorize_follow_service.rb
backup_service.rb Add logging of S3-related errors (#16381) 2021-07-21 18:34:39 +02:00
base_service.rb
batched_remove_status_service.rb
block_domain_service.rb
block_service.rb
bootstrap_timeline_service.rb
clear_domain_media_service.rb Make domain block/silence/reject-media code more robust (#13424) 2020-06-09 10:32:00 +02:00
delete_account_service.rb Fix owned account notes not being deleted when an account is deleted (#16579) 2021-08-08 15:29:57 +02:00
deliver_to_device_service.rb Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
fan_out_on_write_service.rb
favourite_service.rb
fetch_link_card_service.rb Fix some RedisLocks auto-releasing too fast (#16276) 2021-05-19 23:52:08 +02:00
fetch_oembed_service.rb Fix some link previews being incorrectly generated from other prior links (#16885) 2021-10-21 20:39:35 +02:00
fetch_remote_status_service.rb
fetch_resource_service.rb
follow_service.rb
import_service.rb
move_service.rb
mute_service.rb
notify_service.rb Refactor notifications to go through a separate stream in streaming API (#16765) 2021-09-26 13:23:28 +02:00
post_status_service.rb Fix scheduled statuses decreasing statuses counts (#16791) 2021-10-14 19:59:21 +02:00
precompute_feed_service.rb
process_hashtags_service.rb Change trending hashtags to be affected be reblogs (#16164) 2021-05-07 14:33:43 +02:00
process_mentions_service.rb
reblog_service.rb Change trending hashtags to be affected be reblogs (#16164) 2021-05-07 14:33:43 +02:00
reject_follow_service.rb
remove_from_followers_service.rb Add remove from followers api (#16864) 2021-10-18 12:02:35 +02:00
remove_status_service.rb Fix scoped order warning in RemoveStatusService (#16531) 2021-07-24 14:41:46 +02:00
report_service.rb
resolve_account_service.rb Fix remotely-suspended accounts' toots being merged back into timelines (#16628) 2021-08-20 07:40:33 +01:00
resolve_url_service.rb
search_service.rb
suspend_account_service.rb
tag_search_service.rb
unallow_domain_service.rb
unblock_domain_service.rb
unblock_service.rb Remove Salmon and PubSubHubbub (#11205) 2019-07-06 23:26:16 +02:00
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsuspend_account_service.rb Fix remotely-suspended accounts' toots being merged back into timelines (#16628) 2021-08-20 07:40:33 +01:00
update_account_service.rb
verify_link_service.rb
vote_service.rb