Commit graph

444 commits

Author SHA1 Message Date
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
f371503b2f
[backend/masto-api] Don't call .Take on queries without a OrderBy clause 2024-02-12 20:21:34 +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
72066a576a
[backend/masto-client] Fix mentions acct in timeline views 2024-02-12 06:25:45 +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
c1650da632
[backend/masto-client] Don't forbid requesting relationship status with yourself
Some Mastodon clients rely on this (for some reason)
2024-02-12 03:18:01 +01:00
Laura Hausmann
f30e7f4ac3
[backend/masto-client] Add basic /v1/instance endpoint (ISH-6) 2024-02-12 03:16:03 +01:00
Laura Hausmann
e61736b588
[backend/masto-client] Apply limit to note ancestors/descendants queries 2024-02-12 02:36:44 +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
059f059f36
[backend] Move identicon generation to ImageSharp (ISH-42)
This saves ~9MB of disk space over MAUI/SkiaSharp.
2024-02-11 23:56:53 +01:00
Laura Hausmann
70292d3458
[backend/masto-client] Fall back to identicon if user has no avatar 2024-02-11 23:33:49 +01:00
Laura Hausmann
5db0118cc8
[backend] Add identicon endpoint (ISH-42) 2024-02-11 23:33:49 +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
8380bffa29
[backend/masto-client] Batch account rendering in NoteRenderer 2024-02-11 18:50:28 +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
Laura Hausmann
bccf098dc4
[backend/federation] Remove default for ASActor.AlsoKnownAs 2024-02-10 20:10:13 +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
2eec7f75e3
[backend/logger] Fix stack traces being written in a single line 2024-02-10 17:08:30 +01:00
Laura Hausmann
b87e524b4f
[backend/drive] Add support for serving files using the /files route (ISH-31) 2024-02-10 17:05:04 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
357f11d513
[backend/build] Set SatelliteResourceLanguages to none 2024-02-10 00:07:42 +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
058a84db19
[backend/database] Fix User.NeedsUpdate check 2024-02-09 21:36:59 +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
Laura Hausmann
a77fe98173
[backend/services] Properly handle non open registration in UserService 2024-02-09 18:37:51 +01:00
Laura Hausmann
66c6f5be6f
[backend/services] Add object storage service (ISH-10) 2024-02-09 17:28:02 +01:00
Laura Hausmann
0a2b8f53eb
[backend/database] Increment user note counter on local create as well 2024-02-09 15:02:09 +01:00
Laura Hausmann
d566875f54
[backend/database] Add database maintenance service with functions to recompute note & user counters (ISH-21) 2024-02-09 14:58:00 +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
Laura Hausmann
19d6251a2a
[backend] Cleanup unused service references 2024-02-09 13:23:31 +01:00