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
ThibG b1feb47055
Improve searching for private toots from URL (#14856)
* Improve searching for private toots from URL

Most of the time, when sharing toots, people use the toot URL rather than
the toot URI, which makes sense since it is the user-facing URL.

In Mastodon's case, the URL and URI are different, and Mastodon does not
have an index on URL, which means searching a private toot by URL is done
with a slow query that will only succeed for very recent toots.

This change gets rid of the slow query, and attempts to guess the URI from
URL instead, as Mastodon's are predictable.

* Add tests

* Only return status with guessed uri if url matches

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
..
chewy
controllers Add stoplight for object storage failures, return HTTP 503 (#13043) 4 years ago
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 4 years ago
javascript New Crowdin updates (#15220) 4 years ago
lib Add stoplight for object storage failures, return HTTP 503 (#13043) 4 years ago
mailers
models Fix admins being able to suspend their instance actor (#14567) 4 years ago
policies Fix admins being able to suspend their instance actor (#14567) 4 years ago
presenters Fix performance on instances list in admin UI (#15282) 4 years ago
serializers Add app shortcuts (#15234) 4 years ago
services Improve searching for private toots from URL (#14856) 4 years ago
validators Add honeypot fields and minimum fill-out time for sign-up form (#15276) 4 years ago
views Fix admins being able to suspend their instance actor (#14567) 4 years ago
workers Fix performance on instances list in admin UI (#15282) 4 years ago