コミットグラフ

20 コミット

作成者 SHA1 メッセージ 日付
Cory Slep 9acafe5f97 Sort @context when testing
Eliminates flakiness.
2019-10-23 19:06:19 +02:00
Cory Slep 84ee361478 Fix tests for the PublicKey and PropertyValue
There is still a context-order-dependent stability issue in the tests
impacting the PublicKey test, which must be fixed.

The fix for the PropertyValue test involved wrapping an
ActivityStreamsObject directly (instead of a Type). Note that only
serialization is supported in this case.
2019-10-22 23:42:56 +02: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 d8ecddbe23
[streams] simplify table-based tests using subtests 2019-10-19 16:51:58 -05:00
Cory Slep 809fd1f041 Add unit tests for known bugs.
Aggressive PublicKey deserialization and Type masquerading bugs.
2019-10-19 13:30:16 +02:00
Cory Slep 6d618cb630 Regenerate code that is collision resistant to extensions. 2019-02-09 21:56:00 +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 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 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 ff02890ddf Add streams_old migrated unit tests for the new generated code. 2019-02-04 22:27:22 +01:00
Cory Slep 8fa479da40 Move `streams` to `streams_old` in preparation for the new vocabulary. 2019-01-29 22:16:19 +01:00
Cory Slep ba40dc50b4 Use *url.URL instead of url.URL.
He who fights with monsters should be careful lest he thereby become a monster.
And if thou gaze long into an abyss, the abyss will also gaze into thee.
2018-05-29 21:57:39 +02:00
Cory Slep bed3dbef16 Change vocab Add methods to Append and Prepend
This allows the reverse chronological order to be set as items are
easily prepended to non-functional activity stream properties.
2018-05-27 17:07:40 +02:00
Cory Slep c85503011e gofmt 2018-05-10 12:49:26 +02:00
Cory Slep bcaa3a9059 Fix handling of null JSON literals in vocab
We now recognize an all-empty intermediate value to mean that the
unknown value is really a null one.
2018-04-28 16:22:17 +02:00
Cory Slep fe707109c4 Make substantial progress on ActivityPub client & server implmentation 2018-02-04 17:42:22 +01:00