astro / buzzrelay

Source to relay.fedi.buzz: relay the streaming API of Mastodon instances
https://relay.fedi.buzz
GNU Affero General Public License v3.0
70 stars 9 forks source link

Missing outbox #7

Closed silverpill closed 11 months ago

silverpill commented 11 months ago

Hi,

Buzzrelay actors don't have outbox, which is required by ActivityPub specification:

Actor objects MUST have, in addition to the properties mandated by 3.1 Object Identifiers, the following properties: ... outbox An [ActivityStreams] OrderedCollection comprised of all the messages produced by the actor; see 5.1 Outbox.

-- https://www.w3.org/TR/activitypub/#actor-objects

This property could point to an empty collection, but it should be present in actor object.

Example of actor:

https://relay.fedi.buzz/tag/activitypub

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Service",
  "id": "https://relay.fedi.buzz/tag/activitypub",
  "name": "#activitypub",
  "icon": {
    "type": "Image",
    "mediaType": "image/jpeg",
    "url": "https://fedi.buzz/assets/favicon48.png"
  },
  "inbox": "https://relay.fedi.buzz/tag/activitypub",
  "publicKey": {
    "id": "https://relay.fedi.buzz/tag/activitypub#key",
    "owner": "https://relay.fedi.buzz/tag/activitypub",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAvmdr++5uIBM4KiLdV11E\n38WbkpbmfvlSM2fF3IJf7apZvjDYeUnm10L7vfC7Fy6bk+ljIpzOUamfpgLOKI51\nssz/FIWhT+C8SeP37eQxOMTZclLpj9ef/zC8wJ6zvZPdCA2dJl6x9VSwn7EkBv/6\n4r79/BiW4P0khiSSheONTxcPgZo6m1MZCFnlqoSZIW2OJIp346721VxZb+c9Wqgd\npKHd9jNN7n6LTWwf0vdRD9lYs+cXmlo+2fuZJoSEXRif8mo6WQ4Ui4z9QuGUodFL\nrYuXuhOjGElIYw3IXMPm2w3LsAG6O1xDMdP9whd3mkuH/ceH7JK1/Zbi3ChnT/1f\nFDaSSPhxuiPsm97YhGrH6HgSkmlwn43+vqcfEBA00j06rn6JpoIiZHGtsMAjfGOy\nZtZ1qD15EVeavhm2qRfCVKWbIf2RE5sHOYyjWbNYDxckRhSuGMwjIQk/XYyie5yM\noxHq4xIlitRfxt84Eq0NuykTZgK1zv7DvjgfGnrcDWcnTo69pdMN4k0K5xpNJuE/\nCIMtYCBoCOabCIo8bnUAPj/9shcI8GTqYmr1VdI9n2XiO05iFekDcYfYgGszIjMS\nS3z9A8g1VE/ITWW9SlGfaTRhKfZsHaMpg/fNbk/G7SjYOghsy3qdX/rvwPIr+tti\n/AJz1hrO5vndr0YxcYk1jU0CAwEAAQ==\n-----END PUBLIC KEY-----\n"
  },
  "preferredUsername": "tag-activitypub"
}
astro commented 11 months ago

Thank you for reporting.