diff --git a/lumbung.space/email/html/email-test.ftl b/lumbung.space/email/html/email-test.ftl new file mode 100644 index 0000000..3a52272 --- /dev/null +++ b/lumbung.space/email/html/email-test.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("emailTestBodyHtml",realmName))?no_esc} + + diff --git a/lumbung.space/email/html/email-verification-with-code.ftl b/lumbung.space/email/html/email-verification-with-code.ftl new file mode 100644 index 0000000..66e8925 --- /dev/null +++ b/lumbung.space/email/html/email-verification-with-code.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("emailVerificationBodyCodeHtml",code))?no_esc} + + diff --git a/lumbung.space/email/html/email-verification.ftl b/lumbung.space/email/html/email-verification.ftl new file mode 100644 index 0000000..dacabd2 --- /dev/null +++ b/lumbung.space/email/html/email-verification.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("emailVerificationBodyHtml",link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration)))?no_esc} + + diff --git a/lumbung.space/email/html/event-login_error.ftl b/lumbung.space/email/html/event-login_error.ftl new file mode 100644 index 0000000..022c024 --- /dev/null +++ b/lumbung.space/email/html/event-login_error.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("eventLoginErrorBodyHtml",event.date,event.ipAddress))?no_esc} + + diff --git a/lumbung.space/email/html/event-remove_totp.ftl b/lumbung.space/email/html/event-remove_totp.ftl new file mode 100644 index 0000000..9a56ed3 --- /dev/null +++ b/lumbung.space/email/html/event-remove_totp.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("eventRemoveTotpBodyHtml",event.date, event.ipAddress))?no_esc} + + diff --git a/lumbung.space/email/html/event-update_password.ftl b/lumbung.space/email/html/event-update_password.ftl new file mode 100644 index 0000000..27825c7 --- /dev/null +++ b/lumbung.space/email/html/event-update_password.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("eventUpdatePasswordBodyHtml",event.date, event.ipAddress))?no_esc} + + diff --git a/lumbung.space/email/html/event-update_totp.ftl b/lumbung.space/email/html/event-update_totp.ftl new file mode 100644 index 0000000..3ed37c3 --- /dev/null +++ b/lumbung.space/email/html/event-update_totp.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("eventUpdateTotpBodyHtml",event.date, event.ipAddress))?no_esc} + + diff --git a/lumbung.space/email/html/executeActions.ftl b/lumbung.space/email/html/executeActions.ftl new file mode 100755 index 0000000..4c837bc --- /dev/null +++ b/lumbung.space/email/html/executeActions.ftl @@ -0,0 +1,9 @@ +<#outputformat "plainText"> +<#assign requiredActionsText><#if requiredActions??><#list requiredActions><#items as reqActionItem>${msg("requiredAction.${reqActionItem}")}<#sep>, + + + + +${kcSanitize(msg("executeActionsBodyHtml",link, linkExpiration, realmName, requiredActionsText, linkExpirationFormatter(linkExpiration)))?no_esc} + + diff --git a/lumbung.space/email/html/identity-provider-link.ftl b/lumbung.space/email/html/identity-provider-link.ftl new file mode 100644 index 0000000..8b67968 --- /dev/null +++ b/lumbung.space/email/html/identity-provider-link.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("identityProviderLinkBodyHtml", identityProviderAlias, realmName, identityProviderContext.username, link, linkExpiration, linkExpirationFormatter(linkExpiration)))?no_esc} + + \ No newline at end of file diff --git a/lumbung.space/email/html/password-reset.ftl b/lumbung.space/email/html/password-reset.ftl new file mode 100755 index 0000000..b2840b6 --- /dev/null +++ b/lumbung.space/email/html/password-reset.ftl @@ -0,0 +1,5 @@ + + +${kcSanitize(msg("passwordResetBodyHtml",link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration)))?no_esc} + + \ No newline at end of file diff --git a/lumbung.space/email/messages/messages_en.properties b/lumbung.space/email/messages/messages_en.properties new file mode 100755 index 0000000..2b9931f --- /dev/null +++ b/lumbung.space/email/messages/messages_en.properties @@ -0,0 +1,50 @@ +emailVerificationSubject=lumbung[dot]space: verify email +emailVerificationBody=We''re excited to have you here! One more step to join! Please verify your account by pressing the link below.\n\n{0}\n\nThis link will expire within {3}.\n\nIf you have any issue regarding to registration, please reach us through contact@lumbung.space. We are always happy to help out :)\n\nWarmest regards, lumbung.space working group +emailVerificationBodyHtml=

Someone has created a {2} account with this email address. If this was you, click the link below to verify your email address

Link to e-mail address verification

This link will expire within {3}.

If you didn''t create this account, just ignore this message.

+emailTestSubject=[KEYCLOAK] - SMTP test message +emailTestBody=This is a test message +emailTestBodyHtml=

This is a test message

+identityProviderLinkSubject=Link {0} +identityProviderLinkBody=Someone wants to link your "{1}" account with "{0}" account of user {2} . If this was you, click the link below to link accounts\n\n{3}\n\nThis link will expire within {5}.\n\nIf you don''t want to link account, just ignore this message. If you link accounts, you will be able to login to {1} through {0}. +identityProviderLinkBodyHtml=

Someone wants to link your {1} account with {0} account of user {2} . If this was you, click the link below to link accounts

Link to confirm account linking

This link will expire within {5}.

If you don''t want to link account, just ignore this message. If you link accounts, you will be able to login to {1} through {0}.

+passwordResetSubject=Reset password +passwordResetBody=Someone just requested to change your {2} account''s credentials. If this was you, click on the link below to reset them.\n\n{0}\n\nThis link and code will expire within {3}.\n\nIf you don''t want to reset your credentials, just ignore this message and nothing will be changed. +passwordResetBodyHtml=

Someone just requested to change your {2} account''s credentials. If this was you, click on the link below to reset them.

Link to reset credentials

This link will expire within {3}.

If you don''t want to reset your credentials, just ignore this message and nothing will be changed.

+executeActionsSubject=Update Your Account +executeActionsBody=Your administrator has just requested that you update your {2} account by performing the following action(s): {3}. Click on the link below to start this process.\n\n{0}\n\nThis link will expire within {4}.\n\nIf you are unaware that your administrator has requested this, just ignore this message and nothing will be changed. +executeActionsBodyHtml=

Your administrator has just requested that you update your {2} account by performing the following action(s): {3}. Click on the link below to start this process.

Link to account update

This link will expire within {4}.

If you are unaware that your administrator has requested this, just ignore this message and nothing will be changed.

+eventLoginErrorSubject=Login error +eventLoginErrorBody=A failed login attempt was detected to your account on {0} from {1}. If this was not you, please contact an administrator. +eventLoginErrorBodyHtml=

A failed login attempt was detected to your account on {0} from {1}. If this was not you, please contact an administrator.

+eventRemoveTotpSubject=Remove OTP +eventRemoveTotpBody=OTP was removed from your account on {0} from {1}. If this was not you, please contact an administrator. +eventRemoveTotpBodyHtml=

OTP was removed from your account on {0} from {1}. If this was not you, please contact an administrator.

+eventUpdatePasswordSubject=Update password +eventUpdatePasswordBody=Your password was changed on {0} from {1}. If this was not you, please contact an administrator. +eventUpdatePasswordBodyHtml=

Your password was changed on {0} from {1}. If this was not you, please contact an administrator.

+eventUpdateTotpSubject=Update OTP +eventUpdateTotpBody=OTP was updated for your account on {0} from {1}. If this was not you, please contact an administrator. +eventUpdateTotpBodyHtml=

OTP was updated for your account on {0} from {1}. If this was not you, please contact an administrator.

+ +requiredAction.CONFIGURE_TOTP=Configure OTP +requiredAction.terms_and_conditions=Terms and Conditions +requiredAction.UPDATE_PASSWORD=Update Password +requiredAction.UPDATE_PROFILE=Update Profile +requiredAction.VERIFY_EMAIL=lumbung[dot]space: verify email + +# units for link expiration timeout formatting +linkExpirationFormatter.timePeriodUnit.seconds=seconds +linkExpirationFormatter.timePeriodUnit.seconds.1=second +linkExpirationFormatter.timePeriodUnit.minutes=minutes +linkExpirationFormatter.timePeriodUnit.minutes.1=minute +#for language which have more unit plural forms depending on the value (eg. Czech and other Slavic langs) you can override unit text for some other values like this: +#linkExpirationFormatter.timePeriodUnit.minutes.2=minuty +#linkExpirationFormatter.timePeriodUnit.minutes.3=minuty +#linkExpirationFormatter.timePeriodUnit.minutes.4=minuty +linkExpirationFormatter.timePeriodUnit.hours=hours +linkExpirationFormatter.timePeriodUnit.hours.1=hour +linkExpirationFormatter.timePeriodUnit.days=days +linkExpirationFormatter.timePeriodUnit.days.1=day + +emailVerificationBodyCode=Please verify your email address by entering in the following code.\n\n{0}\n\n. +emailVerificationBodyCodeHtml=

Please verify your email address by entering in the following code.

{0}

diff --git a/lumbung.space/email/text/email-test.ftl b/lumbung.space/email/text/email-test.ftl new file mode 100644 index 0000000..f1becdd --- /dev/null +++ b/lumbung.space/email/text/email-test.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("emailTestBody", realmName)} \ No newline at end of file diff --git a/lumbung.space/email/text/email-verification-with-code.ftl b/lumbung.space/email/text/email-verification-with-code.ftl new file mode 100644 index 0000000..4ffb7d8 --- /dev/null +++ b/lumbung.space/email/text/email-verification-with-code.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("emailVerificationBodyCode",code)} \ No newline at end of file diff --git a/lumbung.space/email/text/email-verification.ftl b/lumbung.space/email/text/email-verification.ftl new file mode 100644 index 0000000..9e39696 --- /dev/null +++ b/lumbung.space/email/text/email-verification.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("emailVerificationBody",link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration))} \ No newline at end of file diff --git a/lumbung.space/email/text/event-login_error.ftl b/lumbung.space/email/text/event-login_error.ftl new file mode 100644 index 0000000..bfb4036 --- /dev/null +++ b/lumbung.space/email/text/event-login_error.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("eventLoginErrorBody",event.date,event.ipAddress)} \ No newline at end of file diff --git a/lumbung.space/email/text/event-remove_totp.ftl b/lumbung.space/email/text/event-remove_totp.ftl new file mode 100644 index 0000000..a7e3b68 --- /dev/null +++ b/lumbung.space/email/text/event-remove_totp.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("eventRemoveTotpBody",event.date, event.ipAddress)} \ No newline at end of file diff --git a/lumbung.space/email/text/event-update_password.ftl b/lumbung.space/email/text/event-update_password.ftl new file mode 100644 index 0000000..2ec7ea0 --- /dev/null +++ b/lumbung.space/email/text/event-update_password.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("eventUpdatePasswordBody",event.date, event.ipAddress)} \ No newline at end of file diff --git a/lumbung.space/email/text/event-update_totp.ftl b/lumbung.space/email/text/event-update_totp.ftl new file mode 100644 index 0000000..14778b5 --- /dev/null +++ b/lumbung.space/email/text/event-update_totp.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("eventUpdateTotpBody",event.date, event.ipAddress)} \ No newline at end of file diff --git a/lumbung.space/email/text/executeActions.ftl b/lumbung.space/email/text/executeActions.ftl new file mode 100755 index 0000000..6610c7a --- /dev/null +++ b/lumbung.space/email/text/executeActions.ftl @@ -0,0 +1,4 @@ +<#ftl output_format="plainText"> +<#assign requiredActionsText><#if requiredActions??><#list requiredActions><#items as reqActionItem>${msg("requiredAction.${reqActionItem}")}<#sep>, <#else> + +${msg("executeActionsBody",link, linkExpiration, realmName, requiredActionsText, linkExpirationFormatter(linkExpiration))} \ No newline at end of file diff --git a/lumbung.space/email/text/identity-provider-link.ftl b/lumbung.space/email/text/identity-provider-link.ftl new file mode 100644 index 0000000..ed9d246 --- /dev/null +++ b/lumbung.space/email/text/identity-provider-link.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("identityProviderLinkBody", identityProviderAlias, realmName, identityProviderContext.username, link, linkExpiration, linkExpirationFormatter(linkExpiration))} \ No newline at end of file diff --git a/lumbung.space/email/text/password-reset.ftl b/lumbung.space/email/text/password-reset.ftl new file mode 100755 index 0000000..27405c9 --- /dev/null +++ b/lumbung.space/email/text/password-reset.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("passwordResetBody",link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration))} \ No newline at end of file diff --git a/lumbung.space/login/messages/messages_en.properties b/lumbung.space/login/messages/messages_en.properties index 7adbaec..443b8d3 100755 --- a/lumbung.space/login/messages/messages_en.properties +++ b/lumbung.space/login/messages/messages_en.properties @@ -136,7 +136,7 @@ oauth2DeviceAuthorizationGrantDisabledMessage=Client is not allowed to initiate emailVerifyInstruction1=An email with instructions to verify your email address has been sent to you. emailVerifyInstruction2=Haven''t received a verification code in your email? -emailVerifyInstruction3=to re-send the email. Don't forget to check your spam folder! Feel free to mail contact@lumbung.space if you're still having problems, we're happy to help out. +emailVerifyInstruction3=to re-send the email. Don't forget to check your spam folder! Feel free to mail contact@lumbung.space if you are still having problems, we are happy to help out. emailLinkIdpTitle=Link {0} emailLinkIdp1=An email with instructions to link {0} account {1} with your {2} account has been sent to you. @@ -293,7 +293,7 @@ staleCodeMessage=This page is no longer valid, please go back to your applicatio realmSupportsNoCredentialsMessage=Realm does not support any credential type. credentialSetupRequired=Cannot login, credential setup required. identityProviderNotUniqueMessage=Realm supports multiple identity providers. Could not determine which identity provider should be used to authenticate with. -emailVerifiedMessage=Your email address has been verified. +emailVerifiedMessage=Yay, your email address has been verified! Log in to members.lumbung.space to get started :) staleEmailVerificationLink=The link you clicked is an old stale link and is no longer valid. Maybe you have already verified your email. identityProviderAlreadyLinkedMessage=Federated identity returned by {0} is already linked to another user. confirmAccountLinking=Confirm linking the account {0} of identity provider {1} with your account. @@ -336,7 +336,7 @@ requiredAction.CONFIGURE_TOTP=Configure OTP requiredAction.terms_and_conditions=Terms and Conditions requiredAction.UPDATE_PASSWORD=Update Password requiredAction.UPDATE_PROFILE=Update Profile -requiredAction.VERIFY_EMAIL=Verify Email +requiredAction.VERIFY_EMAIL=lumbung[dot]space: verify email doX509Login=You will be logged in as\: clientCertificate=X509 client certificate\: