Commit graph

27 commits

Author SHA1 Message Date
mariusor
e34990d729 Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
MariusOr
02bc61cc17 Updating to a LangVal specific type for LangRefValues
This allows us to switch from storing strings to plain byte slices
2020-08-25 13:45:52 +02:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
cd46437bf2
Moved integration tests back to their own folder 2019-12-03 20:45:26 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Marius Orcsik
4a4928446c
Updated to activitystreams version with plural NaturalLanguageValues array type 2019-02-21 18:00:03 +01:00
Marius Orcsik
b987bcf379
Moved everything related to activitypub extensions to its own project 2019-01-22 16:38:46 +01:00
Marius Orcsik
281b73cbc2
Moved to go-ap 2019-01-07 14:54:19 +01:00
Marius Orcsik
784e85f7fc
Refactored most of the activitystreams-vocab structs to their own package 2018-10-11 11:26:00 +02:00
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