Laura Hausmann
a76f70d030
[backend/database] Convert DatabaseContext to use LF newlines
2024-11-23 21:34:30 +01:00
Laura Hausmann
853f598bc4
[backend/razor] Add "top delayed" section to queue dashboard
2024-11-23 21:34:30 +01:00
Kopper
36d9a8cc49
[backend/federation] Context collection
2024-11-23 18:20:41 +01:00
Laura Hausmann
9989aae29e
[backend/libmfm] Set alt text for emoji in public preview
2024-11-22 22:42:25 +01:00
Laura Hausmann
ec6e334266
[backend/api] Add TOTP submission endpoint (ISH-580)
2024-11-21 20:04:21 +01:00
Laura Hausmann
fe8c736821
[backend/federation] Limit UserResolver invocations in NoteService (ISH-622)
2024-11-21 00:45:30 +01:00
Laura Hausmann
863c9ca9c9
[backend/federation] Improve actor & note validation (ISH-547)
2024-11-20 23:54:32 +01:00
Laura Hausmann
727ba75d0e
[backend/federation] Deduplicate recipients in ActivityDeliverService
2024-11-20 01:31:14 +01:00
Laura Hausmann
48bb81af1c
[backend/core] Deliver note creates & updates to reply author even if they're not mentioned
2024-11-20 01:30:56 +01:00
Laura Hausmann
ccdc816c26
[backend] Update ReSharper rules
2024-11-20 01:22:53 +01:00
Laura Hausmann
00d3248b8a
[backend] Fix build
2024-11-20 01:22:09 +01:00
Laura Hausmann
51e4846635
[backend/core] Revert Task.ContinueWithResult naming
2024-11-20 01:14:50 +01:00
Laura Hausmann
a762a9201e
[backend/core] Revert IAsyncEnumerable naming
2024-11-20 01:12:32 +01:00
Laura Hausmann
24b412bd75
[sln] Reformat code
2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style
2024-11-20 00:48:29 +01:00
Laura Hausmann
55f7b48d80
[backend/asp] Fix BlazorSsrHandoffMiddleware not getting triggered
2024-11-19 20:06:06 +01:00
Laura Hausmann
579f8c233a
[backend/core] Code cleanup
2024-11-19 19:38:31 +01:00
Laura Hausmann
0ee5ff377e
[backend] Move OutputCacheMiddleware into UseCustomMiddleware to make the order more obvious
2024-11-18 19:20:23 +01:00
Laura Hausmann
dd7b7634c6
[backend/core] Convert scoped services with request-specific properties to singletons by utilizing AsyncLocal<T>
2024-11-18 19:02:44 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable
2024-11-18 19:02:44 +01:00
Laura Hausmann
705e061f74
[backend/asp] Refactor middleware stack
...
This commit splits the request pipeline conditionally instead of invoking every middleware in the stack.
It also simplifies middleware instantiation by using runtime discovery, allowing for Plugins to add Middleware.
2024-11-18 19:02:44 +01:00
Laura Hausmann
4af69a6afa
[backend/asp] Add ExceptionVerbosity level Debug
2024-11-18 19:02:43 +01:00
Laura Hausmann
f252c1a85e
[backend] Code cleanup
2024-11-18 19:02:43 +01:00
Laura Hausmann
86762dc386
[backend/asp] Make BlazorSsrHandoffMiddleware less hacky
2024-11-18 19:02:43 +01:00
Laura Hausmann
3b8a4b89a9
[backend/openapi] Replace ConsumesHybrid condition with FromHybrid
2024-11-18 19:02:43 +01:00
Laura Hausmann
2c0e0d0922
[backend/openapi] Don't regenerate OpenAPI schemas files on every request
2024-11-18 19:02:43 +01:00
Laura Hausmann
84b8553a40
[backend/database] Switch to in-model entity configuration
2024-11-18 19:02:43 +01:00
Laura Hausmann
ff59b07035
[backend/federation] Add short-lived cache for non-specific federation requests
2024-11-18 19:02:42 +01:00
Laura Hausmann
1e5c033fb1
[backend/razor] Add transparent decompression hook to MapStaticAssets, replacing the old BlazorFrameworkFiles hook
2024-11-18 19:02:42 +01:00
Laura Hausmann
4186388d4c
[backend/openapi] Add scalar-ui, add OpenAPI overview page
2024-11-18 19:02:42 +01:00
Laura Hausmann
107d9314a9
[backend/database] Fix design-time database updates
2024-11-18 19:02:41 +01:00
Laura Hausmann
752c22980d
[backend/federation] Fix FilterHidden with except userId failing to translate
...
This seems to be an EF 9 specific bug, though I can't reproduce it in an isolated query. Benchmarks say the resulting queries perform identically, so I don't think this is much of an issue.
2024-11-18 19:02:41 +01:00
Laura Hausmann
6c76b2b2c5
[backend] Switch params methods to IEnumerable<T>
2024-11-18 19:02:41 +01:00
Laura Hausmann
b49be2f904
[backend/database] Fix efcore.pg v9 enum mapping
2024-11-18 19:02:41 +01:00
Laura Hausmann
a18c1c59ea
[parsing] Fix compatibility with the new F# reference type nullability checks
2024-11-18 19:02:41 +01:00
Laura Hausmann
8d288e9f44
[backend/core] Convert GeneratedRegex partial methods to partial properties
2024-11-18 19:02:41 +01:00
Laura Hausmann
c6adb0bee1
[backend/core] Switch to lock objects for locking purposes
2024-11-18 19:02:40 +01:00
Laura Hausmann
940e6f847e
[backend/drive] Fix errors when uploading files with long names containing unicode characters to object storage
2024-11-17 17:12:19 +01:00
Laura Hausmann
2ef78e3f41
[parsing] Add strike html tag support, keep italic/bold/strike in html tag form when reserializing
2024-11-17 16:44:05 +01:00
Laura Hausmann
b6dddd9439
[backend/core] Trim UserPublicKey before inserting into database
2024-11-12 20:57:16 +01:00
Laura Hausmann
2b046fc444
[parsing] Add support for has:media search query
2024-11-11 01:52:48 +01:00
Laura Hausmann
73783fa0ee
[backend/libmfm] Fix MfmSerializer dropping leading & trailing whitespace on recursive calls
2024-11-10 22:24:55 +01:00
Kopper
11170ffbcc
[backend/masto-client] Allow admin:read and admin:write scopes
...
These aren't actually used anywhere but supported just to make sure
clients that specify them in their scopes can log in successfully.
2024-11-07 21:34:40 +01:00
Kopper
d22a21c7e7
[backend/federation] Render Create in /notes/{id}/activity when not a renote
2024-11-07 20:13:47 +01:00
Laura Hausmann
3e8ba289c3
[backend/drive] Fix incorrect mime type & file extension when converting original files (ISH-593)
...
Closes #64
Co-authored-by: Tamara Schmitz <tamara.zoe.schmitz@posteo.de>
2024-11-07 20:04:34 +01:00
Laura Hausmann
e34b4f5c1a
[backend/drive] Convert ImageFormat to a closed record
2024-11-07 20:04:34 +01:00
Kopper
94328a3eef
[backend] Use a stack instead of queue when backfilling
...
This makes each reply chain load completely before loading the next
chain, instead of the current behavior that loads all replies of one
depth before loading the next "layer".
This won't make much of a difference *now*, but should result in more
intuitive behavior when live updating of newly loaded replies gets
implemented.
2024-11-06 20:02:29 +01:00
Laura Hausmann
4b01ecddfa
[backend/startup] Reference help shortlinks instead of directing to the wiki
2024-11-05 23:41:20 +01:00
pancakes
4d85fce1cf
[backend/core] Catch failed resolves in ImportFollowingAsync
2024-11-06 00:32:34 +10:00
Laura Hausmann
ceb8da8f3d
[shared] Only compute version info once
2024-11-03 22:43:28 +01:00