Commit Graph

175 Commits

Author SHA1 Message Date
545e309d4b Install codesniffer 2019-04-14 12:55:13 -04:00
6bb81d9657 Limit recursive collection unpacking 2019-04-14 12:55:01 -04:00
6d0d364704 Add note 2019-04-14 12:27:55 -04:00
7536c42260 Respond correctly 2019-04-14 12:27:32 -04:00
909fae3dfa Hook up DeliveryHandler 2019-04-13 16:58:40 -04:00
dfdf9dd6d0 Log error responses 2019-04-13 16:54:05 -04:00
45b441130a Wrap Monolog logger in custom logger 2019-04-13 16:25:42 -04:00
0231a41859 [WIP] Implement delivery 2019-04-12 22:49:58 -04:00
440bbfd167 Inject a logger 2019-04-12 22:49:38 -04:00
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