Commit graph

245 commits

Author SHA1 Message Date
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
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
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
6f4d6df602
[backend/libmfm] Fix italic text getting serialized as strikethrough 2024-02-14 03:01:35 +01:00
Laura Hausmann
1148bb5ee6
[backend/middleware] Rethrow gracefulexceptions in AuthorizedFetchMiddleware 2024-02-14 02:57:49 +01:00
Laura Hausmann
2756e19399
[backend/middleware] Improve error handling in AuthorizedFetchMiddlewre 2024-02-14 02:53:01 +01:00
Laura Hausmann
9591255220
[backend/services] Increment Note.RepliesCount on note create 2024-02-14 01:17:04 +01:00
Laura Hausmann
8f8e3f9d1a
[backend/database] Add following query heuristics 2024-02-14 00:59:14 +01:00
Laura Hausmann
f6847e9a3e
[backend/database] Increase migrations command timeout 2024-02-13 23:13:38 +01:00
Laura Hausmann
85073fc871
[backend/database] Add generic versions of EnsureNoteVisibilityFor & FilterBlocked 2024-02-13 19:30:56 +01:00
Laura Hausmann
340ca21629
[backend/database] Fix type name collisions in migrations 2024-02-13 17:58:41 +01:00
Laura Hausmann
61938a4d5b
[backend/masto-client] Render notifications (ISH-45) 2024-02-13 17:58:24 +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
8c015815bc
[backend/database] Remove length restriction from DriveFile comment column 2024-02-13 03:01:39 +01:00
Laura Hausmann
82530d0ff2
[backend/federation] Federate note media attachments (ISH-59) 2024-02-13 02:54:48 +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
d847c0d7d6
[backend/database] Remove unique constraints for drive file access keys
We are now doing proper deduplication so these are not useful anymore.
2024-02-13 01:09:00 +01:00
Laura Hausmann
a859eef3c5
[backend/database] Fix database bootstrap 2024-02-13 00:55:48 +01:00
Laura Hausmann
16f46dbe43
[backend/federation] Handle note attachments (ISH-48) 2024-02-13 00:13:18 +01:00
Laura Hausmann
61c73f1761
[backend/libmfm] Render unresolved mentions as plain nodes in html-to-mfm 2024-02-12 22:26:11 +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
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
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
e6079da2ab
[backend/masto-client] Add user follower/following endpoints (ISH-44) 2024-02-12 03:44:54 +01:00
Laura Hausmann
8745f72ea7
[backend/masto-client] Implement status context endpoint & map database functions (ISH-43) 2024-02-12 02:29:03 +01:00
Laura Hausmann
97df7ea5e6
[backend] Send CORS headers for WellKnownController and NodeInfoController 2024-02-11 20:37:34 +01:00
Laura Hausmann
924153c809
[backend] Set CORS headers for all Mastodon controllers & DriveController (ISH-40, ISH-41) 2024-02-11 19:35:42 +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
235ec7457e
[backend/database] Fix UsernameContainsCaseInsensitive Projectable 2024-02-10 23:54:35 +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