diff --git a/docker-compose.yml b/docker-compose.yml index 24e54f7..bed2285 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,8 @@ services: dockerfile: Dockerfile ports: - "8080:8080" - # volumes: - # - ./themes/ilhasoft/:/opt/jboss/keycloak/themes/ilhasoft/ + volumes: + - ./themes/ilhasoft/:/opt/jboss/keycloak/themes/ilhasoft/ # - ./standalone.xml:/opt/jboss/keycloak/standalone/configuration/standalone.xml environment: KEYCLOAK_USER: "admin" diff --git a/themes/ilhasoft/account/resources/img/favicon.ico b/themes/ilhasoft/account/resources/img/favicon.ico index 48188de..3af02f9 100644 Binary files a/themes/ilhasoft/account/resources/img/favicon.ico and b/themes/ilhasoft/account/resources/img/favicon.ico differ diff --git a/themes/ilhasoft/email/html/email-test.ftl b/themes/ilhasoft/email/html/email-test.ftl new file mode 100644 index 0000000..b6edc78 --- /dev/null +++ b/themes/ilhasoft/email/html/email-test.ftl @@ -0,0 +1,40 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
+ ${msg("emailTestBodyHtml",realmName)?no_esc} +
+
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/email-verification.ftl b/themes/ilhasoft/email/html/email-verification.ftl new file mode 100644 index 0000000..d21d88f --- /dev/null +++ b/themes/ilhasoft/email/html/email-verification.ftl @@ -0,0 +1,51 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("emailVerificationConfirmation")?no_esc} +
+ + ${msg("emailVerificationText", linkExpiration)?no_esc} + +
+ ${msg("emailVerificationConfirmationButton", link)?no_esc} +
+ +
${link}
+
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/event-login_error.ftl b/themes/ilhasoft/email/html/event-login_error.ftl new file mode 100644 index 0000000..e07f26e --- /dev/null +++ b/themes/ilhasoft/email/html/event-login_error.ftl @@ -0,0 +1,41 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
Hi, ${user.firstName}!
+ +
+ ${msg("eventLoginErrorBodyHtml",event.date,event.ipAddress)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/event-remove_totp.ftl b/themes/ilhasoft/email/html/event-remove_totp.ftl new file mode 100644 index 0000000..82c86ce --- /dev/null +++ b/themes/ilhasoft/email/html/event-remove_totp.ftl @@ -0,0 +1,41 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("eventRemoveTotpBodyHtml",event.date, event.ipAddress)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/event-update_password.ftl b/themes/ilhasoft/email/html/event-update_password.ftl new file mode 100644 index 0000000..311cfef --- /dev/null +++ b/themes/ilhasoft/email/html/event-update_password.ftl @@ -0,0 +1,41 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("eventUpdatePasswordBodyHtml",event.date, event.ipAddress)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/event-update_totp.ftl b/themes/ilhasoft/email/html/event-update_totp.ftl new file mode 100644 index 0000000..232f22d --- /dev/null +++ b/themes/ilhasoft/email/html/event-update_totp.ftl @@ -0,0 +1,41 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("eventUpdateTotpBodyHtml",event.date, event.ipAddress)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/executeActions.ftl b/themes/ilhasoft/email/html/executeActions.ftl new file mode 100644 index 0000000..464f15b --- /dev/null +++ b/themes/ilhasoft/email/html/executeActions.ftl @@ -0,0 +1,44 @@ +<#outputformat "plainText"> +<#assign requiredActionsText><#if requiredActions??><#list requiredActions><#items as reqActionItem>${msg("requiredAction.${reqActionItem}")}<#sep>, + + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("executeActionsBodyHtml",link, linkExpiration, realmName, requiredActionsText)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/identity-provider-link.ftl b/themes/ilhasoft/email/html/identity-provider-link.ftl new file mode 100644 index 0000000..1ea33bb --- /dev/null +++ b/themes/ilhasoft/email/html/identity-provider-link.ftl @@ -0,0 +1,41 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+
${msg("emailVerificationWelcome",user.firstName)?no_esc}
+ +
+ ${msg("identityProviderLinkBodyHtml", identityProviderAlias, realmName, identityProviderContext.username, link, linkExpiration)?no_esc} +
+ +
+ + +
+
+ + diff --git a/themes/ilhasoft/email/html/password-reset.ftl b/themes/ilhasoft/email/html/password-reset.ftl new file mode 100644 index 0000000..32da1c3 --- /dev/null +++ b/themes/ilhasoft/email/html/password-reset.ftl @@ -0,0 +1,49 @@ + + + + + + + + + +
+
+
+ Weni-Logo +
+
+ + ${msg("passwordResetBodyText1Html")?no_esc} + + ${msg("passwordResetBodyText2Html", linkExpiration)?no_esc} + +
+ ${msg("passwordResetBodyHtml",link)?no_esc} +
+ +
${link}
+
+ + +
+
+ + + + \ No newline at end of file diff --git a/themes/ilhasoft/email/messages/messages_en.properties b/themes/ilhasoft/email/messages/messages_en.properties new file mode 100644 index 0000000..db516aa --- /dev/null +++ b/themes/ilhasoft/email/messages/messages_en.properties @@ -0,0 +1,43 @@ +emailVerificationSubject=Confirm your registration in Weni +emailVerificationBody=Someone has created a {2} account with this email address. If this was you, click the link below to verify your email address\n\n{0}\n\nThis link will expire within {1} minutes.\n\nIf you didn''t create this account, just ignore this message. +emailVerificationWelcome=Hi, {0}! +emailVerificationConfirmation=Confirm your email to access the platform +emailVerificationConfirmationButton=

Click here to confirm the email

+emailVerificationText=
We are happy to have you with us! To proceed with accessing your account, check your email by pressing the button below or copying and pasting the link in your browser. Stay tuned, the link expires in {0} minutes!
+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 {4} minutes.\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 {4} minutes.

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=Password recovery +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 {1} minutes.\n\nIf you don''t want to reset your credentials, just ignore this message and nothing will be changed. \n\n ** For Intelbras employees it is not possible to change the password through this portal. To change the password you must carry out the procedure through your computer. +passwordResetBodyHtml=

Click here to reset your password

+passwordResetBodyText1Html=
Access the password reset link
+passwordResetBodyText2Html=
You have requested to recover your password. To perform the action, press the button below, or copy and paste the link in your browser, which will redirect you to a password creation page. Stay tuned, the link expires in {0} minutes!
+passwordResetBodyText3Html=
If you have not performed this action, ignore this message and change your email password for security. Talk to support if necessary!
+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 {1} minutes.\n\nIf you are unaware that your admin 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 {1} minutes.

If you are unaware that your admin 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 admin. +eventLoginErrorBodyHtml=

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

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

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

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

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

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

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

+ +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 + +emailAccessOurSite=Visit our website +emailFooterText=
If you have not performed this action, ignore this message and change your email password for security. Talk to support if necessary!
+emailCopyright=
Weni © Brazil 2020 - All rights reserved
\ No newline at end of file diff --git a/themes/ilhasoft/email/text/email-test.ftl b/themes/ilhasoft/email/text/email-test.ftl new file mode 100644 index 0000000..f1becdd --- /dev/null +++ b/themes/ilhasoft/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/themes/ilhasoft/email/text/email-verification.ftl b/themes/ilhasoft/email/text/email-verification.ftl new file mode 100644 index 0000000..152de22 --- /dev/null +++ b/themes/ilhasoft/email/text/email-verification.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("emailVerificationBody",link, linkExpiration, realmName)} \ No newline at end of file diff --git a/themes/ilhasoft/email/text/event-login_error.ftl b/themes/ilhasoft/email/text/event-login_error.ftl new file mode 100644 index 0000000..bfb4036 --- /dev/null +++ b/themes/ilhasoft/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/themes/ilhasoft/email/text/event-remove_totp.ftl b/themes/ilhasoft/email/text/event-remove_totp.ftl new file mode 100644 index 0000000..a7e3b68 --- /dev/null +++ b/themes/ilhasoft/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/themes/ilhasoft/email/text/event-update_password.ftl b/themes/ilhasoft/email/text/event-update_password.ftl new file mode 100644 index 0000000..2ec7ea0 --- /dev/null +++ b/themes/ilhasoft/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/themes/ilhasoft/email/text/event-update_totp.ftl b/themes/ilhasoft/email/text/event-update_totp.ftl new file mode 100644 index 0000000..14778b5 --- /dev/null +++ b/themes/ilhasoft/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/themes/ilhasoft/email/text/executeActions.ftl b/themes/ilhasoft/email/text/executeActions.ftl new file mode 100644 index 0000000..af9d5c4 --- /dev/null +++ b/themes/ilhasoft/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)} \ No newline at end of file diff --git a/themes/ilhasoft/email/text/identity-provider-link.ftl b/themes/ilhasoft/email/text/identity-provider-link.ftl new file mode 100644 index 0000000..0232e12 --- /dev/null +++ b/themes/ilhasoft/email/text/identity-provider-link.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("identityProviderLinkBody", identityProviderAlias, realmName, identityProviderContext.username, link, linkExpiration)} \ No newline at end of file diff --git a/themes/ilhasoft/email/text/password-reset.ftl b/themes/ilhasoft/email/text/password-reset.ftl new file mode 100644 index 0000000..e22649d --- /dev/null +++ b/themes/ilhasoft/email/text/password-reset.ftl @@ -0,0 +1,2 @@ +<#ftl output_format="plainText"> +${msg("passwordResetBody",link, linkExpiration, realmName)} \ No newline at end of file diff --git a/themes/ilhasoft/login/resources/img/favicon.ico b/themes/ilhasoft/login/resources/img/favicon.ico index 48188de..3af02f9 100644 Binary files a/themes/ilhasoft/login/resources/img/favicon.ico and b/themes/ilhasoft/login/resources/img/favicon.ico differ diff --git a/themes/ilhasoft/welcome/resources/favicon.ico b/themes/ilhasoft/welcome/resources/favicon.ico index 48188de..3af02f9 100644 Binary files a/themes/ilhasoft/welcome/resources/favicon.ico and b/themes/ilhasoft/welcome/resources/favicon.ico differ