Commit graph

26 commits

Author SHA1 Message Date
Marius Orcsik
6fe2b97669
Refactored a couple of the writeX encoding functions 2019-12-21 10:44:32 +01:00
Marius Orcsik
6bb34603e9
Refactored marshaling and removing bytes.Buffer in favor of a simple byte slice 2019-12-19 17:05:12 +01:00
Marius Orcsik
c4d6f93c22
Added actor Json marshal 2019-12-19 14:45:49 +01:00
Marius Orcsik
4599863fae
Added Activity/IntransitiveActivity/Question Json marshaling and tests 2019-12-19 14:45:24 +01:00
Marius Orcsik
8af476849f
Completed functionality of Object.MarshalJSON
Added a couple more tests

Added proper time.Duration to xsd:duration encoding
2019-12-19 14:44:48 +01:00
Marius Orcsik
8420879a85
Improvements to Object, NaturalLanguage and Source Json marshaling
Improvements to tests
2019-12-19 14:44:48 +01:00
Marius Orcsik
88cce1d2f9
Adding some marshaler functions for Object related types 2019-12-19 14:44:48 +01:00
Marius Orcsik
67aa065f9f
Some other places where we removed Object from names of things 2019-12-05 19:16:48 +01:00
Marius Orcsik
b89c9ee68c
Renamed ObjectID to ID 2019-12-05 19:02:15 +01:00
Marius Orcsik
0a9945a0d9
Moved object id to its own file 2019-12-05 16:43:55 +01:00
Marius Orcsik
57ad0db747
Moved nil LanguageRef constant to natural language file 2019-12-05 16:43:04 +01:00
Marius Orcsik
e66f1da47a
Add Actor type to ToObject handling 2019-12-04 19:34:04 +01:00
Marius Orcsik
4a6d2e2600
Added security namespace and moved constants to iri 2019-12-04 16:34:38 +01:00
Marius Orcsik
f05a08688f
Moved natural language values to their own file 2019-12-04 16:28:45 +01:00
Marius Orcsik
e1942ec531
Fixing some tests 2019-12-03 19:59:20 +01:00
Marius Orcsik
c3a38f35e7
Holy shit! Merged the activitystreams repo
Only 3 tests failing
2019-12-03 17:23:59 +01:00
Marius Orcsik
2745a3c694
Moved shares and likes to object struct, as per the spec 2019-09-28 10:30:01 +03:00
Marius Orcsik
ed06508b7b
Sigh, local object/actor structs have just become more complicated 2019-09-27 16:35:20 +03:00
Marius Orcsik
334d80b393
Added ToObject/OnObject pairs for local Object 2019-09-09 20:21:45 +02:00
Marius Orcsik
706be92cc2
Improvements to how we set the typer function for Unmarshalling 2019-05-18 23:13:06 +02:00
Marius Orcsik
4a4928446c
Updated to activitystreams version with plural NaturalLanguageValues array type 2019-02-21 18:00:03 +01:00
Marius Orcsik
8b3fd85a7c
Reworking a lot of the dependencies between activitypub and activitystreams objects
It turns out extending one from the other is not that easy

Still broken test for tests/mocks/like_activity_with_iri_actor.json
2019-01-30 22:01:56 +01:00
Marius Orcsik
b987bcf379
Moved everything related to activitypub extensions to its own project 2019-01-22 16:38:46 +01:00
Marius Orcsik
d2d853feed
Move files to activitypub package 2017-09-12 10:31:45 +02:00
Marius Orcsik
85e7725ff0
Moved activity struct and functions to their own file 2017-09-11 23:12:28 +02:00
Marius Orcsik
51853428cb
Adding basic types for activity pub 2017-09-11 22:46:29 +02:00