Initial commit
CI / test (push) Canceled after 0s

This commit is contained in:
2026-09-12 22:22:17 +02:00
commit 904d14b64c
314 changed files with 31884 additions and 0 deletions
@@ -0,0 +1,3 @@
{{define "subject"}}E-Mail-Adresse bei Gardomatic bestätigen{{end}}
{{define "plainBody"}}Bestätige deine neue E-Mail-Adresse: {{.confirmationURL}}{{end}}
{{define "htmlBody"}}<p>Bestätige deine neue E-Mail-Adresse:</p><p><a href="{{.confirmationURL}}">E-Mail-Adresse bestätigen</a></p>{{end}}
@@ -0,0 +1,3 @@
{{define "subject"}}Einladung zu Gardomatic{{end}}
{{define "plainBody"}}Du wurdest zu einem Garten eingeladen. Einladung annehmen: {{.inviteURL}}{{end}}
{{define "htmlBody"}}<p>Du wurdest zu einem Garten eingeladen.</p><p><a href="{{.inviteURL}}">Einladung annehmen</a></p>{{end}}
+25
View File
@@ -0,0 +1,25 @@
{{define "subject"}}Gardomatic Testmail{{end}}
{{define "plainBody"}}
Hallo,
diese Testmail bestätigt, dass der Mailversand von Gardomatic funktioniert.
Viele Grüße
Gardomatic
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html lang="de">
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hallo,</p>
<p>diese Testmail bestätigt, dass der Mailversand von Gardomatic funktioniert.</p>
<p>Viele Grüße<br>Gardomatic</p>
</body>
</html>
{{end}}
@@ -0,0 +1,48 @@
{{define "subject"}}Activate your Gardomatic account{{end}}
{{define "plainBody"}}
Hi,
{{if .activationURL}}Activate your account using this link:
{{.activationURL}}
Alternatively, enter this activation token on the activation page:
{{.activationToken}}
{{else}}Please send a `PUT /v1/users/activated` request with the following JSON body to activate your account:
{"token": "{{.activationToken}}"}
{{end}}
Please note that this is a one-time use token and it will expire in 3 days.
Thanks,
The Gardomatic Team
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<p>Hi,</p>
{{if .activationURL}}
<p><a href="{{.activationURL}}">Activate your Gardomatic account</a></p>
<p>Alternatively, enter this activation token on the activation page:</p>
<pre><code>{{.activationToken}}</code></pre>
{{else}}
<p>Please send a <code>PUT /v1/users/activated</code> request with the following JSON body to activate your account:</p>
<pre><code>
{"token": "{{.activationToken}}"}
</code></pre>
{{end}}
<p>Please note that this is a one-time use token and it will expire in 3 days.</p>
<p>Thanks,</p>
<p>The Gardomatic Team</p>
</body>
</html>
{{end}}
@@ -0,0 +1,37 @@
{{define "subject"}}Reset your Gardomatic password{{end}}
{{define "plainBody"}}
Hi,
Please send a `PUT /v1/users/password` request with the following JSON body to set a new password:
{"password": "your new password", "token": "{{.passwordResetToken}}"}
Please note that this is a one-time use token and it will expire in 45 minutes. If you need
another token please make a `POST /v1/tokens/password-reset` request.
Thanks,
The Gardomatic Team
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<p>Hi,</p>
<p>Please send a <code>PUT /v1/users/password</code> request with the following JSON body to set a new password:</p>
<pre><code>
{"password": "your new password", "token": "{{.passwordResetToken}}"}
</code></pre>
<p>Please note that this is a one-time use token and it will expire in 45 minutes.
If you need another token please make a <code>POST /v1/tokens/password-reset</code> request.</p>
<p>Thanks,</p>
<p>The Gardomatic Team</p>
</body>
</html>
{{end}}
@@ -0,0 +1,31 @@
{{define "subject"}}Einladung zu Gardomatic{{end}}
{{define "plainBody"}}
Hallo {{.name}},
du wurdest zu Gardomatic eingeladen. Öffne den folgenden Link, um deinen Account zu aktivieren und ein Passwort festzulegen:
{{.activationURL}}
Der Link ist drei Tage lang gültig.
Viele Grüße
Gardomatic
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html lang="de">
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hallo {{.name}},</p>
<p>du wurdest zu Gardomatic eingeladen.</p>
<p><a href="{{.activationURL}}">Account aktivieren und Passwort festlegen</a></p>
<p>Der Link ist drei Tage lang gültig.</p>
<p>Viele Grüße<br>Gardomatic</p>
</body>
</html>
{{end}}
@@ -0,0 +1,59 @@
{{define "subject"}}Welcome to Gardomatic!{{end}}
{{define "plainBody"}}
Hi,
Thanks for signing up for a Gardomatic account. We're excited to have you on board!
For future reference, your user ID number is {{.userID}}.
{{if .activationURL}}Activate your account using this link:
{{.activationURL}}
Alternatively, enter this activation token on the activation page:
{{.activationToken}}
{{else}}Please send a request to the `PUT /v1/users/activated` endpoint with the following JSON
body to activate your account:
{"token": "{{.activationToken}}"}
{{end}}
Please note that this is a one-time use token and it will expire in 3 days.
Thanks,
The Gardomatic Team
{{end}}
{{define "htmlBody"}}
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<p>Hi,</p>
<p>Thanks for signing up for a Gardomatic account. We're excited to have you on board!</p>
<p>For future reference, your user ID number is {{.userID}}.</p>
{{if .activationURL}}
<p><a href="{{.activationURL}}">Activate your Gardomatic account</a></p>
<p>Alternatively, enter this activation token on the activation page:</p>
<pre><code>{{.activationToken}}</code></pre>
{{else}}
<p>Please send a request to the <code>PUT /v1/users/activated</code> endpoint with the
following JSON body to activate your account:</p>
<pre><code>
{"token": "{{.activationToken}}"}
</code></pre>
{{end}}
<p>Please note that this is a one-time use token and it will expire in 3 days.</p>
<p>Thanks,</p>
<p>The Gardomatic Team</p>
</body>
</html>
{{end}}