Commit graph

17 commits

Author SHA1 Message Date
Cory Slep c2285ceec2 Rename Callbacks to disambiguate between S2S & C2S 2020-07-06 19:41:49 +02:00
Cory Slep ee53bc0369 Change delegate actor to use upper 'ID', fix tests 2020-07-05 22:37:26 +02:00
Cory Slep 311ab07a5c Use equal bytes function in tests when asserting 2020-07-05 15:53:42 +02:00
Cory Slep 18fcfcf812 Add tests for wrapping in create. 2020-07-05 15:22:18 +02:00
Cory Slep fa448c7559 Improve bto & bcc stripping before delivery.
Added unit tests covering the delivery call.
2020-07-05 14:10:33 +02:00
Cory Slep f2a497bdc2 Fix broken unit tests. 2020-07-02 21:15:02 +02:00
Cory Slep 82ca5994b4 Generate the new code update syntax.
This is a breaking change.

Sorry.

But it is for the long-term health.

Better now, than next year.

Expect a major version bump for next release.
2019-10-21 22:12:44 +02:00
Cory Slep d87793a589 Add context.Context as an output to Authorize interfaces 2019-09-14 16:35:48 +02:00
Cory Slep 3bc578e7dd Fix numerous bugs. Identify more. 2019-05-03 21:44:18 +02:00
Cory Slep 1ea8e2c7f3 Add more unit tests for new id generation.
Fix major bugs: was using IsExtendedBy checks instead of IsOrExtends
from the streams package.

For example, if checking for an OrderedCollection, was
checking its child types and failing if it was an OrderedCollection. Now
this is fixed, so OrderedCollection and child types are accepted.
2019-03-13 21:19:38 +01:00
Cory Slep ee16417bb3 Add PostOutbox tests and bugfixes for side effect actor. 2019-03-04 00:06:37 +01:00
Cory Slep 305e8100f1 Complete inbox forwarding tests 2019-03-03 23:17:00 +01:00
Cory Slep b4b18b96fa Two more inbox forwarding tests now pass. 2019-03-02 19:13:02 +01:00
Cory Slep 5f6b12a76d More unit tests and bug fixes. 2019-02-23 18:42:40 +01:00
Cory Slep 36a38b74b0 Increase side effect actor test coverage.
Introduce DefaultCallback to the protocol interfaces.
2019-02-20 21:31:11 +01:00
Cory Slep 1e5f5f9c86 Update authn and authz functions to have intuitive return values 2019-02-19 20:40:26 +01:00
Cory Slep 82851801ed Some tests for the side_effect_actor.go 2019-02-19 20:33:22 +01:00