Skip to content

Commit dcd47bb

Browse files
committed
add changes in plaintext
1 parent f882bea commit dcd47bb

24 files changed

+24
-0
lines changed

coderd/notifications/dispatch/smtp/plaintext.gotmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Hi {{ .UserName }},
2+
23
{{ .Labels._body }}
34

45
{{ range $action := .Actions }}

coderd/notifications/testdata/rendered-templates/smtp/TemplateTemplateDeleted.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
The template Bobby's Template was deleted by rob.
1516

1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateTemplateDeprecated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
The template alpha has been deprecated with the following message:
1516

1617
This template has been replaced by beta

coderd/notifications/testdata/rendered-templates/smtp/TemplateTestNotification.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
This is a test notification.
1516

1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserAccountActivated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
User account bobby has been activated.
1516

1617
The account belongs to William Tables and it was activated by rob.

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserAccountCreated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
New user account bobby has been created.
1516

1617
This new user account was created for William Tables by rob.

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserAccountDeleted.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
User account bobby has been deleted.
1516

1617
The deleted account belonged to William Tables and was deleted by rob.

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserAccountSuspended.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
User account bobby has been suspended.
1516

1617
The account belongs to William Tables and it was suspended by rob.

coderd/notifications/testdata/rendered-templates/smtp/TemplateUserRequestedOneTimePasscode.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Use the link below to reset your password.
1516

1617
If you did not make this request, you can ignore this message.

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceAutoUpdated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace has been updated automatically to the latest=
1516
template version (1.0).
1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceAutobuildFailed.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Automatic build of your workspace bobby-workspace failed.
1516

1617
The specified reason was "autostart".

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceBuildsFailedReport.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Template Bobby First Template has failed to build 4/55 times over the last =
1516
week.
1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceCreated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
The workspace bobby-workspace has been created from the template bobby-temp=
1516
late using version alpha.
1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceDeleted.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace was deleted.
1516

1617
The specified reason was "autodeleted due to dormancy (autobuild)".

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceDeleted_CustomAppearance.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace was deleted.
1516

1617
The specified reason was "autodeleted due to dormancy (autobuild)".

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceDormant.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace has been marked as dormant (https://coder.co=
1516
m/docs/templates/schedule#dormancy-threshold-enterprise) because of breache=
1617
d the template's threshold for inactivity.

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceManualBuildFailed.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
A manual build of the workspace bobby-workspace using the template bobby-te=
1516
mplate failed (version: bobby-template-version).
1617
The workspace build was initiated by joe.

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceManuallyUpdated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
A new workspace build has been manually created for your workspace bobby-wo=
1516
rkspace by bobby to update it to version alpha of template bobby-template.
1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceMarkedForDeletion.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace has been marked for deletion after 24 hours =
1516
of dormancy (https://coder.com/docs/templates/schedule#dormancy-auto-deleti=
1617
on-enterprise) because of template updated to new dormancy policy.

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceOutOfDisk.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Volume /home/coder is over 90% full in workspace bobby-workspace.
1516

1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceOutOfDisk_MultipleVolumes.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
The following volumes are nearly full in workspace bobby-workspace
1516

1617
/home/coder is over 90% full

coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceOutOfMemory.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your workspace bobby-workspace has reached the memory usage threshold set a=
1516
t 90%.
1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateYourAccountActivated.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your account bobby has been activated by rob.
1516

1617

coderd/notifications/testdata/rendered-templates/smtp/TemplateYourAccountSuspended.html.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Content-Transfer-Encoding: quoted-printable
1111
Content-Type: text/plain; charset=UTF-8
1212

1313
Hi Bobby,
14+
1415
Your account bobby has been suspended by rob.
1516

1617

0 commit comments

Comments
 (0)