Commit graph

657 commits

Author SHA1 Message Date
mariusor
af0f5aa0ee
Adding gob encode/decode for place, profile, question, relationship, tombstone types 2022-01-13 12:22:34 +01:00
mariusor
3e9850f7d0
Adding gob encode/decode functionality for *Collection types 2022-01-12 18:57:45 +01:00
mariusor
80679b32e9
More gob decode types 2022-01-12 18:19:06 +01:00
mariusor
4792d825cd
Adding more gob encoding/decoding for specific object types 2022-01-12 17:51:04 +01:00
mariusor
da9b05373d
Move gob encode/decode to their respective separate files 2022-01-12 16:49:45 +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
mariusor
f283750ff6
Added gob Encode/Decode for IRIs 2022-01-12 15:39:08 +01:00
mariusor
fb7fbc1984
Use a specific type for IRI.GetType 2022-01-12 15:34:59 +01:00
Marius Orcsik
b49c3b9ec0
Adding gob encoding for Actors 2022-01-02 16:26:16 +01:00
Marius Orcsik
25ecb40f69
Adding gob encoding for Activities and IntransitiveActivities 2022-01-02 16:26:06 +01:00
Marius Orcsik
98500a23a4
Adding gob encoding for an object 2022-01-02 16:25:28 +01:00
Marius Orcsik
30317634f5
Moved int gob write functions to the gob_encoding file 2022-01-02 16:24:24 +01:00
Marius Orcsik
bafe58846f
Added source gob marshal/unmarshal 2022-01-02 16:22:56 +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
Marius Orcsik
ea1a9658cd
Changed the PublicKey.Owner type to be an IRI 2022-01-02 16:20:23 +01:00
Marius Orcsik
b32c7ce9db
Renamed gobEncode string like function 2022-01-02 16:19:08 +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
525748448c
Added gob Marshal/Unmarshal for Link type
Testing is still incomplete for this
2021-12-30 19:01:15 +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
05023b021b
Added gob Marshal/Unmarshal for IRI/ID type 2021-12-30 16:09:33 +01:00
mariusor
9f4fe6ab1b
Added gob Marshal/Unmarshal for NaturalLanguageValues type 2021-12-30 15:57:45 +01:00
mariusor
a0add4eee6
Exit early if stringy values have 0 length when doing gob encoding 2021-12-30 15:53:51 +01:00
mariusor
3fe3ad49be
Implement an ugly hack for gob Marshal/Unmarshal the LangRefValue type 2021-12-30 15:29:41 +01:00
mariusor
365484306b
Added gob Marshal/Unmarshal for LangRef type 2021-12-30 14:58:51 +01:00
mariusor
07b28f09ae
Added gob Marshal/Unmarshal for Content type 2021-12-30 14:40:07 +01:00
Marius Orcsik
67a86322d8
Improved the readme 2021-11-12 20:21:49 +01:00
Marius Orcsik
c1e48c1eef
More lint errors fixed 2021-11-12 20:05:08 +01:00
mariusor
4b021a9cdb Fix some misspells 2021-11-12 19:21:16 +01:00
mariusor
d4021d85d8 Ran gofmt -s 2021-11-12 19:18:20 +01:00
mariusor
a8126635d3 Fix some linting warnings 2021-11-12 19:10:31 +01:00
mariusor
5064eea988 Go fmt'ed files 2021-11-12 18:27:28 +01:00
Marius Orcsik
bd0dbddb26
Updated comment for the Relationship object 2021-11-07 15:06:16 +01:00
Marius Orcsik
0895ecc34f
Added Collection related copying of properties
Refactoring of copy functions
2021-10-03 15:01:44 +02:00
Marius Orcsik
cd6c842227
Remove returning total items for collection, collection page, ordered collection and ordered collection page
This should be moved to a different method/function
2021-09-18 17:01:17 +02:00
Marius Orcsik
df7d3cbe81
Add nil checks for OnX helper functions 2021-09-12 12:52:27 +02:00
Marius Orcsik
d347363314
Handle errors coming from fastjson Parse 2021-08-28 22:10:10 +02:00
Marius Orcsik
71f08af09f
*Better* ItemCollection.Append 2021-08-22 18:59:57 +02:00
Marius Orcsik
3d91847f7f
Fix loading objects w/o type
They usually correspond to Tags
2021-08-22 18:59:32 +02:00
Marius Orcsik
4b6c32b98c
Fix items json decoding 2021-08-20 22:22:48 +02:00
mariusor
94c953e391 Fix public key decoding 2021-08-16 16:28:43 +02:00
Marius Orcsik
06ac3605b8
Fix crash for article objects load 2021-08-15 19:11:18 +02:00
Marius Orcsik
e26b856fcc
Use fastjson properly 2021-08-15 13:41:01 +02:00
Marius Orcsik
c8d01274d3
Fix item collection unmarshall 2021-08-14 20:12:13 +02:00
Marius Orcsik
5c5ff6be80
Broken item collection decoding 2021-08-14 19:04:34 +02:00
Marius Orcsik
f4312e0756
Fix how we test empty objects 2021-08-14 18:34:21 +02:00
Marius Orcsik
73041d04eb
Replace jsonparser to fastjson for parsing json 2021-08-14 18:34:02 +02:00
Marius Orcsik
ca0c565b6f
Changed default test target in the makefile 2021-08-14 18:31:18 +02:00
Marius Orcsik
e7844f6e2b
Move CopyXProperties and related functionality from the processing package 2021-07-21 19:32:51 +02:00
Marius Orcsik
5fd333bcd1
Export types for function parameters required by the OnXXX utility functions 2021-07-21 18:38:41 +02:00