Commit graph

2365 commits

Author SHA1 Message Date
Laura Hausmann
f6847e9a3e
[backend/database] Increase migrations command timeout 2024-02-13 23:13:38 +01:00
Laura Hausmann
dd7be34952
[backend/database] Fixup migrate.sql script
As the initial rewrite commit was based on a slightly newer database schema than ended up in the final iceshrimp-js release, we need to include those changes here.
2024-02-13 20:05:54 +01:00
Laura Hausmann
2cfbc305fc
[backend/masto-client] Add visibility filters in NotificationController (ISH-45) 2024-02-13 19:34:00 +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
82b7b93681
[backend/masto-client] Allow for posting notes with only media attached (ISH-61) 2024-02-13 03:10:31 +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
45d08caa94
[backend/nodeinfo] Return stub instance info instead of todo placeholders 2024-02-13 02:56:32 +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
5a7ef95ff4
[backend/swagger] Fix swaggergen failing due to missing HttpGet on IdenticonController 2024-02-13 00:59:32 +01:00
Laura Hausmann
a859eef3c5
[backend/database] Fix database bootstrap 2024-02-13 00:55:48 +01:00
Laura Hausmann
ea43728db3
[backend/masto-client] Render note media attachments (ISH-49) 2024-02-13 00:31:37 +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
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