This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/models/concerns
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
..
account_associations.rb Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
account_avatar.rb Add WebP support (#9879) 2019-02-02 12:25:04 +01:00
account_counters.rb Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
account_finder_concern.rb Use Contact User as Relay, Report, Subscribe. (#9661) 2019-01-05 07:17:12 +01:00
account_header.rb Add WebP support (#9879) 2019-02-02 12:25:04 +01:00
account_interactions.rb Remove intermediary arrays when creating hash maps from results (#9291) 2018-11-16 15:02:18 +01:00
attachmentable.rb
cacheable.rb
domain_normalizable.rb Add option to overwrite imported data (#9962) 2019-02-03 03:59:51 +01:00
expireable.rb Fix low-hanging rubocop gripes (#8458) 2018-08-26 19:22:46 +02:00
omniauthable.rb Fix SSO authentication not working due to missing agreement boolean (#9915) 2019-01-25 12:36:54 +01:00
paginable.rb Fix timeline pagination (#8827) 2018-09-29 19:03:33 +02:00
redisable.rb Create Redisable#redis (#9633) 2019-02-02 19:11:38 +01:00
relationship_cacheable.rb
remotable.rb Fix nil host in remotable (#8508) 2018-08-29 21:13:49 +02:00
status_threading_concern.rb Improved remote thread fetching (#10106) 2019-02-28 15:22:21 +01:00
streamable.rb