Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-17 | Improve searching for private toots from URL (#14856) | ThibG | |
* 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> | |||
2019-07-10 | Refactor fetching of remote resources (#11251) | Eugen Rochko | |
2018-05-02 | Slightly reduce RAM usage (#7301) | Eugen Rochko | |
* No need to re-require sidekiq plugins, they are required via Gemfile * Add derailed_benchmarks tool, no need to require TTY gems in Gemfile * Replace ruby-oembed with FetchOEmbedService Reduce startup by 45382 allocated objects * Remove preloaded JSON-LD in favour of caching HTTP responses Reduce boot RAM by about 6 MiB * Fix tests * Fix test suite by stubbing out JSON-LD contexts | |||
2018-01-22 | Rename FetchRemoteResourceService to ResolveURLService (#6328) | Akihiko Odaki | |
The service used to be named FetchRemoteResourceService resolves local URL as well. |