52 Commits

Author SHA1 Message Date
Claire
f711e222dc
Fix quotes with CWs but no text not having fallback link (#37361) 2026-01-05 10:35:35 +00:00
David Roetzel
0231b6d350
Expose feature policy in API (#37322) 2025-12-19 15:20:30 +00:00
David Roetzel
4e63958914
Federated "featureable in collections" preference (#37298) 2025-12-19 13:44:27 +00:00
David Roetzel
5e8b8f9c23
Extract interaction policy class (#37277) 2025-12-17 10:12:43 +00:00
David Roetzel
3cc4b59b41
First draft of API to add items to a collection (#37222) 2025-12-12 13:09:55 +00:00
David Roetzel
ea768c17db
Add counter cache to collections (#37176) 2025-12-09 10:31:35 +00:00
David Roetzel
cf23f0414f
Add id to collection serializers (#37157) 2025-12-08 11:40:17 +00:00
David Roetzel
8625721805
Draft API to get all collections by an account (#37139) 2025-12-08 08:56:13 +00:00
David Roetzel
2d203ca72a
First draft of API to get a single collection (#37053) 2025-12-01 15:04:52 +00:00
David Roetzel
f896bbac3b
Draft API to create Collections (#37049) 2025-11-28 13:30:43 +00:00
Claire
aba30a85be
Fix value of quote_approval_policy and quoted_status_id in ScheduledStatus serializer (#36549) 2025-10-21 16:00:30 +00:00
Claire
d4a4a7177a
Fix crash when serializing quotes of deleted posts for ActivityPub (#36381) 2025-10-09 13:52:38 +00:00
Claire
e1f7847b64
Remove the outgoing_quotes feature flag, making the feature unconditional (#36130) 2025-09-24 08:58:08 +00:00
Jesse Karmani
65b4a0a6f1
Implement FEP 7888: Part 1 - publish conversation context (#35959) 2025-09-05 19:28:29 +00:00
Claire
496370801a
Add quotes_count to serializer specs (#35901) 2025-08-25 15:49:52 +00:00
Claire
0e99d428b2
Change serialization of Delete activities for QuoteAuthorization to inline the latter (#35725) 2025-08-11 08:55:18 +00:00
Claire
c8f263c419
Export interaction policies for local posts over ActivityPub (#35697) 2025-08-06 11:31:36 +00:00
Claire
32791c9745
Accept remote quotes of local quotes according to set policy (#35629) 2025-08-04 15:27:46 +00:00
Claire
591df1f205
Add support for local quote stamps (#35626) 2025-08-01 14:55:25 +00:00
Claire
2dfdcc7dcb
Add API endpoints to view and revoke one's quoted posts (#35578) 2025-07-31 09:36:51 +00:00
Claire
5a88b7f683
Add experimental basic quote post authoring (#35355) 2025-07-25 12:35:24 +00:00
Matt Jankowski
f7a3dd0e38
Use config_for for VAPID key storage (#34845) 2025-05-30 07:00:33 +00:00
Claire
8c51a8ba94
Add ability to translate server rules (#34494) 2025-05-21 11:54:12 +00:00
Claire
df2611a10f
Add initial support for ingesting and verifying remote quote posts (#34370) 2025-04-17 07:45:23 +00:00
Claire
91c75a6361
Re-introduce application_id in ScheduledStatusSerializer (#33505) 2025-01-09 13:38:23 +00:00
Claire
dbbf450ef5
Fix fediverse:creator metadata not showing up in REST API (#33466) 2025-01-06 10:04:25 +00:00
Matt Jankowski
0ac43700d8
Add coverage for REST::AnnualReportEventSerializer and two ActivityPub::* serializers (#33355)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-19 12:30:09 +00:00
Matt Jankowski
ce5c33c65d
Add API datetime/format matcher for serialization specs, reduce factories (#33325) 2024-12-17 13:38:57 +00:00
Matt Jankowski
a7673d361d
Fix application_id erroneous inclusion in ScheduledStatusSerializer (#33159) 2024-12-17 08:54:07 +00:00
Nik Clayton
5cf37248cc
Ensure datetime/date are serialized to correct format (#33086) 2024-12-14 15:50:41 +00:00
Matt Jankowski
e5bea68b20
Fix empty authors preview card serialization (#33151) 2024-12-04 09:05:58 +00:00
Matt Jankowski
870bb06994
Add coverage for misc serializers (#32781) 2024-11-07 15:37:26 +00:00
Jonny Saunders
9074c1fac9
Use likes and shares totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
Matt Jankowski
b1c10969ac
Reduce factory creation (48 -> 8) in AP::Note serializer spec (#32492) 2024-10-15 13:10:03 +00:00
Matt Jankowski
5405bdd344
Remove unused E2EE messaging code (#31193) 2024-09-18 09:27:43 +00:00
Matt Jankowski
f1003b2560
Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
Matt Jankowski
34489591ec
Add max_pinned_statuses to instances serializer and api response (#29441) 2024-04-02 13:54:11 +00:00
Claire
7ee93b7431
Change source attribute of Suggestion entity in /api/v2/suggestions back to a string (#29108) 2024-02-06 17:10:17 +00:00
Emelia Smith
603b245cc6
Add VAPID public key to instance serializer (#28006)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-11-29 08:34:36 +00:00
Matt Jankowski
1d51e10510
Consolidate JSON parsing in serializers specs (#27693) 2023-11-07 15:20:24 +00:00
Matt Jankowski
b06284c572
Fix RSpec/HookArgument cop (#27747) 2023-11-07 09:10:36 +00:00
Claire
3262d1f1b6
Fix incorrect serialization of regional languages in contentMap (#27207) 2023-10-06 17:46:04 +02:00
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix RSpec/IndexedLet cop (#24698) 2023-06-14 16:44:37 +02:00
Matt Jankowski
c42591356d
Fix RSpec/DescribedClass cop (#25104) 2023-06-06 13:58:33 +02:00
Matt Jankowski
56bddfbfa3
Serializers spec coverage (#24017) 2023-03-10 12:12:51 +01:00
Nick Schonning
19614ba247
Rename ActivityPub Serializer Specs (#23844) 2023-02-23 23:17:48 +01:00
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject (#23670) 2023-02-20 13:24:14 +09:00
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length (#23632) 2023-02-18 06:56:20 +09:00
Claire
66f715550e
Add memorial attribute to REST API (#23591) 2023-02-14 13:50:55 +01:00
Claire
c55568c75a
Add tests for REST::AccountSerializer (#23319) 2023-02-13 13:23:59 +01:00