Gabe Kangas
532ae5d0af
Add Hashtag to toot objects
2021-09-08 01:15:42 -07:00
tsmethurst
5498bae4cf
add manuallyApprovesFollowers property on actors
2021-08-03 15:52:03 +02:00
David Sterry
b4d577f69b
Fix #145
2021-06-23 10:11:37 -07:00
Cory Slep
0430970bd3
Add generated forgefed vocabulary
2020-07-05 22:38:06 +02:00
Cory Slep
a3a3f48d19
Regenerate vocabular with source property
2020-07-05 21:47:30 +02:00
Ben Lubar
b27393e8dd
add toot-namespaced types and objects except toot:focalPoint for #122
2019-12-04 16:30:01 -06:00
Cory Slep
0acf044b02
Merge remote-tracking branch 'refs/remotes/origin/master'
...
Pretty sure I just merged new code that would make Ben cry.
2019-10-21 22:22:30 +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
Ben Lubar
8d7b0196cd
add standard generated code header
...
doing this as a separate commit to avoid messy diffs for the important part of this change
2019-10-19 17:45:12 -05:00
Cory Slep
00d19306e4
Fix JSON-LD conformance.
...
No longer create "default aliases" for JSON-LD vocabularies. This would
break compatibility since the way JSON-LD propagates aliases is pushed
downwards, and not propagated upwards. Since a lot of implementations
don't actually care about JSON-LD, do a lot of hacking to make sure that
others that expect hardcoded contexts and the like will still be able to
handle our output.
Still need to hook together the "well known alias" so it can generate
contexts that match the community, but that will be for things like the
custom mastodon and litepub extensions.
I don't want to ever have to work with JSON-LD in a static language ever
ever again. This is shit code.
2019-10-09 21:25:44 +02:00
Cory Slep
138e620834
Regenerate code with example fixes.
2019-10-09 19:59:41 +02:00
Cory Slep
e084b904b1
Regenerate types using proper aliasing
2019-09-26 20:32:32 +02:00
Lukas Matt
c8e9a9ffc9
Generate streams vocab with astool
...
./astool/astool -spec astool/activitystreams.jsonld \
-spec astool/security-v1.jsonld ./streams
2019-09-16 22:49:41 +02:00
Lukas Matt
4db4275adf
Revert "Add pseudo-type PublicKey for actor types"
...
This reverts commit 9b139af408
.
2019-09-16 22:48:09 +02:00
Cory Slep
9b139af408
Add pseudo-type PublicKey for actor types
2019-09-13 22:49:56 +02:00
Cory Slep
b9a95751dc
Add Insert methods for nonfunctional properties.
2019-03-24 14:25:36 +01:00
Cory Slep
b5eecc692c
Add SetType nonfunctional property method
2019-03-24 10:55:23 +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
1227ec9a5a
Change GetName to GetTypeName
2019-02-15 22:15:25 +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
17ac2d4df2
Regenerate with natural language map changes.
2019-02-09 13:26:47 +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
Cory Slep
436def09b4
Add orderedItems property and properly propagate it.
...
- Fix bug where non-inherited properties didn't apply to a type, only
the type's children.
- Added orderedItems.
- Excluded items property from OrderedCollectionPage.
- Fixed OrderedCollectionPage extending from two types.
2019-02-06 22:18:08 +01:00
Cory Slep
32beb6881e
Regenerate types from previous commit, passing all streams_old tests.
...
See previous commit message about improvements needed to reduce the
linking hell that is introduced in this code generation. Everything is
now linking against the 'type' property's concrete constructor.
2019-02-06 00:55:41 +01:00
Cory Slep
9f79250293
Regenerate streams package with previous commit fixes.
2019-02-06 00:26:21 +01:00
Cory Slep
ff885a86b3
Update generated code for tests.
...
All but 1 of the tests migrated from streams_old passes.
2019-02-04 22:29:04 +01:00
Cory Slep
161ebc62e3
Add new ActivityStreams generated vocabulary.
2019-01-29 22:28:40 +01:00