donphan/spec
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
..
controllers Redesign public hashtag page to use a masonry layout (#9822) 2019-01-16 19:47:46 +01:00
fabricators Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
features rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fixtures Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
helpers Add pending specs for jsonld helper (#9750) 2019-01-08 12:18:27 +09:00
lib Fix Announce activities of unknown statuses not fetching those statuses (#10065) 2019-02-17 15:16:36 +01:00
mailers Improve e-mail digest (#9689) 2019-01-02 10:47:32 +01:00
models Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
policies Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
presenters Add specs for InstancePresenter (#9596) 2018-12-21 08:59:56 +01:00
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
serializers/activitypub 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
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
views Replace SVG asset with Custom mascot (#8766) 2018-10-08 00:20:45 +02:00
workers Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
rails_helper.rb Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819) 2019-01-15 23:11:46 +01:00
spec_helper.rb Disable simplecov on CircleCI (#7416) 2018-05-09 16:59:58 +02:00