From 729fc7baf72332f0d84e7fc77ab91be9c9ccdaa5 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Wed, 23 Jun 2021 15:44:48 +0100 Subject: [PATCH] Setup: add messages, set password via link Also changed some section names to use "messages" instead of "emails". Since I haven't added Discord/Telegram/Matrix bot setup, I mentioned you can do these later and linked to the setup guides. Sections related to email mostly now depend on [messages]/enabled now too. Set password via link has been added to password resets. --- html/setup.html | 149 +++++++++++++++++++++++------------------- lang.go | 1 + lang/setup/en-us.json | 22 ++++--- setup.go | 3 +- ts/setup.ts | 62 ++++++++++++------ 5 files changed, 140 insertions(+), 97 deletions(-) diff --git a/html/setup.html b/html/setup.html index 50e6f91..70dac2b 100644 --- a/html/setup.html +++ b/html/setup.html @@ -233,85 +233,92 @@
- {{ .lang.Email.title }} -

-
-
- - - - - -
- - -
-
-
-
-

SMTP

+ {{ .lang.Messages.title }} +

+ + +
+ + +
+
+ {{ .lang.Email.title }} +

+
+
-
-
-

Mailgun

- - +
+
+

SMTP

+ + + + + +
+
+

Mailgun

+ + +
@@ -380,7 +387,11 @@ {{ .lang.PasswordResets.resetLinks }}

{{ .lang.PasswordResets.resetLinksNotice }}

-