mastodon/spec/services
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
account_search_service_spec.rb Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb
app_sign_up_service_spec.rb Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
authorize_follow_service_spec.rb
batched_remove_status_service_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
block_domain_service_spec.rb
block_service_spec.rb
bootstrap_timeline_service_spec.rb
fan_out_on_write_service_spec.rb
favourite_service_spec.rb
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
fetch_oembed_service_spec.rb Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
fetch_remote_account_service_spec.rb
fetch_remote_status_service_spec.rb
follow_service_spec.rb
hashtag_query_service_spec.rb
mute_service_spec.rb
notify_service_spec.rb
post_status_service_spec.rb Prevent posting toots with media attachments from someone else (#9921) 2019-01-26 23:59:39 +01:00
precompute_feed_service_spec.rb
process_feed_service_spec.rb
process_interaction_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb
reject_follow_service_spec.rb
remove_status_service_spec.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
report_service_spec.rb
resolve_account_service_spec.rb Remove pending (#9752) 2019-01-08 09:42:56 +01:00
resolve_url_service_spec.rb
search_service_spec.rb Add type, limit, offset, min_id, max_id, account_id to search API (#10091) 2019-02-26 15:21:36 +01:00
send_interaction_service_spec.rb
subscribe_service_spec.rb
suspend_account_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb
unfollow_service_spec.rb Reject existing Follow in addition to sending a Block (#9811) 2019-01-18 15:57:19 +01:00
unmute_service_spec.rb
unsubscribe_service_spec.rb
update_remote_profile_service_spec.rb
verify_link_service_spec.rb