Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fbf7d55
feature/Email Folder xml
salgsstyrke Aug 29, 2025
45bb14e
feature/ReNameEmailsandFolder
salgsstyrke Aug 29, 2025
5a05b35
Merge branch 'main' into feature/EmailTemplatesFolder
salgsstyrke Aug 29, 2025
1579c06
Merge pull request #166 from SFDO-Community/feature/EmailTemplatesFolder
salgsstyrke Sep 1, 2025
6ca94d4
feature/undoEmailRelatedChanges
salgsstyrke Sep 1, 2025
4ba44a6
Merge remote-tracking branch 'upstream/main' into feature/EmailTempla…
salgsstyrke Sep 1, 2025
3952d49
Merge pull request #170 from SFDO-Community/feature/EmailTemplatesAgain
salgsstyrke Sep 12, 2025
5b1d08a
Move try statement to before single email message creation.
acrosman-ava Nov 14, 2025
c46568a
Remove CCI and SFDX version hardcoding.
acrosman Nov 14, 2025
8ea88ff
Updates to Beta and Prod workflows to review version numbers
acrosman Nov 14, 2025
0e5d5c4
Merge pull request #180 from SFDO-Community/feature/fix-build-pipelin…
acrosman Nov 14, 2025
4acc0a3
Merge branch 'main' into feature/fix-batch-email
acrosman Nov 14, 2025
f9c2758
Enable CI workflow on all pull requests (#182)
jstvz Dec 3, 2025
a8836ad
Update CODEOWNERS (#181)
coriobriensfdo Dec 4, 2025
edbbed1
chore: enable manual workflow dispatch for security testing (#183)
jstvz Dec 5, 2025
3462f02
Merge branch 'main' into feature/fix-batch-email
DKeatonDC Jan 9, 2026
4f04fbd
Merge pull request #179 from SFDO-Community/feature/fix-batch-email
DKeatonDC Jan 18, 2026
d2115c5
fix: correct YAML indentation in feature workflow (#191)
jstvz Feb 3, 2026
75d776c
Restore sample email templates to public folder.
acrosman Jan 8, 2026
225e7d8
Merge pull request #197 from SFDO-Community/bug/restore-templates-redux
DKeatonDC Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
uses: "SFDO-Community/standard-workflows/.github/workflows/beta-2gp.yml@main"
secrets:
dev-hub-auth-url: "${{ secrets.DEV_HUB_AUTH_URL }}"
with:
cumulusci-version: '3.93.0'
sfdx-version: '7.209.6'
# with:
# cumulusci-version: '3.93.0'
# sfdx-version: '7.209.6'
19 changes: 7 additions & 12 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: "Feature Test"
on:
push:
branches:
- feature/**

pull_request:
workflow_dispatch:

jobs:
feature-test:
name: "Feature Test"
uses: "SFDO-Community/standard-workflows/.github/workflows/feature.yml@main"
secrets:
dev-hub-auth-url: "${{ secrets.DEV_HUB_AUTH_URL }}"
with:
cumulusci-version: '3.93.0'
sfdx-version: '7.209.6'
feature-test:
name: "Feature Test"
uses: "SFDO-Community/standard-workflows/.github/workflows/feature.yml@main"
secrets:
dev-hub-auth-url: "${{ secrets.DEV_HUB_AUTH_URL }}"
8 changes: 4 additions & 4 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
on:
workflow_dispatch:
workflow_dispatch:
jobs:
upload-production-release-2gp:
name: "Upload Production Release (2GP)"
uses: SFDO-Community/standard-workflows/.github/workflows/production-2gp.yml@main
with:
cumulusci-version: '3.93.0'
sfdx-version: '7.209.6'
# with:
# cumulusci-version: '3.93.0'
# sfdx-version: '7.209.6'
secrets:
dev-hub-auth-url: '${{ secrets.PACKAGING_ORG_AUTH_URL }}'
14 changes: 13 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# Comment line immediately above ownership line is reserved for related other information. Please be careful while editing.
# Python
*.py @SFDO-Community/sfdo-release-engineers

# CumulusCI
/cumulusci.yml @SFDO-Community/sfdo-release-engineers
/tasks/ @SFDO-Community/sfdo-release-engineers

# Actions
/.github @SFDO-Community/sfdo-release-engineers
/scripts @SFDO-Community/sfdo-release-engineers


#ECCN:Open Source
#GUSINFO:Open Source,Open Source Workflow
10 changes: 5 additions & 5 deletions force-app/main/default/classes/UUIDBatchJob.cls
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ public with sharing class UUIDBatchJob implements Database.Batchable<SObject> {
}
);

Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
mail.setToAddresses(new List<String>{ job.CreatedBy.Email });
mail.setSubject('UUID Batch Job Complete');
mail.setPlainTextBody(emailBody);

try {
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
mail.setToAddresses(new List<String>{ job.CreatedBy.Email });
mail.setSubject('UUID Batch Job Complete');
mail.setPlainTextBody(emailBody);

Messaging.sendEmail(new List<Messaging.SingleEmailMessage>{ mail });
} catch (Exception e) {
System.debug(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<EmailFolder xmlns="http://soap.sforce.com/2006/04/metadata">
<accessType>Public</accessType>
<name>UnsubscribeLink</name>
<publicFolderAccess>ReadOnly</publicFolderAccess>
</EmailFolder>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<messaging:emailTemplate subject="Edit this subject" recipientType="Contact" >
<messaging:htmlEmailBody > <!-- When creating a new visualforce template, the default option is plainTextEmailBody.
the unsubscribe link will note appear in that case. Convert any visualforce templates to htmlEmailBody before
adding the visualforce component -->
<P>Dear Friend,</P>

<P>It's Thursday! You love to order a pizza on Thursdays! If you order before 5, I'll also throw in some free drinks!</P>

<P>Your friend,</P>

<P>Bob</P>


<c:UnsubscribeLink recipientId="{!recipient.Id}"></c:UnsubscribeLink> <!-- This is the custom component
which can be added to any visualforce email template. It is compatible with both leads and contacts. -->
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<EmailTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>64.0</apiVersion>
<available>true</available>
<description>Sample template for contact that demonstrates how to use the unsubscribe link visualforce object. </description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Contact Template</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
<uiType>Aloha</uiType>
</EmailTemplate>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<messaging:emailTemplate subject="Edit this subject" recipientType="Lead" >
<messaging:htmlEmailBody > <!-- When creating a new visualforce template, the default option is plainTextEmailBody.
the unsubscribe link will note appear in that case. Convert any visualforce templates to htmlEmailBody before
adding the visualforce component -->
<P>Dear Friend,</P>

<P>It's Thursday! You love to order a pizza on Thursdays! If you order before 5, I'll also throw in some free drinks!</P>

<P>Your friend,</P>

<P>Bob</P>


<c:UnsubscribeLink recipientId="{!recipient.Id}"></c:UnsubscribeLink> <!-- This is the custom component
which can be added to any visualforce email template. It is compatible with both leads and contacts. -->
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<EmailTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>64.0</apiVersion>
<available>true</available>
<description>Sample template for lead that demonstrates how to use the unsubscribe link visualforce object. </description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Lead Template</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
<uiType>Aloha</uiType>
</EmailTemplate>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<messaging:emailTemplate subject="Edit this subject" recipientType="Lead" >
<messaging:plainTextEmailBody > <!-- When creating a new visualforce template, the default option is plainTextEmailBody.
the unsubscribe link will note appear in that case. Convert any visualforce templates to htmlEmailBody before
adding the visualforce component -->
Dear Friend,

It's Thursday! You love to order a pizza on Thursdays! If you order before 5, I'll also throw in some free drinks!

Your friend,

Bob

Copy and paste this in your browser to unsubscribe:
{!Recipient.Unsubscribe_Url_Plain_Text__c} <!-- This field can be
added to any plain text contact or lead email to display the url-->
</messaging:plainTextEmailBody>
</messaging:emailTemplate>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<EmailTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>64.0</apiVersion>
<available>true</available>
<description>Sample template for lead that demonstrates how to use the unsubscribe link field in a plain text Visualforce email </description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Lead Template-Plain Text</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
<uiType>Aloha</uiType>
</EmailTemplate>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<available>true</available>
<description>Sample template for contact that demonstrates how to use the unsubscribe link visualforce object.</description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Contact Template </name>
<name>Sample Contact Template</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<available>true</available>
<description>Sample template for lead that demonstrates how to use the unsubscribe link visualforce object.</description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Lead Template</name>
<name>Sample Lead Template</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<available>true</available>
<description>Sample template for lead that demonstrates how to use the unsubscribe link field in a plain text Visualforce email.</description>
<encodingKey>UTF-8</encodingKey>
<name>Unsubscribe Sample Lead Template-Plain Text</name>
<name>Sample Lead Template-Plain Text</name>
<style>none</style>
<subject>Edit this subject</subject>
<type>visualforce</type>
Expand Down
Loading