diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c2fb1be..81a615e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,8 +16,9 @@ A minimal file template [is available](https://framagit.org/framasoft/mobilizon/ Also make sure to remove the `EnvironmentFile=` line from the systemd service and set `Environment=MIX_ENV=prod` instead. See [the updated file](https://framagit.org/framasoft/mobilizon/blob/master/support/systemd/mobilizon.service). ### Added -- Possibility to participate anonymously to an event +- Possibility to participate to an event without an account - Possibility to participate to a remote event (being redirected by providing federated identity) +- Possibility to add a note as a participant when event participation is manually validated (required when participating without an account) - Possibility to change email address for the account - Possibility to delete your account @@ -26,6 +27,7 @@ Also make sure to remove the `EnvironmentFile=` line from the systemd service an - Signature validation also now checks if `Date` header has acceptable values - Actor profiles are now stale after two days and have to be refetched - Actor keys are rotated some time after sending a `Delete` activity +- Improved event participations managing interface ### Fixed - Fixed URL search diff --git a/docs/contribute/activity_pub.md b/docs/contribute/activity_pub.md index 8f8b901c..da275668 100644 --- a/docs/contribute/activity_pub.md +++ b/docs/contribute/activity_pub.md @@ -21,7 +21,8 @@ Supported Activity | Supported Object `Create` | `Note`, `Event` `Delete` | `Object` `Flag` | `Object` -`Follow` | `Object` +`Follow` | `Object` +`Join` | `Event` `Reject` | `Follow`, `Join` `Remove` | `Note`, `Event` `Undo` | `Announce`, `Follow` @@ -155,4 +156,28 @@ We add [an `address` property](https://schema.org/address), which we assume to b }, "type": "Event" } +``` + +### Join + +#### participationMessage + +We add a `participationMessage` property on a `Join` activity so that participants may transmit a note to event organizers, to motivate their participation when event participations are manually approved. This field is restricted to plain text. + +```json +{ + "type": "Join", + "object": "http://mobilizon.test/events/some-uuid", + "id": "http://mobilizon2.test/@admin/join/event/1", + "actor": "http://mobilizon2.test/@admin", + "participationMessage": "I want to join !", + "@context": [ + { + "participationMessage": { + "@id": "mz:participationMessage", + "@type": "sc:Text" + } + } + ] +} ``` \ No newline at end of file diff --git a/js/src/components/Admin/Followers.vue b/js/src/components/Admin/Followers.vue index bda7bbc6..7f44e940 100644 --- a/js/src/components/Admin/Followers.vue +++ b/js/src/components/Admin/Followers.vue @@ -6,7 +6,6 @@ :loading="$apollo.queries.relayFollowers.loading" ref="table" :checked-rows.sync="checkedRows" - :is-row-checkable="(row) => row.id !== 3" detailed :show-detail-icon="false" paginated diff --git a/js/src/components/Event/ParticipationButton.vue b/js/src/components/Event/ParticipationButton.vue index 9af50321..6e59e01c 100644 --- a/js/src/components/Event/ParticipationButton.vue +++ b/js/src/components/Event/ParticipationButton.vue @@ -1,3 +1,4 @@ +import {EventJoinOptions} from "@/types/event.model"; A button to set your participation @@ -80,7 +81,7 @@ A button to set your participation
- {{ $t('as {identity}', {identity: currentActor.preferredUsername }) }} + {{ $t('as {identity}', {identity: currentActor.name || `@${currentActor.preferredUsername}` }) }}
@@ -96,14 +97,13 @@ A button to set your participation + \ No newline at end of file diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 922f9d2c..9af4041f 100644 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -29,7 +29,7 @@
- +
@@ -180,6 +180,10 @@ nav { background: $secondary; } + span.icon.is-medium { + display: flex; + } + img { max-height: 2.5em; } diff --git a/js/src/components/Participation/ParticipationWithoutAccount.vue b/js/src/components/Participation/ParticipationWithoutAccount.vue index 73d333b4..1c4c8602 100644 --- a/js/src/components/Participation/ParticipationWithoutAccount.vue +++ b/js/src/components/Participation/ParticipationWithoutAccount.vue @@ -7,18 +7,24 @@ {{ $t("Your email will only be used to confirm that you're a real person and send you eventual updates for this event. It will NOT be transmitted to other instances or to the event organizer.") }} {{ error }} - - - -

- {{ $t('Send email') }} -

-
+ +
+

{{ $t("The event organizer manually approves participations. Since you've chosen to participate without an account, please explain why you want to participate to this event.") }}

+

{{ $t("If you want, you may send a message to the event organizer here.") }}

+ + + + + {{ $t('Send email') }}
{{ $t('Back to previous page') }} @@ -31,7 +37,7 @@