Commit graph

2972 commits

Author SHA1 Message Date
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
bc0f585029
[backend/core] Set user agent in derived HttpClient singleton service implementation 2024-02-17 18:25:11 +01:00
Laura Hausmann
8525ee5d0c
[backend/database] Fix heuristics query when no notes are in the database (ISH-81) 2024-02-17 16:44:47 +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
0d5f987a8d
[backend/services] Set denormalized note properties replyUserId and replyuserHost correctly 2024-02-17 00:55:58 +01:00
Laura Hausmann
7fcf9a5179
[backend/masto-client] Refactor mastodon entity names to prevent class name conflicts 2024-02-17 00:20:52 +01:00
Laura Hausmann
5bd92d14ac
[backend/database] Rename registration_ticket table to registration_invite 2024-02-16 23:51:13 +01:00
Laura Hausmann
b403944742
[swagger] Fix auth button css 2024-02-16 23:42:08 +01:00
Laura Hausmann
9b551d11be
[backend/api] Add endpoint allowing admins to generate invites 2024-02-16 23:42:07 +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
c039ad8208
[backend/masto-client] Also add missing include in NoteRenderer.GetMentions 2024-02-16 05:53:13 +01:00
Laura Hausmann
ad54623c64
[backend/masto-client] Add missing includes for note mention users in NoteRenderer 2024-02-16 05:50:59 +01:00
Laura Hausmann
053ff63add
[backend/controllers] Nodeinfo note count should be returned as posts, not comments 2024-02-16 05:39:01 +01:00
Laura Hausmann
bc12e7fbcb
[backend/controllers] Return local user & note counts in nodeinfo endpoints 2024-02-16 05:36:52 +01:00
Laura Hausmann
81e9c7e635
[backend/startup] Support unix sockets on FreeBSD 2024-02-16 05:02:00 +01:00
Laura Hausmann
31807c654d
[backend/startup] Throw exception if SetKestrelUnixSocketPermissions is called on a non-UNIX system 2024-02-16 05:00:12 +01:00
Laura Hausmann
b0b8bfca79
[backend/startup] Set kestrel unix socket permissions to 660 2024-02-16 04:26:56 +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
aff1f6e788
[backend/api] Reject signups with password length of under 8 chars (ISH-1) 2024-02-16 02:47:49 +01:00
Laura Hausmann
2eb9482538
[backend/queues] Implement IEquatable<T> in PreDeliverQueue.InboxQueryResult (ISH-3) 2024-02-16 02:43:04 +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
70657e1650
[backend/configuration] Allow connecting to redis unix sockets, document connecting to postgres unix sockets (ISH-76) 2024-02-16 01:57:00 +01:00
Laura Hausmann
7c8dde9deb
[backend/services] Move cron tasks to the Core/Tasks subfolder 2024-02-16 01:22:33 +01:00
Laura Hausmann
11caf32ebb
[backend/services] Media cleanup cron task (ISH-66, ISH-27) 2024-02-16 01:21:04 +01:00
Laura Hausmann
07edffa6b5
[backend/masto-client] Handle idempotency key header (ISH-75) 2024-02-15 22:59:39 +01:00
Laura Hausmann
bbf1afce5b
[backend/startup] Allow configuring a listen socket instead of a listen address/port (ISH-74) 2024-02-15 22:25:24 +01:00
Laura Hausmann
4985194d64
[backend/services] Allow generating snowflake identifiers with timestamps other than DateTime.UtcNow 2024-02-15 21:05:36 +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
424d3d3298
[backend/services] DriveFile.Properties has a database-side default 2024-02-15 00:11:06 +01:00
Laura Hausmann
8e624794b2
[backend/masto-client] Aggregate and return note like counts (ISH-73) 2024-02-15 00:11:05 +01:00
Laura Hausmann
5113f83c9f
[backend/federation] Handle note likes & unlikes (ISH-68) 2024-02-14 21:17:27 +01:00
Laura Hausmann
e53e61e3ed
[backend/database] Rename note bookmarks table 2024-02-14 19:11:11 +01:00
Laura Hausmann
fde159dbec
[backend/database] Add note likes table 2024-02-14 19:09:26 +01:00
Laura Hausmann
8ca64f5d11
[backend/masto-client] Fix datetime string handling 2024-02-14 18:33:26 +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
ff27d7ff16
[backend/services] Basic event bus implementation (ISH-60) 2024-02-14 17:57:55 +01:00