mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat(coderd): remove greetings from notifications templates (#16991)
This PR aimes to [fix this issue](https://github.com/coder/internal/issues/448) - The main idea is to remove greetings from templates stored in the DB - and instead push it into the template for require methods - for now SMTP.
This commit is contained in:
@ -46,9 +46,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>The template <strong>Bobby’s Template</strong> was deleted by <str=
|
||||
ong>rob</strong>.</p>
|
||||
<p>The template <strong>Bobby’s Template</strong> was deleted=
|
||||
by <strong>rob</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -10,7 +10,7 @@ MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Hello Bobby,
|
||||
Hi Bobby,
|
||||
|
||||
The template alpha has been deprecated with the following message:
|
||||
|
||||
@ -53,10 +53,9 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
Template 'alpha' has been deprecated
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hello Bobby,</p>
|
||||
|
||||
<p>The template <strong>alpha</strong> has been deprecated with the followi=
|
||||
ng message:</p>
|
||||
<p>Hi Bobby,</p>
|
||||
<p>The template <strong>alpha</strong> has been deprecated with the=
|
||||
following message:</p>
|
||||
|
||||
<p><strong>This template has been replaced by beta</strong></p>
|
||||
|
||||
|
@ -47,8 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>This is a test notification.</p>
|
||||
<p>This is a test notification.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -48,8 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>User account <strong>bobby</strong> has been activated.</p>
|
||||
<p>User account <strong>bobby</strong> has been activated.</p>
|
||||
|
||||
<p>The account belongs to <strong>William Tables</strong> and it was activa=
|
||||
ted by <strong>rob</strong>.</p>
|
||||
|
@ -48,8 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>New user account <strong>bobby</strong> has been created.</p>
|
||||
<p>New user account <strong>bobby</strong> has been created.</p>
|
||||
|
||||
<p>This new user account was created for <strong>William Tables</strong> by=
|
||||
<strong>rob</strong>.</p>
|
||||
|
@ -48,8 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>User account <strong>bobby</strong> has been deleted.</p>
|
||||
<p>User account <strong>bobby</strong> has been deleted.</p>
|
||||
|
||||
<p>The deleted account belonged to <strong>William Tables</strong> and was =
|
||||
deleted by <strong>rob</strong>.</p>
|
||||
|
@ -49,8 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>User account <strong>bobby</strong> has been suspended.</p>
|
||||
<p>User account <strong>bobby</strong> has been suspended.</p>
|
||||
|
||||
<p>The account belongs to <strong>William Tables</strong> and it was suspen=
|
||||
ded by <strong>rob</strong>.</p>
|
||||
|
@ -49,8 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Use the link below to reset your password.</p>
|
||||
<p>Use the link below to reset your password.</p>
|
||||
|
||||
<p>If you did not make this request, you can ignore this message.</p>
|
||||
</div>
|
||||
|
@ -49,9 +49,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been updated automat=
|
||||
ically to the latest template version (1.0).</p>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been updated=
|
||||
automatically to the latest template version (1.0).</p>
|
||||
|
||||
<p>Reason for update: <strong>template now includes catnip</strong>.</p>
|
||||
</div>
|
||||
|
@ -48,9 +48,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Automatic build of your workspace <strong>bobby-workspace</strong> faile=
|
||||
d.</p>
|
||||
<p>Automatic build of your workspace <strong>bobby-workspace</stron=
|
||||
g> failed.</p>
|
||||
|
||||
<p>The specified reason was “<strong>autostart</strong>”.</p>
|
||||
</div>
|
||||
|
@ -66,9 +66,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Template <strong>Bobby First Template</strong> has failed to build <sup>=
|
||||
4</sup>⁄<sub>55</sub> times over the last week.</p>
|
||||
<p>Template <strong>Bobby First Template</strong> has failed to bui=
|
||||
ld <sup>4</sup>⁄<sub>55</sub> times over the last week.</p>
|
||||
|
||||
<p><strong>Report:</strong></p>
|
||||
|
||||
|
@ -10,7 +10,7 @@ MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Hello Bobby,
|
||||
Hi Bobby,
|
||||
|
||||
The workspace bobby-workspace has been created from the template bobby-temp=
|
||||
late using version alpha.
|
||||
@ -46,11 +46,10 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
Workspace 'bobby-workspace' has been created
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hello Bobby,</p>
|
||||
|
||||
<p>The workspace <strong>bobby-workspace</strong> has been created from the=
|
||||
template <strong>bobby-template</strong> using version <strong>alpha</stro=
|
||||
ng>.</p>
|
||||
<p>Hi Bobby,</p>
|
||||
<p>The workspace <strong>bobby-workspace</strong> has been created =
|
||||
from the template <strong>bobby-template</strong> using version <strong>alp=
|
||||
ha</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -50,8 +50,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>
|
||||
|
||||
<p>The specified reason was “<strong>autodeleted due to dormancy (aut=
|
||||
obuild)</strong>”.</p>
|
||||
|
@ -50,8 +50,7 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>
|
||||
|
||||
<p>The specified reason was “<strong>autodeleted due to dormancy (aut=
|
||||
obuild)</strong>”.</p>
|
||||
|
@ -52,11 +52,10 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked as <a hr=
|
||||
ef=3D"https://coder.com/docs/templates/schedule#dormancy-threshold-enterpri=
|
||||
se"><strong>dormant</strong></a> because of breached the template’s t=
|
||||
hreshold for inactivity.<br>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
|
||||
as <a href=3D"https://coder.com/docs/templates/schedule#dormancy-threshold-=
|
||||
enterprise"><strong>dormant</strong></a> because of breached the template&r=
|
||||
squo;s threshold for inactivity.<br>
|
||||
Dormant workspaces are <a href=3D"https://coder.com/docs/templates/schedule=
|
||||
#dormancy-auto-deletion-enterprise">automatically deleted</a> after 24 hour=
|
||||
s of inactivity.<br>
|
||||
|
@ -14,7 +14,6 @@ Hi Bobby,
|
||||
|
||||
A manual build of the workspace bobby-workspace using the template bobby-te=
|
||||
mplate failed (version: bobby-template-version).
|
||||
|
||||
The workspace build was initiated by joe.
|
||||
|
||||
|
||||
@ -49,12 +48,10 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>A manual build of the workspace <strong>bobby-workspace</strong> using t=
|
||||
he template <strong>bobby-template</strong> failed (version: <strong>bobby-=
|
||||
template-version</strong>).</p>
|
||||
|
||||
<p>The workspace build was initiated by <strong>joe</strong>.</p>
|
||||
<p>A manual build of the workspace <strong>bobby-workspace</strong>=
|
||||
using the template <strong>bobby-template</strong> failed (version: <stron=
|
||||
g>bobby-template-version</strong>).<br>
|
||||
The workspace build was initiated by <strong>joe</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -10,7 +10,7 @@ MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Hello Bobby,
|
||||
Hi Bobby,
|
||||
|
||||
A new workspace build has been manually created for your workspace bobby-wo=
|
||||
rkspace by bobby to update it to version alpha of template bobby-template.
|
||||
@ -49,11 +49,11 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
Workspace 'bobby-workspace' has been manually updated
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hello Bobby,</p>
|
||||
|
||||
<p>A new workspace build has been manually created for your workspace <stro=
|
||||
ng>bobby-workspace</strong> by <strong>bobby</strong> to update it to versi=
|
||||
on <strong>alpha</strong> of template <strong>bobby-template</strong>.</p>
|
||||
<p>Hi Bobby,</p>
|
||||
<p>A new workspace build has been manually created for your workspa=
|
||||
ce <strong>bobby-workspace</strong> by <strong>bobby</strong> to update it =
|
||||
to version <strong>alpha</strong> of template <strong>bobby-template</stron=
|
||||
g>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -49,11 +49,10 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked for <str=
|
||||
ong>deletion</strong> after 24 hours of <a href=3D"https://coder.com/docs/t=
|
||||
emplates/schedule#dormancy-auto-deletion-enterprise">dormancy</a> because o=
|
||||
f template updated to new dormancy policy.<br>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
|
||||
for <strong>deletion</strong> after 24 hours of <a href=3D"https://coder.co=
|
||||
m/docs/templates/schedule#dormancy-auto-deletion-enterprise">dormancy</a> b=
|
||||
ecause of template updated to new dormancy policy.<br>
|
||||
To prevent deletion, use your workspace with the link below.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
|
@ -46,9 +46,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Volume <strong><code>/home/coder</code></strong> is over 90% full in wor=
|
||||
kspace <strong>bobby-workspace</strong>.</p>
|
||||
<p>Volume <strong><code>/home/coder</code></strong> is over 90% ful=
|
||||
l in workspace <strong>bobby-workspace</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -50,9 +50,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>The following volumes are nearly full in workspace <strong>bobby-workspa=
|
||||
ce</strong></p>
|
||||
<p>The following volumes are nearly full in workspace <strong>bobby=
|
||||
-workspace</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><strong><code>/home/coder</code></strong> is over 90% full<br>
|
||||
|
@ -47,9 +47,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has reached the memory u=
|
||||
sage threshold set at <strong>90%</strong>.</p>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has reached the =
|
||||
memory usage threshold set at <strong>90%</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -46,9 +46,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your account <strong>bobby</strong> has been activated by <strong>rob</s=
|
||||
trong>.</p>
|
||||
<p>Your account <strong>bobby</strong> has been activated by <stron=
|
||||
g>rob</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -44,9 +44,8 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
</h1>
|
||||
<div style=3D"line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
|
||||
<p>Your account <strong>bobby</strong> has been suspended by <strong>rob</s=
|
||||
trong>.</p>
|
||||
<p>Your account <strong>bobby</strong> has been suspended by <stron=
|
||||
g>rob</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -24,6 +24,6 @@
|
||||
},
|
||||
"title": "Template \"Bobby's Template\" deleted",
|
||||
"title_markdown": "Template \"Bobby's Template\" deleted",
|
||||
"body": "Hi Bobby,\n\nThe template Bobby's Template was deleted by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nThe template **Bobby's Template** was deleted by **rob**.\n\n"
|
||||
"body": "The template Bobby's Template was deleted by rob.",
|
||||
"body_markdown": "The template **Bobby's Template** was deleted by **rob**.\n\n"
|
||||
}
|
@ -29,6 +29,6 @@
|
||||
},
|
||||
"title": "Template 'alpha' has been deprecated",
|
||||
"title_markdown": "Template 'alpha' has been deprecated",
|
||||
"body": "Hello Bobby,\n\nThe template alpha has been deprecated with the following message:\n\nThis template has been replaced by beta\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally.",
|
||||
"body_markdown": "Hello Bobby,\n\nThe template **alpha** has been deprecated with the following message:\n\n**This template has been replaced by beta**\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally."
|
||||
"body": "The template alpha has been deprecated with the following message:\n\nThis template has been replaced by beta\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally.",
|
||||
"body_markdown": "The template **alpha** has been deprecated with the following message:\n\n**This template has been replaced by beta**\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally."
|
||||
}
|
@ -21,6 +21,6 @@
|
||||
},
|
||||
"title": "A test notification",
|
||||
"title_markdown": "A test notification",
|
||||
"body": "Hi Bobby,\n\nThis is a test notification.",
|
||||
"body_markdown": "Hi Bobby,\n\nThis is a test notification."
|
||||
"body": "This is a test notification.",
|
||||
"body_markdown": "This is a test notification."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "User account \"bobby\" activated",
|
||||
"title_markdown": "User account \"bobby\" activated",
|
||||
"body": "Hi Bobby,\n\nUser account bobby has been activated.\n\nThe account belongs to William Tables and it was activated by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been activated.\n\nThe account belongs to **William Tables** and it was activated by **rob**."
|
||||
"body": "User account bobby has been activated.\n\nThe account belongs to William Tables and it was activated by rob.",
|
||||
"body_markdown": "User account **bobby** has been activated.\n\nThe account belongs to **William Tables** and it was activated by **rob**."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "User account \"bobby\" created",
|
||||
"title_markdown": "User account \"bobby\" created",
|
||||
"body": "Hi Bobby,\n\nNew user account bobby has been created.\n\nThis new user account was created for William Tables by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nNew user account **bobby** has been created.\n\nThis new user account was created for **William Tables** by **rob**."
|
||||
"body": "New user account bobby has been created.\n\nThis new user account was created for William Tables by rob.",
|
||||
"body_markdown": "New user account **bobby** has been created.\n\nThis new user account was created for **William Tables** by **rob**."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "User account \"bobby\" deleted",
|
||||
"title_markdown": "User account \"bobby\" deleted",
|
||||
"body": "Hi Bobby,\n\nUser account bobby has been deleted.\n\nThe deleted account belonged to William Tables and was deleted by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been deleted.\n\nThe deleted account belonged to **William Tables** and was deleted by **rob**."
|
||||
"body": "User account bobby has been deleted.\n\nThe deleted account belonged to William Tables and was deleted by rob.",
|
||||
"body_markdown": "User account **bobby** has been deleted.\n\nThe deleted account belonged to **William Tables** and was deleted by **rob**."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "User account \"bobby\" suspended",
|
||||
"title_markdown": "User account \"bobby\" suspended",
|
||||
"body": "Hi Bobby,\n\nUser account bobby has been suspended.\n\nThe account belongs to William Tables and it was suspended by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been suspended.\n\nThe account belongs to **William Tables** and it was suspended by **rob**."
|
||||
"body": "User account bobby has been suspended.\n\nThe account belongs to William Tables and it was suspended by rob.",
|
||||
"body_markdown": "User account **bobby** has been suspended.\n\nThe account belongs to **William Tables** and it was suspended by **rob**."
|
||||
}
|
@ -23,6 +23,6 @@
|
||||
},
|
||||
"title": "Reset your password for Coder",
|
||||
"title_markdown": "Reset your password for Coder",
|
||||
"body": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message.",
|
||||
"body_markdown": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message."
|
||||
"body": "Use the link below to reset your password.\n\nIf you did not make this request, you can ignore this message.",
|
||||
"body_markdown": "Use the link below to reset your password.\n\nIf you did not make this request, you can ignore this message."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" updated automatically",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" updated automatically",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has been updated automatically to the latest template version (1.0).\n\nReason for update: template now includes catnip.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).\n\nReason for update: **template now includes catnip**."
|
||||
"body": "Your workspace bobby-workspace has been updated automatically to the latest template version (1.0).\n\nReason for update: template now includes catnip.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).\n\nReason for update: **template now includes catnip**."
|
||||
}
|
@ -27,6 +27,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" autobuild failed",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" autobuild failed",
|
||||
"body": "Hi Bobby,\n\nAutomatic build of your workspace bobby-workspace failed.\n\nThe specified reason was \"autostart\".",
|
||||
"body_markdown": "Hi Bobby,\n\nAutomatic build of your workspace **bobby-workspace** failed.\n\nThe specified reason was \"**autostart**\"."
|
||||
"body": "Automatic build of your workspace bobby-workspace failed.\n\nThe specified reason was \"autostart\".",
|
||||
"body_markdown": "Automatic build of your workspace **bobby-workspace** failed.\n\nThe specified reason was \"**autostart**\"."
|
||||
}
|
@ -62,6 +62,6 @@
|
||||
},
|
||||
"title": "Workspace builds failed for template \"Bobby First Template\"",
|
||||
"title_markdown": "Workspace builds failed for template \"Bobby First Template\"",
|
||||
"body": "Hi Bobby,\n\nTemplate Bobby First Template has failed to build 4/55 times over the last week.\n\nReport:\n\nbobby-template-version-1 failed 3 times:\n\nmtojek / workspace-1 / #1234 (http://test.com/@mtojek/workspace-1/builds/1234)\njohndoe / my-workspace-3 / #5678 (http://test.com/@johndoe/my-workspace-3/builds/5678)\njack / workwork / #774 (http://test.com/@jack/workwork/builds/774)\n\nbobby-template-version-2 failed 1 time:\n\nben / cool-workspace / #8888 (http://test.com/@ben/cool-workspace/builds/8888)\n\nWe recommend reviewing these issues to ensure future builds are successful.",
|
||||
"body_markdown": "Hi Bobby,\n\nTemplate **Bobby First Template** has failed to build 4/55 times over the last week.\n\n**Report:**\n\n**bobby-template-version-1** failed 3 times:\n\n* [mtojek / workspace-1 / #1234](http://test.com/@mtojek/workspace-1/builds/1234)\n* [johndoe / my-workspace-3 / #5678](http://test.com/@johndoe/my-workspace-3/builds/5678)\n* [jack / workwork / #774](http://test.com/@jack/workwork/builds/774)\n\n**bobby-template-version-2** failed 1 time:\n\n* [ben / cool-workspace / #8888](http://test.com/@ben/cool-workspace/builds/8888)\n\nWe recommend reviewing these issues to ensure future builds are successful."
|
||||
"body": "Template Bobby First Template has failed to build 4/55 times over the last week.\n\nReport:\n\nbobby-template-version-1 failed 3 times:\n\nmtojek / workspace-1 / #1234 (http://test.com/@mtojek/workspace-1/builds/1234)\njohndoe / my-workspace-3 / #5678 (http://test.com/@johndoe/my-workspace-3/builds/5678)\njack / workwork / #774 (http://test.com/@jack/workwork/builds/774)\n\nbobby-template-version-2 failed 1 time:\n\nben / cool-workspace / #8888 (http://test.com/@ben/cool-workspace/builds/8888)\n\nWe recommend reviewing these issues to ensure future builds are successful.",
|
||||
"body_markdown": "Template **Bobby First Template** has failed to build 4/55 times over the last week.\n\n**Report:**\n\n**bobby-template-version-1** failed 3 times:\n\n* [mtojek / workspace-1 / #1234](http://test.com/@mtojek/workspace-1/builds/1234)\n* [johndoe / my-workspace-3 / #5678](http://test.com/@johndoe/my-workspace-3/builds/5678)\n* [jack / workwork / #774](http://test.com/@jack/workwork/builds/774)\n\n**bobby-template-version-2** failed 1 time:\n\n* [ben / cool-workspace / #8888](http://test.com/@ben/cool-workspace/builds/8888)\n\nWe recommend reviewing these issues to ensure future builds are successful."
|
||||
}
|
@ -25,6 +25,6 @@
|
||||
},
|
||||
"title": "Workspace 'bobby-workspace' has been created",
|
||||
"title_markdown": "Workspace 'bobby-workspace' has been created",
|
||||
"body": "Hello Bobby,\n\nThe workspace bobby-workspace has been created from the template bobby-template using version alpha.",
|
||||
"body_markdown": "Hello Bobby,\n\nThe workspace **bobby-workspace** has been created from the template **bobby-template** using version **alpha**."
|
||||
"body": "The workspace bobby-workspace has been created from the template bobby-template using version alpha.",
|
||||
"body_markdown": "The workspace **bobby-workspace** has been created from the template **bobby-template** using version **alpha**."
|
||||
}
|
@ -32,6 +32,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" deleted",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" deleted",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
|
||||
"body": "Your workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
|
||||
"body_markdown": "Your workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
|
||||
}
|
@ -29,6 +29,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" deleted",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" deleted",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
|
||||
"body": "Your workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
|
||||
"body_markdown": "Your workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
|
||||
}
|
@ -27,6 +27,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" marked as dormant",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" marked as dormant",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has been marked as dormant (https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are automatically deleted (https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below."
|
||||
"body": "Your workspace bobby-workspace has been marked as dormant (https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are automatically deleted (https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below."
|
||||
}
|
@ -28,6 +28,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" manual build failed",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" manual build failed",
|
||||
"body": "Hi Bobby,\n\nA manual build of the workspace bobby-workspace using the template bobby-template failed (version: bobby-template-version).\n\nThe workspace build was initiated by joe.",
|
||||
"body_markdown": "Hi Bobby,\n\nA manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).\n\nThe workspace build was initiated by **joe**."
|
||||
"body": "A manual build of the workspace bobby-workspace using the template bobby-template failed (version: bobby-template-version).\nThe workspace build was initiated by joe.",
|
||||
"body_markdown": "A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).\nThe workspace build was initiated by **joe**."
|
||||
}
|
@ -31,6 +31,6 @@
|
||||
},
|
||||
"title": "Workspace 'bobby-workspace' has been manually updated",
|
||||
"title_markdown": "Workspace 'bobby-workspace' has been manually updated",
|
||||
"body": "Hello Bobby,\n\nA new workspace build has been manually created for your workspace bobby-workspace by bobby to update it to version alpha of template bobby-template.",
|
||||
"body_markdown": "Hello Bobby,\n\nA new workspace build has been manually created for your workspace **bobby-workspace** by **bobby** to update it to version **alpha** of template **bobby-template**."
|
||||
"body": "A new workspace build has been manually created for your workspace bobby-workspace by bobby to update it to version alpha of template bobby-template.",
|
||||
"body_markdown": "A new workspace build has been manually created for your workspace **bobby-workspace** by **bobby** to update it to version **alpha** of template **bobby-template**."
|
||||
}
|
@ -26,6 +26,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" marked for deletion",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" marked for deletion",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has been marked for deletion after 24 hours of dormancy (https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.\nTo prevent deletion, use your workspace with the link below.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.\nTo prevent deletion, use your workspace with the link below."
|
||||
"body": "Your workspace bobby-workspace has been marked for deletion after 24 hours of dormancy (https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.\nTo prevent deletion, use your workspace with the link below.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.\nTo prevent deletion, use your workspace with the link below."
|
||||
}
|
@ -30,6 +30,6 @@
|
||||
},
|
||||
"title": "Your workspace \"bobby-workspace\" is low on volume space",
|
||||
"title_markdown": "Your workspace \"bobby-workspace\" is low on volume space",
|
||||
"body": "Hi Bobby,\n\nVolume /home/coder is over 90% full in workspace bobby-workspace.",
|
||||
"body_markdown": "Hi Bobby,\n\nVolume **`/home/coder`** is over 90% full in workspace **bobby-workspace**."
|
||||
"body": "Volume /home/coder is over 90% full in workspace bobby-workspace.",
|
||||
"body_markdown": "Volume **`/home/coder`** is over 90% full in workspace **bobby-workspace**."
|
||||
}
|
@ -38,6 +38,6 @@
|
||||
},
|
||||
"title": "Your workspace \"bobby-workspace\" is low on volume space",
|
||||
"title_markdown": "Your workspace \"bobby-workspace\" is low on volume space",
|
||||
"body": "Hi Bobby,\n\nThe following volumes are nearly full in workspace bobby-workspace\n\n/home/coder is over 90% full\n/dev/coder is over 80% full\n/etc/coder is over 95% full",
|
||||
"body_markdown": "Hi Bobby,\n\nThe following volumes are nearly full in workspace **bobby-workspace**\n\n- **`/home/coder`** is over 90% full\n- **`/dev/coder`** is over 80% full\n- **`/etc/coder`** is over 95% full\n"
|
||||
"body": "The following volumes are nearly full in workspace bobby-workspace\n\n/home/coder is over 90% full\n/dev/coder is over 80% full\n/etc/coder is over 95% full",
|
||||
"body_markdown": "The following volumes are nearly full in workspace **bobby-workspace**\n\n- **`/home/coder`** is over 90% full\n- **`/dev/coder`** is over 80% full\n- **`/etc/coder`** is over 95% full\n"
|
||||
}
|
@ -24,6 +24,6 @@
|
||||
},
|
||||
"title": "Your workspace \"bobby-workspace\" is low on memory",
|
||||
"title_markdown": "Your workspace \"bobby-workspace\" is low on memory",
|
||||
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has reached the memory usage threshold set at 90%.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has reached the memory usage threshold set at **90%**."
|
||||
"body": "Your workspace bobby-workspace has reached the memory usage threshold set at 90%.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has reached the memory usage threshold set at **90%**."
|
||||
}
|
@ -24,6 +24,6 @@
|
||||
},
|
||||
"title": "Your account \"bobby\" has been activated",
|
||||
"title_markdown": "Your account \"bobby\" has been activated",
|
||||
"body": "Hi Bobby,\n\nYour account bobby has been activated by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour account **bobby** has been activated by **rob**."
|
||||
"body": "Your account bobby has been activated by rob.",
|
||||
"body_markdown": "Your account **bobby** has been activated by **rob**."
|
||||
}
|
@ -19,6 +19,6 @@
|
||||
},
|
||||
"title": "Your account \"bobby\" has been suspended",
|
||||
"title_markdown": "Your account \"bobby\" has been suspended",
|
||||
"body": "Hi Bobby,\n\nYour account bobby has been suspended by rob.",
|
||||
"body_markdown": "Hi Bobby,\n\nYour account **bobby** has been suspended by **rob**."
|
||||
"body": "Your account bobby has been suspended by rob.",
|
||||
"body_markdown": "Your account **bobby** has been suspended by **rob**."
|
||||
}
|
Reference in New Issue
Block a user