1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 16:58:53 +09:00
YuruToot/spec/workers
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
pubsubhubbub Follow-up to #4582 and #5027, removing dead code (#5101) 2017-09-26 01:06:27 +02:00
scheduler Clean up reblog tracking keys, related improvements (#5428) 2017-10-17 11:45:06 +02:00
after_remote_follow_request_worker_spec.rb After remote follow worker specs (#3098) 2017-05-18 21:10:41 +02:00
after_remote_follow_worker_spec.rb After remote follow worker specs (#3098) 2017-05-18 21:10:41 +02:00
digest_mailer_worker_spec.rb Spec coverage and refactor of digest mailer worker (#2961) 2017-05-10 15:45:43 +02:00
domain_block_worker_spec.rb Coverage for domain block worker (#2997) 2017-05-11 22:25:15 +02:00
feed_insert_worker_spec.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
publish_scheduled_status_worker_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
regeneration_worker_spec.rb Add spec coverage for regeneration worker (#3143) 2017-05-19 16:55:09 +02:00