Commit Graph

14 Commits (main)

Author SHA1 Message Date
Emelia Smith 603b245cc6
Add VAPID public key to instance serializer (#28006)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
6 months ago
Matt Jankowski 1d51e10510
Consolidate JSON parsing in serializers specs (#27693) 6 months ago
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop (#27747) 6 months ago
Claire 3262d1f1b6
Fix incorrect serialization of regional languages in `contentMap` (#27207) 8 months ago
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 11 months ago
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop (#25104) 12 months ago
Matt Jankowski 56bddfbfa3
Serializers spec coverage (#24017) 1 year ago
Nick Schonning 19614ba247
Rename ActivityPub Serializer Specs (#23844) 1 year ago
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670) 1 year ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632) 1 year ago
Claire 66f715550e
Add `memorial` attribute to REST API (#23591) 1 year ago
Claire c55568c75a
Add tests for `REST::AccountSerializer` (#23319) 1 year ago
ThibG 9a90ec3b3b Fix account URI in UpdatePollSerializer (#11194)
* Fix account URI in UpdatePollSerializer

Fixes #11185

* Add specs
5 years ago
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
5 years ago