From cee256f22e8a0e312bf456703c55abe7cf3b6641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 20 Jan 2024 11:37:17 +0100 Subject: [PATCH] sort lists --- event_import.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/event_import.md b/event_import.md index 5854588..52798ea 100644 --- a/event_import.md +++ b/event_import.md @@ -25,6 +25,28 @@ It neglets all event related fields but `title`, `summary` and `url` which it us ### Optional +- [`anonymousparticipationenabled`](https://docs.joinmobilizon.org/contribute/activity_pub/#anonymousparticipationenabled) +- `category`: default list of categories can be found [in the source code](https://framagit.org/framasoft/mobilizon/-/blob/main/lib/mobilizon/events/categories.ex?ref_type=heads#L28), but it can be extended via environment variables. Note that the source code shows them in lowercase, but they have to be passed as uppercase, e.g. `MOVEMENTS_POLITICS`. +- [`commentsEnabled`](https://docs.joinpeertube.org/api/activitypub) +- `contacts`: a list of contacts: each item might be just the `id`/`url` or an `Actor` object. +- [`content`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content): `contentMap` is currently not supported by Mobilizon. +- [`endTime`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-endTime) +- `externalParticipationUrl`: Only used if `joinMode` is set to `external`. +- `is_online`: Boolean indicating whether the Event is online. +- [`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, both as [`PostalAddress`](https://schema.org/PostalAddress) and pure text. +- [`maximumAttendeeCapacity`](https://docs.joinmobilizon.org/contribute/activity_pub/#maximumattendeecapacity) +- [`mentions`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mentions) +- `metadata`: This is a list that can contain items. TODO. +- `participantCount`: [Not parsed at the moment](https://framagit.org/framasoft/mobilizon/-/issues/1412) +- [`repliesModerationOption`](https://docs.joinmobilizon.org/contribute/activity_pub/#repliesModerationOption) +- `remainingAttendeeCapacity`: [Not parsed at the moment](https://framagit.org/framasoft/mobilizon/-/issues/1412) +- [`startTime`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-startTime) +- [`tag`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag) +- `timezone` +- `url`: [Documentation](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-url) - Note: `url` was added to the list as it was referenced in the text but not explicitly listed in the initial set. + + - [`content`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content): `contentMap` is currently not supported by Mobilizon. - [`location`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location): The subkey [`address`](https://schema.org/address) is accepted, both as [`PostalAddress`](https://schema.org/PostalAddress) and pure text. - [`mentions`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mentions) @@ -34,7 +56,7 @@ It neglets all event related fields but `title`, `summary` and `url` which it us - `remainingAttendeeCapacity`: [Not parsed at the moment](https://framagit.org/framasoft/mobilizon/-/issues/1412) - `participantCount`: [Not parsed at the moment](https://framagit.org/framasoft/mobilizon/-/issues/1412) - `is_online` boolean whether the Event is online. -- `timezone` +- `timezone`: e.g., `Europe/Vienna`. Not documented yet, see the handling below. - `metadata`: This is a list which can contain items. TODO. - `contacts`: a list of contacts: each item might be just the `id`/`url` or an `Actor` object. - `category`: default list of categories can be found [in the source code](https://framagit.org/framasoft/mobilizon/-/blob/main/lib/mobilizon/events/categories.ex?ref_type=heads#L28), but it can be extended via environment variables. Note that the source code shows them in lowercase, but they have to be passed as uppercase, e.g. `MOVEMENTS_POLITICS`.