Commit Graph

1072 Commits

Author SHA1 Message Date
Pavel Dohnal
ce6348cb71 Add filter for text custom fields
[MAILPOET-3220]
2021-05-19 10:07:25 +02:00
Jan Lysý
1202036ec8 Add notification and welcome email to the user manage subscriptions
[MAILPOET-2496]
2021-05-17 12:38:26 +02:00
Jan Lysý
5789dd4455 Update integration test for email opens filter
[MAILPOET-3612]
2021-05-17 10:22:41 +02:00
Jan Lysý
28060c8e12 Reschedule existing subscriber score task on reset
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
20ac95a016 Update integration tests for StatisticsOpensRepository
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Rostislav Wolny
5f5e5d0860 Fix backend error messages
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Pavel Dohnal
759fc85123 Fix subscribers score for auto emails
[MAILPOET-3600]
2021-05-05 11:53:37 +02:00
Jan Lysý
2e6e042914 Add test cases for SendingThrottlingHandler
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Jan Lysý
aba99b84f2 Remove reading batch size from constructor
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Jan Lysý
3126998212 Add integration test for SendingThrottlingHandler
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Jan Lysý
9cba4efcee Fix dependecies in tests
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Jan Lysý
6a9e692f64 Add service for automatic decrease sending batch size
[MAILPOET-3588]
2021-05-03 18:39:33 +02:00
Pavel Dohnal
fb4f851cd4 Add filter for segment
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Rostislav Wolny
39f8dfae5b Sanitize only specific block types in newsletter API data
[MAILPOET-3538]
2021-05-03 14:20:07 +02:00
Jan Lysý
0e5b51daa2 Update tests for StatisticsOpensRepositoryTest
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
Jan Lysý
f2e39083a5 Update tests for the new default WP subscriber status
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Rostislav Wolny
a6dcd7a22c Exclude non-content related clicks from segment clicked any
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
4bfbfada6e Add support for clicked any to email type segment filter
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Pavel Dohnal
025d588591 Fix tests
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
06d2cc8cb7 Recalculate engagement score after open
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
36c88c40c9 Add integration test on the total spent filter
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Rodrigo Primo
a983679566 Replace generic assertions with more specific ones in WooCommerceNumberOfOrdersTest
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
637a32ef77 Add integration tests for the WooCommerce number of orders segment
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
8903b04203 Improve test checks
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4 Add filter class
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Rostislav Wolny
53cb51b5dd Update customer names on checkout using order/user data
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Jan Lysý
fc455d7cfa Add saving custom fields on subscribe
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
3d5905c288 Remove usage old model from FormsResponseBuilderTest
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
31bff0efb4 Remove rest of usage old model SubscriberIP
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
5ce4eeed10 Fix flaky test in SubscriberActionsTest
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
5ef040bb93 Add integration test for SubscriberSubscribeController
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52f988d91e Add integration test for StatisticsFormsRepository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4d56020071 Remove usage old model from Throttling
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
a715aa9b76 Replace usages of StatisticsForms with Doctrine
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
66a0834a37 Use CustomFieldRepository in integration APITest
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52b3e34839 Create controller for subscribe Subscribers
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
d5de54b1d5 Refactor Throttling to service
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
13b4c74c00 Use Doctrine in SubscriberActions integration tests
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
69d5eb42f7 Use Doctrine in RequiredCustomFieldValidator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Rodrigo Primo
5ceb084c64 Refactor Forms::delete() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
49f0c054fd Refactor Forms::restore() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Rodrigo Primo
e054f05222 Refactor Forms::trash() to use Doctrine
[MAILPOET-3039]
2021-04-12 13:35:14 +02:00
Jan Lysý
966d6f36ff Add integration test for SegmentDependencyValidator
[MAILPOET-3477]
2021-04-12 11:11:25 +02:00
Rodrigo Primo
a7fe876180 Fix PHPStan undefined property error introduced after update to version 0.12.83
This commit fixes the following PHPStan error what started happening
after the update to version 0.12.83. It seems that our model classes
work with properties using both snake_case and camelCase names, so that
is why the change made here doesn't affect the modified unit test.

```
 ------ ---------------------------------------------
  Line   tests/integration/Models/SubscriberTest.php
 ------ ---------------------------------------------
  740    Access to an undefined property
         MailPoet\Models\Subscriber::$deleted_at.
 ------ ---------------------------------------------
```

[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
Rodrigo Primo
b3f82cccc5 Refactor Forms::duplicate() to use Doctrine instead of Paris
[MAILPOET-3038]
2021-04-07 09:48:53 +02:00
Rostislav Wolny
3d2c62fc16 Unify list vs segment naming with a rest of codebase
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00
Rostislav Wolny
bbd4cb98f8 Skip empty subscribers batches during sending
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00
Rostislav Wolny
5331d76c79 Add error notice for sending newsletter with deleted list
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00
Rostislav Wolny
b3da3ec1bc Pause running tasks that have deleted or trashed segments
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00