Marius Orcsik
|
54e564b1b7
|
Adding Activity.Object parameter for all instantiation functions
|
2017-10-03 22:46:03 +02:00 |
|
Marius Orcsik
|
9d9bd8510b
|
Added a method for marshalling interface{}s which decay to scalars
for the moment it's overcomplicted and ugly
Moved UnmarshalJSON to decode.go file
Adding tests for some of the new functionality
|
2017-10-02 17:24:26 +02:00 |
|
Marius Orcsik
|
b2d595e31d
|
Improvements to jsonld.Marshal - now with tags
|
2017-10-02 16:19:23 +02:00 |
|
Marius Orcsik
|
ca076e7185
|
Adding ObjectOrLink interface functions
Adding base ActivityObject interface
|
2017-10-02 15:59:53 +02:00 |
|
Marius Orcsik
|
c6cd6b58e1
|
Remove context as a separate property of ActivityPub objects
|
2017-10-02 15:59:07 +02:00 |
|
Marius Orcsik
|
7377524c79
|
Transform Context property into a pointer
This allows easier manipulation using our own Json Marshaling when it's nil
|
2017-10-02 12:07:11 +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
|
46b3e2687f
|
Keep GOPATH on test command
|
2017-10-01 15:09:24 +02:00 |
|
Marius Orcsik
|
a794556013
|
More integration tests
|
2017-10-01 15:04:51 +02:00 |
|
Marius Orcsik
|
7bc4b11f52
|
Added test with nil context
|
2017-10-01 15:02:20 +02:00 |
|
Marius Orcsik
|
d887fea428
|
Added validcollection test
|
2017-10-01 14:55:39 +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 |
|
Marius Orcsik
|
4d271bf834
|
Move coveralls to after_success
|
2017-10-01 14:27:46 +02:00 |
|
Marius Orcsik
|
f170ed1e81
|
Merge pull request #2 from mariusor/jsonld
Adding a basic jsonld marshaler
|
2017-10-01 13:54:47 +02:00 |
|
Marius Orcsik
|
791cba3a5c
|
Expand jsonld marshaling
|
2017-10-01 13:43:36 +02:00 |
|
Marius Orcsik
|
8946f0e0be
|
Instantiating the NaturalLanguageValues arrays
|
2017-10-01 13:00:36 +02:00 |
|
Marius Orcsik
|
33166c210a
|
Fix travis?
|
2017-09-30 23:47:50 +02:00 |
|
Marius Orcsik
|
8f49b502fa
|
Having the basic jsonld Marshaler working
|
2017-09-30 23:36:05 +02:00 |
|
Marius Orcsik
|
e9a663c14e
|
Moving the two packages to src folder
|
2017-09-30 22:21:51 +02:00 |
|
Marius Orcsik
|
6fcb178dec
|
Adding the initial frame of the jsonld marshaler
|
2017-09-16 20:38:25 +02:00 |
|
Marius Orcsik
|
c1829b8fed
|
More tests
|
2017-09-16 20:38:09 +02:00 |
|
Marius Orcsik
|
7806d1c2de
|
Replacing BaseObject with Object in the inheritance chain
|
2017-09-16 20:20:33 +02:00 |
|
Marius Orcsik
|
92e612676a
|
Moving some of the other type aliases together
|
2017-09-16 20:10:41 +02:00 |
|
Marius Orcsik
|
a7e9abe59d
|
Forgot a type
|
2017-09-16 20:05:22 +02:00 |
|
Marius Orcsik
|
eb4df3b38a
|
Some reordering of things
|
2017-09-16 19:53:11 +02:00 |
|
Marius Orcsik
|
a52381dd15
|
This missing link annoyed me to no end
Changing the wording of the disclaimer
|
2017-09-16 17:33:10 +02:00 |
|
Marius Orcsik
|
98a5507f9a
|
go fmt whitespace changes
|
2017-09-16 12:32:57 +02:00 |
|
Marius Orcsik
|
3735eed4cc
|
Improved Actor stuct and ActorNew func
|
2017-09-16 12:32:24 +02:00 |
|
Marius Orcsik
|
9eb427bcc1
|
Moved the link functionality to its own file
|
2017-09-16 12:31:23 +02:00 |
|
Marius Orcsik
|
a5b9b99af7
|
Some updates to NewActivity and NewIntransitiveActivity
|
2017-09-15 18:11:31 +02:00 |
|
Marius Orcsik
|
dfbe432662
|
Used go fmt on the code
|
2017-09-12 22:37:34 +02:00 |
|
Marius Orcsik
|
a47db907ad
|
Adding a MarshalJSON for NaturalLanguageValue alias
|
2017-09-12 22:36:13 +02:00 |
|
Marius Orcsik
|
b078413f1b
|
Remove omitempty from jsonld marshalling options, as it apparently doesn't take it into account
|
2017-09-12 19:24:28 +02:00 |
|
Marius Orcsik
|
f7f41ab6c2
|
Added all properties from activity vocabulary and activity pub docs with comments and jsonld hints
|
2017-09-12 19:13:58 +02:00 |
|
Marius Orcsik
|
40cf589f8d
|
Changed Url to URL
|
2017-09-12 18:54:10 +02:00 |
|
Marius Orcsik
|
baa209cfd0
|
Adding instantiation functions for all types of activities
|
2017-09-12 18:53:41 +02:00 |
|
Marius Orcsik
|
5fe1b75356
|
Added all properties from activity vocabulary docs with comments and jsonld hints
|
2017-09-12 17:47:49 +02:00 |
|
Marius Orcsik
|
5c9d5bdd84
|
Small fixes
|
2017-09-12 17:46:43 +02:00 |
|
Marius Orcsik
|
b57f8c5e42
|
Added all properties from activity vocabulary docs with comments and jsonld hints
|
2017-09-12 17:28:57 +02:00 |
|
Marius Orcsik
|
db5ed85d39
|
Added all properties from activity vocabulary docs with comments and jsonld hints
|
2017-09-12 17:25:07 +02:00 |
|
Marius Orcsik
|
da748cc52c
|
Moved Url type to Uri
|
2017-09-12 17:22:10 +02:00 |
|
Marius Orcsik
|
a3c69d744a
|
Fix coveralls image
|
2017-09-12 12:38:26 +02:00 |
|
Marius Orcsik
|
839e3a72eb
|
Try again for coveralls
|
2017-09-12 12:31:59 +02:00 |
|
Marius Orcsik
|
6768d7c3ca
|
Apparently I mixed some commands together
|
2017-09-12 11:21:01 +02:00 |
|
Marius Orcsik
|
8034bdef7f
|
Fixed some more issues with code coverage
|
2017-09-12 11:16:55 +02:00 |
|
Marius Orcsik
|
82e264ce02
|
Added the folder in test command
|
2017-09-12 11:13:31 +02:00 |
|
Marius Orcsik
|
e3aa26cc06
|
Added coveralls coverage
|
2017-09-12 11:09:01 +02:00 |
|
Marius Orcsik
|
eee6bd9f93
|
Adding tests vor valid type functions
|
2017-09-12 10:54:21 +02:00 |
|