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
|
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
|
74c08cb693
|
The unescape function
|
2019-11-18 19:41:39 +01: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
|
01aeb089f6
|
Fix double escaping of escape values when unmarshalling
|
2019-09-24 08:54:40 +03: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
|
0f6ac4598a
|
Gofmt
|
2019-09-09 16:13:59 +02:00 |
|
Marius Orcsik
|
b21a965f7a
|
Generalizing the itemcollection deduplication function
|
2019-08-22 20:48:02 +02:00 |
|
Marius Orcsik
|
3072014ce9
|
String doesn't need a pointer receiver
|
2019-07-06 12:15:00 +02:00 |
|
Marius Orcsik
|
d3fe32b6d1
|
Added some stringer methods for LangRefValue and NaturalLanguageValues types
|
2019-07-05 11:37:25 +02:00 |
|
Marius Orcsik
|
f644b75e8b
|
FlattenProperties functions now receive and return pointers
|
2019-06-11 18:08:39 +02:00 |
|
Marius Orcsik
|
c6deab0d6b
|
Adding a Count() method to the CollectionInterface
|
2019-06-02 16:45:37 +02:00 |
|
Marius Orcsik
|
be3f99242b
|
Forgot to not increment the where values counter
|
2019-05-28 21:51:15 +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
|
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
|
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
|
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
|
0b102fbb67
|
Added Mapper interface
Pluralized NaturalLanguageValue(s) array type
Improved comments on exported types and functions
|
2019-02-21 17:57:12 +01:00 |
|
Marius Orcsik
|
f4e240055d
|
Removed unneeded types in favour of aliasing to Object
|
2019-01-30 20:50:50 +01:00 |
|
Marius Orcsik
|
ce595fadf3
|
Exposing the JSONGet* functions for activitystreams objects
|
2019-01-30 16:19:29 +01:00 |
|
Marius Orcsik
|
54f56b33e9
|
Moved everything related to activitystreams vocabulary to its own project
|
2019-01-22 16:44:27 +01:00 |
|
Marius Orcsik
|
d2d853feed
|
Move files to activitypub package
|
2017-09-12 10:31:45 +02:00 |
|
Marius Orcsik
|
85e7725ff0
|
Moved activity struct and functions to their own file
|
2017-09-11 23:12:28 +02:00 |
|
Marius Orcsik
|
51853428cb
|
Adding basic types for activity pub
|
2017-09-11 22:46:29 +02:00 |
|