activitypub

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

Commits at f32e7aa1f4e770ad0af568ba38aa8117ff91ffe4

  1. f32e7aa1 OnX generic function and some tests Marius Orcsik authored at Marius Orcsik comitted at
  2. 1c635844 Only check for nil on pointer values on non package types mariusor authored at mariusor comitted at
  3. 7414b7fa Unified some more the error for invalid types mariusor authored at mariusor comitted at
  4. 52ce087a Adding some Format methods for custom printing of objects mariusor authored at mariusor comitted at
  5. 5c59dccd Improved IsNil to handle all known types mariusor authored at mariusor comitted at
  6. a9858c90 Unified error messages when being unable to convert to specific types using OnXXX helpers mariusor authored at mariusor comitted at
  7. 7c011e3a Added go fmt functionality for IRI to escape url query mariusor authored at mariusor comitted at
  8. 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
  9. a60c25cc Added Equals method to intransitive activity mariusor authored at mariusor comitted at
  10. e8c528ed Improvements to Equals methods for actor and activity mariusor authored at mariusor comitted at
  11. 4837641d Converted the URL property to support an array of links as a value mariusor authored at mariusor comitted at
  12. 947bcada Improve Flatten function for collections and items mariusor authored at mariusor comitted at
  13. fd7ce7b1 Improved documentation on the remaining OnXXX functions for custom objects mariusor authored at mariusor comitted at
  14. 2d4ccbce Improved documentation on some OnXXX functions mariusor authored at mariusor comitted at
  15. 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
  16. 0b791c7c Fix CI pipeline Marius Orcsik authored at Marius Orcsik comitted at
  17. 79c09877 Fix gob encoding the URL Marius Orcsik authored at Marius Orcsik comitted at
  18. 93a95968 Using go1.18 and adding some interface types that can be used for generics Marius Orcsik authored at Marius Orcsik comitted at
  19. 826f263b Added 'integration' tests to the test run mariusor authored at mariusor comitted at
  20. 8eefc799 Fix json encoding for question.anyOf Marius Orcsik authored at Marius Orcsik comitted at
  21. 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
  22. d29b4fa0 Don't fail on properties that are missing when unmarshaling json Marius Orcsik authored at Marius Orcsik comitted at
  23. 16bd1c8a Fix encoding actor.Streams property mariusor authored at mariusor comitted at
  24. c61421fd Change type of Actor.Streams to be just an item collection mariusor authored at mariusor comitted at
  25. 8f025c2e Saving place.Units as byte array instead of trying any encoding mariusor authored at mariusor comitted at
  26. a14c77aa Added public key decoding mariusor authored at mariusor comitted at
  27. fbee7c14 Fix IRI.IsObject tests Marius Orcsik authored at Marius Orcsik comitted at
  28. 60a9d0c0 Making the activitypub.IsObject just try to type assert Marius Orcsik authored at Marius Orcsik comitted at
  29. d7f2e55b Add some extra test cases to iri IsObject test Marius Orcsik authored at Marius Orcsik comitted at
  30. 7b062fcd Simplified some of the gob encoding and decoding mariusor authored at mariusor comitted at