Marius Orcsik
|
ffbd88a5f0
|
Final update
|
2022-05-23 23:36:56 +02:00 |
|
Marius Orcsik
|
3a6f70e8dd
|
Another special case
|
2022-05-23 23:05:36 +02:00 |
|
Marius Orcsik
|
d3c7b08d2b
|
Have specific case for IRIs in CollectionType.IRI
|
2022-05-23 22:35:31 +02:00 |
|
Marius Orcsik
|
6921b4d323
|
Add tests for IRIf
|
2022-05-23 20:47:23 +02:00 |
|
Marius Orcsik
|
ce99195aca
|
Test only local package
|
2022-05-23 20:22:34 +02:00 |
|
Marius Orcsik
|
451302a38f
|
Added an CollectionType.Of method to return the corresponding collection of an Item
|
2022-05-23 20:13:46 +02:00 |
|
Marius Orcsik
|
8908996896
|
Updated errors package
|
2022-05-22 15:00:40 +02:00 |
|
Marius Orcsik
|
7e329353c4
|
Remove some uneeded code
|
2022-05-22 14:07:06 +02:00 |
|
mariusor
|
cdf654d8ae
|
Updated activitypub package that supports array URLs
|
2022-04-20 11:13:45 +02:00 |
|
mariusor
|
4837641dc8
|
Converted the URL property to support an array of links as a value
|
2022-04-20 11:11:13 +02:00 |
|
Marius Orcsik
|
bc648cfc45
|
Updates errors package
|
2022-04-07 14:44:18 +02:00 |
|
mariusor
|
bd24563ded
|
Updated activitypub package
|
2022-03-23 16:22:34 +01:00 |
|
mariusor
|
947bcada60
|
Improve Flatten function for collections and items
|
2022-03-23 16:19:40 +01:00 |
|
mariusor
|
fd7ce7b1fb
|
Improved documentation on the remaining OnXXX functions for custom objects
|
2022-03-22 11:47:50 +01:00 |
|
mariusor
|
2d4ccbceb8
|
Improved documentation on some OnXXX functions
|
2022-03-22 11:39:01 +01:00 |
|
Marius Orcsik
|
fd0bfa95ef
|
Updated activitypub package with Normalize functionality
|
2022-03-20 15:17:38 +01:00 |
|
Marius Orcsik
|
109a45e9a0
|
Added a ItemCollection.Normalize method
It allows us to return an the first element in a collection if there is just one
|
2022-03-20 15:15:07 +01:00 |
|
Marius Orcsik
|
b3d7808579
|
Updated to go1.18
|
2022-03-19 20:38:21 +01:00 |
|
Marius Orcsik
|
0b791c7c7f
|
Fix CI pipeline
|
2022-03-19 20:30:00 +01:00 |
|
Marius Orcsik
|
79c0987785
|
Fix gob encoding the URL
|
2022-03-19 20:25:59 +01:00 |
|
Marius Orcsik
|
93a9596849
|
Using go1.18 and adding some interface types that can be used for generics
|
2022-03-19 20:14:56 +01:00 |
|
mariusor
|
b284abadbf
|
Updated activitypub package
|
2022-03-18 14:04:34 +01:00 |
|
mariusor
|
4a60b3c358
|
Some formatting
|
2022-03-18 14:02:09 +01:00 |
|
mariusor
|
826f263bfe
|
Added 'integration' tests to the test run
|
2022-03-16 11:51:55 +01:00 |
|
Marius Orcsik
|
071af346d1
|
Updated activitypub package
|
2022-03-13 11:28:55 +01:00 |
|
Marius Orcsik
|
5beb65d934
|
Use the jsonld content type from the item and collection handlers
|
2022-03-13 11:28:31 +01:00 |
|
Marius Orcsik
|
8eefc7992f
|
Fix json encoding for question.anyOf
|
2022-03-13 11:25:30 +01:00 |
|
Marius Orcsik
|
e96b926220
|
Don't try to output an intransitive activity's object
|
2022-03-12 09:37:12 +01:00 |
|
mariusor
|
79634f8f13
|
Update activitypub package with improved flatten function
|
2022-03-11 16:49:43 +01:00 |
|
mariusor
|
eed0561779
|
Fix flatting of intransitive activities
For the moment we don't flatten a Question's anyOf or oneOf properties
|
2022-03-11 16:47:56 +01:00 |
|
mariusor
|
05d6cb5ef7
|
Fix handling Intransitive activities
Output status 204 for intransitive activities and no content
|
2022-03-09 16:46:52 +01:00 |
|
Marius Orcsik
|
cc5a660078
|
Updated activitypub package
|
2022-03-06 13:38:51 +01:00 |
|
Marius Orcsik
|
d29b4fa0ae
|
Don't fail on properties that are missing when unmarshaling json
|
2022-03-06 13:34:18 +01:00 |
|
Marius Orcsik
|
f5091c21a7
|
Add content type header only if actually returning an activity's object
|
2022-03-06 13:25:59 +01:00 |
|
mariusor
|
9bb086e17a
|
Updated to new activitypub version
|
2022-03-01 16:24:24 +01:00 |
|
mariusor
|
16bd1c8aa0
|
Fix encoding actor.Streams property
|
2022-03-01 16:22:14 +01:00 |
|
mariusor
|
642daef8ea
|
Updated activitypub package
|
2022-01-28 12:55:34 +01:00 |
|
mariusor
|
c61421fde8
|
Change type of Actor.Streams to be just an item collection
|
2022-01-28 12:47:59 +01:00 |
|
mariusor
|
74d6e4ea8b
|
Updated activitypub package with full Gob encoding/decoding
|
2022-01-26 15:27:09 +01:00 |
|
mariusor
|
8f025c2e36
|
Saving place.Units as byte array instead of trying any encoding
|
2022-01-26 15:24:39 +01:00 |
|
mariusor
|
a14c77aac8
|
Added public key decoding
|
2022-01-26 15:21:11 +01:00 |
|
Marius Orcsik
|
fbee7c1426
|
Fix IRI.IsObject tests
|
2022-01-23 16:55:13 +01:00 |
|
Marius Orcsik
|
60a9d0c085
|
Making the activitypub.IsObject just try to type assert
|
2022-01-23 16:53:15 +01:00 |
|
Marius Orcsik
|
d7f2e55bea
|
Add some extra test cases to iri IsObject test
|
2022-01-23 16:51:10 +01:00 |
|
mariusor
|
01c8503de4
|
Update to activitypub package version with exported Gob functions
|
2022-01-14 16:27:10 +01:00 |
|
mariusor
|
7b062fcd1f
|
Simplified some of the gob encoding and decoding
|
2022-01-14 16:23:28 +01:00 |
|
mariusor
|
aff990b584
|
Check for pointers if when evaluating if an item is an IRI
|
2022-01-14 16:21:57 +01:00 |
|
mariusor
|
8d289001b1
|
Store IRIs as their underlying byte array when encoding using gob
|
2022-01-14 16:21:28 +01:00 |
|
Marius Orcsik
|
41f034c70c
|
Added exported GobEncode/GobDecode functions
|
2022-01-13 20:56:01 +01:00 |
|
mariusor
|
b36791f64c
|
Updated activitypub package with even more final gob encode/decode
|
2022-01-13 16:53:09 +01:00 |
|