Commit graph

409 commits

Author SHA1 Message Date
Laura Hausmann
930f4d2aaa
[backend/core] Improve LDValueObject handling for DateTime properties 2024-02-23 04:15:54 +01:00
Laura Hausmann
78705b8a5d
[backend/masto-client] Resolve notes with user keypair 2024-02-23 03:40:21 +01:00
Laura Hausmann
3554503058
[backend/masto-client] Add user list support 2024-02-23 00:40:51 +01:00
Laura Hausmann
4d7d8ee34e
[backend/federation] Remove nonstandard PublicKey type 2024-02-22 19:32:57 +01:00
Laura Hausmann
f895a9e541
[backend/federation] Correctly serialize value types 2024-02-22 19:06:53 +01:00
Laura Hausmann
0148710e00
[backend/masto-client] Add /accounts/lookup endpoint 2024-02-22 18:38:39 +01:00
Laura Hausmann
21527547a2
[backend/federation] Revert to JSON-LD 1.1 processing as 1.0 mode breaks federation with Misskey 2024-02-22 03:07:57 +01:00
Laura Hausmann
5d7035e63c
[backend/masto-client] Implement /reblog and /unreblog endpoints 2024-02-22 02:59:41 +01:00
Laura Hausmann
7a7b3f81b3
[backend/masto-api] Detect quotes on note create 2024-02-22 01:58:54 +01:00
Laura Hausmann
27b3be774e
[backend/federation] Handle quotes 2024-02-22 01:09:08 +01:00
Laura Hausmann
a02af802f1
[backend/federation] Handle ASUndo(ASAnnounce) activities 2024-02-22 00:17:52 +01:00
Laura Hausmann
c35d503c12
[backend/federation] Refactor NoteServer to take a User param instead of an ASActor to save DB roundtrips 2024-02-22 00:17:41 +01:00
Laura Hausmann
19ffbe7814
[backend/federation] Handle ASAnnounce activities 2024-02-22 00:17:41 +01:00
Laura Hausmann
a19697c795
[backend/federation] async Task CompactAsync -> void Compact 2024-02-21 19:10:05 +01:00
Laura Hausmann
f22c4a7c32
[backend/core] Improve error handling in code paths that try to resolve a deleted remote user 2024-02-21 19:04:46 +01:00
Laura Hausmann
399595ad1c
[backend/federation] Make LD signatures configurable 2024-02-21 18:56:49 +01:00
Laura Hausmann
cca1ee70bf
[backend/federation] Use the JSON-LD 1.0 processing mode 2024-02-21 16:56:32 +01:00
Laura Hausmann
1c8df9879d
[backend/core] Fix long application exit times by passing IHostApplicationLifetime.ApplicationStopping to long-running awaits 2024-02-21 03:50:38 +01:00
Laura Hausmann
907f7ed55c
[backend] Code cleanup 2024-02-20 19:59:38 +01:00
Laura Hausmann
72d13c19d8
[backend/federation] Process incoming user deletes 2024-02-19 00:24:15 +01:00
Laura Hausmann
7a7f6cb527
[backend/masto-client] Implement note deletes 2024-02-18 23:53:18 +01:00
Laura Hausmann
6c90d0554e
[backend/federation] ASNote.Subject should be text, not html 2024-02-18 21:02:55 +01:00
Laura Hausmann
7824182371
[backend/federation] Federate CWs properly 2024-02-18 20:51:17 +01:00
Laura Hausmann
3a2cff536e
[backend/federation] Handle Bite activities 2024-02-18 05:48:46 +01:00
Laura Hausmann
98bdf9ca3c
[backend/core] Make HttpClient timeout after 30s (instead of 100s) normally, and after 10s for WebFinger 2024-02-18 05:36:47 +01:00
Laura Hausmann
f36ea57cb4
[backend/federation] Handle ASActor delete activities 2024-02-18 02:09:50 +01:00
Laura Hausmann
157fd20315
[backend/federation] Improve logging in ActivityHandlerService 2024-02-18 00:54:02 +01:00
Laura Hausmann
de6211d6fb
[backend/federation] Handle JSON-LD signed requests in authorized fetch mode 2024-02-18 00:36:58 +01:00
Laura Hausmann
f073018e95
[backend/federation] Fix race condition when updating a user during a request 2024-02-17 21:06:23 +01:00
Laura Hausmann
b3d0c0f476
[backend/core] Update user in background to avoid accessing a disposed DbContext 2024-02-17 18:57:46 +01:00
Laura Hausmann
19b004687d
[backend/federation] Bypass a bug in GTS that causes the type property to be invalid
Ref: https://github.com/superseriousbusiness/gotosocial/issues/1947
2024-02-17 18:25:33 +01:00
Laura Hausmann
f0745f2df8
[backend/federation] Fix validation of ld+json content type 2024-02-17 18:25:33 +01:00
Laura Hausmann
c0831c884b
[backend/core] Correctly serialize http signature signing string for headers that occur more than once 2024-02-17 18:25:33 +01:00
Laura Hausmann
a56e9b2922
[backend/federation] Improve logging on activity fetch failures 2024-02-17 18:25:32 +01:00
Laura Hausmann
7d55cbe25a
[backend/federation] Allow JSON-LD profile to be specified in a space delimited string
Ref: https://www.w3.org/TR/json-ld11/#example-168-http-request-with-profile-requesting-a-compacted-document-with-a-reference-to-a-compaction-context
2024-02-17 16:42:08 +01:00
Laura Hausmann
2b141f8084
[backend/federation] Enforce JSON-LD profile for activities (and make them acceptable to begin with) 2024-02-17 16:17:39 +01:00
Laura Hausmann
6044cdb52c
[backend/core] Emit notification on note edit for users that have interacted with the note 2024-02-17 05:50:10 +01:00
Laura Hausmann
be00d5237f
[backend/federation] Add To & Cc fields to create & update activities 2024-02-17 04:56:12 +01:00
Laura Hausmann
d4d75f49ef
[backend/masto-client] Allow editing of local notes 2024-02-17 04:09:45 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
b7859210eb
[backend/federation] Process note updates (ISH-32) 2024-02-17 02:06:36 +01:00
Laura Hausmann
e806811e21
[backend/federation] Process user updates (ISH-32) 2024-02-17 02:06:24 +01:00
Laura Hausmann
69610a61d1
[backend/federation] Enforce matching activity actor & auth fetch signature user 2024-02-17 02:06:09 +01:00
Laura Hausmann
a498e702c7
[backend/masto-client] Allow displaying, accepting & rejecting of follow requests (ISH-79) 2024-02-16 23:04:53 +01:00
Laura Hausmann
c317271e3c
[backend/federation] Stricter content type validation in ActivityFetcherService 2024-02-16 18:53:50 +01:00
Laura Hausmann
2da0f95026
[backend/federation] Verify actor publicKey host 2024-02-16 03:43:35 +01:00
Laura Hausmann
9496d81abe
[backend/database] Add entity methods for getting the public url/uri for users & notes (ISH-47) 2024-02-16 03:28:16 +01:00
Laura Hausmann
db3a36264e
[backend/federation] Fix federation control for deliver jobs to split domain users with domain mismatch (ISH-3) 2024-02-16 02:28:14 +01:00
Laura Hausmann
3da162e302
[backend/federation] Validate activity id host in ActivityFetcherService 2024-02-15 20:56:25 +01:00
Laura Hausmann
71d8b28d28
[backend/federation] Deliver activities in the background 2024-02-15 20:10:07 +01:00