David Remer
6d8095d8b5
Render AbandonedCart in transactional and automation emails
...
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
Rodrigo Primo
5a85390655
Replace remaining calls to utf8_encode() with mb_convert_encoding()
...
In the previous commit, I removed all calls to the deprecated
utf8_encode() that seemed safe to remove. In this commit, I'm replacing
the calls to this function that I'm not sure if are same to remove or
not with mb_convert_encoding().
mb_convert_encoding() requires the extension mbstring to be enabled. It
should be enabled on most PHP install but not all. We are already using
mbstring functions in our code base and we provide a polyfill for PHP
installs where the extension is not enabled
(62bb75ed91/mailpoet/prefixer/composer.json (L25)
).
So it should be safe to use it.
[MAILPOET-4865]
2023-04-28 10:26:03 +02:00
Ján Mikláš
63be8969f3
Improve strings based on translators' feedback
...
[MAILPOET-5201]
2023-04-10 13:03:18 +02:00
Sam Najian
ef3c64b85d
Adjust use Html2Text from MailPoetVendor namespace
...
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
6a1e734633
Fix WooCommerce wording
...
[MAILPOET-5098]
2023-03-02 11:30:38 +01:00
Sam Najian
b91f2cde2b
Fix another merge conflict issue preventing correct resuming
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
f1a2954dca
Remove duplicate line
...
[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
f92f045142
Fix issue caused by rebasing trunk
...
[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
Jan Lysý
83b14013ec
Add coupon block unit test
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
cd9904de7d
Fix using code instead of couponCode read by id
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
1730578a23
Use coupon id instead of text
...
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Sam Najian
41b23b24b9
Add Coupon block feature flag
...
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
e4c9d037b1
Add missing strict_types to Coupon.php
...
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
31201eb3cc
Generate coupon code for each coupon block missing the code
...
[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
Sam Najian
bb7775f87b
Render Coupon block in email body
...
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
David Remer
5e71d94b62
Use website language for newsletters
...
[MAILPOET-3487]
2022-12-07 11:53:48 +01:00
David Remer
8bb4338627
Inject WPFunctions
...
[MAILPOET-3487]
2022-12-07 11:53:48 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Oluwaseun Olorunsola
e3f13dd986
Add tracking for MailPoet logo in free plan emails
...
MAILPOET-4543
2022-08-18 12:29:29 +02:00
Sam Najian
35d0d03069
Make Renderer/Renderer.php method expect NewsletterEntity
...
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
Rodrigo Primo
378156ac69
Fix nofollow tag in the preview newsletter page
...
Commit 1a9b2ed798
added a `follow` tag to
the preview newsletter page by mistake. The intention was to add a
`nofollow` tag. This commit fixes it.
[MAILPOET-4263]
2022-07-11 14:38:41 +02:00
Rodrigo Primo
2721c7919e
Add robots meta tag with noindex/nofollow to preview newsletter page
...
[MAILPOET-4263]
2022-07-11 12:31:54 +02:00
Jan Lysý
8d095886d4
Remove old model constant
...
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
Sam
bcae8ade3f
Revert "Revert "Restrict dynamic blocks to public
post status only""
...
This reverts commit 79991ae462
.
2022-04-18 11:43:47 +02:00
Sam
c32dc0a372
Revert "Revert "Define BlockPostQuery for nicer args processing for quering""
...
This reverts commit 62e393a76d
.
2022-04-18 11:43:47 +02:00
Rodrigo Primo
62e393a76d
Revert "Define BlockPostQuery for nicer args processing for quering"
...
This reverts commit 5b40a585e7
.
2022-04-11 16:30:59 -03:00
Rodrigo Primo
79991ae462
Revert "Restrict dynamic blocks to public
post status only"
...
This reverts commit 72b3172c1a
.
2022-04-11 16:30:59 -03:00
Sam Najian
72b3172c1a
Restrict dynamic blocks to public
post status only
...
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Sam Najian
5b40a585e7
Define BlockPostQuery for nicer args processing for quering
...
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Oluwaseun Olorunsola
8a3493ce4e
Fix Division by zero Error in Newsletter button
...
[MAILPOET-4193]
2022-03-28 08:58:52 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00