Commit graph

119 commits

Author SHA1 Message Date
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
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
a408fa247a
[backend] Code cleanup 2024-03-17 13:36:08 +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
4878d82463
[backend/federation] Fix sporadic key fetch failures (ISH-194) 2024-03-16 17:25:47 +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
f07217b390
[backend/masto-client] Respect SupportsHtmlFormatting setting (ISH-88) 2024-03-01 22:37:59 +01:00
Laura Hausmann
ad21897928
[backend/core] Add user settings store (ISH-106) 2024-02-29 18:49:02 +01:00
Laura Hausmann
2c33f7aafc
[backend/core] Add lastActiveDate column to oauth_token and session tables 2024-02-24 22:43:14 +01:00
Laura Hausmann
ba0e041bad
[backend/core] Add 401/403 response examples programmatically 2024-02-24 22:09:47 +01:00
Laura Hausmann
c083305123
[backend] Code cleanup 2024-02-24 21:03:29 +01: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
399595ad1c
[backend/federation] Make LD signatures configurable 2024-02-21 18:56:49 +01:00
Laura Hausmann
1c8df9879d
[backend/core] Fix long application exit times by passing IHostApplicationLifetime.ApplicationStopping to long-running awaits 2024-02-21 03:50:38 +01:00
Laura Hausmann
b7f89a0d97
[backend/core] Properly handle errors after response has started 2024-02-21 02:31:51 +01:00
Laura Hausmann
14ef53f577
[backend/core] Update user LastActiveDate in background in AuthenticationMiddleware 2024-02-19 20:16:08 +01:00
Laura Hausmann
d4dd1ca104
[backend/federation] Fail fast when instance is blocked in AuthorizedFetchMiddleware 2024-02-19 03:04:34 +01:00
Laura Hausmann
a4746b3534
[backend/middleware] Error handling middleware improvements 2024-02-18 01:12:07 +01:00
Laura Hausmann
bc7db3fab9
[backend/federation] Fix confusing log output in AuthorizedFetchMiddleware 2024-02-18 01:07:03 +01:00
Laura Hausmann
b46e587132
[backend/federation] Improve log handling in AuthorizedFetchMiddleware 2024-02-18 01:05:06 +01:00
Laura Hausmann
e74e7654fe
[backend/federation] Refetch user pubkey if auth fetch validation fails 2024-02-18 00:51:18 +01:00
Laura Hausmann
de6211d6fb
[backend/federation] Handle JSON-LD signed requests in authorized fetch mode 2024-02-18 00:36:58 +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
9b551d11be
[backend/api] Add endpoint allowing admins to generate invites 2024-02-16 23:42:07 +01:00
Laura Hausmann
07edffa6b5
[backend/masto-client] Handle idempotency key header (ISH-75) 2024-02-15 22:59:39 +01:00
Laura Hausmann
1148bb5ee6
[backend/middleware] Rethrow gracefulexceptions in AuthorizedFetchMiddleware 2024-02-14 02:57:49 +01:00
Laura Hausmann
2756e19399
[backend/middleware] Improve error handling in AuthorizedFetchMiddlewre 2024-02-14 02:53:01 +01:00
Laura Hausmann
a1fbe6f9b5
[backend/federation] Enforce note visibility checks in AP controller 2024-02-12 05:09:06 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00
Laura Hausmann
02e003afa3
[backend/federation] Resolve incoming activity objects (ISH-20, ISH-12) 2024-02-09 13:28:07 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives 2024-02-09 12:09:03 +01:00
Laura Hausmann
ad17c7c097
[backend/masto-client] Basic support for posting notes (ISH-4) 2024-02-07 20:03:47 +01:00
Laura Hausmann
5978f1abc4
[backend] Implement federation control (ISH-2) 2024-02-07 17:52:41 +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
8c9e6ef56c
[backend/masto-client] Add follow/unfollow/relationship endpoints 2024-02-06 01:27:56 +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
d3da11f827
[backend/masto-client] Fix concurrent DbContext access 2024-02-03 04:21:55 +01:00
Laura Hausmann
09f9d2395c
[backend/masto-client] Implement /api/v1/accounts/verify_credentials 2024-02-02 01:46:37 +01:00
Laura Hausmann
cec4abd841
Mastodon client API foundations 2024-01-29 04:02:34 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +01:00