Commit graph

317 commits

Author SHA1 Message Date
Marius Orcsik
f5f5ea9b0a
Updated activitystreams version and fixing some tests 2019-05-31 15:02:42 +02:00
Marius Orcsik
ab60e15c53
Added CollectionLoader interface 2019-05-22 18:19:21 +02:00
Marius Orcsik
0d3ea6d3f5
Formatting 2019-05-18 23:13:35 +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
8ea6a5ef72
Updated to latest activitystreams 2019-05-18 23:11:53 +02:00
Marius Orcsik
45fd19d32c
Fix some tests 2019-05-18 23:11:08 +02:00
Marius Orcsik
b6f232a89b
Updated to latest activitystreams 2019-05-18 16:37:11 +02:00
Marius Orcsik
4cbf5d623e
Updated to latest activitystreams package 2019-05-16 11:11:23 +02:00
Marius Orcsik
c2cc81ff3b
Added ToPerson function 2019-05-15 22:22:36 +02:00
Marius Orcsik
8b5feb3b2b
Added total items to the Load* methods' return values 2019-05-05 22:56:23 +02:00
Marius Orcsik
f740060847
Updated the handlers 2019-05-05 21:01:18 +02:00
Marius Orcsik
1c21b90a40
Skipping empty tests 2019-05-05 09:35:21 +02:00
Marius Orcsik
e13c279cfa
Default to HTTP status OK 2019-05-04 20:24:59 +02:00
Marius Orcsik
26d0e5e45b
Added generic collection typer logic 2019-05-04 18:38:42 +02:00
Marius Orcsik
d0459a1067
Added the interfaces we need to implement in order to support Loading/Saving of ActivityPub items 2019-05-04 18:31:22 +02:00
Marius Orcsik
9267fbd9be
Added the generic handlers logic 2019-05-04 18:30:45 +02:00
Marius Orcsik
5b5a51daed
Dont's stop executing a request if SignFn failed 2019-04-14 21:12:38 +02:00
Marius Orcsik
11b29a3096
Updated jsonld and activitystreams versions 2019-03-06 12:17:40 +01:00
Marius Orcsik
3f3e82b0f7
Move signing function as a member to the client struct 2019-03-04 21:33:09 +01:00
Marius Orcsik
0a4176f83a
Some formatting 2019-03-03 21:42:46 +01:00
Marius Orcsik
1eebd261f1
Updated to latest activitystreams 2019-03-03 21:42:25 +01:00
Marius Orcsik
23cdf04dc1
Adding some custom errors 2019-02-22 19:57:23 +01:00
Marius Orcsik
4a4928446c
Updated to activitystreams version with plural NaturalLanguageValues array type 2019-02-21 18:00:03 +01:00
Marius Orcsik
7c3f19af98
Added test for JSONGetItemByType 2019-02-19 11:22:41 +01:00
Marius Orcsik
3c56372a15
Removed Activity based things, as they aren't different from the ActivityStreams ones 2019-02-18 15:50:26 +01:00
Marius Orcsik
7d71e555cb
Added unmarshaling of actors 2019-02-14 22:17:49 +01:00
Marius Orcsik
828e385f60
Make use of subtests for unmarshalling tests 2019-02-13 10:25:30 +01:00
Marius Orcsik
573eb92b33
Using aliases for actor types 2019-01-31 13:27:06 +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
b826c6ce53
Removed GOPATH from Makefile as we're using go modules 2019-01-28 15:39:30 +01:00
Marius Orcsik
99cabdd26d
Removed circular dependencies 2019-01-24 11:43:14 +01:00
Marius Orcsik
3a8b2a4401
Organizing the versions is becoming a bit tricky 2019-01-24 11:09:02 +01:00
Marius Orcsik
09557994a6
Update README 2019-01-22 16:56:15 +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
4961f06996
Added the begining of validation logic 2019-01-22 14:54:14 +01:00
Marius Orcsik
2c56aa99b8
Logging every request 2019-01-12 13:43:00 +01:00
Marius Orcsik
44523291c8
Export SignRequestFn and LogFn types 2019-01-12 13:34:36 +01:00
Marius Orcsik
4cc1329870
Updated coverage icon 2019-01-10 16:42:02 +01:00
Marius Orcsik
281b73cbc2
Moved to go-ap 2019-01-07 14:54:19 +01:00
Marius Orcsik
4bd3a14ffa
Adding the Accept: ld+json header for requests 2018-12-26 18:59:43 +01:00
Marius Orcsik
5577b25a88
Expose some interfaces 2018-12-26 16:48:23 +01:00
Marius Orcsik
aa810e474c
Added a basic http client which would understand AP things
This would represent the base for a future IRI dereference mechanism
2018-12-26 15:46:57 +01:00
Marius Orcsik
9e3d0a68a1
Added EndTime and Duration to object unmarshalling 2018-12-23 17:12:26 +01:00
Marius Orcsik
d1e2ae9598
Added icon and image properties to object unmarshalling 2018-12-23 17:10:11 +01:00
Marius Orcsik
a955ef13ec
Fixed source property unmarshalling 2018-12-16 13:19:19 +01:00
Marius Orcsik
88e637fb3f
Added jsonld tags for tombstone properties 2018-12-09 14:06:50 +01:00
Marius Orcsik
564e590de8
Change the type of Tombstone.FormerType property 2018-12-09 13:51:45 +01:00
Marius Orcsik
7f9c695d13
Fix loading to/bto/cc/bcc
Added unmarshalling test pair for them

Remove duplicate func for dynamic loading of as.Items
2018-12-08 15:45:21 +01:00
Marius Orcsik
3e752dee63
Added CC, Bto, BCC properties to the unmarshalling of the object 2018-12-08 14:47:43 +01:00
Marius Orcsik
db8a905f46
Reenabled object_with_replies unmarshalling test 2018-12-03 13:41:34 +01:00