Commit graph

354 commits

Author SHA1 Message Date
Marius Orcsik
0b4e0d5e7c Added Contains(IRI) method for collection types 2019-08-23 20:39:28 +02:00
Marius Orcsik
1ef5c83a05 Added the public namespace as a constant 2019-08-22 21:16:40 +02:00
Marius Orcsik
fcbb6ea114 Don't fail if we can't upload code coverage 2019-08-22 21:02:55 +02:00
Marius Orcsik
b21a965f7a Generalizing the itemcollection deduplication function 2019-08-22 20:48:02 +02:00
Marius Orcsik
4a1645657e Added ToX functions for Collection types 2019-08-21 22:21:32 +02:00
Marius Orcsik
bd2f80c093 Added ToQuestion for question intransitive activities 2019-08-20 21:54:21 +02:00
Marius Orcsik
9e028ffc04 Added ToIntransitiveActivity function 2019-08-20 21:49:58 +02:00
Marius Orcsik
a89d5cf5fe Added a method to check if an IRI is contained it an array of IRIs 2019-08-17 15:17:10 +02:00
Marius Orcsik
cb9804d29d
Adding some unit-tests 2019-07-09 13:30:02 +02:00
Marius Orcsik
83477f342d New secrets UUID 2019-07-06 20:16:05 +02:00
Marius Orcsik
08a365ef69 Fixed secrets uuid 2019-07-06 19:03:49 +02:00
Marius Orcsik
9088f9ac88 Updated secrets 2019-07-06 13:36:02 +02:00
Marius Orcsik
3072014ce9 String doesn't need a pointer receiver 2019-07-06 12:15:00 +02:00
Marius Orcsik
e11c56fb6b
Added more test stubs 2019-07-05 11:37:34 +02:00
Marius Orcsik
d3fe32b6d1
Added some stringer methods for LangRefValue and NaturalLanguageValues types 2019-07-05 11:37:25 +02:00
Marius Orcsik
7d4dd99336
Updated jsonld version 2019-06-21 17:23:49 +02:00
Marius Orcsik
f644b75e8b
FlattenProperties functions now receive and return pointers 2019-06-11 18:08:39 +02:00
Marius Orcsik
26e621e841
Use shields.io for codecov badge 2019-06-11 15:27:37 +02:00
Marius Orcsik
527e12f363
Improved CI script 2019-06-11 13:53:34 +02:00
Marius Orcsik
0856b85ff0
Small improvement to coverage target 2019-06-11 13:53:34 +02:00
Marius Orcsik
c3751a4372 Removed new line because of comment 2019-06-09 13:38:28 +02:00
Marius Orcsik
66bc885663 Replaced codacy with go report card badge 2019-06-09 13:35:21 +02:00
Marius Orcsik
701f1ef193 Use builds.sr.ht badge for build status 2019-06-08 18:38:40 +02:00
Marius Orcsik
90b5e5c776 Updated sr.ht build script 2019-06-08 18:13:49 +02:00
Marius Orcsik
571c3daee3 Removed travis build 2019-06-08 17:06:26 +02:00
Marius Orcsik
c6deab0d6b
Adding a Count() method to the CollectionInterface 2019-06-02 16:45:37 +02:00
Marius Orcsik
3cde24f465
Don't increment TotalItems when appending items 2019-06-02 16:28:45 +02:00
Marius Orcsik
a8cd8b42ca
Added URL() method to the IRI type 2019-06-02 14:59:08 +02:00
Marius Orcsik
5829d05992 Add two basic tests for ToActivity and ToObject 2019-05-30 20:44:02 +02:00
Marius Orcsik
be3f99242b Forgot to not increment the where values counter 2019-05-28 21:51:15 +02:00
Marius Orcsik
d3ef08f261
Clean BCC and Bto on activities after returning deduplicated recipients list 2019-05-26 22:29:34 +02:00
Marius Orcsik
268f6a752e
Improved recipients deduplication logic 2019-05-26 22:28:55 +02:00
Marius Orcsik
4d9eb144b0
Added some additional ToX functions 2019-05-24 20:20:00 +02:00
Marius Orcsik
385e1cd273
Set the ItemTyperFunc when doing UnmarshalJSON 2019-05-18 22:45:54 +02:00
Marius Orcsik
14d9cc820b
Fix the object type tests 2019-05-18 16:35:08 +02:00
Marius Orcsik
4e3f47fa79
Adding comments for activity types groups 2019-05-16 17:14:30 +02:00
Marius Orcsik
86446182b1
Add the correct types for Content Experience activities 2019-05-16 17:06:31 +02:00
Marius Orcsik
3642d21563
Simplify type validation 2019-05-16 11:08:43 +02:00
Marius Orcsik
9255f5ce5d
Adding unmarshal Tombstone 2019-05-12 20:13:06 +02:00
Marius Orcsik
d8332178b9
We need to return pointers from the typer function 2019-05-12 20:03:10 +02:00
Marius Orcsik
b2c3040f04
Returning the correct types for objects with additional properties
These objects are: place, profile, relationship and tombstone
2019-05-12 19:33:58 +02:00
Marius Orcsik
ed9c46fc7b
Renamed the Fold* functions to Flatten* 2019-05-11 11:53:32 +02:00
Marius Orcsik
82ef950fd2
Added helper functions to collapse Items to IRIs 2019-05-11 10:32:55 +02:00
Marius Orcsik
3470d1f02e
Also return an error from To* functions 2019-05-07 23:11:15 +02:00
Marius Orcsik
4a00626af8
Updated ToObject to cover all object types 2019-05-05 14:30:26 +02:00
Marius Orcsik
a11650ffba
Updated ToActivity to cover all activity types 2019-05-05 14:25:55 +02:00
Marius Orcsik
03fc2158a8
Skipping the empty tests 2019-05-05 09:32:45 +02:00
Marius Orcsik
8020d0b4b2
Add start of ToActivity and ToObject functions
Some test stubs for other object related functions
2019-05-05 00:52:25 +02:00
Marius Orcsik
302a70f172
Adding some more properties to unmarshalling 2019-05-05 00:15:35 +02:00
Marius Orcsik
a516ad03a5
Rename the parent of CollectionPage object so we avoid conflict with CollectionInterface 2019-03-10 10:11:31 +01:00