Commit graph

25 commits

Author SHA1 Message Date
mariusor
e8c528edf3
Improvements to Equals methods for actor and activity 2022-05-24 10:56:26 +02:00
mariusor
2647d68b45
Fix activity type tests 2022-01-13 16:51:14 +01:00
mariusor
4792d825cd
Adding more gob encoding/decoding for specific object types 2022-01-12 17:51:04 +01:00
mariusor
70cf14b80e
Adding some trial and error over recognized types for gob decoding an item's properties 2022-01-12 15:40:11 +01:00
Marius Orcsik
98500a23a4
Adding gob encoding for an object 2022-01-02 16:25:28 +01:00
Marius Orcsik
59b142d1f6
Changed Object.URL property to be an Item not just a link or iri 2022-01-02 16:21:46 +01:00
mariusor
f00af9750d
Be consistent in how we encode stringy types
Namely as []byte slices
2021-12-30 19:49:25 +01:00
mariusor
a7d54ee31e
Added gob Marshal/Unmarshal for ActivityVocabularyType type 2021-12-30 16:22:15 +01:00
mariusor
2f50a0196d
Added gob Marshal/Unmarshal for MimeType type 2021-12-30 16:15:16 +01:00
mariusor
5064eea988 Go fmt'ed files 2021-11-12 18:27:28 +01:00
Marius Orcsik
e26b856fcc
Use fastjson properly 2021-08-15 13:41:01 +02:00
Marius Orcsik
558da36360
Moved the flatten functionality to this package 2021-04-03 13:43:33 +02:00
mariusor
0c3f57f637 Added IsNil function to assert to Object or ItemCollection before checking for nil values in Item interface 2021-02-02 14:18:16 +01:00
mariusor
e34990d729 Making the Content type be an alias for []byte 2020-08-27 16:59:27 +02:00
Marius Orcsik
57c015a8e9
Refactored types a bit 2020-06-30 13:35:04 +02:00
Marius Orcsik
342a261a17
Improved ItemCollectionDeduplication
More tests for object equality method
2020-05-15 15:18:20 +02:00
Marius Orcsik
8af476849f
Completed functionality of Object.MarshalJSON
Added a couple more tests

Added proper time.Duration to xsd:duration encoding
2019-12-19 14:44:48 +01:00
Marius Orcsik
8420879a85
Improvements to Object, NaturalLanguage and Source Json marshaling
Improvements to tests
2019-12-19 14:44:48 +01:00
Marius Orcsik
88cce1d2f9
Adding some marshaler functions for Object related types 2019-12-19 14:44:48 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
0a9945a0d9
Moved object id to its own file 2019-12-05 16:43:55 +01:00
Marius Orcsik
f05a08688f
Moved natural language values to their own file 2019-12-04 16:28:45 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Marius Orcsik
430b4b24f7
Updated to latest activitystreams vocab package 2019-07-06 12:16:25 +02:00
Marius Orcsik
b987bcf379
Moved everything related to activitypub extensions to its own project 2019-01-22 16:38:46 +01:00
Renamed from activitypub/object_test.go (Browse further)