···11-# This file is generated by Dofigen v2.6.0
11+# This file is generated by Dofigen v2.5.1
22# See https://github.com/lenra-io/dofigen
3344node_modules
+3-4
apps/server/Dockerfile
···11-# syntax=docker/dockerfile:1.19.0
22-# This file is generated by Dofigen v2.6.0
11+# syntax=docker/dockerfile:1.11
22+# This file is generated by Dofigen v2.5.1
33# See https://github.com/lenra-io/dofigen
4455# install
···1212RUN \
1313 --mount=type=bind,target=bunfig.toml,source=bunfig.toml \
1414 --mount=type=bind,target=package.json,source=package.json \
1515- --mount=type=bind,target=patches,source=patches \
1615 --mount=type=bind,target=apps/server/package.json,source=apps/server/package.json \
1716 --mount=type=bind,target=packages/analytics/package.json,source=packages/analytics/package.json \
1817 --mount=type=bind,target=packages/db/package.json,source=packages/db/package.json \
···4948# runtime
5049FROM debian@sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b AS runtime
5150LABEL \
5252- io.dofigen.version="2.6.0" \
5151+ io.dofigen.version="2.5.1" \
5352 org.opencontainers.image.authors="OpenStatus Team" \
5453 org.opencontainers.image.base.digest="sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b" \
5554 org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
···11-# This file is generated by Dofigen v2.6.0
11+# This file is generated by Dofigen v2.5.1
22# See https://github.com/lenra-io/dofigen
3344node_modules
+3-4
apps/workflows/Dockerfile
···11-# syntax=docker/dockerfile:1.19.0
22-# This file is generated by Dofigen v2.6.0
11+# syntax=docker/dockerfile:1.11
22+# This file is generated by Dofigen v2.5.1
33# See https://github.com/lenra-io/dofigen
4455# ca-certs
···3030RUN \
3131 --mount=type=bind,target=bunfig.toml,source=bunfig.toml \
3232 --mount=type=bind,target=package.json,source=package.json \
3333- --mount=type=bind,target=patches,source=patches \
3433 --mount=type=bind,target=apps/workflows/package.json,source=apps/workflows/package.json \
3534 --mount=type=bind,target=packages/assertions/package.json,source=packages/assertions/package.json \
3635 --mount=type=bind,target=packages/db/package.json,source=packages/db/package.json \
···8685# runtime
8786FROM debian@sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b AS runtime
8887LABEL \
8989- io.dofigen.version="2.6.0" \
8888+ io.dofigen.version="2.5.1" \
9089 org.opencontainers.image.authors="OpenStatus Team" \
9190 org.opencontainers.image.base.digest="sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b" \
9291 org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
···11+interface MonitorDeactivationEmailProps {
22+ date: string;
33+}
44+55+export const monitorDeactivationEmail = (
66+ props: MonitorDeactivationEmailProps,
77+) => {
88+ return `
99+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1010+ <html xmlns="http://www.w3.org/1999/xhtml">
1111+ <head>
1212+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
1313+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1414+ <title>Login to your OpenStatus account to keep your monitors active.</title>
1515+ <style>
1616+ body {
1717+ font-family: Arial, sans-serif;
1818+ }
1919+ </style>
2020+ </head>
2121+ <body>
2222+ <p>Hello, </p><p>To save on cloud resources and avoid having stale monitors. We are deactivating monitors for free account if you have not logged in for the last 2 months.</p><p>Your monitor(s) will be deactivated on ${props.date}</p><p>If you would like to keep your monitor(s) active, please login to your account or upgrade to a paid plan.</p><p>If you have any questions, please reply to this email.</p><p>Merci,</p><p>Thibault</p>
2323+ </body>
2424+ </html>
2525+`;
2626+};
+21
packages/emails/hotfix/monitor-paused.ts
···11+export const monitorPausedEmail = () => {
22+ return `
33+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
44+ <html xmlns="http://www.w3.org/1999/xhtml">
55+ <head>
66+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
77+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
88+ <title>Your monitors have been paused</title>
99+ <style>
1010+ body {
1111+ font-family: Arial, sans-serif;
1212+ }
1313+ </style>
1414+ </head>
1515+ <body>
1616+ <p>Hello, </p><p>To save on cloud resources, your monitor(s) has been paused due to inactivity.</p><p>If you would like to unpause your monitor(s), please login to your account or upgrade to a paid plan.</p><p>If you have any questions, please reply to this email.</p><p>Merci,</p><p>Thibault</p>
1717+ </body>
1818+ </html>
1919+2020+`;
2121+};
+2
packages/emails/src/index.ts
···55export { default as MonitorPausedEmail } from "../emails/monitor-paused";
66export { default as MonitorDeactivationEmail } from "../emails/monitor-deactivation";
7788+export { monitorDeactivationEmail } from "../hotfix/monitor-deactivation";
99+export { monitorPausedEmail } from "../hotfix/monitor-paused";
810export { sendEmail, sendEmailHtml, sendBatchEmailHtml } from "./send";
9111012export { EmailClient } from "./client";