Commit graph

95 commits

Author SHA1 Message Date
Laura Hausmann
37e7f339bc
Add basic api rate limiter 2024-01-27 22:11:46 +01:00
Laura Hausmann
baaee0bb27
Hardcode default config options 2024-01-27 21:20:48 +01:00
Laura Hausmann
55ba51be25
Store data protection keys in database 2024-01-27 20:24:16 +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
471516f729
Fix follow accept rendering 2024-01-27 03:44:33 +01:00
Laura Hausmann
7af8840f2d
Correctly generate Guid 2024-01-27 03:18:10 +01:00
Laura Hausmann
75062fca2f
Handle undo activity for follow requests 2024-01-27 03:04:11 +01:00
Laura Hausmann
a3d2e3c0d3
Handle follow requests properly 2024-01-27 02:58:02 +01:00
Laura Hausmann
a8bd625ce1
Refactor type constants 2024-01-27 02:54:05 +01:00
Laura Hausmann
831a1ceeba
Refactor AP core 2024-01-27 02:39:16 +01:00
Laura Hausmann
e4211fde56
Outgoing federation 2024-01-27 01:18:21 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
5f3696fa74
Handle note visibility 2024-01-26 19:12:15 +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
e72a25db3c
Clean up unused references 2024-01-25 03:46:11 +01:00
Laura Hausmann
31daa063d3
Inject the correct ILogger into APService 2024-01-25 03:31:54 +01:00
Laura Hausmann
7f8d2e2012
Improve QueueService 2024-01-25 03:29:15 +01:00
Laura Hausmann
bf3e72da9b
Basic note create 2024-01-25 03:16:29 +01:00
Laura Hausmann
8d4a20896c
Federation groundwork 2024-01-25 01:36:07 +01:00
Laura Hausmann
59f2e93fee
Add stub inbox queue processor 2024-01-25 00:22:05 +01:00
Laura Hausmann
4c12cbf65c
Add basic queue system 2024-01-24 23:49:01 +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
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