Matt Baer
ad1a4272b0
Support new commentsEnabled property
...
This adds a CommentsEnabled field to the activitystreams.Object struct,
as well as the Extensions needed in the Context field in order to
describe the field.
This is a field previously supported by PeerTube, and just recently
added in PixelFed.
2019-04-04 16:29:00 -04:00
Matt Baer
05f387ffa1
Omit empty endpoints.sharedInbox
...
This fixes writeas/writefreely#8
2018-11-11 11:55:28 -05:00
Matt Baer
eba1520b79
Support tag property on objects
2018-08-18 12:34:29 -04:00
Matt Baer
63de2e6491
Support creating Follow activities
2018-08-17 20:42:39 -04:00
Matt Baer
9d28aa5dab
Add NewUpdateActivity func
2018-08-16 20:31:25 -04:00
Matt Baer
b9e200c53b
Use object's Published date in Create activity
2018-08-12 22:34:31 -04:00
Matt Baer
e373e59418
Allow any type in OrderedCollectionPage.OrderedItems
2018-08-11 10:52:24 -04:00
Matt Baer
be77b6dedc
Create activities only with ID
...
Instead of including /activity at the end
2018-08-08 16:04:01 -04:00
Matt Baer
c9787530db
Support creating Delete activities
2018-08-08 15:29:42 -04:00
Matt Baer
0f417dd897
Add documentation to activity.go
...
Including the activitystreams package.
2018-08-04 14:38:40 +02:00
Matt Baer
26688eb59d
Move namespace string into const
2018-08-04 14:23:14 +02:00
Matt Baer
57919aaaec
Add Endpoints property to Actor
2018-08-03 00:22:42 +02:00
Matt Baer
50824cd75a
Fix parsing @context property
...
Previously this would fail if the @context property also contained
something other than a string, like Mastodon does.
2018-08-03 00:21:06 +02:00
Matt Baer
2b398e3b5a
Support Article objects
...
Includes a new Name field for them to use.
2018-07-24 20:09:31 +02:00
Matt Baer
98f3fe9a4c
Add missing Context property in Create activity
2018-06-25 13:37:46 -04:00
Matt Baer
2432e9717e
Make OrderedCollection{Page} funcs generalized for any collection
2018-06-25 13:37:08 -04:00
Matt Baer
d67ec28bcc
Leave out certain properties in Activity JSON
2018-06-25 13:35:47 -04:00
Matt Baer
05ac12f10e
Add privateKey on Person
2018-06-25 11:32:12 -04:00
Matt Baer
b5d7dbe3a3
Add support for including a public key on a Person
2018-06-24 21:08:46 -04:00
Matt Baer
d16108618b
Add basic Note and Activity types
2018-06-24 21:06:26 -04:00
Matt Baer
e7db291bd3
Add BaseObject
2018-06-22 17:11:07 -04:00
Matt Baer
e99c8d6b4d
Add basic activitystreams.Person type
2018-06-22 16:42:38 -04:00