Commit Graph

13868 Commits

Author SHA1 Message Date
Rodrigo Primo
58f29a0f42 Refactor SimpleWorker::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
6ae1e0b400 Refactor WooCommercePastOrders::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
77ca869d02 Refactor UnsubscribeTokens::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
9041fdc0f8 Refactor SubscribersLastEngagement::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
857dc95058 Refactor KeyCheckWorker::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
8fcd84e03a Refactor InactiveSubscribers::proccessTaskStrategy() to use Doctrine
Replaces all instances of ScheduledTask with ScheduledTaskEntity

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
963da3bf16 Refactor the method processTaskStrategy() of some SimpleWorker child classes
This commit refactors the method processTaskStrategy() of some
SimpleWorker child classes to use Doctrine instead of Paris. In this
commit are included all the classes that it was only necessary to change
the method signature as they were receiving a ScheduledTask object as
the first parameter but didn't use it. Now they receive a
ScheduledTaskEntity object as the first param.

[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
5803fef8cd Refactor Cron\Workers\Bounce to use ScheduledTaskEntity
[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Rodrigo Primo
a020b6aaaa Add methods getRescheduledCount() and setRescheduledCount() to ScheduledTaskEntity
[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Pavel Dohnal
d44db98f35 Release 3.71.2 2021-10-05 12:25:37 +02:00
Jan Lysý
4a3aecbf5c Use WP functions to get content and excerpt
[MAILPOET-3671]
2021-10-04 14:37:43 +02:00
Jan Lysý
47bba6799f Add new WP functions
[MAILPOET-3671]
2021-10-04 14:37:43 +02:00
Rodrigo Primo
4285b02518 Change diContainer to regular variable and add PHPDoc for entityManager property
[MAILPOET-3842]
2021-10-04 13:25:44 +02:00
Rodrigo Primo
57c80ea763 Change SimpleWorker::prepareTaskStrategy() to use Doctrine
This commit changes the method prepareTaskStrategy() in the class
SimpleWorker and all its child classes to use ScheduledTaskEntity
instead of ScheduledTask.

[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Rodrigo Primo
7d87b042e8 Add factory method to create ScheduledTasks
[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Rodrigo Primo
e69a3f9a53 Migrate method findCompletedByType() to Doctrine
[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Pavel Dohnal
709b4d8fcd Add more checks to the test
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
c7ca1d0101 Remove unnecesary line
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
1aa93d1b3c Add a new test for creating a custom field
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
04c2061c12 Move the tests to a separate file
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
acc7ab043d Refactor addSubscriberField to Doctrine
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
b368a76593 Refactor get custom field method to Doctrine
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
518c33187f Move custom fields methods to a separate file
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Pavel Dohnal
bef34484ae Use the shortcut for translation function
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
wxa
1c738d5c73 Fix "Class 'PHPMailer\PHPMailer\Exception' not found" error
[MAILPOET-3836]
2021-10-04 10:53:02 +02:00
Jan Lysý
76ff8bba1a Add test for replacing paragraph class
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Jan Lysý
05f0a6ad19 Improve replacing paragraph class
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Jan Lysý
1748573a91 Add test on spacing between elements
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Jan Lysý
93674929b0 Add spacing at end of the paragraph when next element is heading
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Jan Lysý
e2c1534ea9 Replace paragraph class when other is defined
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Rostislav Wolny
97e1263451 Switch storybook builds to Webpack 5
[MAILPOET-3826]
2021-10-04 10:10:44 +02:00
wxa
e93bef08f4 Change captcha setting description
[MAILPOET-3838]
2021-10-04 09:38:56 +02:00
Brezo Cordero
7f7903e55c Allow reply-to with only address
[MAILPOET-3812]
2021-10-04 09:36:29 +02:00
Jan Lysý
da5e590428 Forbid non-numeric values for scheduling welcome emails
[MAILPOET-3832]
2021-09-29 17:06:23 +02:00
Pavel Dohnal
76aedb3088 Use a value that is multiplication of 30
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
c4ab3a1425 Display a correct value in the notice
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
14ba0ce8b3 Use native lang features instead isEmpty
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
82a061fac5 Improve the UX
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
202e7dc755 Fix scheduling when inactive feature is off
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
3436d1a1be Round numbers so we always see integers in the inputs
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
116c8ddb0e Use settings on MailPoet object rather than on Window
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
e27ca267ee Use absolute path for common dependencies
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
b7e8557bc6 Display settings in the listings
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
377910a2c2 Hide tab behind the feature flag
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
ac3625e434 Create listings tab for re-engagement emails
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
7749d17fb1 Display the last newsletter step for the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
6ac7015b5c Save the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
05400ec646 Display the note correctly
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
d8b006db1a Allow changing the values in the form
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
d351a38f27 Fix the UI
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00