Marius Orcsik
|
1fcca5958e
|
Restructured the Collection,CollectionPage,OrderedCollection,OrderedCollectionPage types to be stand-alone
Moved functionality to their own files
|
2019-12-03 16:05:39 +01:00 |
|
Marius Orcsik
|
fa6ec9411c
|
Making the Mention type an alias for Link
|
2019-12-03 15:33:20 +01:00 |
|
Marius Orcsik
|
8b835611d5
|
Restructured the Activity,IntransitiveActivity,Question types to be stand-alone
Moved functionality to its own file
|
2019-12-03 15:33:00 +01:00 |
|
Marius Orcsik
|
52e8c9c266
|
Restructured the Tombstone object to be stand-alone
Moved functionality to its own file
|
2019-12-03 15:07:00 +01:00 |
|
Marius Orcsik
|
921185b572
|
Restructured the Relationship object to be stand-alone
Moved functionality to its own file
|
2019-12-03 13:45:06 +01:00 |
|
Marius Orcsik
|
fa60a7c223
|
Restructured the Profile object to be stand-alone
Moved functionality to its own file
|
2019-12-03 13:36:05 +01:00 |
|
Marius Orcsik
|
a24a4f1386
|
Some last bits of Place functionality moved to the proper place
|
2019-12-03 13:34:13 +01:00 |
|
Marius Orcsik
|
cb209424b3
|
Grouped object methods around the type definition
|
2019-12-03 13:24:10 +01:00 |
|
Marius Orcsik
|
fd4fc76679
|
Added UnmarshalJSON for Place
Changed some properties to float64 and int64 types
|
2019-12-03 13:23:44 +01:00 |
|
Marius Orcsik
|
1e4cc7c841
|
Restructured the Place type to be independent
Moved functionality related to it to separate file
|
2019-12-03 13:05:11 +01:00 |
|
Marius Orcsik
|
cadebc535e
|
Move GetType function to ActivityObject interface
|
2019-12-03 12:51:29 +01:00 |
|
Marius Orcsik
|
dbd5b1175e
|
Renamed LinkOrURI interface
|
2019-12-03 12:48:25 +01:00 |
|
Marius Orcsik
|
a70c8f6f6b
|
Use some unsafe.Pointer some specific Activity and Object types
|
2019-12-03 12:47:27 +01:00 |
|
Marius Orcsik
|
495abe28e0
|
Add more support for Item be an ItemCollection at the same time
|
2019-12-01 19:47:31 +01:00 |
|
Marius Orcsik
|
7b9328863c
|
Make all compatible activities types be Activity and IntransitiveActivity
|
2019-12-01 19:36:46 +01:00 |
|
Marius Orcsik
|
8982b3f40a
|
Add IsCollection function to all base objects
|
2019-12-01 19:35:08 +01:00 |
|
Marius Orcsik
|
d82e449e14
|
Set type of InReplyTo as Item
|
2019-12-01 16:56:35 +01:00 |
|
Marius Orcsik
|
c4bfc38e75
|
Fixing unmarshaling an Item type property to an ItemCollection if it holds an array
Adding some tests for it
|
2019-11-30 10:06:39 +01:00 |
|
Marius Orcsik
|
f333dd1786
|
Allow unmarshaling of properties of Item type from json arrays
|
2019-11-29 19:39:38 +01:00 |
|
Marius Orcsik
|
95f184fb4c
|
Updated jsonld package
|
2019-11-24 12:56:51 +01:00 |
|
Marius Orcsik
|
24193a9460
|
Add explicit method for cleaning BCC and Bto properties
As part of the HasRecipients interface
|
2019-11-24 10:59:34 +01:00 |
|
Marius Orcsik
|
332da76705
|
Removed automated BCC and Bto sanitation when calling Recipients
|
2019-11-24 10:06:40 +01:00 |
|
Marius Orcsik
|
b8c741819f
|
Revert skipping marshalling for BCC and Bto fields
I need to find a different solution for it
|
2019-11-24 09:28:32 +01:00 |
|
Marius Orcsik
|
a27ee75f67
|
Add a new jsonld tag to tell the marshaler to skip bto and bcc properties
|
2019-11-23 20:36:16 +01:00 |
|
Marius Orcsik
|
499189f114
|
Add Contains method on iri, to determine if an IRI is the root of another
|
2019-11-20 11:42:33 +01:00 |
|
Marius Orcsik
|
74c08cb693
|
The unescape function
|
2019-11-18 19:41:39 +01:00 |
|
Marius Orcsik
|
f08f14bc2b
|
Use IRI.Equals wherever we can
|
2019-11-18 17:15:00 +01:00 |
|
Marius Orcsik
|
911738e9f0
|
Using new Equals method for IRIs.Contains
|
2019-11-18 16:41:31 +01:00 |
|
Marius Orcsik
|
e6341caa81
|
Added iri.Equals method
|
2019-11-18 16:39:28 +01:00 |
|
Marius Orcsik
|
8a9ddc74a4
|
Removed Undo as a separate type
|
2019-10-13 23:32:32 +02:00 |
|
Marius Orcsik
|
921736699c
|
Return nil in the case of missing activitypub Type property from the json payload
|
2019-10-11 13:19:26 +02:00 |
|
Marius Orcsik
|
d33906103c
|
Fixed linking to wrong project coverage image
|
2019-10-10 15:31:00 +02:00 |
|
Marius Orcsik
|
6e2d1b5aaf
|
Fixed loading NaturalLanguageValues from a json encoded byte array
|
2019-10-07 13:11:06 +02:00 |
|
Marius Orcsik
|
aa26e536d9
|
Small improvements to how we extract NaturalLanguageField from JSON
|
2019-10-04 17:27:22 +03:00 |
|
Marius Orcsik
|
ccea8c926d
|
Adding tests for NaturalLanguageValues marshalling
Encoding it as a string just when it has a nil value ref
|
2019-10-04 10:27:57 +03:00 |
|
Marius Orcsik
|
06f0682888
|
Using bytes.ReplaceAll for replacing escape sequences
|
2019-09-24 14:29:49 +03:00 |
|
Marius Orcsik
|
83e6033c7d
|
Fix assigning zero length item collections to CC, BCC and Tag properties
|
2019-09-24 09:51:56 +03:00 |
|
Marius Orcsik
|
0219834966
|
Fix test that was relying on double escaping of \n
|
2019-09-24 09:51:21 +03:00 |
|
Marius Orcsik
|
01aeb089f6
|
Fix double escaping of escape values when unmarshalling
|
2019-09-24 08:54:40 +03:00 |
|
Marius Orcsik
|
12583f00f4
|
Explicitly initialize ItemCollection variables
|
2019-09-23 16:35:00 +02:00 |
|
Marius Orcsik
|
239d1564f8
|
Improvements to NaturalLanguageValues Unmarshaling
|
2019-09-23 16:34:14 +02:00 |
|
Marius Orcsik
|
650ef7b49b
|
Making the InReplyTo be an explicit item collection
Use jsonld.Marshal for encoding natural language values
|
2019-09-20 15:14:21 +02:00 |
|
Marius Orcsik
|
da75235f0f
|
Simplified GetItemByType function
|
2019-09-09 20:49:19 +02:00 |
|
Marius Orcsik
|
68a5740255
|
Use new jsonld package
|
2019-09-09 16:14:31 +02:00 |
|
Marius Orcsik
|
0f6ac4598a
|
Gofmt
|
2019-09-09 16:13:59 +02:00 |
|
Marius Orcsik
|
c9c6d2f720
|
Fix Contains methods on empty collections
|
2019-08-23 21:49:47 +02:00 |
|
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 |
|