46a481ec24
Add email renderer and template to the renderer engine
...
In this commit, I copied the code for processing the rendering of emails
from the current renderer.
This will allow us to use different base templates and styles.
Ideally, we should be able to add hooks and reuse the renderer from the engine namespace in
the current renderer.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
68e833f80c
Refactor email editor PHP and JS code to follow automations namespacing
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
fc2bbda9a2
Add dummy email body renderer for new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
ba23b5f224
Refactor email body rendering into a separate class
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
9b87698819
Immediately pause sendingQueue when a newsletter is corrupted
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
c84a6894ba
Throw and log the issue if coupon was not found when rendering
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
678911a8bc
Fix PHPStan baseline errors in a few integration test files
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
0aac9e9d60
Test language switches in newsletters
...
[MAILPOET-3487]
2022-12-07 11:53:48 +01:00
8bb4338627
Inject WPFunctions
...
[MAILPOET-3487]
2022-12-07 11:53:48 +01:00
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
35d0d03069
Make Renderer/Renderer.php method expect NewsletterEntity
...
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
095f85c897
Update PHPStan and fix new issues
...
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
0139c4da3d
Remove unnecessary condition
...
Fixes PHPStan error 'If condition is always true'.
See: https://github.com/WordPress/wordpress-develop/blob/5.9/src/wp-includes/functions.php#L2987-L2991
Verified up to WP5.3
[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00