Marius Orcsik
|
a9afedcc2b
|
Use external TEST_FLAGS env value if exists
|
2018-10-29 17:52:36 +01:00 |
|
Marius Orcsik
|
2a0f99eb24
|
Removed local jsonld.Unmarshaler interface in favour of encoding/json one
|
2018-10-29 17:26:21 +01:00 |
|
Marius Orcsik
|
c3d3a9cf93
|
Better comment annotations for properties
|
2018-10-24 11:31:05 +02:00 |
|
Marius Orcsik
|
c1f61e3a35
|
Adding Unmarshalling methods for CollectionPage and OrderedCollectionPage
|
2018-10-18 20:19:18 +02:00 |
|
Marius Orcsik
|
cbad1a2add
|
Removed some whitespaces that were confusing godoc
|
2018-10-18 11:58:37 +02:00 |
|
Marius Orcsik
|
896e7f40b0
|
Rename the Actor getter to GetActor
We should do this for future GetObject/GetActivity/samd for getting the underlying types
|
2018-10-18 11:24:54 +02:00 |
|
Marius Orcsik
|
9f13d82a18
|
Updated CollectionPage and OrderedCollectionPage
|
2018-10-18 10:53:19 +02:00 |
|
Marius Orcsik
|
e02ac198b1
|
Forgot to add go 1.11 to the build list
|
2018-10-13 09:45:22 +02:00 |
|
Marius Orcsik
|
3ac031f833
|
Removed pointer receiver from Collection.GetID
|
2018-10-11 22:05:48 +02:00 |
|
Marius Orcsik
|
e96053f255
|
Drop ImageOrLink interface and replace it with Item instead
|
2018-10-11 21:47:31 +02:00 |
|
Marius Orcsik
|
5d9b5f49ff
|
Adding missing types for specialized types of objects
No methods yet
|
2018-10-11 21:10:17 +02:00 |
|
Marius Orcsik
|
fdab453271
|
Added GetLink method to most of the types
|
2018-10-11 20:48:38 +02:00 |
|
Marius Orcsik
|
f21b60ad61
|
Remove URI type in favour of IRI
|
2018-10-11 20:13:34 +02:00 |
|
Marius Orcsik
|
56627df017
|
Make ObjectID an IRI alias
|
2018-10-11 20:01:11 +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
|
d052fc4d64
|
Added current/first/last properties to collection objects
|
2018-10-10 17:13:21 +02:00 |
|
Marius Orcsik
|
a30fd8966a
|
Removed pointer receivers for Outbox::Collection() method
|
2018-10-04 21:27:33 +02:00 |
|
Marius Orcsik
|
034adbee2a
|
Adding the boilerplate methods for Collection and Item interfaces
|
2018-10-04 21:05:01 +02:00 |
|
Marius Orcsik
|
ae2c0a289b
|
Removed some pointer receivers for Collection type aliases where they weren't needed
|
2018-10-04 21:04:31 +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
|
bb530d67be
|
We were skipping context unmarshalling
|
2018-10-04 18:27:14 +02:00 |
|
Marius Orcsik
|
d507b72a7a
|
Added UpdateActivity functionality
|
2018-10-02 11:22:38 +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
|
e4c5a7ca10
|
Added DislikeActivityNew convenience func
|
2018-09-06 21:54:00 +02:00 |
|
Marius Orcsik
|
ccfaa7b470
|
Added Dislike.UnmarshalJSON
|
2018-09-06 17:14:38 +02:00 |
|
Marius Orcsik
|
5dd2bc5af9
|
Use jsonld tags for the CreateActivity objects
|
2018-09-06 16:53:45 +02:00 |
|
Marius Orcsik
|
b706dcd3d3
|
Added UnmarshalJSON for Like activity
|
2018-09-06 16:28:58 +02:00 |
|
Marius Orcsik
|
3cbadce5c6
|
Moved the UnmarshalJSON method to the create file
|
2018-09-06 16:28:36 +02:00 |
|
Marius Orcsik
|
0ab6a50f4e
|
Improvements to recipients deduplication
|
2018-09-06 16:07:45 +02:00 |
|
Marius Orcsik
|
b03dace2f1
|
Add LikeActivityNew initializer modeled after CreateActivityNew
Added tests for LikeActivityNew
|
2018-09-06 15:42:54 +02:00 |
|
Marius Orcsik
|
3ba813cb2b
|
Add RecipientsDeduplication for Like Activity
|
2018-09-06 15:41:53 +02:00 |
|
Marius Orcsik
|
3fa0135061
|
Re-enable some tests assertions
|
2018-09-06 15:41:18 +02:00 |
|
Marius Orcsik
|
85ce64a6ea
|
Add case for CreateActivity that receives an IRI as Actor
|
2018-09-06 15:40:47 +02:00 |
|
Marius Orcsik
|
0e78701d26
|
Have a mixed Context object.
It can be represented as a simple string value, array of strings and/or of object pairs
|
2018-09-05 10:38:05 +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
|
0c6b4c5c6f
|
Add an Collection() method to return the underlying type
|
2018-09-01 11:54:52 +02:00 |
|
Marius Orcsik
|
40e64fd3fd
|
Add an Actor() method to return the underlying type
|
2018-09-01 11:54:17 +02:00 |
|
Marius Orcsik
|
017c064ac8
|
Changes to mocks
|
2018-08-31 17:58:07 +02:00 |
|
Marius Orcsik
|
b28ba343ed
|
Fixed unmarshalToAPOject and getAPItem[s] functionality
This is one step closer to generic AP Unmarshal based on Type
|
2018-08-31 17:57:16 +02:00 |
|
Marius Orcsik
|
1f457f7213
|
Added InReplyTo and To unmarshalling for Object
|
2018-08-31 17:56:18 +02:00 |
|
Marius Orcsik
|
c58c5452e6
|
Modified Create activity Unmarshal and associated functionality
|
2018-08-31 17:55:41 +02:00 |
|
Marius Orcsik
|
352298aa7c
|
Show values when possible when failing deep equality
|
2018-08-31 17:52:43 +02:00 |
|
Marius Orcsik
|
3aee6f0f76
|
Improve NaturalLanguageValue.UnmarshalJSON function to use jsonparser
|
2018-08-31 13:40:42 +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
|
aca7b90c04
|
Revert "We didn't want collections, but Object arrays"
We really want collections according to the ActivityStreams spec
This reverts commit ea3b4d64fc .
|
2018-08-15 11:05:36 +02:00 |
|
Marius Orcsik
|
ea3b4d64fc
|
We didn't want collections, but Object arrays
|
2018-08-14 22:37:05 +02:00 |
|