Cory Slep
6e4cff677a
Fix formatting.
2019-02-28 22:43:35 +01:00
Cory Slep
5d598046c2
Disallow destination to have '..' in path
2019-02-28 22:13:49 +01:00
Cory Slep
87e56d8d96
Require destination directory to be specified.
...
Permit generation to a subdirectory and the current working directory.
2019-02-28 22:11:24 +01:00
Cory Slep
1fac7a8c8d
Fix README typo
2019-02-28 21:31:35 +01:00
Cory Slep
3dfe12a7a1
Update CHANGELOG
2019-02-24 16:51:35 +01:00
Cory Slep
19c351e729
Minor fixes in the README
2019-02-24 16:45:54 +01:00
Cory Slep
4a8f7314a7
Update READMEs
2019-02-24 16:27:02 +01:00
Cory Slep
9417306aa3
Outline the needed federating side effects tests.
2019-02-24 13:05:00 +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
82851801ed
Some tests for the side_effect_actor.go
2019-02-19 20:33:22 +01:00
Cory Slep
71b853d708
Update base actor tests to accurate reflect interfaces.
2019-02-19 20:07:26 +01:00
Cory Slep
52bc5fb9a5
Add tests for the base actor.
...
Removed old pub tests.
2019-02-16 20:30:18 +01:00
Cory Slep
dc16296d74
Remove TODO that is now documented as an issue.
2019-02-15 23:56:49 +01:00
Cory Slep
674fa0245d
Use AppendType instead of custom resolver
2019-02-15 23:54:26 +01:00
Cory Slep
3180eaf568
Add AppendType and PrependType
2019-02-15 23:54:09 +01:00
Cory Slep
4b87e634a0
Add SetType to properties
2019-02-15 23:29:38 +01:00
Cory Slep
8a333d6192
gofmt the new constants.go file
2019-02-15 23:11:33 +01:00
Cory Slep
412c6737c3
Generate constants for type and property names
2019-02-15 23:11:08 +01:00
Cory Slep
272d7239f3
Generate generic ToType function.
2019-02-15 22:47:59 +01:00
Cory Slep
2d8651d95c
Remove obsolete deliverer package
2019-02-15 22:16:11 +01:00
Cory Slep
1227ec9a5a
Change GetName to GetTypeName
2019-02-15 22:15:25 +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
b625914c1a
Send BadRequest if library can't handle the type
2019-02-15 21:45:48 +01:00
Cory Slep
7beac61f97
Address IRI dereferencing in util
2019-02-15 21:42:56 +01:00
Cory Slep
6ead50c643
Address TODOs in federating_wrapped_callbacks
2019-02-15 21:33:48 +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
bd8220a56c
Update comments
2019-02-15 18:34:58 +01:00
Cory Slep
8efdb62ad9
Port ActivityStreams http handler function.
...
Also removed the 'old' pub code.
Moved the old tests back into the new pub, which means no tests pass
because the test build fails. So test porting needs to happen.
2019-02-14 22:28:46 +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
d85ac83249
Remove v0 codegen'd vocabulary
2019-02-12 00:22:21 +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
Cory Slep
293cf3e752
Add more methods to Type interface
2019-02-10 15:02:32 +01:00
Cory Slep
546659ed10
Add method getting property values as a generic Type.
2019-02-10 14:09:41 +01:00
Cory Slep
6d618cb630
Regenerate code that is collision resistant to extensions.
2019-02-09 21:56:00 +01:00
Cory Slep
f769e201b2
astool can handle colliding type and property names.
2019-02-09 21:51:16 +01:00
Cory Slep
a5ea850465
Run fmt on astool
2019-02-09 13:48:35 +01:00
Cory Slep
c973eec5e0
Deduplicate tests, increase coverage in the process.
2019-02-09 13:47:51 +01:00
Cory Slep
b7b5c3d2c1
Update table test logging to be consistent.
2019-02-09 13:28:35 +01:00
Cory Slep
c8f384583c
Port vocabulary tests.
...
- Need to deduplicate the manual examples.
2019-02-09 13:27:04 +01:00
Cory Slep
17ac2d4df2
Regenerate with natural language map changes.
2019-02-09 13:26:47 +01:00
Cory Slep
8a7ec8c3a9
Properly handle natural language map.
...
- Deserialization now happens correctly into the rdf:langString
property.
- Kluges to make sure the member is being set and referred to in the
generation code.
- No longer generate special member for natural language map nor a
special Is method. Use the rdf:langString generated proeprties.
- Keep the Set/Get special language members for handling individual
languages.
2019-02-09 13:22:20 +01:00
Cory Slep
aca6f4e857
Migrate manual data from vocab.
...
Next, need to use them in tests migrated from vocab.
2019-02-08 00:59:10 +01:00
Cory Slep
54dccc70c9
Add Summary to Link.
...
- Other minor spec tweaks to match examples and for type property
convenience.
2019-02-08 00:58:34 +01:00