コミットグラフ

20 コミット

作成者 SHA1 メッセージ 日付
Cory Slep 2adcc56581 Add PostOutbox Create unit tests.
Fix normalizing the recipents between the object and the activity. Also
allow the handlers to adjust what gets placed in the outbox, since the
client-to-server API allows the server to modify the object before being
delivered.
2018-04-22 14:02:45 +02:00
Cory Slep 19ca5b0975 Add PostOutbox non-callback tests.
Also move some functions out of the generic Application interface into
the specialized SocialApp interface. They will be moved back into the
Application interface if further development needs it when implementing
inbox forwarding, for example.
2018-04-19 20:58:00 +02:00
Cory Slep e9b4c720b2 Add GetOutbox tests 2018-04-17 19:24:18 +02:00
Cory Slep a028bcc302 Add all GetInbox unit tests 2018-04-14 18:20:03 +02:00
Cory Slep c5830e6eff Add PostInbox Like and Undo unit tests 2018-04-14 09:54:30 +02:00
Cory Slep a06ee678e8 Add PostInbox Remove unit tests 2018-04-14 09:36:24 +02:00
Cory Slep 4050d971c4 Add PostInbox Add unit tests. 2018-04-13 22:08:39 +02:00
Cory Slep 7d049ea3d4 Add tests for PostInbox Object/Target requirements
Also fixed my earlier stupidity at requiring a 'type' when I meant to
require a 'target'. Also added the missing checks to the federated
handlers.
2018-04-12 21:55:20 +02:00
Cory Slep 7434f1f9eb Add PostInbox Reject unit test 2018-04-11 20:30:28 +02:00
Cory Slep 589f2a91af Add PostInbox Accept unit tests 2018-04-11 20:13:25 +02:00
Cory Slep a944e2493a Fix pub build. Implement Follow AutoAccept test.
Also refactored the likes/liked add-to-collections logic so that they
are also applicable for following and followers collections. This code
is still as ugly as sin.
2018-04-11 00:10:29 +02:00
Cory Slep 9f42e8c52c Testing for @context and Follow DoNothing/Reject.
Testing the Follow AutoAccept feature requires implementing it similar
to how the likes collections are implemented.
2018-04-08 19:17:08 +02:00
Cory Slep 3c0e0a89c4 Add PostInbox Delete unit tests 2018-04-05 22:49:32 +02:00
Cory Slep 622a96e6c4 Add PostInbox Create and Update unit tests 2018-04-05 22:08:12 +02:00
Cory Slep c6c350e4d0 Move the DelivererPool out of ActivityPub.
This simplifies testing and allows other implementations to supply a
basic version instead.
2018-04-04 20:36:23 +02:00
Cory Slep bb37850bde Finish first tests for the Social & Federated APIs
Before more tests are to be written, the delivererPool concept needs to
be fully divorced out of the fed library. It is a detail that is
tangential but supplementary. Right now though it is complicating the
tests due to its asynchronous & complex nature. Breaking it out
will simplify the ~90 tests remaining that capture the more nuanced
behavior of this implementation.
2018-04-04 00:29:55 +02:00
Cory Slep 4e007b395c Add FederatingPubber tests 2018-04-01 19:06:58 +02:00
Cory Slep ad9baa2f69 Add SocialPubber PostOutbox test 2018-04-01 16:53:32 +02:00
Cory Slep 981d943e72 Implement more tests, fix test names 2018-04-01 01:12:58 +02:00
Cory Slep f8d65fafde Outline 109 tests to write for Pubber 2018-03-31 23:26:17 +02:00