1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00
mastodon/app
ThibG 9d3c6f1849 Improved remote thread fetching (#10106)
* Fetch up to 5 replies when discovering a new remote status

This is used for resolving threads downwards. The originating
server must add a “replies” attributes with such replies for it to
be useful.

* Add some tests for ActivityPub::FetchRepliesWorker

* Add specs for ActivityPub::FetchRepliesService

* Serialize up to 5 public self-replies for ActivityPub notes

* Add specs for ActivityPub::NoteSerializer

* Move exponential backoff logic to a worker concern

* Fetch first page of paginated collections when fetching thread replies

* Add specs for paginated collections in replies

* Move Note replies serialization to a first CollectionPage

The collection isn't actually paginable yet as it has no id nor
a `next` field. This may come in another PR.

* Use pluck(:uri) instead of map(&:uri) to improve performances

* Fix fetching replies when they are in a CollectionPage
2019-02-28 15:22:21 +01:00
..
chewy Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
controllers Improve account media query (#10121) 2019-02-26 15:23:24 +01:00
helpers Avoid redundant HTTP request on some error cases (#10115) 2019-02-25 15:54:17 +01:00
javascript Fix direct timeline pagination in the WebUI (#10126) 2019-02-27 19:13:16 +01:00
lib Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
mailers Improve e-mail digest (#9689) 2019-01-02 10:47:32 +01:00
models Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
policies Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
presenters Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
serializers Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
services Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
validators Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
views Fix “reset” button of instance filter switching to custom emoji admin panel (#10076) 2019-02-19 14:01:22 +01:00
workers Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00