Commit Graph

118 Commits

Author SHA1 Message Date
3ec769e7b0 Test DeleteHandler 2019-01-31 15:49:36 -05:00
a72b6cbd54 Implement DeleteHandler 2019-01-31 10:51:11 -05:00
05221cf91f Test UpdateHandler and ObjectsService::replace 2019-01-31 10:00:00 -05:00
9d988d25fb Don't require autoload 2019-01-30 11:28:12 -05:00
e3674a31e8 [WIP] Test update handler 2019-01-30 11:27:47 -05:00
16479f4094 Implement ObjectsService::replace 2019-01-29 21:49:46 -05:00
7ad4ca70ad Explicitly check for nulls 2019-01-29 21:49:34 -05:00
300908ddaf Fix syntax error 2019-01-29 21:49:20 -05:00
9966b547b4 [WIP] Implement the UpdateHandler, still need ObjectsService->replace 2019-01-29 19:44:48 -05:00
69d478dfbe [WIP] Begin implementing UpdateHandler 2019-01-29 18:50:59 -05:00
c1598dafbf Register handlers with module 2019-01-29 14:03:10 -05:00
6e4ebe5734 Update doc comment 2019-01-29 11:20:53 -05:00
b5669612ae Implement and test CreateHandler 2019-01-29 11:20:42 -05:00
c5813c4441 [WIP] Begin implementing the Create handler 2019-01-28 21:25:24 -05:00
4e9f251a38 Grab the object as an array, not a stdClass 2019-01-28 21:25:04 -05:00
23b993f05d Implement collection normalizing 2019-01-28 21:24:51 -05:00
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