mastodon/app
Thibaut Girka 10bd6f415d 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.
2020-11-12 23:44:30 +01:00
..
chewy
controllers Merge branch 'master' into glitch-soc/merge-upstream 2020-11-12 22:13:57 +01:00
helpers Merge branch 'master' into glitch-soc/merge-upstream 2020-11-12 22:13:57 +01:00
javascript Add missing locales to glitch flavor 2020-11-12 22:27:44 +01:00
lib
mailers
models Merge branch 'master' into glitch-soc/merge-upstream 2020-11-12 22:13:57 +01:00
policies
presenters
serializers
services Improve searching for private toots from URL 2020-11-12 23:44:30 +01:00
validators
views Merge branch 'master' into glitch-soc/merge-upstream 2020-11-12 22:13:57 +01:00
workers