wip event import document
This commit is contained in:
parent
40d3c2ebd7
commit
78aa705831
1 changed files with 28 additions and 0 deletions
|
@ -3,6 +3,8 @@ gitea: none
|
||||||
include_toc: true
|
include_toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Status: draft. This document should be reviewed by the other main developers.
|
||||||
|
|
||||||
# Validation/Import of remote events
|
# Validation/Import of remote events
|
||||||
This document gives an overview how remote `Event` objects are treated by common Fediverse applications.
|
This document gives an overview how remote `Event` objects are treated by common Fediverse applications.
|
||||||
|
|
||||||
|
@ -100,3 +102,29 @@ Currently Gancio does not seem to handle any visibility or replies-policy option
|
||||||
### Banner image
|
### Banner image
|
||||||
|
|
||||||
Gancio takes the first `attachment` of the `Event` object as the banner image of the event. It optionally supports [`name`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name) as the alternative text and [`focalPoint`](https://docs.joinmastodon.org/spec/activitypub/#focalPoint).
|
Gancio takes the first `attachment` of the `Event` object as the banner image of the event. It optionally supports [`name`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name) as the alternative text and [`focalPoint`](https://docs.joinmastodon.org/spec/activitypub/#focalPoint).
|
||||||
|
|
||||||
|
|
||||||
|
## Plemora
|
||||||
|
|
||||||
|
**Last uptaded**: 2024-01-20
|
||||||
|
|
||||||
|
**Information sources**: Plemora has a open [Pull Request towards Mobilizon compatible events](https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3955/diffs) which Rebased (a fork of Plemora) has already merged.
|
||||||
|
|
||||||
|
### Required
|
||||||
|
|
||||||
|
This probably has a lot of errors still. [Source Code](https://git.pleroma.social/pleroma/pleroma/-/blob/b1a06c394736be833f8220a5ec3d5d2702d9519c/lib/pleroma/web/activity_pub/object_validators/event_validator.ex).
|
||||||
|
|
||||||
|
- `id`: even though Gancio currently does not [list it as required in its source code](https://framagit.org/les/gancio/-/blob/master/server/federation/events.js?ref_type=heads#L19), there will be an error without out it.
|
||||||
|
- [`name`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-name): The events title.
|
||||||
|
- [`startTime`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-startTime)
|
||||||
|
- [`endTime`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-endTime)
|
||||||
|
|
||||||
|
|
||||||
|
### Optional
|
||||||
|
|
||||||
|
- [`joinMode`](https://docs.joinmobilizon.org/contribute/activity_pub/#joinmode): `[free, restricted, invite, external]` default is `free`.
|
||||||
|
- [`location`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location): The subkey [`address`](https://schema.org/address) is accepted, but currently ony as [`PostalAddress`](https://schema.org/PostalAddress) with the fields `postalCode`, `addressRegion`, `streetAddress`, `addressCountry` and `addressLocality`.
|
||||||
|
|
||||||
|
### Handling of visibility
|
||||||
|
|
||||||
|
Does not seem to be handled.
|
Loading…
Reference in a new issue