Commit Graph

15684 Commits

Author SHA1 Message Date
Rodrigo Primo
2d02cdcca1 Release 3.72.0 2021-10-26 11:08:43 -03:00
Ján Mikláš
970eb69dc1 Revert "Replace wrong placeholders in translatable strings"
This reverts commit cc76882164.
2021-10-25 09:48:04 -03:00
Rodrigo Primo
2a269edb40 Add assertInstanceOf() check to remove @phpstan-ignore-line comments
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Rodrigo Primo
498ceabc8c Refactor CronWorkerRunner to use Doctrine instead of Paris
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Rodrigo Primo
2c78db9e04 Refactor ScheduledTasks::rescheduleProgressively() to use Doctrine
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Rodrigo Primo
82d4b8cb23 Stop using the old ScheduledTask model in CronWorkerSchedulerTest.php
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Rodrigo Primo
c6b008ba66 Refactor CronWorkerScheduler::reschedule() to use Doctrine
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Pavel Dohnal
aec965f4f7 Refactor WooCommercePurchasesTest to Doctrine
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
c93ffb1fc3 Refactor WooCommerceOrdersTest to Doctrine
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
aaa24d086b Use Doctrine in WooCommercePurchases class
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
69ff6072d2 Copy findLatestPerNewsletterBySubscriber to doctrine repository
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
bab51da527 Copy createOrUpdateByClickDataAndOrder to doctrine repository
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
102e333521 Use Doctrine in WooCommercePastOrders cron worker
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Pavel Dohnal
cfa87a165d Remove old outdated code
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
wxa
cc76882164 Replace wrong placeholders in translatable strings
[MAILPOET-3863]
2021-10-25 11:48:24 +02:00
Jan Lysý
ad4e4a469c Add event tracking with user properties
[MAILPOET-3866]
2021-10-25 11:31:32 +02:00
Jan Lysý
eb74c1e391 Fix application of the mailpoet_register_form_extend filter
[MAILPOET-3864]
2021-10-20 15:16:38 +02:00
wxa
43ddb4bdaa Fix 'Create a new form' link in widget
[MAILPOET-3849]
2021-10-20 10:20:01 +02:00
Jan Lysý
483dc3c7d9 Remove usage of WP function get_the_content
[MAILPOET-3861]
2021-10-20 10:09:43 +02:00
Brezo Cordero
3812d6c15e Select first form in list
[MAILPOET-3847]
2021-10-20 09:30:55 +02:00
Brezo Cordero
51e03911b8 Default to first active form if widget form id not present
[MAILPOET-3847]
2021-10-20 09:30:55 +02:00
Rostislav Wolny
98eb024027 Release 3.71.3 2021-10-19 12:10:13 +02:00
Rostislav Wolny
04a1f501e3 Nicer formatting of re-engagement SQL query
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
47840f9dfc Enqueue re-engagement subscribers list by list
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
36dd0c8519 Fix method signature for task scheduling
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
799eb38f4a Unify variable naming for newsletter entity with rest of codebase
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
4b8abf1148 Add support for re-engagement email to scheduler worker
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
550077800e Use newsletter entity constants in scheduler worker
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
59031237fe Remove scheduled count info for re-engagement emails in listing
We schedule re-engagement emails to be send immediately after we detect some recipients so the scheduled count would be always 0.
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
8a06d11eca Fix activation of re-engagement email on the send step
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
af7c9d27ba Add condition for cases when subscribers received only one email
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
9aae441d99 Update queue counts or delete scheduled task
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
bafb41c94e Refactor re-engagement scheduling code to more methods
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
3c5a368c2c Add scheduling of re-engagement emails
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
841ffc1d83 Allow only static segments for re-engagement emails
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rostislav Wolny
23278bd785 Add re-engagement email scheduling cron job and dummy scheduler
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Brezo Cordero
00e901cbea Add back check on tests
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
cea0e98422 Add back check on tests
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
ff372667c2 Do not subscribe on synchronizeGuestCustomer
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
3d96af0326 Trailing comma
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
910e8fb3a7 Add optin option to test synchronize guest
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
683c5fa01f Fix subscribe on Order Pay form
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Rostislav Wolny
70e5f86be3 Fix Truncated incorrect DOUBLE error in SQL for last engagement date
The error was caused by comparing 0 with string dates.
[MAILPOET-3874]
2021-10-18 12:42:45 +02:00
wxa
08364b81e1 Fix collation detection for subscriber engagement calculation
[MAILPOET-3851]
2021-10-18 12:42:18 +02:00
Jan Lysý
4f58fa52d7 Use early return instead of else
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00
Jan Lysý
dccfc98792 Mark the field with product or category as mandatory
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00
Jan Lysý
dfd4fc5551 Add validation for WooCommerce schedule forms
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00
Jan Lysý
315a1856a4 Remove unused function
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00
Jan Lysý
e2f5d18a51 Remove unused function
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00
Jan Lysý
d74d5c7c18 Add validation for the welcome schedule form
[MAILPOET-3848]
2021-10-18 11:32:59 +02:00