Commit Graph

187 Commits

Author SHA1 Message Date
6d4e3391f4 Handle MySQL enum types in an existing DB schema 2019-03-02 14:31:27 -05:00
18ba59e4dd Don't delete existing DB tables 2019-03-02 14:29:13 -05:00
1e6d49f393 Register follow handler 2019-03-02 14:26:12 -05:00
7eda747b4f Test AcceptHandler 2019-03-02 14:13:39 -05:00
3b5c4f948c Implement Accept coming into the inbox 2019-02-24 13:52:15 -05:00
7904b0ff5a Add some TODOs 2019-02-24 13:51:24 -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
89ec9f4a88 Make all the tests pass in PHP5 and 7 2019-02-16 08:19:13 -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
efc355b7f9 Implement FollowHandler 2019-02-01 10:23:30 -05:00
d320db41a5 Add a TODO 2019-02-01 10:23:25 -05:00
3044ec5e08 Return 410 Gone response for Tombstone objects 2019-01-31 16:16:38 -05:00
ecd0b1c93a Add a TODO 2019-01-31 15:49:57 -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
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