Marius Orcsik
|
bec9454a13
|
Improvements to the JSON unmarshaling plumbing
|
2020-12-30 13:30:34 +01:00 |
|
Marius Orcsik
|
9fa2cdc2fc
|
Fix deepEquals to take into account comparisons of values that can be coerced to basic types
|
2020-12-30 13:21:07 +01:00 |
|
Marius Orcsik
|
e269235746
|
Updated go-ap packages
|
2020-12-29 20:25:53 +01:00 |
|
Marius Orcsik
|
b1c270db53
|
Modified ItemMatches method fo match changed ItemMatcher interface
|
2020-12-28 17:53:47 +01:00 |
|
Marius Orcsik
|
fe5b14f0ba
|
Added ToLink and OnLink functions
|
2020-12-28 14:59:16 +01:00 |
|
Marius Orcsik
|
e4ba409251
|
White space issue fix
|
2020-12-28 14:58:56 +01:00 |
|
Marius Orcsik
|
32d4cee9bd
|
Uniform receiver names for MimeType methods
|
2020-12-28 14:58:41 +01:00 |
|
Marius Orcsik
|
9511d3bc0b
|
Updated go-ap packages
|
2020-11-28 13:50:41 +01:00 |
|
Marius Orcsik
|
c64f3ce904
|
Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions
|
2020-11-28 13:39:14 +01:00 |
|
Marius Orcsik
|
7a80b369f7
|
Updated go-ap packages
|
2020-11-14 12:57:40 +01:00 |
|
mariusor
|
7d6b9976bf
|
Rename the item typer, as it's not strictly tied into json
|
2020-11-06 19:40:46 +01:00 |
|
Marius Orcsik
|
109bdcbef3
|
Respond with 410 Gone for Tombstone objects
|
2020-10-04 18:11:02 +02:00 |
|
mariusor
|
6c4f77a887
|
Add location of deleted item after processing a Delete activity
|
2020-10-01 16:54:06 +02:00 |
|
Marius Orcsik
|
f769ff1686
|
Updated go-ap packages
|
2020-08-30 16:08:00 +02:00 |
|
Marius Orcsik
|
e0b519daad
|
Improved reflection based type conversion for collection types
This avoids some panics when the types are not compatible
I added tests for On*Collection* with all collection types
|
2020-08-30 16:03:34 +02:00 |
|
Marius Orcsik
|
b12c48d37f
|
Updated go-ap packages
|
2020-08-30 14:55:57 +02:00 |
|
Marius Orcsik
|
ba0c5bf2ae
|
Fix OnCollectionIntf() func when working with collection pages
|
2020-08-30 14:46:56 +02:00 |
|
mariusor
|
7213521c25
|
Updated go-ap packages
|
2020-08-27 17:06:01 +02:00 |
|
mariusor
|
e34990d729
|
Making the Content type be an alias for []byte
|
2020-08-27 16:59:27 +02:00 |
|
MariusOr
|
7b9fa847f1
|
Updated go-ap packages
|
2020-08-27 09:22:50 +02:00 |
|
MariusOr
|
e3dc8e04fb
|
Modified the NaturalLanguage related types
|
2020-08-26 18:50:27 +02:00 |
|
MariusOr
|
02bc61cc17
|
Updating to a LangVal specific type for LangRefValues
This allows us to switch from storing strings to plain byte slices
|
2020-08-25 13:45:52 +02:00 |
|
Marius Orcsik
|
53637e4f38
|
Updated go-ap packages
|
2020-07-16 22:02:14 +02:00 |
|
Marius Orcsik
|
656c40c1a7
|
Adding a default case for type conversion using the reflect package
|
2020-07-16 21:54:46 +02:00 |
|
Marius Orcsik
|
8b38444d94
|
Update go-ap packages
|
2020-07-16 20:43:59 +02:00 |
|
Marius Orcsik
|
95b4154abb
|
This has become a problem, so it needs a proper error message
|
2020-07-16 20:38:22 +02:00 |
|
Marius Orcsik
|
130c59ae41
|
Updated errors package
|
2020-07-14 18:54:11 +02:00 |
|
Marius Orcsik
|
9889517191
|
Use split on specific handlertypes slice
|
2020-07-14 18:49:05 +02:00 |
|
Marius Orcsik
|
a84e349e66
|
Apparently it's a spec requirement to remove an actor from the
recipients list.
Revert "Don't remove an activity's actor from the recipients, if specifically placed there"
This reverts commit fef2c33999 .
|
2020-07-12 20:42:56 +02:00 |
|
Marius Orcsik
|
fef2c33999
|
Don't remove an activity's actor from the recipients, if specifically placed there
|
2020-07-12 20:42:05 +02:00 |
|
Marius Orcsik
|
d3d7a23155
|
Updated go-ap packages
|
2020-06-30 14:11:16 +02:00 |
|
Marius Orcsik
|
57c015a8e9
|
Refactored types a bit
|
2020-06-30 13:35:04 +02:00 |
|
Marius Orcsik
|
9948cd74b7
|
Updated go-ap packages
|
2020-06-24 16:43:13 +02:00 |
|
Marius Orcsik
|
6b4974048c
|
Fix ItemCollection.Remove
|
2020-06-24 13:48:20 +02:00 |
|
Marius Orcsik
|
2d67267157
|
Fixed ItemEquals for objects without a type
Added some test cases for ItemsEqual
|
2020-06-24 13:47:43 +02:00 |
|
Marius Orcsik
|
6d0a041469
|
Added ValidCollectionIRI function
|
2020-06-15 11:36:15 +02:00 |
|
Marius Orcsik
|
34856c7ba9
|
Added some stub tests
|
2020-06-15 11:36:01 +02:00 |
|
Marius Orcsik
|
50bb6ef60a
|
Changing ValidCollection functions to receive CollectionType values
|
2020-06-15 11:35:37 +02:00 |
|
Marius Orcsik
|
509a30e1f1
|
Added some syntactic sugar for getting an actor IRI from it's collection IRI
|
2020-06-13 15:45:28 +02:00 |
|
Marius Orcsik
|
56646c3e51
|
Updated go-ap packages
|
2020-06-10 21:50:35 +02:00 |
|
Marius Orcsik
|
5bd32877d1
|
Add fallback for AddTo method
|
2020-06-10 21:49:30 +02:00 |
|
Marius Orcsik
|
b6c780ed52
|
Added Remove method on item collections
|
2020-06-10 21:36:56 +02:00 |
|
Marius Orcsik
|
5124af1873
|
Return the collection iri we just added to an object
|
2020-05-23 19:47:48 +02:00 |
|
Marius Orcsik
|
ff75fcd092
|
Fix AddTo with nil parameter
|
2020-05-19 20:10:40 +02:00 |
|
Marius Orcsik
|
ac45387527
|
Append a collection IRI matching the current type to an object
|
2020-05-19 18:13:10 +02:00 |
|
Marius Orcsik
|
697dae31fb
|
Export the collection types OnActor and OnObject
|
2020-05-19 18:12:16 +02:00 |
|
Marius Orcsik
|
f77b105f5e
|
Updated go-ap packages
|
2020-05-15 15:26:40 +02:00 |
|
Marius Orcsik
|
48d16c143b
|
Updated json parser package
|
2020-05-15 15:20:36 +02:00 |
|
Marius Orcsik
|
342a261a17
|
Improved ItemCollectionDeduplication
More tests for object equality method
|
2020-05-15 15:18:20 +02:00 |
|
Marius Orcsik
|
f9e00f3af3
|
Updated go-ap packages
|
2020-05-07 16:53:18 +02:00 |
|