Commit graph

889 commits

Author SHA1 Message Date
mariusor
1ffdb48e69
Add some convenience functions to initialize NaturalLanguageValues properties 2022-11-03 14:54:37 +01:00
mariusor
1c6c4d8444
Replace 'path' with 'file/path' 2022-11-03 14:53:54 +01:00
Marius Orcsik
e2b6e01b27
Remove coverage push to codecov, as we no longer have access to secrets 2022-10-30 10:15:45 +01:00
Marius Orcsik
e4e7018838
Updated jsonld package 2022-09-17 16:31:52 +02:00
Marius Orcsik
23f9512103
Export everything in decoding_json 2022-08-20 17:43:45 +02:00
mariusor
0c84d76ce5
Improved documentation for collection groups that correspond to activity processing operations 2022-07-06 15:48:11 +02:00
Marius Orcsik
9f77adaa0b
Updated errors and xsd-duration packages 2022-07-03 14:34:09 +02:00
mariusor
48208c7048
Updated jsonld package with better @context 2022-06-15 16:44:28 +02:00
Marius Orcsik
4c61caf651
Removed initializing the inbox, outbox, liked collections in NewActor 2022-06-12 11:58:08 +02:00
Marius Orcsik
d23c21aea0
Reorganizing the benchmarks for To/On 2022-06-06 15:00:25 +02:00
Marius Orcsik
725d9a665e
Some basic tests for object ids 2022-06-06 13:22:54 +02:00
Marius Orcsik
697681d8d4
Added benchmarks for 'ToXX' vs 'To[T type]'
They show some weird numbers considering the 'On' benchmarks
2022-06-04 19:19:30 +02:00
Marius Orcsik
6917e06269
Added benchmark and comment about generic On/To pair 2022-06-04 16:47:31 +02:00
mariusor
07cf4a27c1
Added the ItemCollection case to On[Objects] 2022-06-03 14:57:44 +02:00
mariusor
b7c961002d
Make the To[Objects] and On[Objects] generic functions work
They lose functionality as opposed to the more specific ones because we can't check for it being an ItemCollection
2022-06-03 09:23:48 +02:00
Marius Orcsik
495ce2ea66
Removed the collection and path typer functionality
This will be moved to the processing package
2022-05-30 14:48:13 +02:00
Marius Orcsik
051d30fa3f
Folded back handlers typer functionality into the activitypub package 2022-05-30 14:02:51 +02:00
Marius Orcsik
5e6616a8d5
Updated go-ap packages 2022-05-29 15:25:34 +02:00
Marius Orcsik
897ab70990
Don't try to output anything if item collection is empty 2022-05-29 15:19:53 +02:00
Marius Orcsik
789dce20be
Updated activitypub package 2022-05-28 14:02:42 +02:00
Marius Orcsik
f32e7aa1f4
OnX generic function and some tests 2022-05-28 13:10:45 +02:00
mariusor
f3dbe6e621
Updated activitypub with IsNil fixed implementation 2022-05-25 14:49:10 +02:00
mariusor
1c63584463
Only check for nil on pointer values on non package types 2022-05-25 14:46:36 +02:00
mariusor
0773be749c
Updated activitypub package 2022-05-25 13:58:44 +02:00
mariusor
7414b7fad2
Unified some more the error for invalid types 2022-05-25 13:55:18 +02:00
mariusor
52ce087a26
Adding some Format methods for custom printing of objects 2022-05-25 13:46:03 +02:00
mariusor
5c59dccd55
Improved IsNil to handle all known types 2022-05-25 13:41:52 +02:00
mariusor
a9858c9098
Unified error messages when being unable to convert to specific types using OnXXX helpers 2022-05-25 13:36:56 +02:00
mariusor
05aaf624e6
Updated activitypub with IRI fmt improvements 2022-05-24 15:49:35 +02:00
mariusor
7c011e3a74
Added go fmt functionality for IRI to escape url query 2022-05-24 15:47:36 +02:00
mariusor
a8ab351bd6
Improve CollectionType.Of
We now check that both following things happen

Collection type matches OnActor collection types

Item type matches a Actor activity types
2022-05-24 12:23:01 +02:00
mariusor
835c891752
Updated activitypub package with removed race condition for ToActor 2022-05-24 12:16:05 +02:00
mariusor
7ed0d30e7c
Removing unsafe from ToActor
This might be a future proof way of doing these conversions, but they contain new allocations
2022-05-24 12:14:32 +02:00
mariusor
2923d5ac4f
Updated activitypub package with better Equals methods 2022-05-24 11:23:04 +02:00
mariusor
a60c25cc5c
Added Equals method to intransitive activity 2022-05-24 11:03:40 +02:00
mariusor
e8c528edf3
Improvements to Equals methods for actor and activity 2022-05-24 10:56:26 +02:00
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