diff --git a/config/config.exs b/config/config.exs index df05de14a..c8e1f4b64 100644 --- a/config/config.exs +++ b/config/config.exs @@ -113,17 +113,24 @@ config :mobilizon, :media_proxy, config :mobilizon, Mobilizon.Web.Email.Mailer, adapter: Swoosh.Adapters.SMTP, relay: "localhost", - # usually 25, 465 or 587 - port: 25, username: "", password: "", # can be `:always` or `:never` auth: :if_available, # can be `true` - ssl: false, + # ssl: false, # can be `:always` or `:never` tls: :if_available, allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"], + tls_options: [ + verify: :verify_peer, + versions: [:"tlsv1.2", :"tlsv1.3"], + cacerts: if :public_key.cacerts_load(System.get_env("SSL_CERT_FILE")) == :ok do + :public_key.cacerts_get() + end, + server_name_indication: "localhost", + depth: 99 + ], retries: 1, # can be `true` no_mx_lookups: false diff --git a/config/docker.exs b/config/docker.exs index ec238770b..994c20011 100644 --- a/config/docker.exs +++ b/config/docker.exs @@ -50,7 +50,14 @@ config :mobilizon, Mobilizon.Web.Email.Mailer, username: System.get_env("MOBILIZON_SMTP_USERNAME", nil), password: System.get_env("MOBILIZON_SMTP_PASSWORD", nil), tls: :if_available, - allowed_tls_versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"], + allowed_tls_versions: [:"tlsv1.2", :"tlsv1.3"], + tls_options: [ + verify: :verify_peer, + versions: [:"tlsv1.2", :"tlsv1.3"], + cacerts: :public_key.cacerts_get(), + server_name_indication: System.get_env("MOBILIZON_SMTP_SERVER", "localhost"), + depth: 99 + ], ssl: System.get_env("MOBILIZON_SMTP_SSL", "false"), retries: 1, no_mx_lookups: false, diff --git a/js/src/App.vue b/js/src/App.vue index 69ca0bacf..09b62ac6f 100644 --- a/js/src/App.vue +++ b/js/src/App.vue @@ -24,7 +24,7 @@ -
+
diff --git a/js/src/assets/oruga-tailwindcss.css b/js/src/assets/oruga-tailwindcss.css index 73cde4dbf..81d623e09 100644 --- a/js/src/assets/oruga-tailwindcss.css +++ b/js/src/assets/oruga-tailwindcss.css @@ -55,7 +55,7 @@ body { } .btn-outlined-:hover, .btn-outlined-primary:hover { - @apply font-bold py-2 px-4 bg-mbz-bluegreen dark:bg-violet-3 text-white rounded; + @apply font-semibold py-2 px-4 bg-mbz-bluegreen dark:bg-violet-3 text-white rounded; } /* Field */ @@ -89,7 +89,7 @@ body { /* Input */ .input { - @apply appearance-none box-border border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50; + @apply appearance-none box-border rounded border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50; } .input-danger { @apply border-red-500; diff --git a/js/src/components/Event/EventActionSection.vue b/js/src/components/Event/EventActionSection.vue index c7641cffb..4330ec750 100644 --- a/js/src/components/Event/EventActionSection.vue +++ b/js/src/components/Event/EventActionSection.vue @@ -14,8 +14,8 @@ @confirm-leave="confirmLeave" @cancel-anonymous-participation="cancelAnonymousParticipation" /> -
-

+

+

- + diff --git a/js/src/components/Event/ParticipationButton.vue b/js/src/components/Event/ParticipationButton.vue index 81b28a19e..d5dcd84ac 100644 --- a/js/src/components/Event/ParticipationButton.vue +++ b/js/src/components/Event/ParticipationButton.vue @@ -1,5 +1,5 @@