Commit graph

14 commits

Author SHA1 Message Date
9abf64b504 Don't add a CTA if an emails contains a P.S.
Don't automatically add a CTA to a daily email if the email body text
already contains a "P.S.".
2025-06-21 00:34:47 +01:00
229cc62b03 Fix phpstan errors 2025-06-15 17:22:37 +01:00
af83b3c431 Configure phpcs, fix errors 2025-06-15 16:31:51 +01:00
2d55ea78f1 Add CTAs to daily emails
Add a daily email CTA node type and reference field to attach a CTA to a
daily email.

Also update the RSS feed view to include the referenced body field
value.
2025-06-14 00:18:52 +01:00
988cdeb24d Refactor 2025-06-12 02:10:09 +01:00
f1c1f18b93 Refactor 2025-06-12 02:10:09 +01:00
75e7af85b5 Refactor 2025-06-12 02:10:09 +01:00
6b6b362a49 Refactor
Try a different way of naming and grouping classes.
2025-06-12 02:10:08 +01:00
cc557aa0fc Add phpstan 2025-05-29 18:31:49 +01:00
88ec3d9e51 Create and use DailyEmailTestTrait 2025-05-13 23:42:39 +01:00
ceb74f618b Add a test to confirm the token substitutes
...correctly
2025-05-12 15:00:54 +01:00
1013305d38 Return the email nodes, not just the node IDs 2025-05-12 08:19:33 +01:00
b479e15b66 Only count published daily emails 2025-05-12 08:06:22 +01:00
c48f8acd4a Make the email count dynamic based on the number
...of daily email nodes
2025-05-12 01:20:28 +01:00