1
0
Fork 0
forked from fedi/mastodon
mastodon/app/serializers
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
..
activitypub Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
rest Add vapid_key to the application entity in the REST API (#10058) 2019-02-16 05:27:05 +01:00
rss Add RSS feeds for end-users (#7259) 2018-04-25 02:10:02 +02:00
web Only display web push notifications after API call (fixes #7902) (#8396) 2018-08-23 21:44:27 +02:00
initial_state_serializer.rb Add quick links to the admin interface in the WebUI (#8545) 2019-01-04 13:10:43 +01:00
manifest_serializer.rb Upgrade new Web Share Target API (#9963) 2019-02-02 01:26:49 +01:00
oembed_serializer.rb Clean up and improve generated OpenGraph tags (#4901) 2017-09-12 05:39:38 +02:00
webfinger_serializer.rb Add remote interaction dialog for toots (#8202) 2018-08-18 03:03:12 +02:00