Commit graph

18 commits

Author SHA1 Message Date
Marius Orcsik
602911a7db
Refactored elements that were of CollectionInterface type to Item type so we can pass IRIs to them 2018-10-04 20:50:03 +02:00
Marius Orcsik
e05502a36a
Switch to NaturalLanguageVal as arrays instead of simple maps 2018-09-02 15:44:00 +02:00
Marius Orcsik
f40d875d04
Going deeper and deeper down the jsonld rabbit hole.
The current approach doesn't look too good
2018-08-01 10:52:11 +02:00
Marius Orcsik
72c2d5c331
Use package aliases for jsonld and activitypub in tests 2018-07-18 16:33:40 +02:00
Marius Orcsik
8308c6fb22
Converted the jsonld context to be an empty interface
This allows us to support passing it just as a string or URI
2018-07-16 13:26:26 +02:00
Marius Orcsik
8bd5130d0f
Move the context to a package variable 2018-07-06 22:33:47 +02:00
Marius Orcsik
978985644e
Refactored how the repo looks 2018-07-06 12:48:04 +02:00
Marius Orcsik
f68a512ed8
Renamed apObject.Id to ID
Removed anonymous apObject pointer as top member of dependent structs
2018-04-08 18:55:25 +02:00
Marius Orcsik
b45570c418
Adding a lot of comments from ActivityPub/ActivityStreams/ActivityVocabulary specs
To quiet some go lint warnings
2018-03-27 16:16:07 +02:00
Marius Orcsik
5d13db4836
Renamed ObjectId - ObjectID 2018-03-27 15:06:06 +02:00
Marius Orcsik
c68df3052b
Add multilang name in test 2018-03-26 23:15:26 +02:00
Marius Orcsik
54e564b1b7
Adding Activity.Object parameter for all instantiation functions 2017-10-03 22:46:03 +02:00
Marius Orcsik
b2d595e31d
Improvements to jsonld.Marshal - now with tags 2017-10-02 16:19:23 +02:00
Marius Orcsik
88970c9ee2
Adding more jsonld hint tags
Adding IsLink/IsObject logic for LinkOrObject interface

Extending tests
2017-10-02 11:53:09 +02:00
Marius Orcsik
9ae0a031b3
Adding language to contexts and making the url a ref 2017-10-01 17:09:04 +02:00
Marius Orcsik
a794556013
More integration tests 2017-10-01 15:04:51 +02:00
Marius Orcsik
58995fc87b
Renamed basic integration test 2017-10-01 14:55:20 +02:00
Marius Orcsik
f811f14bd3
Adding a basic integration test 2017-10-01 14:44:49 +02:00