Cory Slep
351ebe64b7
Migrate serialize from pub to streams; export
2019-08-09 17:29:08 +02:00
Cory Slep
f655c76e91
Permit hooks to return the modified context
2019-06-17 21:11:51 +02:00
Cory Slep
c365730b4e
go-fed improvements based on experience.
...
1. Obtaining callbacks are allowed to return errors
2. Hooks for setting context information based on request body is now
possible.
2019-06-17 20:19:11 +02:00
Cory Slep
8dd3c056b3
Add ids to Accept/Rejects to Follows; clean out nested @context in serialization
2019-05-03 23:39:40 +02:00
Cory Slep
3bc578e7dd
Fix numerous bugs. Identify more.
2019-05-03 21:44:18 +02:00
Cory Slep
ca18901fcc
Bugfix for programmatic delivery
2019-04-03 23:35:57 +02:00
Cory Slep
d535bc95f3
Add FederatingActor and implementation.
2019-03-24 17:18:22 +01: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
d58887e7b3
Inbox forwarding bug fixes.
...
Properly use nil guards on inbox forwarding properties. Correct the
recursion when examining these values so that it no longer inspects
ownership of the activitiy, and no longer double-checks an unowned IRI.
Finally, have deliver use the batch deliver call.
2019-03-02 19:11:26 +01:00
Cory Slep
48e15c99a2
Remove workaround for go v1.11 compiler bug
2019-02-28 23:19:53 +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
b41491e2c2
Add missing Unlock calls.
2019-02-19 20:33:42 +01:00
Cory Slep
dc16296d74
Remove TODO that is now documented as an issue.
2019-02-15 23:56:49 +01:00
Cory Slep
272d7239f3
Generate generic ToType function.
2019-02-15 22:47:59 +01:00
Cory Slep
c4a7b0524e
Always acquire db lock before calling Owns
2019-02-15 22:04:08 +01:00
Cory Slep
2099e89851
Address several TODOs in side_effect_actor
2019-02-15 21:59:02 +01:00
Cory Slep
7beac61f97
Address IRI dereferencing in util
2019-02-15 21:42:56 +01:00
Cory Slep
cc83b751a1
Update interface definitions and wrapper improvements.
...
Wrapping default behavior can now be overridden.
2019-02-15 21:03:43 +01:00
Cory Slep
d3b0afef5e
Finish porting the core of pub.
2019-02-14 21:51:57 +01:00
Cory Slep
0f7dce6839
Begin porting C2S side effect behaviors.
2019-02-13 23:56:36 +01:00
Cory Slep
1b7cec220b
Get most federating callbacks ported.
2019-02-13 22:37:29 +01:00
Cory Slep
c194883a93
More pub progress.
...
- Constructors for various Actor types.
- Continue porting the default implementations.
- Rethinking life.
2019-02-12 22:43:01 +01:00
Cory Slep
16af404462
First pass converting to new pub library.
...
Still a lot to do:
- Delete old deliverer folder
- Revisit handler funcs
- Constructors
- Side effects for the wrapped callback functions
- Any other TODOs
2019-02-12 00:16:33 +01:00