From e84a7b4a2efcfd7c6bef47b738c915dc7e26e352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20=C5=9Ei=C5=9Fmano=C4=9Flu?= Date: Sun, 22 Dec 2024 00:15:05 +0300 Subject: [PATCH] fix: Update references from Bluewave Uptime to Checkmate in email templates and authController --- Server/controllers/authController.js | 2 +- Server/templates/employeeActivation.mjml | 6 +++--- Server/templates/noIncidentsThisWeek.mjml | 4 ++-- Server/templates/passwordReset.mjml | 4 ++-- Server/templates/serverIsDown.mjml | 4 ++-- Server/templates/serverIsUp.mjml | 4 ++-- Server/templates/welcomeEmail.mjml | 8 ++++---- Server/tests/controllers/authController.test.js | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Server/controllers/authController.js b/Server/controllers/authController.js index b7e4a7808..e4566429a 100644 --- a/Server/controllers/authController.js +++ b/Server/controllers/authController.js @@ -361,7 +361,7 @@ const requestRecovery = async (req, res, next) => { url, }, email, - "Bluewave Uptime Password Reset" + "Checkmate Password Reset" ); return res.status(200).json({ diff --git a/Server/templates/employeeActivation.mjml b/Server/templates/employeeActivation.mjml index ebc306418..34d5ea7c4 100644 --- a/Server/templates/employeeActivation.mjml +++ b/Server/templates/employeeActivation.mjml @@ -22,7 +22,7 @@ Message from BlueWave Uptime ServiceMessage from Checkmate Service @@ -31,7 +31,7 @@

Hello {{name}}!

- One of the admins created an account for you on the BlueWave Uptime server. + One of the admins created an account for you on the Checkmate server.

You can go ahead and create your account using this link.

{{link}}

@@ -44,7 +44,7 @@ border-color="#E0E0E0" > -

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/templates/noIncidentsThisWeek.mjml b/Server/templates/noIncidentsThisWeek.mjml index ca9ac0f23..d31d63d10 100644 --- a/Server/templates/noIncidentsThisWeek.mjml +++ b/Server/templates/noIncidentsThisWeek.mjml @@ -21,7 +21,7 @@ Message from BlueWave Uptime ServiceMessage from Checkmate Service
-

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/templates/passwordReset.mjml b/Server/templates/passwordReset.mjml index 4bc0ce80a..e0b85a4f4 100644 --- a/Server/templates/passwordReset.mjml +++ b/Server/templates/passwordReset.mjml @@ -24,7 +24,7 @@ align="left" font-size="10px" > - Message from BlueWave Uptime Service + Message from Checkmate Service @@ -48,7 +48,7 @@ border-color="#E0E0E0" > -

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/templates/serverIsDown.mjml b/Server/templates/serverIsDown.mjml index c8782311e..69d7f5719 100644 --- a/Server/templates/serverIsDown.mjml +++ b/Server/templates/serverIsDown.mjml @@ -11,7 +11,7 @@ - Message from BlueWave Uptime Service + Message from Checkmate Service @@ -37,7 +37,7 @@ View incident details -

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/templates/serverIsUp.mjml b/Server/templates/serverIsUp.mjml index 32d578b19..8dbaaf011 100644 --- a/Server/templates/serverIsUp.mjml +++ b/Server/templates/serverIsUp.mjml @@ -11,7 +11,7 @@ - Message from BlueWave Uptime Service + Message from Checkmate Service @@ -34,7 +34,7 @@ View incident details -

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/templates/welcomeEmail.mjml b/Server/templates/welcomeEmail.mjml index 27b816aa3..af1bfc190 100644 --- a/Server/templates/welcomeEmail.mjml +++ b/Server/templates/welcomeEmail.mjml @@ -23,7 +23,7 @@ align="left" font-size="10px" > - Message from BlueWave Uptime Service + Message from Checkmate Service @@ -32,11 +32,11 @@

Hello {{name}}!

- Thank you for trying out BlueWave Uptime! We developed it with great care to + Thank you for trying out Checkmate! We developed it with great care to meet our own needs, and we're excited to share it with you.

- BlueWave Uptime is an automated way of checking whether a service such as a + Checkmate is an automated way of checking whether a service such as a website or an application is available or not.

We hope you find our service as valuable as we do.

@@ -49,7 +49,7 @@ border-color="#E0E0E0" > -

This email was sent by BlueWave Uptime.

+

This email was sent by Checkmate.

diff --git a/Server/tests/controllers/authController.test.js b/Server/tests/controllers/authController.test.js index cde2ddbc1..0b778570c 100644 --- a/Server/tests/controllers/authController.test.js +++ b/Server/tests/controllers/authController.test.js @@ -649,7 +649,7 @@ describe("Auth Controller - requestRecovery", () => { url: "http://localhost/set-new-password/recovery-token", }, "test@test.com", - "Bluewave Uptime Password Reset" + "Checkmate Password Reset" ) ).to.be.true; expect(res.status.calledOnceWith(200)).to.be.true;