Commit graph

238 commits

Author SHA1 Message Date
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
Laura Hausmann
c7f8fdfa8f
[backend/federation] Add support for liking & unliking local & remote notes (ISH-72) 2024-02-15 00:48:37 +01:00
Laura Hausmann
5113f83c9f
[backend/federation] Handle note likes & unlikes (ISH-68) 2024-02-14 21:17:27 +01:00
Laura Hausmann
b5a63fd301
[backend/federation] Refactor ActivityStreams & w3id references to use the Constants properties (ISH-57) 2024-02-14 18:13:09 +01:00
Laura Hausmann
fc0f40f8ce
[backend/drive] Add basic image processing & thumbnail generation (ISH-63, ISH-64) 2024-02-14 17:25:32 +01:00
Laura Hausmann
b67dd173f4
[backend/federation] Federate alt text (ISH-55) 2024-02-13 03:07:02 +01:00
Laura Hausmann
82530d0ff2
[backend/federation] Federate note media attachments (ISH-59) 2024-02-13 02:54:48 +01:00
Laura Hausmann
16f46dbe43
[backend/federation] Handle note attachments (ISH-48) 2024-02-13 00:13:18 +01:00
Laura Hausmann
e0f81a7b21
[backend/services] Fix mentionsResolver loop (ISH-50) 2024-02-12 22:16:10 +01:00
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50) 2024-02-12 21:59:19 +01:00
Laura Hausmann
a1fbe6f9b5
[backend/federation] Enforce note visibility checks in AP controller 2024-02-12 05:09:06 +01:00
Laura Hausmann
c5d773e46a
[backend/federation] Deliver activities to mentioned users 2024-02-12 05:05:09 +01:00
Laura Hausmann
1d090c8400
[backend/federation] Only deliver DMs to recipients 2024-02-12 05:05:09 +01:00
Laura Hausmann
16d0199506
[backend/federation] Handle outgoing mentions correctly (ISH-46) 2024-02-12 05:05:09 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
bccf098dc4
[backend/federation] Remove default for ASActor.AlsoKnownAs 2024-02-10 20:10:13 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
920997ec41
[backend/federation] Avatar & banner support (ISH-8) 2024-02-09 23:22:46 +01:00
Laura Hausmann
5fc024febc
[backend/federation] Implement remote user updates (ISH-28) 2024-02-09 21:23:42 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00
Laura Hausmann
78b69c180c
[backend/database] Update follower/following counts on follow/unfollow/accept (ISH-17) 2024-02-09 14:11:55 +01:00
Laura Hausmann
02e003afa3
[backend/federation] Resolve incoming activity objects (ISH-20, ISH-12) 2024-02-09 13:28:07 +01:00