mastodon/app/serializers/activitypub
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
..
accept_follow_serializer.rb
activity_serializer.rb Alternative handling of private self-boosts (#9998) 2019-02-13 18:36:23 +01:00
actor_serializer.rb Add handler for Move activity (#9629) 2018-12-29 02:24:36 +01:00
add_serializer.rb Fix wrong target URIs in ActivityPub Add/Remove (#6668) 2018-03-07 05:58:24 +01:00
block_serializer.rb Fallback to old on-the-fly URI for follows/blocks if no stored URI (#7371) 2018-05-05 23:07:51 +02:00
collection_serializer.rb Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
delete_actor_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
delete_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
emoji_serializer.rb Encode custom emojis as resolveable objects in ActivityPub (#5243) 2017-10-07 17:43:42 +02:00
flag_serializer.rb Federated reports (#6570) 2018-02-28 06:54:55 +01:00
follow_serializer.rb Fallback to old on-the-fly URI for follows/blocks if no stored URI (#7371) 2018-05-05 23:07:51 +02:00
image_serializer.rb Fix nil error in focal_point? (#6537) 2018-02-22 17:42:33 +01:00
like_serializer.rb
note_serializer.rb Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
outbox_serializer.rb Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
public_key_serializer.rb
reject_follow_serializer.rb
remove_serializer.rb Fix wrong target URIs in ActivityPub Add/Remove (#6668) 2018-03-07 05:58:24 +01:00
undo_announce_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00
undo_block_serializer.rb
undo_follow_serializer.rb
undo_like_serializer.rb
update_serializer.rb Add federation relay support (#7998) 2018-07-13 02:16:06 +02:00