From 2de6937407743100daba1d397db4da32d4cb606b Mon Sep 17 00:00:00 2001 From: Luca Eichler Date: Tue, 19 Oct 2021 15:56:18 +0200 Subject: [PATCH 1/3] feat: Add option to link an external registration provider for events Signed-off-by: Thomas Citharel --- .../components/Event/EventActionSection.vue | 14 ++++++- .../Event/ExternalParticipationButton.vue | 30 ++++++++++++++ js/src/graphql/event.ts | 6 +++ js/src/i18n/en_US.json | 6 ++- js/src/i18n/fr_FR.json | 6 ++- js/src/types/enums.ts | 1 + js/src/types/event.model.ts | 6 +++ js/src/views/Event/EditView.vue | 41 +++++++++++++++++-- .../activity_stream/converter/event.ex | 2 + lib/graphql/schema/event.ex | 6 +++ lib/mobilizon/events/event.ex | 3 ++ lib/mobilizon/events/events.ex | 3 +- ...0901160000_add_external_url_for_events.exs | 33 +++++++++++++++ schema.graphql | 12 ++++++ 14 files changed, 160 insertions(+), 9 deletions(-) create mode 100644 js/src/components/Event/ExternalParticipationButton.vue create mode 100644 priv/repo/migrations/20230901160000_add_external_url_for_events.exs diff --git a/js/src/components/Event/EventActionSection.vue b/js/src/components/Event/EventActionSection.vue index 7a5dff456..396efc615 100644 --- a/js/src/components/Event/EventActionSection.vue +++ b/js/src/components/Event/EventActionSection.vue @@ -1,7 +1,13 @@