Commit graph

93 commits

Author SHA1 Message Date
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
Laura Hausmann
135d26127b
Allow changing the password of a user 2024-01-28 00:54:58 +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
37e7f339bc
Add basic api rate limiter 2024-01-27 22:11:46 +01:00
Laura Hausmann
a3441a1f35
Fix instance actor comparison for authorized fetch 2024-01-27 19:37:37 +01:00
Laura Hausmann
331f3a5322
Allow fetching the instance actor without authorized fetch 2024-01-27 03:59:45 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
431bbaccb2
Handle follow and unfollow activity types 2024-01-26 18:57:59 +01:00
Laura Hausmann
0dc1533b75
Improve NoteService.CreateNote 2024-01-26 03:09:52 +01:00
Laura Hausmann
bf3e72da9b
Basic note create 2024-01-25 03:16:29 +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
Laura Hausmann
7524c5acc7
Add authorized fetch middleware 2024-01-24 03:03:20 +01:00
Laura Hausmann
af054faa05
Add unit tests for http signatures 2024-01-23 04:13:54 +01:00