Commit graph

12 commits

Author SHA1 Message Date
Marius Orcsik
a65a3e9048
Renamed internal functions used for JSON buffer write
This is done to ensure we're not overlapping with the future gob functionality
2021-03-14 18:31:13 +01:00
Marius Orcsik
15ac5c20c7
Updated OnX functions to apply the function on an item collection if that's what's being passed to it
This still has the downside that the collection might contain different types of objects

but I can't think of a better way to do it at the moment
2021-01-31 13:30:40 +01:00
Marius Orcsik
c64f3ce904
Add extra OnPlace/OnProfile/OnRelationship/OnTombstone functions 2020-11-28 13:39:14 +01: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
342a261a17
Improved ItemCollectionDeduplication
More tests for object equality method
2020-05-15 15:18:20 +02:00
Marius Orcsik
a309adb642
Refactoring loading of collection, actor and additional object types from json byte array 2019-12-21 15:14:43 +01:00
Marius Orcsik
6bb34603e9
Refactored marshaling and removing bytes.Buffer in favor of a simple byte slice 2019-12-19 17:05:12 +01:00
Marius Orcsik
c295d6d15c
Added marshal Json method to Place, Profile, Relationship and Tombstone 2019-12-19 14:45:50 +01:00
Marius Orcsik
67aa065f9f
Some other places where we removed Object from names of things 2019-12-05 19:16:48 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
79e39d3c2b
Added the Object related Source and collection properties 2019-12-03 20:50:26 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Renamed from streams/profile.go (Browse further)