Commit Graph

152 Commits

Author SHA1 Message Date
3fc30b786f Refactor validation handler to check for all fields at once; require actor 2019-01-28 10:00:02 -05:00
a5796f9e62 Add a global prefix to generated ids 2019-01-28 09:41:18 -05:00
a36e44df58 Return a Response from the activity event pipeline 2019-01-28 09:25:09 -05:00
d5d882c9be Implement method to set up the activity event handling pipeline 2019-01-28 09:24:41 -05:00
ed35863750 Do not generate activity id in NonActivityHandler 2019-01-28 09:24:15 -05:00
a0bc39b9f8 Add additional required fields for certain object types 2019-01-28 08:50:35 -05:00
286453f43b Rename verificationHandler->validationHandler 2019-01-28 08:35:45 -05:00
13287c7f10 Implement and test the VerificationHandler 2019-01-25 21:15:43 -05:00
feeea74aea Require inbox requests to be signed by the activity actor 2019-01-25 21:15:13 -05:00
3c5dfa9a3d Mock the HttpClient instead of making actual requests in tests 2019-01-25 21:14:49 -05:00
7ec09310b2 Use a type-safe config class instead of passing in an array 2019-01-23 18:34:25 -05:00
c31eaf2d18 Test NonActivityHandler 2019-01-23 16:54:53 -05:00
52219a5e59 Formatting 2019-01-23 15:43:04 -05:00
9672b06e3a Finish PostController test suite 2019-01-23 14:27:27 -05:00
986f83cf27 Write a test for PostController 2019-01-23 14:16:40 -05:00
ffca344f03 [WIP] Begin writing PostController test; refactor testing APObjects 2019-01-23 11:37:05 -05:00
94777ef55a Test Router 2019-01-23 09:43:23 -05:00
04920a86a2 Refactor routing/controller layer for better separation of concerns 2019-01-23 09:28:15 -05:00
31ace0ec11 Add request to ActivityEvent 2019-01-22 18:22:01 -05:00
ffc32e312c Refactor ActivityEvent to also have the actor; implement NonActivityHandler 2019-01-22 17:36:21 -05:00
19aa482d78 Put together activity handling framework; implement + test IdProvider 2019-01-22 10:01:35 -05:00
402b85680e Remove trailing comma 2019-01-21 11:10:24 -05:00
d6981b5106 Remove legacy code 2019-01-21 11:10:17 -05:00
2f458c0448 Test and debug AuthService 2019-01-20 22:55:36 -05:00
36b0a9c0bc Handle nonexistent pages; more tests 2019-01-20 22:30:29 -05:00
4e9a21771a Find next item index properly 2019-01-20 18:39:01 -05:00
5e979c4236 More CollectionsService tests 2019-01-20 17:35:33 -05:00
ed46ec1e1f Extract objectFromArray to service; implement CollectionService; test 2019-01-20 17:24:28 -05:00
499e4d235d [WIP] Extract auth and collection paging/filtering to their own services 2019-01-20 15:02:37 -05:00
f2d42130ea Rename outdated test method 2019-01-19 22:40:41 -05:00
3320ba45ee [WIP] Begin implementing collection handling for GetObjectController 2019-01-19 22:37:26 -05:00
cab1f667f4 Test the module, use class paths as container ids 2019-01-19 22:37:07 -05:00
c36bca1adb Allow public access to objects with no defined audience 2019-01-19 17:22:58 -05:00
e927d88c23 Refactor ControllerResolver; implement auth check for GetObjectController 2019-01-18 17:13:46 -05:00
88dd8a7b8f Implement and test AuthListener 2019-01-18 09:45:34 -05:00
887ac185ca Handle persisting circular references; improve asArray semantics 2019-01-18 09:13:50 -05:00
88bceea939 Test SignatureListener 2019-01-18 09:13:38 -05:00
b52fff4583 Add signature listener as subscriber to event dispatcher 2019-01-17 22:54:55 -05:00
aba516fd34 Implement dependency injection 2019-01-17 22:53:11 -05:00
8e88b1dc29 Implement SignatureListener 2019-01-17 22:52:47 -05:00
e62d7ab93b Update TODOs 2019-01-17 17:15:36 -05:00
4a1d2f7c08 Fix all tests 2019-01-17 17:14:11 -05:00
a302fa8708 Assign correct variable 2019-01-17 14:48:24 -05:00
11152623d4 Use dereference() instead of getObject() 2019-01-17 14:48:12 -05:00
0e494a7306 Rename createObject -> persist in tests 2019-01-17 14:47:51 -05:00
4c5b667175 Fix http signatures signing of psr7 requests 2019-01-17 14:47:30 -05:00
634db57684 [WIP] Begin building out object graph dereferencing 2019-01-17 12:50:17 -05:00
17aa58f1be Update docs 2019-01-15 11:38:34 -05:00
9e0aa8e5b7 Rename SignatureValidator->SignatureListener 2019-01-15 11:37:48 -05:00
84bdceedea Fix typos 2019-01-15 11:19:54 -05:00