Commit Graph

166 Commits

Author SHA1 Message Date
447cdb3481 Use CollectionIterator instead of manual iteration here 2019-04-11 23:46:18 -04:00
c6305508bf Use @dataProvider for all tests 2019-04-11 23:41:25 -04:00
1bb7fef9cd Implement recipient resolution 2019-04-11 20:45:45 -04:00
97222e6749 Implement CollectionIterator 2019-04-11 20:45:32 -04:00
5bb70fa7e5 [WIP] Begin implementing delivery 2019-04-06 14:08:06 -04:00
e10b111a4b Don't attempt to dereference local objects via http 2019-04-06 13:25:35 -04:00
35241944cf Generate IDs for outbox activities before persisting 2019-03-30 11:31:11 -04:00
b608e08661 Allow sorting collections dynamically; sort desc by default 2019-03-30 11:27:03 -04:00
5f985c36c0 Handle unicode in response properly 2019-03-30 11:26:39 -04:00
6729d98039 Implement ActivityPersister 2019-03-30 09:48:26 -04:00
c67ddcd760 Clarify which actor ActivityEvent::actor is 2019-03-30 09:35:17 -04:00
fe53b0ca9b Test UndoHandler 2019-03-30 09:33:40 -04:00
0a3ce77893 Implement UndoHandler; register all activity handlers 2019-03-24 11:31:37 -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
a227c99d23 Use Collection instead of OrderedCollection for followers/following 2019-03-06 18:23:02 -05:00
c737625ead Implement LikeHandler 2019-03-06 18:22:51 -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
d5cdb06dc7 Leverage the totalItems field for O(1) collection adding if present 2019-03-02 17:23:53 -05:00
15dd5d3e9f Implement AddHandler 2019-03-02 17:23:34 -05:00
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