Commit graph

877 commits

Author SHA1 Message Date
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
mariusor
693548c2e0
Updated activitypub package 2021-12-29 12:30:43 +01:00
mariusor
fbdf36704e
Updated handlers package 2021-12-14 12:32:38 +01:00
mariusor
df36ff1e3d
Ensure we also test the returned item for nil in ItemHandler.ServeHTTP 2021-12-14 12:31:34 +01:00
Marius Orcsik
bcbc490d89
Updated errors package 2021-12-05 15:41:20 +01:00
Marius Orcsik
d483ad8b8d
Updated errors, and activitypub packages 2021-12-05 15:19:20 +01:00
Marius Orcsik
95eb2994e5
An eventual test for a generic On[Object] function 2021-11-14 21:18:24 +01:00
Marius Orcsik
e2db125414
Aligned types in the Objects interface 2021-11-14 21:18:05 +01:00
Marius Orcsik
67a86322d8
Improved the readme 2021-11-12 20:21:49 +01:00
mariusor
dc55be1bb1
Adding Links interface 2021-11-12 20:05:34 +01:00
mariusor
3f601dee05
Fix union types 2021-11-12 20:05:34 +01:00
mariusor
56da692c28
Install and use gotip to test generics 2021-11-12 20:05:34 +01:00
Marius Orcsik
648b2cf097
Added generics compatible interface type constraints for Objects, Collections, Activities, Actors using type unions 2021-11-12 20:05:34 +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
0e7943dcfd
Updated activitypub package with Collection copy improvements 2021-10-03 15:23:54 +02:00
Marius Orcsik
0895ecc34f
Added Collection related copying of properties
Refactoring of copy functions
2021-10-03 15:01:44 +02:00
Marius Orcsik
2926ccaa43
Updated storage package 2021-10-01 21:48:35 +02:00
mariusor
8d8f739938 Updated storage package 2021-10-01 17:40:29 +02:00
Marius Orcsik
a8f7746c90
Updated activitypub package with correct Count() method on collections 2021-09-18 17:03:19 +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
774664dd70
Updated activitypub package with nil checks on OnX helpers 2021-09-12 12:59:33 +02:00
Marius Orcsik
df7d3cbe81
Add nil checks for OnX helper functions 2021-09-12 12:52:27 +02:00
Marius Orcsik
f87a23ad66
Updated activitypub package with fixed fastjson Parse 2021-08-28 22:12:11 +02:00
Marius Orcsik
d347363314
Handle errors coming from fastjson Parse 2021-08-28 22:10:10 +02:00
Marius Orcsik
89d3a7be06
Updated activitypub package 2021-08-22 19:01:34 +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
0122eaeca9
Updating activitypub package 2021-08-20 22:27:28 +02:00
Marius Orcsik
4b6c32b98c
Fix items json decoding 2021-08-20 22:22:48 +02:00
mariusor
a797bcb124 Updated activitypub with fixed public key json unmarshal 2021-08-16 16:30:17 +02:00
mariusor
94c953e391 Fix public key decoding 2021-08-16 16:28:43 +02:00
Marius Orcsik
8901b7e3f0
Updated activitypub package again 2021-08-15 19:18:06 +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
042e82bafe
Updated activitypub package 2021-08-14 20:19:33 +02:00
Marius Orcsik
c8d01274d3
Fix item collection unmarshall 2021-08-14 20:12:13 +02:00
Marius Orcsik
3bfde6b331
Updated errors package 2021-08-14 19:29:00 +02:00
Marius Orcsik
fb2bab4c89
Updated activitypub package 2021-08-14 19:07:54 +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