Commit graph

310 commits

Author SHA1 Message Date
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
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
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
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
0d5f987a8d
[backend/services] Set denormalized note properties replyUserId and replyuserHost correctly 2024-02-17 00:55:58 +01:00
Laura Hausmann
5bd92d14ac
[backend/database] Rename registration_ticket table to registration_invite 2024-02-16 23:51:13 +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
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
11caf32ebb
[backend/services] Media cleanup cron task (ISH-66, ISH-27) 2024-02-16 01:21:04 +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
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
5113f83c9f
[backend/federation] Handle note likes & unlikes (ISH-68) 2024-02-14 21:17:27 +01:00
Laura Hausmann
ff27d7ff16
[backend/services] Basic event bus implementation (ISH-60) 2024-02-14 17:57:55 +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
9591255220
[backend/services] Increment Note.RepliesCount on note create 2024-02-14 01:17:04 +01:00
Laura Hausmann
32b0e1f3c7
[backend] Code cleanup 2024-02-13 17:17:02 +01:00
Laura Hausmann
c46573ae37
[backend/federation] Generate mention & reply notifications (ISH-45) 2024-02-13 03:43:35 +01:00
Laura Hausmann
b67dd173f4
[backend/federation] Federate alt text (ISH-55) 2024-02-13 03:07:02 +01:00
Laura Hausmann
a1c23a7d29
[backend/masto-client] Add media upload (ISH-58) 2024-02-13 02:46:40 +01:00
Laura Hausmann
589063f36b
[backend/drive] Calculate blurhash for images (ISH-54) 2024-02-13 02:08:18 +01:00
Laura Hausmann
02147f8bb7
[backend/services] Fix duplicate constraint exception when creating users with avatar & banner (ISH-56) 2024-02-13 01:30:58 +01:00
Laura Hausmann
8685d50360
[backend/services] Remove unnecessary async/await pattern 2024-02-13 01:25:33 +01:00
Laura Hausmann
16f46dbe43
[backend/federation] Handle note attachments (ISH-48) 2024-02-13 00:13:18 +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
da99cff582
[backend/federation] Mention resolver failures shouldn't reject an entire request / job process (ISH-50) 2024-02-12 20:12:21 +01:00
Laura Hausmann
75a6fcce21
[backend/database] Properly handle UniqueConstraintException in UserService (ISH-51) 2024-02-12 19:59:22 +01:00
Laura Hausmann
a8f174f02a
[backend/services] Fix multiple threads creating the same user simultaneously, causing postgres duplicate key exceptions 2024-02-12 05:56:28 +01:00
Laura Hausmann
6c955262ee
[backend/masto-client] Set acct field in note mention correctly 2024-02-12 05:31:39 +01:00
Laura Hausmann
158a4e05ad
[backend/federation] Send mention activities to the user inbox
Context: some AP implementations like Akkoma ignore activities sent to the shared inbox if they're not expecting them
2024-02-12 05:27:30 +01:00
Laura Hausmann
20b23fee46
[backend/federation] Also deliver non-DM activities to mentioned users 2024-02-12 05:21:09 +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
81e8becef1
[backend/services] Improve handling of ObjectStorageService in local storage mode 2024-02-10 23:42:20 +01:00
Laura Hausmann
1130c7b4c1
[backend/services] ObjectStorageService instantiation shouldn't fail if storage mode is set to local 2024-02-10 23:27:32 +01:00
Laura Hausmann
8250ef58d3
[backend/drive] Restrict non-browser-safe MIME types to application/octet-stream (ISH-36) 2024-02-10 17:21:22 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
33f54f94bd
[backend/services] Include user profile in UserService.GetUserFromQueryAsync 2024-02-09 23:30:03 +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
25552ee5da
[backend/federation] Add UserProfile in CreateUserAsync (ISH-29) 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