mastodon/spec/services
Claire 123a88b6b5 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-11-05 20:28:59 +01:00
..
activitypub Fix crash when encountering invalid account fields (#16598) 2021-11-05 20:26:51 +01:00
account_search_service_spec.rb
after_block_domain_from_account_service_spec.rb Fix domain hiding logic (#7765) 2018-06-09 22:46:54 +02:00
after_block_service_spec.rb Fix blocking someone not clearing up list feeds (#16205) 2021-05-10 17:31:55 +02:00
app_sign_up_service_spec.rb
authorize_follow_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
batched_remove_status_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
block_domain_service_spec.rb
block_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
bootstrap_timeline_service_spec.rb Change auto-following admin-selected accounts, show in recommendations (#16078) 2021-04-24 17:01:43 +02:00
clear_domain_media_service_spec.rb
delete_account_service_spec.rb Fix some notifications not being deleted on poll/status deletion (#15402) 2020-12-21 18:22:17 +01:00
fan_out_on_write_service_spec.rb
favourite_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
fetch_link_card_service_spec.rb Fix URL scanning in note length validator and preview card fetching (#15827) 2021-03-04 00:12:26 +01:00
fetch_oembed_service_spec.rb Fix some link previews being incorrectly generated from other prior links (#16885) 2021-11-05 20:28:59 +01:00
fetch_remote_status_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
fetch_resource_service_spec.rb
follow_service_spec.rb Change ResolveAccountService's handling of skip_webfinger (#15750) 2021-02-24 06:32:13 +01:00
import_service_spec.rb Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
mute_service_spec.rb
notify_service_spec.rb
post_status_service_spec.rb Fix scheduled statuses decreasing statuses counts (#16791) 2021-11-05 20:28:41 +01:00
precompute_feed_service_spec.rb
process_mentions_service_spec.rb Fix processing mentions to domains with non-ascii TLDs (#16689) 2021-11-05 20:28:11 +01:00
reblog_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
reject_follow_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
remove_status_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
report_service_spec.rb
resolve_account_service_spec.rb Change ResolveAccountService's handling of skip_webfinger (#15750) 2021-02-24 06:32:13 +01:00
resolve_url_service_spec.rb Improve searching for private toots from URL (#14856) 2020-12-17 06:51:49 +01:00
search_service_spec.rb
unallow_domain_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
unfollow_service_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 2021-05-07 19:32:58 +02:00
unmute_service_spec.rb
update_account_service_spec.rb
verify_link_service_spec.rb