Commit graph

27 commits

Author SHA1 Message Date
Marius Orcsik
8bd5130d0f
Move the context to a package variable 2018-07-06 22:33:47 +02:00
Marius Orcsik
978985644e
Refactored how the repo looks 2018-07-06 12:48:04 +02:00
Marius Orcsik
7f8193dff8
Refactored objects to include full AP structure 2018-06-09 14:05:46 +02:00
Marius Orcsik
55e0d31a75
Broken tests 2018-06-09 13:08:30 +02:00
Marius Orcsik
68c4bc41df
Renamed Object to BaseObject 2018-06-09 13:06:55 +02:00
Marius Orcsik
2ecb5245ec
Added marshalling tests based on json mock files 2018-06-07 16:48:08 +02:00
Marius Orcsik
1997a54824
Renamed apObject to Object 2018-06-06 15:32:26 +02:00
Marius Orcsik
74f69f09c6
Added test for ensuring a block's object is not present in the recipients list 2018-06-05 21:20:28 +02:00
Marius Orcsik
55a57cc61e
Added test for ensuring an activity's actor is removed from the recipients list
Adding RecipientsDeduplication method on Activity* structs
2018-06-05 21:04:36 +02:00
Marius Orcsik
26b14c3d0c
Adding stubs for common server tests 2018-04-10 21:33:47 +02:00
Marius Orcsik
4b40a20e0d
Add stubs for next tests from the server to server suite 2018-04-10 21:32:58 +02:00
Marius Orcsik
65343bb33c
Refactored the s2s tests and added some output info about each one 2018-04-10 20:29:55 +02:00
Marius Orcsik
87463896d5
Adding type for ObjectOrInterface arrays
Making this type play nice as a Collection interface

Adding RecipientsDeduplication mechanism with integratoin test
2018-04-10 17:53:05 +02:00
Marius Orcsik
f68a512ed8
Renamed apObject.Id to ID
Removed anonymous apObject pointer as top member of dependent structs
2018-04-08 18:55:25 +02:00
Marius Orcsik
27844eb29c
Remove test stub from run 2018-04-07 12:34:57 +02:00
Marius Orcsik
4099dea834
Adding target to Add and Remove activity initializers
Implementing S2S#2 tests from https://test.activitypub.rocks/

S2S Server: Activities requiring the target property
2018-03-27 17:40:40 +02:00
Marius Orcsik
5d77148ca6
Implementing S2S#1 tests from https://test.activitypub.rocks/
S2S Server: Activities requiring the object property
2018-03-27 17:28:09 +02:00
Marius Orcsik
b45570c418
Adding a lot of comments from ActivityPub/ActivityStreams/ActivityVocabulary specs
To quiet some go lint warnings
2018-03-27 16:16:07 +02:00
Marius Orcsik
5d13db4836
Renamed ObjectId - ObjectID 2018-03-27 15:06:06 +02:00
Marius Orcsik
c68df3052b
Add multilang name in test 2018-03-26 23:15:26 +02:00
Marius Orcsik
54e564b1b7
Adding Activity.Object parameter for all instantiation functions 2017-10-03 22:46:03 +02:00
Marius Orcsik
b2d595e31d
Improvements to jsonld.Marshal - now with tags 2017-10-02 16:19:23 +02:00
Marius Orcsik
88970c9ee2
Adding more jsonld hint tags
Adding IsLink/IsObject logic for LinkOrObject interface

Extending tests
2017-10-02 11:53:09 +02:00
Marius Orcsik
9ae0a031b3
Adding language to contexts and making the url a ref 2017-10-01 17:09:04 +02:00
Marius Orcsik
a794556013
More integration tests 2017-10-01 15:04:51 +02:00
Marius Orcsik
58995fc87b
Renamed basic integration test 2017-10-01 14:55:20 +02:00
Marius Orcsik
f811f14bd3
Adding a basic integration test 2017-10-01 14:44:49 +02:00