Commit graph

571 commits

Author SHA1 Message Date
Marius Orcsik
fb06930a59
Simplify exporting the GOPATH 2018-06-05 21:04:42 +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
34a6823db2
Add test make targets 2018-04-11 21:03:41 +02:00
Marius Orcsik
568626c815
Use Codacy badge instead of go report card 2018-04-10 21:56:05 +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
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
0cfdd8a760
Replace coveralls badge with codecov 2018-04-09 10:07:55 +02:00
Marius Orcsik
62a4201b78
Try to use codecov.io 2018-04-09 09:40:54 +02:00
Marius Orcsik
6ed7816d61
Remove courtney from travis 2018-04-09 00:51:38 +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
4d77d96cf3
Added .coverprofile files to gitignore 2018-04-08 23:02:50 +02:00
Marius Orcsik
e89b0dcb40
Adding more assertions for CreateActivity tests 2018-04-08 23:01:18 +02:00
Marius Orcsik
231c8116c0
This becomes annoying 2018-04-08 22:16:56 +02:00
Marius Orcsik
4018613cde
Revert "Best solution so far"
This reverts commit a3b24ea9dd.
2018-04-08 22:05:52 +02:00
Marius Orcsik
a3b24ea9dd
Best solution so far 2018-04-08 21:49:06 +02:00
Marius Orcsik
2950dcc38d
Edit the coveralls token 2018-04-08 21:32:54 +02:00
Marius Orcsik
0e3903a39e
Try gover for concatenating coverage files 2018-04-08 21:19:25 +02:00
Marius Orcsik
a373fac939
Use go 1.10 for test coverage 2018-04-08 20:59:00 +02:00
Marius Orcsik
e4c790ba76
Use go test with -coverpkg 2018-04-08 20:49:55 +02:00
Marius Orcsik
63378034df
Try again with courtney 2018-04-08 20:36:51 +02:00
Marius Orcsik
4ddcc248ca
Go back to go test for coverage 2018-04-08 20:25:57 +02:00
Marius Orcsik
eebc6930fb
Switch to single coverage output 2018-04-08 19:27:31 +02:00
Marius Orcsik
79a738533e
goveralls stopped working a long time ago apparently 2018-04-08 19:00:44 +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
27844eb29c
Remove test stub from run 2018-04-07 12:34:57 +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
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
3a1c216326
Removing basic activity pub object from exported types 2018-03-27 15:05:19 +02:00
Marius Orcsik
c68df3052b
Add multilang name in test 2018-03-26 23:15:26 +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