Commit graph

28 commits

Author SHA1 Message Date
Marius Orcsik
269c06fbb2
Factored out the objects' common properties 2018-11-23 15:22:56 +01:00
Marius Orcsik
9dcc89db96
Adding Tag property unmarshalling for Objects 2018-11-14 13:42:08 +01:00
Marius Orcsik
9e4340bf26
Make URL properties accept array of IRI objects 2018-10-31 16:26:51 +01:00
Marius Orcsik
c1f61e3a35
Adding Unmarshalling methods for CollectionPage and OrderedCollectionPage 2018-10-18 20:19:18 +02:00
Marius Orcsik
f21b60ad61
Remove URI type in favour of IRI 2018-10-11 20:13:34 +02: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
e1d7e465d7
Added LikeActivity with IRI actor test 2018-09-06 21:56:46 +02:00
Marius Orcsik
ef08c03a06
Moved activity_create simple test 2018-09-06 21:55:21 +02:00
Marius Orcsik
c8ffbb0844
Reinstate simple activity unmarshal test 2018-09-02 15:51:53 +02:00
Marius Orcsik
e05502a36a
Switch to NaturalLanguageVal as arrays instead of simple maps 2018-09-02 15:44:00 +02:00
Marius Orcsik
017c064ac8
Changes to mocks 2018-08-31 17:58:07 +02:00
Marius Orcsik
352298aa7c
Show values when possible when failing deep equality 2018-08-31 17:52:43 +02:00
Marius Orcsik
3316087ffe
Change Activity.Actor property to be ObjectOrLink interface 2018-08-31 13:40:02 +02:00
Marius Orcsik
26b16b6ece
NaturalLanguage Unmarshal test and improvements 2018-08-31 13:38:15 +02:00
Marius Orcsik
5213806994
Updated the Unmarshalling with a test for replies 2018-08-15 11:33:50 +02:00
Marius Orcsik
28d2a1e33f
Added published date and other date fields to Object/Collection unmarshall 2018-08-06 19:11:24 +02:00
Marius Orcsik
b6ec84c634
Renamed func type 2018-08-06 15:26:50 +02:00
Marius Orcsik
b4ab90daff
Use constant for empty LangRef value 2018-08-06 13:09:24 +02:00
Marius Orcsik
d4b287f531
Fix collection unmarshalling test
Add generator and attributedTo properties to the test
2018-08-06 13:06:14 +02:00
Marius Orcsik
fb363aa377
Improve collection unmarshalling 2018-08-05 13:54:01 +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
b4baafa9f3
Fix Outbox test 2018-07-25 12:34:36 +02:00
Marius Orcsik
4dc584b0d4
Added UnmarshalJSON methods for some types
Add some tests
2018-07-24 23:11:08 +02:00
Marius Orcsik
978985644e
Refactored how the repo looks 2018-07-06 12:48:04 +02:00
Marius Orcsik
7f8193dff8
Refactored objects to include full AP structure 2018-06-09 14:05:46 +02:00
Marius Orcsik
55e0d31a75
Broken tests 2018-06-09 13:08:30 +02:00
Marius Orcsik
2ecb5245ec
Added marshalling tests based on json mock files 2018-06-07 16:48:08 +02:00