Commit graph

32 commits

Author SHA1 Message Date
b13d4d64b1 Remove duplication of prose classes 2025-07-15 23:09:00 +01:00
2b58a18507 Change background colour 2025-07-15 22:45:45 +01:00
6b15e5c40a Add the subscription form below the body content
Add the subscription form below the body content for daily email nodes.
2025-07-07 22:23:06 +01:00
1e9379ba2d Add TODO 2025-07-04 12:20:31 +01:00
fb3b58cf97 Add initial /daily page content 2025-07-04 08:27:59 +01:00
bde36ee056 Refactor 2025-06-24 00:59:50 +01:00
88d5d4a126 Refactor 2025-06-23 22:49:18 +01:00
6466e6a459 Refactor 2025-06-23 22:25:39 +01:00
addfe15e26 Fix phpstan errors 2025-06-21 00:42:49 +01:00
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
b7f13b4be5 Refactor 2025-06-21 00:25:00 +01:00
9709d4fee0 Add TODO 2025-06-21 00:09:14 +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
8ec5b621c1 Refactor 2025-06-12 02:10:09 +01:00
c84e6ed25c Assert class instances of collection items 2025-06-12 02:10:09 +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
413f5a889d 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
172eae44c4 Remove unused import 2025-05-30 00:43:16 +01:00
3d9ddba9d4 Update docblocks 2025-05-30 00:43:11 +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
58740872fa Use the count method on the Collection 2025-05-12 08:31:19 +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
6ba4b80645 Create a token to count the number of sent daily
...emails
2025-05-12 00:23:28 +01:00