]> git.ipfire.org Git - ipfire.org.git/commitdiff
donate: Add a Thanksgiving email
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Nov 2025 17:24:07 +0000 (17:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Nov 2025 17:24:21 +0000 (17:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/crontab/ipfire
src/static/img/donate/thanksgiving.jpg [new file with mode: 0644]
src/templates/donate/messages/thanksgiving.html [new file with mode: 0644]
src/templates/donate/messages/thanksgiving.txt [new file with mode: 0644]

index 3e55de33c527b43a2e5cd8b9f49b78a47223da70..7272a6b897b09b410fdb86ed44fae625465a345f 100644 (file)
@@ -198,7 +198,9 @@ templates_donate_messages_DATA = \
        src/templates/donate/messages/christmas-3.html \
        src/templates/donate/messages/christmas-3.txt \
        src/templates/donate/messages/convert-to-monthly.html \
-       src/templates/donate/messages/convert-to-monthly.txt
+       src/templates/donate/messages/convert-to-monthly.txt \
+       src/templates/donate/messages/thanksgiving.html \
+       src/templates/donate/messages/thanksgiving.txt
 
 templates_donate_messagesdir = $(templates_donatedir)/messages
 
@@ -1121,6 +1123,17 @@ CLEANFILES += \
 
 static_img_authdir = $(static_imgdir)/auth
 
+dist_static_img_donate_DATA = \
+       src/static/img/donate/thanksgiving.jpg
+
+CLEANFILES += \
+       src/static/img/donate/thanksgiving@600.jpg
+
+static_img_donate_DATA = \
+       src/static/img/donate/thanksgiving@600.jpg
+
+static_img_donatedir = $(static_imgdir)/donate
+
 static_img_downloadsdir = $(static_imgdir)/downloads
 
 dist_static_img_downloads_cloud_DATA = \
index 5dfc494708ac2904573ac1fc45b0e014aa585973..b3f9b95edae77617262039a12e4dcec664d85403 100644 (file)
@@ -25,6 +25,7 @@ SHELL=/bin/bash
 @hourly        nobody  ipfire.org --logging=error campaigns:donate
 
 # Christmas Campaign
+0 15 27 11 *   nobody  ipfire.org --logging=error campaigns:send donate/messages/thanksgiving
 #0 16 6 12 *   nobody  ipfire.org --logging=error campaigns:send donate/messages/christmas-1
 #0 15 17 12 *  nobody  ipfire.org --logging=error campaigns:send donate/messages/christmas-2
 #0 10 24 12 *  nobody  ipfire.org --logging=error campaigns:send donate/messages/christmas-3
diff --git a/src/static/img/donate/thanksgiving.jpg b/src/static/img/donate/thanksgiving.jpg
new file mode 100644 (file)
index 0000000..6246211
Binary files /dev/null and b/src/static/img/donate/thanksgiving.jpg differ
diff --git a/src/templates/donate/messages/thanksgiving.html b/src/templates/donate/messages/thanksgiving.html
new file mode 100644 (file)
index 0000000..a231d68
--- /dev/null
@@ -0,0 +1,61 @@
+{% extends "../../messages/base-promo.html" %}
+
+{% block hero %}
+       <tr class="hero">
+               <td>
+                       <img class="g-img" src="{{ embed_image("img/donate/thanksgiving@600.jpg") }}" alt="Thanksgiving">
+               </td>
+       </tr>
+{% end block %}
+
+{% block content %}
+       <tr class="section">
+               <td>
+                       <h1>{{ _("Dear %s,") % account.first_name }}</h1>
+
+                       <p>
+                               This Thanksgiving, the entire IPFire team wants to pause
+                               and give Thanks.
+                       </p>
+
+                       <p>
+                               We are grateful for our incredible community - users, contributors, and
+                               supporters - who inspire us every day.
+                       </p>
+
+                       <p>
+                               Together, we have made this a remarkable year:
+                               We added support for WireGuard, Post-Quantum Cryptography for IPsec,
+                               Insightful Intrusion Protection Reports with Suricata 8, OpenVPN 2.6,
+                               improved ARM support, and of course keeping the OS secure and bug-free.
+                       </p>
+
+                       <p>
+                               None of this would be possible without <b>the people behind IPFire</b>.
+                       </p>
+
+                       <p>
+                               Your encouragement, collaboration, and trust make all the difference to us.
+                       </p>
+
+                       <p>
+                               <b>From all of us at IPFire, thank you for being part of our journey.</b>
+                       </p>
+
+                       <p>
+                               If you’d like to join us in giving thanks this season, you can support
+                               the people behind IPFire.
+                       </p>
+
+                       <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0">
+                               <tr class="button">
+                                       <td>
+                                               <a class="primary" href="https://www.ipfire.org/donate?utm_medium=email&amp;utm_campaign=thanksgiving">
+                                                       Give Thanks → Support the Team
+                                               </a>
+                                       </td>
+                               </tr>
+                       </table>
+               </td>
+       </tr>
+{% end block %}
diff --git a/src/templates/donate/messages/thanksgiving.txt b/src/templates/donate/messages/thanksgiving.txt
new file mode 100644 (file)
index 0000000..1877870
--- /dev/null
@@ -0,0 +1,29 @@
+From: IPFire Project <no-reply@ipfire.org>
+To: {{ account.email_to }}
+Subject: Thankful for you this Thanksgiving
+Precedence: bulk
+X-Auto-Response-Suppress: OOF
+
+{{ _("Dear %s,") % account.first_name }}
+
+This Thanksgiving, the entire IPFire team wants to pause and give thanks.
+
+We are grateful for our incredible community - users, contributors, and supporters -
+who inspire us every day.
+
+Together, we’ve made this a remarkable year: We added support for WireGuard, Post-Quantum
+Cryptography for IPsec, Insightful Intrusion Protection Reports with Suricata 8,
+OpenVPN 2.6, improved ARM support, and of course keeping the OS secure and bug-free.
+
+None of this would be possible without the people behind IPFire.
+
+Your encouragement, collaboration, and trust make all the difference to us.
+
+From all of us at IPFire, thank you for being part of our journey.
+
+If you’d like to join us in giving thanks this season, you can support the people behind IPFire.
+
+  Give Thanks → Support the Team at https://www.ipfire.org/donate
+
+--
+{{ _("Don't like these emails?") }} https://www.ipfire.org/unsubscribe