Commit graph

113 commits

Author SHA1 Message Date
Laura Hausmann
ec6e334266
[backend/api] Add TOTP submission endpoint (ISH-580) 2024-11-21 20:04:21 +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
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
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
86762dc386
[backend/asp] Make BlazorSsrHandoffMiddleware less hacky 2024-11-18 19:02:43 +01:00
Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability 2024-10-30 18:27:18 +01:00
Laura Hausmann
fbdab96f9d
[backend] Switch to more efficient TimeSpan/DateTime/-Offset handling where applicable 2024-10-30 18:13:11 +01:00
Laura Hausmann
29cbf5cb4b
[backend/asp] Return trace identifier header even when no error has occurred 2024-10-24 19:08:37 +02:00
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548) 2024-10-24 01:48:09 +02:00
Laura Hausmann
0e8aa8963c
[backend/federation] Improve error handling in InboxValidationMiddleware 2024-10-23 17:47:47 +02:00
Laura Hausmann
8071b5c6ea
[backend/middleware] Fix HTML error pages not working intermittently 2024-10-11 06:44:48 +02:00
Laura Hausmann
3a346d5a22
[backend/razor] Add admin dashboard (Admin-FE)
Currently available sections: instance metadata, user management, federation control, relays, plugins & queue dashboard.
Planned: sections: configuration, logs, policies & reports.
2024-10-11 05:41:52 +02:00
Laura Hausmann
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components) 2024-10-02 02:17:51 +02:00
Laura Hausmann
df26db0585
[backend/federation] Add relay support (ISH-266) 2024-09-28 00:32:43 +02:00
Laura Hausmann
9789c8452e
[backend/razor] Show login button when displaying public preview disabled error page 2024-09-24 02:36:29 +02:00
Laura Hausmann
1c2079e1ee
[backend] Rework GracefulException throws without additional detail 2024-09-24 00:45:18 +02:00
Laura Hausmann
898ea4d26c
[backend/razor] Add login button to footer 2024-09-19 00:08:12 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +02:00
Laura Hausmann
13092e0e9a
[backend/configuration] Rename ExtraWebDomains to AdditionalDomains 2024-09-13 18:03:21 +02:00
Kopper
834661981a [backend] Allow admins to specity extra web domains the instance is accessible from
For frontends that expect relative paths
2024-09-13 17:30:05 +02:00
Laura Hausmann
b50121d0a1
[backend/api-shared] Fix upload of files larger than 28MB. 2024-09-05 22:33:55 +02:00
Laura Hausmann
173fbfb835
[backend/asp] Return error responses as HTML/XML/JSON depending on accept header 2024-08-16 01:00:43 +02:00
Laura Hausmann
8267bc06de
[backend] Code cleanup 2024-08-14 03:53:15 +02:00
Laura Hausmann
4f98fa8461
[backend/federation] Fix possibly unbounded UserResolver recursion 2024-08-14 03:44:14 +02:00
Laura Hausmann
2506e42733
[backend/core] Remove no-duplicate request/job id from log messages 2024-08-13 20:57:06 +02:00
Laura Hausmann
559e50da10
[backend/middleware] Always reject requests from suspended users 2024-08-12 19:13:46 +02:00
Laura Hausmann
c7d0280eb6
[backend] Use SemaphorePlus instead of SemaphoreSlim 2024-07-22 05:59:41 +02:00
Laura Hausmann
769a94d83c
[backend/asp] Improve validation error handling 2024-07-10 02:55:57 +02:00
Laura Hausmann
2c2842de50
[shared] Code cleanup 2024-07-04 18:02:00 +02:00
Laura Hausmann
e0461ee3fd
[shared] Refactor namespaces 2024-07-04 17:53:11 +02:00
Kopper
27f6e3790f [backend/api] Add emoji pack importer 2024-07-03 00:57:47 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
5857e9ec7d
[backend] Fix typo 2024-06-20 18:29:34 +02:00
Laura Hausmann
978a19d6b1
[backend/logging] Improve logging in ErrorHandlerMiddleware further 2024-06-20 18:25:15 +02:00
Laura Hausmann
d94ccaceaa
[backend/logging] Log suppressed logs with trace loglevel 2024-06-20 18:18:18 +02:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370) 2024-06-17 17:25:29 +02:00
Laura Hausmann
0a5e130783
[backend/federation] Log instance blocked failures in inbox queue as debug 2024-06-16 22:36:38 +02:00
Laura Hausmann
58e9d343ac
[backend/federation] Handle invalid activities in InboxValidationMiddleware more gracefully 2024-06-16 20:04:37 +02:00
Laura Hausmann
5771e43dda
[backend/federation] Add configuration option for limiting the number of concurrent federation requests (ISH-338) 2024-06-10 18:18:23 +02:00
Laura Hausmann
1ef5be8917
[backend/core] Correctly handle remote AP redirects to local notes 2024-06-04 19:39:07 +02:00
Laura Hausmann
db7e51358f
[backend/federation] Code cleanup 2024-05-03 02:39:48 +02:00
Laura Hausmann
003207bb06
[backend/federation] Improve LD signature checks for ASDelete activities 2024-05-03 02:35:50 +02:00
Laura Hausmann
3ca926cfbd
[backend/federation] Don't require date header in http signatures if (created) is present and signed 2024-04-29 20:44:30 +02:00
Laura Hausmann
aaa3f91e1f
[backend/api-shared] Add Cache-Control: private, no-store for all authenticated requests 2024-04-27 21:54:11 +02:00
Laura Hausmann
7dd0262333
[backend/federation] Add Cache-Control: no-store to authorized fetch endpoints 2024-04-27 20:32:31 +02:00
Laura Hausmann
40296b02f0
[backend/middleware] Move ContentEncodingNegotiator into WebApplicationBlazorFrameworkExtensions.cs 2024-04-16 23:54:29 +02:00
Laura Hausmann
5564f29b8b
[backend/middleware] Dynamically decompress brotli assets instead of storing uncompressed ones (ISH-264) 2024-04-16 22:20:29 +02:00