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.
nyastodon/spec
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.
3 years ago
..
controllers Fix webauthn secure key authentication (#16792) 3 years ago
fabricators Add canonical e-mail blocks for suspended accounts (#16049) 3 years ago
features Add submit button to the top of preferences pages (#13068) 4 years ago
fixtures Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 3 years ago
lib Fix addressing of remote groups' followers (#16700) 3 years ago
mailers Add Ruby 3.0 support (#16046) 3 years ago
models Change trending hashtags to be affected be reblogs (#16164) 3 years ago
policies Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
presenters Add Ruby 3.0 support (#16046) 3 years ago
requests Further preparation for Rails 6 (#15916) 3 years ago
routing
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 5 years ago
services Fix some link previews being incorrectly generated from other prior links (#16885) 3 years ago
support Fix base64-encoded file uploads not being possible (#12748) 4 years ago
validators Add canonical e-mail blocks for suspended accounts (#16049) 3 years ago
views Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247) 5 years ago
workers Change Web Push API deliveries to use request pooling (#16014) 3 years ago
rails_helper.rb Add WebAuthn as an alternative 2FA method (#14466) 4 years ago
spec_helper.rb Move rspec examples to tmp dir (#12539) 5 years ago