Commit Graph

22 Commits (50737ffe972af16a1d37b7ca3514930e67f70f88)

Author SHA1 Message Date
Matt Jankowski e5bea68b20
Fix empty authors preview card serialization (#33151) 3 weeks ago
Matt Jankowski 870bb06994
Add coverage for misc serializers (#32781) 2 months ago
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 2 months ago
Matt Jankowski b1c10969ac
Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492) 2 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 3 months ago
Matt Jankowski f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 4 months ago
Matt Jankowski 34489591ec
Add `max_pinned_statuses` to instances serializer and api response (#29441) 9 months ago
Claire 7ee93b7431
Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string (#29108) 11 months ago
Emelia Smith 603b245cc6
Add VAPID public key to instance serializer (#28006)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
1 year ago
Matt Jankowski 1d51e10510
Consolidate JSON parsing in serializers specs (#27693) 1 year ago
Matt Jankowski b06284c572
Fix `RSpec/HookArgument` cop (#27747) 1 year ago
Claire 3262d1f1b6
Fix incorrect serialization of regional languages in `contentMap` (#27207) 1 year ago
Matt Jankowski 4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop (#24698) 2 years ago
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop (#25104) 2 years ago
Matt Jankowski 56bddfbfa3
Serializers spec coverage (#24017) 2 years ago
Nick Schonning 19614ba247
Rename ActivityPub Serializer Specs (#23844) 2 years ago
Nick Schonning 4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670) 2 years ago
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length (#23632) 2 years ago
Claire 66f715550e
Add `memorial` attribute to REST API (#23591) 2 years ago
Claire c55568c75a
Add tests for `REST::AccountSerializer` (#23319) 2 years ago
ThibG 9a90ec3b3b Fix account URI in UpdatePollSerializer (#11194)
* Fix account URI in UpdatePollSerializer

Fixes #11185

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