Commit graph

1552 commits

Author SHA1 Message Date
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
14785de8c2
Fix unit tests 2024-01-24 04:22: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
28066784f2
Actually use authorized fetch middleware 2024-01-24 03:16:09 +01:00
Laura Hausmann
7524c5acc7
Add authorized fetch middleware 2024-01-24 03:03:20 +01:00
Laura Hausmann
25c328b02f
Implement basic AP note serializer 2024-01-24 02:21:48 +01:00
Laura Hausmann
d6866fe9c2
Code cleanup 2024-01-24 01:45:28 +01:00
Laura Hausmann
78cd4d207e
Improve ASCollection implementation 2024-01-24 01:40:52 +01:00
Laura Hausmann
7b3766e642
Update README.md 2024-01-24 00:42:40 +01:00
Laura Hausmann
eaf89f87f2
Refactor WebApplicationExtensions, set version suffix to 'alpha' 2024-01-24 00:35:57 +01:00
Laura Hausmann
59685b801c
Initialize database on startup 2024-01-23 23:56:20 +01:00
Laura Hausmann
068fe25d9d
Implement nodeinfo 2024-01-23 23:43:34 +01:00
Laura Hausmann
c35b62e2f2
Add create local user function 2024-01-23 21:24:45 +01:00
Laura Hausmann
e77da0f91d
Implement .well-known/host-meta and .well-known/webfinger 2024-01-23 21:02:18 +01:00
Laura Hausmann
b930c60fd9
Improve invalid signature test for http sigs 2024-01-23 04:18:11 +01:00
Laura Hausmann
34ae4ee9da
Cleanup unit tests 2024-01-23 04:14:54 +01:00
Laura Hausmann
af054faa05
Add unit tests for http signatures 2024-01-23 04:13:54 +01:00
Laura Hausmann
5f088ba66f
Refactor http signature validation 2024-01-23 02:59:39 +01:00
Laura Hausmann
3fba5550d5
Add mastodon-specific namespace to json-ld loader 2024-01-23 02:24:06 +01:00
Laura Hausmann
c7cf5d9389
Properly handle host header in HttpSignature.GenerateSigningString 2024-01-23 02:10:27 +01:00
Laura Hausmann
c207d77d51
Fix ToHeaderDictionary in HttpSignature 2024-01-23 02:04:10 +01:00
Laura Hausmann
6a80e503d9
Serialize Inbox, SharedInbox & Endpoints in ASUserRenderer 2024-01-23 01:52:06 +01:00
Laura Hausmann
a4d787331b
Improve MediaTypeRouteFilterAttribute 2024-01-23 01:43:07 +01:00
Laura Hausmann
cb48468627
Add date header to http signatures 2024-01-23 01:26:47 +01:00
Laura Hausmann
8a7bfff7ef
HTTP signature fixes 2024-01-23 01:08:04 +01:00
Laura Hausmann
65f009ff74
Fix MediaTypeRouteFilterAttribute 2024-01-22 21:35:55 +01:00
Laura Hausmann
f128637957
Improve Dockerfile 2024-01-22 21:25:03 +01:00
Laura Hausmann
b7e882485d
Improve MediaTypeRouteFilterAttribute 2024-01-22 21:24:09 +01:00
Laura Hausmann
f1c9c07e9b
Improve migrate commands 2024-01-22 21:07:33 +01:00
Laura Hausmann
33a54a7622
Add migrate and migrate-and-start commands 2024-01-22 21:00:40 +01:00
Laura Hausmann
df460bb822
Add authorized fetch & system user generation 2024-01-22 20:48:40 +01:00
Laura Hausmann
1efd5a8673
Implement http signatures properly 2024-01-22 00:47:26 +01:00
Laura Hausmann
6351afb39c
Add FetchNote method to ActivityPubService 2024-01-20 22:34:50 +01:00
Laura Hausmann
8dc044d428
Refactor ASObjectConverter 2024-01-20 22:25:41 +01:00
Laura Hausmann
6055a4604e
Don't push docker image if tests fail 2024-01-20 22:02:55 +01:00
Laura Hausmann
09c0aabb0e
Fix json-ld canonicalize bug in dotnetrdf instead 2024-01-20 21:51:58 +01:00
Laura Hausmann
6bb356ea02
Add JSON-LD expand/compact/canonicalize tests 2024-01-20 21:44:44 +01:00
Laura Hausmann
9ac55fdeb8
Add more test cases for LD signatures 2024-01-20 21:22:08 +01:00
Laura Hausmann
e1f020c254
Fix additional nuget sources for tests project 2024-01-20 20:51:35 +01:00
Laura Hausmann
42613d0a94
Add unit tests to CI 2024-01-20 20:48:22 +01:00
Laura Hausmann
9d70c68dbd
Add unit test for linked data signatures 2024-01-20 20:39:29 +01:00
Laura Hausmann
2c9e40f63e
Switch to MSTest 2024-01-20 19:19:43 +01:00
Laura Hausmann
b4c1d45ac9
Cleanup ASLink 2024-01-20 18:42:09 +01:00
Laura Hausmann
ae7a499e6c
Basic (working!) roundtrip LD signature implementation 2024-01-20 18:41:49 +01:00
Laura Hausmann
16f7f89802
Proper JSON-LD canonicalization 2024-01-20 18:41:49 +01:00
Laura Hausmann
9118cc3265
Switch to dev version of dotnetrdf temporarily 2024-01-20 18:41:49 +01:00
Laura Hausmann
65ece17c40
Add indicies for user.IsAdmin and .IsModerator 2024-01-18 17:57:12 +01:00