Commit Graph

89 Commits

Author SHA1 Message Date
94c9ee417b Implement and test CollectionsService::removeItem 2019-03-03 12:37:10 -05:00
4e02319ffa Test and register AddHandler 2019-03-02 17:43:36 -05:00
15dd5d3e9f Implement AddHandler 2019-03-02 17:23:34 -05:00
7eda747b4f Test AcceptHandler 2019-03-02 14:13:39 -05:00
5f4f7c4bc4 Test CollectionsService::addItem 2019-02-23 10:35:27 -05:00
f7b42c3006 Fix tests 2019-02-16 12:57:26 -05:00
510df450e9 Reformat all code 2019-02-16 12:51:24 -05:00
9aab13701c Implement addItem() 2019-02-16 12:48:00 -05:00
1b5003727d Make the library PHP ^5.5 compatible 2019-02-13 22:27:47 -05:00
9c4c39fb0b [WIP] Make it compatible with PHP 5.5; fix PHPStorm warnings 2019-02-06 22:48:00 -05:00
eba10d28e9 Test FollowHandler 2019-02-01 11:07:26 -05:00
3044ec5e08 Return 410 Gone response for Tombstone objects 2019-01-31 16:16:38 -05:00
e4120a87cb Fix some ids in the UpdateHandlerTest 2019-01-31 15:49:44 -05:00
3ec769e7b0 Test DeleteHandler 2019-01-31 15:49:36 -05:00
05221cf91f Test UpdateHandler and ObjectsService::replace 2019-01-31 10:00:00 -05:00
e3674a31e8 [WIP] Test update handler 2019-01-30 11:27:47 -05:00
9966b547b4 [WIP] Implement the UpdateHandler, still need ObjectsService->replace 2019-01-29 19:44:48 -05:00
b5669612ae Implement and test CreateHandler 2019-01-29 11:20:42 -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
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
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
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
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