Commit Graph

103 Commits

Author SHA1 Message Date
c6305508bf Use @dataProvider for all tests 2019-04-11 23:41:25 -04:00
97222e6749 Implement CollectionIterator 2019-04-11 20:45:32 -04:00
b608e08661 Allow sorting collections dynamically; sort desc by default 2019-03-30 11:27:03 -04:00
fe53b0ca9b Test UndoHandler 2019-03-30 09:33:40 -04:00
6527a29f3d Handle Undo(Block) 2019-03-23 14:17:58 -04:00
917d86342e Test and bugfix inbox filtering for blocked actors 2019-03-23 13:35:30 -04:00
125c38db3c [WIP] Implement and test filtering out blocked actors from inboxes 2019-03-23 12:57:51 -04:00
9fdfa2ea78 Make getDBPath() static 2019-03-23 12:57:41 -04:00
9c7eb01edc [WIP] Begin implementing block filtering 2019-03-21 23:20:47 -04:00
fac4c01f6f Rename Activities in tests too 2019-03-20 19:16:56 -04:00
737f691a4c Rename Activities->ActivityEventHandlers 2019-03-20 19:14:10 -04:00
94a54eab5f Implement and test AnnounceHandler 2019-03-06 19:43:55 -05:00
eb1ed2e332 Test LikeHandler 2019-03-06 18:57:44 -05:00
b6cf22464a Implement and test removeHandler 2019-03-03 12:49:31 -05:00
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