Commit graph

50 commits

Author SHA1 Message Date
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +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
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
29cbf5cb4b
[backend/asp] Return trace identifier header even when no error has occurred 2024-10-24 19:08:37 +02:00
Laura Hausmann
8071b5c6ea
[backend/middleware] Fix HTML error pages not working intermittently 2024-10-11 06:44:48 +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
9789c8452e
[backend/razor] Show login button when displaying public preview disabled error page 2024-09-24 02:36:29 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +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
2506e42733
[backend/core] Remove no-duplicate request/job id from log messages 2024-08-13 20:57:06 +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
0a5e130783
[backend/federation] Log instance blocked failures in inbox queue as debug 2024-06-16 22:36:38 +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
ba351a459e
[backend] Fix ErrorHandlerMiddleware exception source logging 2024-04-10 00:52:01 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238) 2024-04-10 00:15:46 +02:00
Laura Hausmann
6bc2b8d57c
[frontend] Bootstrap shared DTOs, API abstractions, SignalR & more 2024-04-01 20:22:45 +02:00
Laura Hausmann
f22c4a7c32
[backend/core] Improve error handling in code paths that try to resolve a deleted remote user 2024-02-21 19:04:46 +01:00
Laura Hausmann
b7f89a0d97
[backend/core] Properly handle errors after response has started 2024-02-21 02:31:51 +01:00
Laura Hausmann
a4746b3534
[backend/middleware] Error handling middleware improvements 2024-02-18 01:12:07 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
07edffa6b5
[backend/masto-client] Handle idempotency key header (ISH-75) 2024-02-15 22:59:39 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives 2024-02-09 12:09:03 +01:00
Laura Hausmann
94820c2b71
[backend] Add request duration header for non-timing-sensitive (cryptography-related) endpoints 2024-02-06 02:42:35 +01:00
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
cb749c94e6
[backend] Ignore WebFinger failures with response code 410 Gone 2024-02-05 20:29:11 +01:00
Laura Hausmann
c0dfce1e2c
[backend] Improve logging for rejected invalid requests 2024-02-03 23:23:10 +01:00
Laura Hausmann
b72a22b9b0
[backend] Reject requests if Host header doesn't match configured WebDomain or AccountDomain 2024-02-03 22:57:35 +01:00
Laura Hausmann
cec4abd841
Mastodon client API foundations 2024-01-29 04:02:34 +01:00
Laura Hausmann
64a70e688c
Split authentication and authorization 2024-01-28 00:42:22 +01:00
Laura Hausmann
e755f9f96f
Add basic authentication system 2024-01-28 00:31:54 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
0dc1533b75
Improve NoteService.CreateNote 2024-01-26 03:09:52 +01:00
Laura Hausmann
59a55d0821
Implement GracefulException details attribute 2024-01-24 20:35:26 +01:00
Laura Hausmann
37ed6bbb96
Make exception verbosity configurable 2024-01-24 19:38:00 +01:00
Laura Hausmann
5569fe061f
Rename CustomException to GracefulException 2024-01-24 19:14:01 +01:00
Laura Hausmann
2e4a1137ed
Implement IMiddleware for all middlewares 2024-01-24 19:10:43 +01:00
Laura Hausmann
bb365ddc66
Improve & refactor exception handling 2024-01-24 18:58:19 +01:00
Laura Hausmann
de3ca32aa9
Update TODOs 2024-01-24 04:16:56 +01:00
Laura Hausmann
f15fd9cc79
Implement exception handler 2024-01-24 04:11:56 +01:00