Rostislav Wolny
8c0af16cf5
Add support for heading font color to Woo transaction email renderer
...
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
560b5f37e6
Improve test coverage for Woo emails renderer
...
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Brezo Cordero
e185df3765
Add capability check on logo display
...
Moves existing check to the capability manager and implements backward compatibility for products without capabilities.
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Rodrigo Primo
eba025a345
Replace expect()->stringNotContainsString() with verify()->stringNotContainsString()
...
codeception/verify 2.1 removed support for expect()->stringNotContainsString() so we need
to replace it with verify()->stringNotContainsString().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
0d2f6e0776
Replace expect()->stringContainsString() with verify()->stringContainsString()
...
codeception/verify 2.1 removed support for expect()->stringContainsString() so we need
to replace it with verify()->stringContainsString().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rostislav Wolny
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
Rostislav Wolny
68e833f80c
Refactor email editor PHP and JS code to follow automations namespacing
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
fc2bbda9a2
Add dummy email body renderer for new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ba23b5f224
Refactor email body rendering into a separate class
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rodrigo Primo
87ed5d3b02
Remove remaining use of Newsletter model from RendererTest class
...
[MAILPOET-5361]
2023-05-30 11:16:46 -05:00
Oluwaseun Olorunsola
feba707c76
Use dependency injection (DI) for process shortcodes
...
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Oluwaseun Olorunsola
c75dc63cc5
Process Shortcodes in WooCommerce custom template
...
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Sam Najian
b91f2cde2b
Fix another merge conflict issue preventing correct resuming
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
9b87698819
Immediately pause sendingQueue when a newsletter is corrupted
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
c84a6894ba
Throw and log the issue if coupon was not found when rendering
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
93110826e7
Log when processing the queue for corrupt newsletter
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
976c374cb7
Catch exception when processing coupon block throws
...
When processing coupon block throws, the exception is
caught, custom exception is thrown and the newsletter status
is updated
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Oluwaseun Olorunsola
3b9cbbfc61
Remove Coupon block feature flag
...
MAILPOET-4978
2023-02-23 16:59:15 +01:00
Sam Najian
41b23b24b9
Add Coupon block feature flag
...
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
f551d4388c
Add CouponPreprocessor to create coupons before rendering
...
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
David Remer
8bb4338627
Inject WPFunctions
...
[MAILPOET-3487]
2022-12-07 11:53:48 +01:00
Jan Jakes
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Rostislav Wolny
ed5bd8de61
Add Woo dependent tests to woo group
...
Mark all integration tests that are related to WooCommerce with group "woo".
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Sam Najian
d4403c6259
Adjust WooCommerce transactionalEmails render test
...
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
Sam Najian
35d0d03069
Make Renderer/Renderer.php method expect NewsletterEntity
...
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00