Commit graph

66 commits

Author SHA1 Message Date
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
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
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
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
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
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
9d70c68dbd
Add unit test for linked data signatures 2024-01-20 20:39:29 +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
65ece17c40
Add indicies for user.IsAdmin and .IsModerator 2024-01-18 17:57:12 +01:00
Laura Hausmann
251228eabf
More compact as-extensions.json 2024-01-16 23:12:02 +01:00
Laura Hausmann
28efbaa95a
Better fallback to fix federation with invalid movedToUri contexts 2024-01-16 22:26:50 +01:00
Laura Hausmann
145c097f12
Debug logging should not use .LogInformation 2024-01-16 22:03:05 +01:00
Laura Hausmann
4632db029a
Add missing properties to UserCreate 2024-01-16 21:59:14 +01:00
Laura Hausmann
0fd0125700
Add actor validation & normalization 2024-01-16 21:25:29 +01:00
Laura Hausmann
9b7029dbf3
Fix snowflake id generation 2024-01-13 20:36:37 +01:00
Laura Hausmann
4271210ec2
Basic UserService.CreateUser impl 2024-01-13 20:25:27 +01:00
Laura Hausmann
b22dc7900f
Remove test file 2024-01-13 19:49:52 +01:00
Laura Hausmann
e8bb3f814a
Refactor AP services 2024-01-13 19:49:08 +01:00
Laura Hausmann
ae89337a2a
Refactor WebFinger -> WebFingerService 2024-01-13 19:46:47 +01:00
Laura Hausmann
7130df87ae
Remove StartupOptions, generate version from assembly info 2024-01-13 18:26:28 +01:00
Laura Hausmann
eace0cb0de
Implement basic UserService functions 2024-01-12 20:20:16 +01:00
Laura Hausmann
bb1f4e6e27
Fix NormalizeQuery 2024-01-12 19:25:32 +01:00
Laura Hausmann
7cb1d7a5b6
Un-stub AcctToTuple 2024-01-12 19:16:58 +01:00
Laura Hausmann
8bd049cc94
Finish up user resolver work 2024-01-12 19:13:01 +01:00
Laura Hausmann
80d6147757
Implement DI for backend services 2024-01-12 17:17:17 +01:00
Laura Hausmann
6ec6a43e1c
WIP: UserResolver 2024-01-09 20:00:54 +01:00
Laura Hausmann
ad7ca2935f
Add WebFinger implementation 2024-01-09 18:54:38 +01:00
Laura Hausmann
4b8c1e7b89
Map parsed config to class 2024-01-08 21:33:36 +01:00
Laura Hausmann
18dcdfb211
Remove duplicate table that was never used 2024-01-08 17:46:19 +01:00