Commit Graph

238 Commits

Author SHA1 Message Date
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
025d588591 Fix tests
[MAILPOET-3525]
2021-04-26 13:46:23 +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
Rostislav Wolny
605005dc08 Use doctrine for cleanup in SendingQueueWorker test
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00
Rostislav Wolny
de210991a4 Refactor creation of sending queue worker in test
[MAILPOET-3418]
2021-04-07 09:48:31 +02:00
Pavel Dohnal
98ee40a203 Use doctrine entity in newsletter task test
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
Pavel Dohnal
82bf183a6c Use doctrine entity in posts test
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
Pavel Dohnal
caad80a09c Use doctrine entity to truncate table in tests
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
Jan Lysý
cd776fe0cf Add tries when CronHelpes ping ends with timeout
[MAILPOET-3413]
2021-02-15 09:34:38 +01:00
Jan Lysý
c9004553c3 Remove phpstan errors from integration Cron tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Jan Lysý
84f2d5de0b Add test on nextRunDate in KeyCheckWorker
[MAILPOET-3271]
2021-01-18 10:26:59 +01:00
Jan Lysý
e66ad88146 Set newsletter Entity when stdClass instance given
[MAILPOET-3356]
2021-01-11 11:15:33 +01:00
Pavel Dohnal
fcbfd6fb68 Refactor shortcode categories to doctrine
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Rostislav Wolny
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
0bbe65fab7 Remove default form
[MAILPOET-3238]
2020-10-27 17:34:43 +01:00
Rostislav Wolny
8d6855a0f0 Update integration tests verification method call
[MAILPOET-3203]
2020-10-21 16:16:42 +02:00
Rostislav Wolny
2352b08a3b Update Carbon usage in tests
[MAILPOET-3232]
2020-10-21 12:33:50 +02:00
Rostislav Wolny
54727ad9a2 Fix integration tests to work with updated codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Rostislav Wolny
ab9130f845 Fix newsletter::body type errors
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Rostislav Wolny
694d1fae10 Refactor SubscribersFinder to be always injected by container
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
wxa
b0e7a486ff Remove new-default-list-name feature flag [MAILPOET-3004] 2020-09-08 14:44:45 +02:00
Pavel Dohnal
e591ab1040 Remove uneeded dependency
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
b1e9c1a4a9 Add placement enabled settings
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
33e06858b1 Pass invalid url as a string not an array
[MAILPOET-3097]
2020-08-12 11:37:28 +02:00
Pavel Dohnal
c1c5885398 Refactor Statistics Entities to use association
[MAILPOET-3069]
2020-08-11 12:54:24 +02:00
Rostislav Wolny
b8a288db72 Optimize query for fetching top link
[MAILPOET-3067]
2020-07-27 17:25:24 +02:00
Rostislav Wolny
14aa0b1393 Refactor creating of default form to use templates
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
Jan Jakeš
9d12e12d79 Add test for sending resume on key check
[MAILPOET-3006]
2020-07-02 13:12:00 +02:00
Rostislav Wolny
a8d11bf045 Replace Newsletter delete,trash,replace by new bulkMethods
[MAILPOET-2898][MAILPOET-2758]
2020-06-17 14:37:06 +02:00
Pavel Dohnal
b1cd785dfe Fix flakey scheduler test
[MAILPOET-2896]
2020-06-11 13:24:42 +02:00
Pavel Dohnal
13b5a4b6a5 Fix flakey test
[MAILPOET-2890]
2020-06-08 14:45:27 +02:00
Rostislav Wolny
accf804cea Add queue id into unsubscribe URLs data
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Rostislav Wolny
d19e7714c3 Use instant unsubscribe URL for List-Unsubscribe header
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Jan Jakeš
abc812aa93 Fix test flakiness
[MAILPOET-2831]
2020-04-22 17:03:45 +02:00
Jan Jakeš
03e2ef5a83 When pending approval check MSS key state every hour
[MAILPOET-2806]
2020-04-13 12:27:57 +02:00
Jan Jakeš
ecc1d68b5b Check if bounce sync is scheduled within 42 hours for all emails when sending
[MAILPOET-2705]
2020-02-20 17:34:07 +00:00
Jan Jakeš
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
wxa
3584b717dc Fix array offset access on null/boolean and with curly braces [MAILPOET-2577] 2020-01-23 12:46:52 +00:00
Jan Jakeš
2ef41b56e0 Fix various regressions introduced by camel case conversion
[MAILPOET-2635]
2020-01-20 10:27:36 +00:00
Pavel Dohnal
3b9ba5cac2 Fix stats redirect
When an unauthenticated user comes to any page they are redirected
to login screen. After they authenticate they are redirected
to the original page. But the # part of the url is ignored.
So we have to use regular query params from the email and
redirect user to the canonical URL later.

[MAILPOET-2554]
2020-01-15 16:50:24 +00:00
Jan Jakeš
2ec85eee7b Fix mock naming and strings in integration tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00