Marius Orcsik
|
68c4bc41df
|
Renamed Object to BaseObject
|
2018-06-09 13:06:55 +02:00 |
|
Marius Orcsik
|
a3bf45d0c4
|
Forgot to rename Id -> ID in Link tests
|
2018-06-07 21:25:35 +02:00 |
|
Marius Orcsik
|
2c2e1c9f2f
|
Proper LinkType
|
2018-06-07 17:46:34 +02:00 |
|
Marius Orcsik
|
4d896fc154
|
Forgot to implement GetObject and GetLink for Link objects
|
2018-06-07 17:46:22 +02:00 |
|
Marius Orcsik
|
a28fd115cd
|
Added some more unmarshalling for objects
|
2018-06-07 16:32:26 +02:00 |
|
Marius Orcsik
|
175fd5fdeb
|
Added basic unmarshalling for objects with jsonld context
|
2018-06-07 15:32:14 +02:00 |
|
Marius Orcsik
|
1997a54824
|
Renamed apObject to Object
|
2018-06-06 15:32:26 +02:00 |
|
Marius Orcsik
|
7dc3fad40e
|
Added tests for RecipientsDeduplication on Activities
So much code for so little testing
|
2018-06-05 21:55:03 +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
|
1666adef28
|
Make sure we can receive an null pointer when testing for duplicates
|
2018-04-10 20:12:08 +02:00 |
|
Marius Orcsik
|
9e61b5fcea
|
Test deduplication with two object arrays
|
2018-04-10 20:09:06 +02:00 |
|
Marius Orcsik
|
247c71a767
|
Adding some unit-tests for the new functionality
|
2018-04-10 19:56:14 +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
|
3fffab61ed
|
Add inbox initialization at actor creation
|
2018-04-09 13:12:08 +02:00 |
|
Marius Orcsik
|
9b94b44d18
|
Implement some functionality for the Append to Collection and OrderedCollection
|
2018-04-09 13:10:27 +02:00 |
|
Marius Orcsik
|
cb7f8c56f5
|
Use Actor type for Actor element of IntransitiveActivity
|
2018-04-09 12:28:52 +02:00 |
|
Marius Orcsik
|
782ca4f484
|
Add final test for Object.Link()
|
2018-04-09 00:51:26 +02:00 |
|
Marius Orcsik
|
35e465347c
|
Add more coverage to Actor and Person
|
2018-04-09 00:44:36 +02:00 |
|
Marius Orcsik
|
c8ef17f530
|
Add coverage to Mention.Object() and Mention.Link()
|
2018-04-09 00:40:37 +02:00 |
|
Marius Orcsik
|
30b8aa780a
|
Adding more coverage for CreateActivityNew
|
2018-04-09 00:25:06 +02:00 |
|
Marius Orcsik
|
c362594d82
|
Adding some other tests from json package
|
2018-04-08 23:39:55 +02:00 |
|
Marius Orcsik
|
d3ba95828b
|
Some improvements to Marshal function
|
2018-04-08 23:39:27 +02:00 |
|
Marius Orcsik
|
e89b0dcb40
|
Adding more assertions for CreateActivity tests
|
2018-04-08 23:01:18 +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
|
7125860a76
|
Added functionality for making the CreateActivity work
|
2018-04-08 18:10:54 +02:00 |
|
Marius Orcsik
|
7001f80c25
|
Add Actor for Create activity
|
2018-03-30 19:49:50 +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
|
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
|
3a1c216326
|
Removing basic activity pub object from exported types
|
2018-03-27 15:05:19 +02:00 |
|
Marius Orcsik
|
c94d855470
|
Passing the collapsible flag down
|
2018-03-26 23:14:55 +02:00 |
|
Marius Orcsik
|
53effdd8b0
|
Removed commented out code
|
2018-03-26 23:13:16 +02:00 |
|
Marius Orcsik
|
060525f59d
|
Add interface for collapsible types
|
2018-03-26 23:12:04 +02:00 |
|
Marius Orcsik
|
05c44839f3
|
Golint suggestions
|
2018-03-25 21:01:26 +02:00 |
|
Marius Orcsik
|
d43c1e752f
|
Add json package in full
|
2018-03-25 19:35:34 +02:00 |
|
Marius Orcsik
|
38f0a9b97a
|
Improvements from go lint
|
2018-03-24 18:03:56 +01:00 |
|
Marius Orcsik
|
3f7567ca67
|
Some documentation improvements
|
2018-03-24 17:54:55 +01:00 |
|
Marius Orcsik
|
af31a36d90
|
Adding some tests for activity with non nil object
|
2017-10-05 13:28:34 +02:00 |
|
Marius Orcsik
|
a3a6f15bd5
|
Removed BaseObject
Renaming Object to APObject
|
2017-10-05 12:38:11 +02:00 |
|
Marius Orcsik
|
54e564b1b7
|
Adding Activity.Object parameter for all instantiation functions
|
2017-10-03 22:46:03 +02:00 |
|
Marius Orcsik
|
9d9bd8510b
|
Added a method for marshalling interface{}s which decay to scalars
for the moment it's overcomplicted and ugly
Moved UnmarshalJSON to decode.go file
Adding tests for some of the new functionality
|
2017-10-02 17:24:26 +02:00 |
|
Marius Orcsik
|
b2d595e31d
|
Improvements to jsonld.Marshal - now with tags
|
2017-10-02 16:19:23 +02:00 |
|
Marius Orcsik
|
ca076e7185
|
Adding ObjectOrLink interface functions
Adding base ActivityObject interface
|
2017-10-02 15:59:53 +02:00 |
|
Marius Orcsik
|
c6cd6b58e1
|
Remove context as a separate property of ActivityPub objects
|
2017-10-02 15:59:07 +02:00 |
|
Marius Orcsik
|
7377524c79
|
Transform Context property into a pointer
This allows easier manipulation using our own Json Marshaling when it's nil
|
2017-10-02 12:07:11 +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
|
7bc4b11f52
|
Added test with nil context
|
2017-10-01 15:02:20 +02:00 |
|
Marius Orcsik
|
d887fea428
|
Added validcollection test
|
2017-10-01 14:55:39 +02:00 |
|