Rodrigo Primo
ba15b9b251
Move ScheduledTask::findFutureScheduledByType() to ScheduledTasksRepository
...
Now that all other methods that use ScheduledTask::findByTypeAndStatus()
were moved to ScheduledTasksRepository, we can move
findFutureScheduledByType() as well and delete
ScheduledTask::findByTypeAndStatus().
[MAILPOET-3845]
2021-10-26 16:50:27 +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
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
Rostislav Wolny
65b834a9ff
Update renamed NotCamelCaps rule
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
4c67e97206
Fix parameters in integration tests
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
c9636ebf1b
Use Newsletter\Links as service
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
4449f76901
Remove static calling from Links
...
[MAILPOET-3269]
2021-06-14 10:12:34 +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
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ý
c9004553c3
Remove phpstan errors from integration Cron tests
...
[MAILPOET-3235]
2021-01-18 14:39:42 +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
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
Rostislav Wolny
14aa0b1393
Refactor creating of default form to use templates
...
[MAILPOET-2985]
2020-07-06 15:18:23 +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
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š
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
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
Jan Jakeš
2ec85eee7b
Fix mock naming and strings in integration tests
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
685b4885c0
Exclude WordPress and WooCommerce variables from camel case conversion
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
94afd66325
Convert properties not caught by Code Sniffer to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
d0292f8624
Convert variable names to camel case in PHPDoc
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
wxa
bd1a84c5c3
Fix types by casting [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
wxa
c493a43c35
Fix SendingTask creation from queue [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
wxa
6ed3915b1a
Use a wrapped function for current_time [MAILPOET-2488]
2019-12-30 14:51:22 +01:00