Commit Graph

3851 Commits

Author SHA1 Message Date
Jan Lysý
1701229a10 Add a full stop to messages where was missing
[MAILPOET-3846]
2021-10-18 11:03:50 +02:00
wxa
8b0a5bb8db Fix tests
[MAILPOET-3830]
2021-10-18 09:37:52 +02:00
wxa
68690ee1fa Remove Clearout.io offer from the plugin
[MAILPOET-3811]
2021-10-05 16:31:04 +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
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
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
518c33187f Move custom fields methods to a separate file
[MAILPOET-3628]
2021-10-04 12:37:46 +02:00
Jan Lysý
76ff8bba1a Add test for 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
Brezo Cordero
7f7903e55c Allow reply-to with only address
[MAILPOET-3812]
2021-10-04 09:36:29 +02:00
Jan Lysý
8aad2a8126 Refactor InactiveSubscribersControllerTest to Doctrine
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
93e038371d Delete redundant test
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
2175a096e4 Add setting last_engagement_at
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
0c0349c5aa Fix returned data from stubs
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Rodrigo Primo
e804a0fe7d Fix method used for a integration test
The test ScheduledTaskTest::testItCanGetFutureScheduledTasks() was
created to test ScheduledTask::findFutureScheduledByType() but due to a
mistake it was testing ScheduledTask::findDueByType().

[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Rodrigo Primo
65eef3dfbe Migrate methods findDueByType() and findRunningByType() to Doctrine
[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Brezo Cordero
df5cab2060 Fix flaky schedule welcome email test
[MAILPOET-3793]
2021-09-29 09:59:25 +02:00
Brezo Cordero
d37f0642d5 Fix flaky schedule automatic email test
[MAILPOET-3793]
2021-09-29 09:59:25 +02:00
Jan Lysý
2af076ab83 Delete FormFactory
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
cb48009d87 Add acceptance test for new form cancel
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
1a3f16a3c0 Remove action create from endpoint
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Pavel Dohnal
9977ed75fb Deprecate the form model
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
b94b8f119a Remove old form model from MP2 migrator
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
05d69913a6 Remove old Form model from the widget test
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
0f618cdc64 Remove old Form model from the subscribers test
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
ca88c96470 Refactor Widget to use Doctrine
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
aced9ce0b7 Refactor form renderer to accept Form Entity
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Brezo Cordero
3e306974ed Fix SMTPMapper test
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Brezo Cordero
51a0899698 Mark most SMTP transport errors as soft
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Rostislav Wolny
b7334544d8 Fix coding style in StatisticsBounces data factory
[PREMIUM-154]
2021-09-20 15:24:27 +02:00
Jan Lysý
cfe08692c7 Create data factory for StatisticsBouncesFactory
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Rodrigo Primo
ffa91da869 Create a proxy method to get the processed date from within NewsletterEntity
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
97d177013f Refactor \MailPoet\Models\Newsletter::getArchives() to Doctrine
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
a25a6db1f5 Display the updated_at field using the site timezone
This commit changes the logic to display the updated_at field for tasks
in the system status page to use the site timezone.

[MAILPOET-3692]
2021-09-20 10:33:33 +02:00
Brezo Cordero
9acfe4fbee Fix subscribers clicks stats test
[MAILPOET-3796]
2021-09-20 09:18:45 +02:00
Jan Lysý
ef182b50ad Add acceptance test for error messages in form
[MAILPOET-3786]
2021-09-20 09:17:43 +02:00
Jan Lysý
ac18572b68 Update integration test for rendering form
[MAILPOET-3786]
2021-09-20 09:17:43 +02:00
Pavel Dohnal
ec86e742c2 Fix coding standards
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00