mariusor
|
92ecfe47ba
|
More improvements to the CollectionType.Of method
It has become a little too complex for my taste
|
2022-11-04 10:48:14 +01:00 |
|
mariusor
|
3f5197d77b
|
Allow CollectionPath.Of on IRIs
|
2022-11-03 14:55:20 +01:00 |
|
mariusor
|
1c6c4d8444
|
Replace 'path' with 'file/path'
|
2022-11-03 14:53:54 +01: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 |
|
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 |
|
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
|
451302a38f
|
Added an CollectionType.Of method to return the corresponding collection of an Item
|
2022-05-23 20:13:46 +02:00 |
|
mariusor
|
4a60b3c358
|
Some formatting
|
2022-03-18 14:02:09 +01:00 |
|
mariusor
|
fa3ccdfb80
|
Updated activitypub packages
|
2021-02-02 14:29:10 +01:00 |
|
Marius Orcsik
|
a6eb4c996c
|
Fix IRIf for empty IRIs
|
2021-01-24 17:18:35 +01:00 |
|
Marius Orcsik
|
6ff39cfc8d
|
Strip / from IRI path if last character
|
2021-01-24 15:45:46 +01:00 |
|
Marius Orcsik
|
9889517191
|
Use split on specific handlertypes slice
|
2020-07-14 18:49:05 +02:00 |
|
Marius Orcsik
|
6d0a041469
|
Added ValidCollectionIRI function
|
2020-06-15 11:36:15 +02:00 |
|
Marius Orcsik
|
50bb6ef60a
|
Changing ValidCollection functions to receive CollectionType values
|
2020-06-15 11:35:37 +02:00 |
|
Marius Orcsik
|
509a30e1f1
|
Added some syntactic sugar for getting an actor IRI from it's collection IRI
|
2020-06-13 15:45:28 +02:00 |
|
Marius Orcsik
|
5bd32877d1
|
Add fallback for AddTo method
|
2020-06-10 21:49:30 +02:00 |
|
Marius Orcsik
|
5124af1873
|
Return the collection iri we just added to an object
|
2020-05-23 19:47:48 +02:00 |
|
Marius Orcsik
|
ff75fcd092
|
Fix AddTo with nil parameter
|
2020-05-19 20:10:40 +02:00 |
|
Marius Orcsik
|
ac45387527
|
Append a collection IRI matching the current type to an object
|
2020-05-19 18:13:10 +02:00 |
|
Marius Orcsik
|
697dae31fb
|
Export the collection types OnActor and OnObject
|
2020-05-19 18:12:16 +02:00 |
|
Marius Orcsik
|
0a1567cdd4
|
go fmt changes
|
2020-04-13 12:02:50 +02:00 |
|
Marius Orcsik
|
8f4d4286d3
|
Don't try to generate IRI from nil Item
|
2020-04-05 13:18:57 +02:00 |
|
Marius Orcsik
|
66744423a2
|
Added some convenience methods to create IRIs for each collection type
|
2020-03-26 11:53:47 +01:00 |
|
Marius Orcsik
|
30ced0d85f
|
Moving handlers from activitypub package to their own
|
2019-05-31 15:48:50 +02:00 |
|