activitypub

A fork of go-ap/activitypub to make it easier to implement extensions

Commits at 6917e06269f57792ea1ad6ea79556cc772df48eb

  1. 6917e062 Added benchmark and comment about generic On/To pair Marius Orcsik authored at Marius Orcsik comitted at
  2. 07cf4a27 Added the ItemCollection case to On[Objects] mariusor authored at mariusor comitted at
  3. b7c96100 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 mariusor authored at mariusor comitted at
  4. 495ce2ea Removed the collection and path typer functionality This will be moved to the processing package Marius Orcsik authored at Marius Orcsik comitted at
  5. 051d30fa Folded back handlers typer functionality into the activitypub package Marius Orcsik authored at Marius Orcsik comitted at
  6. 897ab709 Don't try to output anything if item collection is empty Marius Orcsik authored at Marius Orcsik comitted at
  7. f32e7aa1 OnX generic function and some tests Marius Orcsik authored at Marius Orcsik comitted at
  8. 1c635844 Only check for nil on pointer values on non package types mariusor authored at mariusor comitted at
  9. 7414b7fa Unified some more the error for invalid types mariusor authored at mariusor comitted at
  10. 52ce087a Adding some Format methods for custom printing of objects mariusor authored at mariusor comitted at
  11. 5c59dccd Improved IsNil to handle all known types mariusor authored at mariusor comitted at
  12. a9858c90 Unified error messages when being unable to convert to specific types using OnXXX helpers mariusor authored at mariusor comitted at
  13. 7c011e3a Added go fmt functionality for IRI to escape url query mariusor authored at mariusor comitted at
  14. 7ed0d30e Removing unsafe from ToActor This might be a future proof way of doing these conversions, but they contain new allocations mariusor authored at mariusor comitted at
  15. a60c25cc Added Equals method to intransitive activity mariusor authored at mariusor comitted at
  16. e8c528ed Improvements to Equals methods for actor and activity mariusor authored at mariusor comitted at
  17. 4837641d Converted the URL property to support an array of links as a value mariusor authored at mariusor comitted at
  18. 947bcada Improve Flatten function for collections and items mariusor authored at mariusor comitted at
  19. fd7ce7b1 Improved documentation on the remaining OnXXX functions for custom objects mariusor authored at mariusor comitted at
  20. 2d4ccbce Improved documentation on some OnXXX functions mariusor authored at mariusor comitted at
  21. 109a45e9 Added a ItemCollection.Normalize method It allows us to return an the first element in a collection if there is just one Marius Orcsik authored at Marius Orcsik comitted at
  22. 0b791c7c Fix CI pipeline Marius Orcsik authored at Marius Orcsik comitted at
  23. 79c09877 Fix gob encoding the URL Marius Orcsik authored at Marius Orcsik comitted at
  24. 93a95968 Using go1.18 and adding some interface types that can be used for generics Marius Orcsik authored at Marius Orcsik comitted at
  25. 826f263b Added 'integration' tests to the test run mariusor authored at mariusor comitted at
  26. 8eefc799 Fix json encoding for question.anyOf Marius Orcsik authored at Marius Orcsik comitted at
  27. eed05617 Fix flatting of intransitive activities For the moment we don't flatten a Question's anyOf or oneOf properties mariusor authored at mariusor comitted at
  28. d29b4fa0 Don't fail on properties that are missing when unmarshaling json Marius Orcsik authored at Marius Orcsik comitted at
  29. 16bd1c8a Fix encoding actor.Streams property mariusor authored at mariusor comitted at
  30. c61421fd Change type of Actor.Streams to be just an item collection mariusor authored at mariusor comitted at