Commit graph

494 commits

Author SHA1 Message Date
Laura Hausmann
a67fe3722d
[backend] Code cleanup 2024-03-24 14:17:02 +01:00
Laura Hausmann
c02b2bd34c
[backend/core] Improve handling of explicit service scopes & event logic 2024-03-24 14:13:51 +01:00
Laura Hausmann
5a53fd1698
[backend/core] Remove QueueService TODO item 2024-03-24 13:39:00 +01:00
Laura Hausmann
188a6f4251
[backend/core] Fix NullReferenceException 2024-03-24 00:25:27 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212) 2024-03-24 00:17:28 +01:00
Laura Hausmann
7e89c0e4c4
[backend/core] Use upsert for cache store instead of detecting conflicts (ISH-212) 2024-03-23 19:10:27 +01:00
Laura Hausmann
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212) 2024-03-23 19:10:27 +01:00
Laura Hausmann
0519cf6e79
[backend/core] Enforce character limit for text + cw (instead of text/cw individually) 2024-03-23 16:40:26 +01:00
Laura Hausmann
82dfd5db1b
[backend/database] Revert "Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string"
This change made migration reverts impossible.

This reverts commit 64ef76be10.
2024-03-22 21:42:36 +01:00
Laura Hausmann
5be537e7dd
[backend/core] Improve meta store performance, make it hit postgres directly 2024-03-22 18:40:11 +01:00
Laura Hausmann
d4da5ed9de
Change license to EUPL v1.2
Consent was given by all project contributors.
2024-03-22 17:10:52 +01:00
Laura Hausmann
d5e0587048
[backend/database] Fix IDesignTimeDbContextFactory method 2024-03-21 16:34:08 +01:00
Laura Hausmann
64ef76be10
[backend/database] Remove configuration parsing for DesignTimeDbContext, as we don't need a valid database connection string 2024-03-21 16:33:07 +01:00
Laura Hausmann
d5b7fa5ae7
[backend/api] Correctly render replies/renotes/quotes (ISH-205) 2024-03-18 16:36:04 +01:00
Laura Hausmann
f5aa7f6ff6
[backend/libmfm] Improve custom emoji regex 2024-03-17 17:11:47 +01:00
Laura Hausmann
21580a3678
[backend/core] Fix threadId logic in ProcessNoteAsync 2024-03-17 16:46:55 +01:00
Laura Hausmann
d0c2d1bedc
[backend/core] Add admin_contact_email meta entity 2024-03-17 13:50:58 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +01:00
Laura Hausmann
b7584674c7
[backend/api] Add notifications endpoints (ISH-202) 2024-03-17 13:30:56 +01:00
Laura Hausmann
f499ed338d
[backend/swagger] Fix reference type nullability hints 2024-03-17 12:40:33 +01:00
Laura Hausmann
c5d723c99e
[backend/core] Correctly populate the note field in renote notifications 2024-03-16 19:24:45 +01:00
Laura Hausmann
bcf9210764
[backend/asp] Correctly handle API requests using chunked transfer encoding 2024-03-16 19:13:34 +01:00
Laura Hausmann
d7ac26db61
[backend/core] Fix UpdateUserPublicKeyAsync(User) method 2024-03-16 19:00:43 +01:00
Laura Hausmann
0c644f7b25
[backend/federation] Fix sporadic key fetch failures in InboxValidationMiddleware (ISH-194) 2024-03-16 18:53:49 +01:00
Laura Hausmann
6dc4b29eba
[backend/federation] Correctly handle multiple pinned notes in the same thread 2024-03-16 18:22:46 +01:00
Laura Hausmann
a0e83949ff
[backend/masto-client] Allow searching by user fqn (ISH-196) 2024-03-16 18:02:34 +01:00
Laura Hausmann
7564c67371
[backend/federation] Fix delivery to specified recipients (ISH-193) 2024-03-16 17:44:40 +01:00
Laura Hausmann
4878d82463
[backend/federation] Fix sporadic key fetch failures (ISH-194) 2024-03-16 17:25:47 +01:00
Laura Hausmann
84c27a1cd3
[backend/core] Improve meta store cache reflection handler (ISH-133) 2024-03-16 16:32:16 +01:00
Laura Hausmann
14419b0907
[backend/core] Warmup meta store cache using reflection (ISH-133) 2024-03-16 13:48:39 +01:00
Laura Hausmann
be27893c32
[backend/core] Improve meta store (ISH-133) 2024-03-16 13:19:02 +01:00
Laura Hausmann
c0cd136140
[backend/core] Add very basic metadata store (ISH-133) 2024-03-15 19:55:14 +01:00
Laura Hausmann
6c4ce82461
[backend/masto-client] Render identicon with file extension
This is required by some clients to render push notification avatars correctly
2024-03-15 19:20:48 +01:00
Laura Hausmann
a623b870cd
[backend/masto-client] Add push notification support (ISH-182) 2024-03-15 19:20:48 +01:00
Laura Hausmann
3ab36f7d70
[backend/core] Enforce blocks & mutes everywhere (ISH-189) 2024-03-14 17:02:29 +01:00
Laura Hausmann
3a866d04dd
[backend/core] Federate blocks (ISH-169) 2024-03-14 15:58:13 +01:00
Laura Hausmann
085671b00c
[backend/core] Add block support (ISH-169) 2024-03-14 15:55:11 +01:00
Laura Hausmann
f41be007d7
[backend/core] Add mute support (ISH-169) 2024-03-14 15:33:54 +01:00
Laura Hausmann
a2075d4c63
[backend/masto-client] Add missing media endpoints, handle media_attributes on status update (ISH-155) 2024-03-14 12:10:03 +01:00
Laura Hausmann
80da86897f
[backend/core] Allow 0 & 1 as stand-ins for true & false during model binding (ISH-180) 2024-03-13 05:50:39 +01:00
Laura Hausmann
e65c76ca39
[backend/masto-client] Render quote uris inline (ISH-177) 2024-03-13 03:50:55 +01:00
Laura Hausmann
3224186447
[backend/masto-client] Fix query string dictionary handling in FromHybridProvider (ISH-183) 2024-03-13 03:08:18 +01:00
Laura Hausmann
4f8460914d
[backend/database] Also index & query note.cw for full text search (ISH-129) 2024-03-13 00:34:29 +01:00
Laura Hausmann
921f6a19b3
[backend/federation] Separate authorized fetch & inbox validation (ISH-127)
This fixes user creates & sporadic errors resulting from creating users during validation of their deletion
2024-03-13 00:21:51 +01:00
Laura Hausmann
e626d43627
[backend] Code cleanup 2024-03-12 23:16:45 +01:00
Laura Hausmann
104a2c485d
[backend/startup] Validate configuration on startup (ISH-23) 2024-03-12 22:07:48 +01:00
Laura Hausmann
0833cf49d2
[backend/federation] Fall back to JRD during host-meta step of the WebFinger process (ISH-162) 2024-03-12 05:45:15 +01:00
Laura Hausmann
91137b7fd9
[backend/api] Add reactions endpoints & return reaction data with note & timeline responses (ISH-156) 2024-03-11 05:20:07 +01:00
Laura Hausmann
4c9f3dd6d9
[backend/api] Add user profile endpoint (ISH-157) 2024-03-11 04:47:35 +01:00
Laura Hausmann
a8d68ac1e6
[backend/core] Switch to ConcurrentDictionary for ContextCache, Separate ContextCache from PreloadedContexts, limit ContextCache to 20 entries (ISH-166) 2024-03-11 04:28:03 +01:00