Rodrigo Primo
2c78db9e04
Refactor ScheduledTasks::rescheduleProgressively() to use Doctrine
...
[MAILPOET-3844]
2021-10-25 14:17:21 +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
e69a3f9a53
Migrate method findCompletedByType() to Doctrine
...
[MAILPOET-2996]
2021-10-04 13:25:44 +02:00
Rodrigo Primo
65eef3dfbe
Migrate methods findDueByType() and findRunningByType() to Doctrine
...
[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
wxa
67824f9eb1
Set task status to invalid instead of deleting
...
[MAILPOET-3359]
2021-03-10 18:24:21 +01:00
Jan Lysý
7950804216
Remove phpstan error from Models
...
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Pavel Dohnal
b1cd785dfe
Fix flakey scheduler test
...
[MAILPOET-2896]
2020-06-11 13:24:42 +02:00
Pavel Dohnal
59c5f2a321
Make sure types are correct in models
...
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
Rostislav Wolny
dc55fb64cd
Set even 30 days old newsletters as scheduled when reactivating an email
...
[MAILPOET-2709]
2020-04-01 16:49:27 +02:00
Jan Jakeš
e185121f43
Fix properties with trailing underscore
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
153c72cd77
Autofix long scalar typehints to short ones
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
d0292f8624
Convert variable names to camel case in PHPDoc
...
[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
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
25fe3aba54
Fix easy errors found by PHPStan
...
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
Jan Jakeš
07fc94f046
Fix Carbon-related problems reported by PHPStan
...
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Jan Jakeš
0e964de6d4
Move nesbot/carbon to vendor-prefixed
...
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Jan Jakeš
60889c53f4
Add Idiorm to MailPoetVendor namespace
...
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
ba41f4901e
Move SQL queries from SimpleWorker to model, improve naming
...
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Pavel Dohnal
4c960a1a44
Remove unneeded relation
...
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
wxa
f98ed72d83
Store the 'in_progress' flag for workers in a separate column [MAILPOET-2443]
2019-10-08 15:03:48 +01:00
wxa
f598137f3b
Ensure that getMeta() returns an array in the scheduled task model [MAILPOET-2385]
2019-09-30 14:18:08 +01:00
Jan Jakeš
01a0fe96c4
Remove no longer necessary checks
...
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Jan Jakeš
91dd0aa910
Add Doctrine entities for sending queues and scheduled tasks
...
[MAILPOET-2216]
2019-08-23 15:31:11 -04:00
wxa
8b867a7b4f
Reschedule failing cron tasks progressively [MAILPOET-2181]
2019-08-01 13:09:18 -04:00
Jan Jakeš
dc5fa12b8e
Add per-subscriber rescheduling functionality for automatic emails
...
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
Pavel Dohnal
5d64ec168d
Add rule for concatenation operator spacing
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
b99096d2df
Don't serialize meta fields if they're null [MAILPOET-2073]
2019-05-14 10:06:47 -04:00
wxa
6c13bc3104
Use a meta field to store the in-progress flag [MAILPOET-1983]
2019-05-13 10:47:09 -04:00
Pavel Dohnal
7d6f69ec1d
Upgrade PHPStan level to 3
...
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
Amine Ben hammou
0a436087e1
Replace all WP function calls
2019-03-07 08:30:14 -05:00
Pavel Dohnal
bed80e67f1
Use phpstan level 2
...
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576
Add space between catch and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
M. Shull
0e3f27add3
Merge pull request #1728 from mailpoet/stats-notifications
...
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
Pavel Dohnal
ef5eba31d1
Add test
...
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Tautvidas Sipavičius
1af4666744
Declare missing properties and methods for PHPStan
2019-01-23 21:30:24 +02:00
Amine Ben hammou
a46d98ec44
Refactor WPFunctions to be injectable with DI
2018-12-12 16:43:52 +01:00
Amine Ben hammou
8c44ef561c
adding transaction
2018-10-04 14:52:49 +02:00
Amine Ben hammou
c51a3f208c
delete related scheduled_task_subscribers records
2018-10-04 14:52:49 +02:00
Rostislav Wolny
1252f35a23
Add sending queue status to help page
...
[MAILPOET-1459]
2018-07-26 13:08:15 +02:00
Pavel Dohnal
b8ce6ff88c
Rotate scheduled tasks
...
Scheduled tasks should rotate so that they don't block
sending when they cannot be send.
[MAILPOET-1391]
2018-06-04 16:00:32 +01:00
Pavel Dohnal
941b88495a
Pause sending tasks for inactive notifications
...
[MAILPOET-1376]
2018-05-15 16:40:31 +01:00
Vlad
467cf350e9
Abstract WP's current_time() function in the code base
2018-03-20 16:34:50 -04:00
stoletniy
c0c57f6b67
Sending queue refactoring WIP [MAILPOET-903]
2018-02-13 11:39:50 +03:00
stoletniy
b42d8e68d9
Rename removeSubscribers() method and encapsulate task completion logic [MAILPOET-987]
2017-07-20 11:22:47 +03:00
stoletniy
55d3b67a2a
Extract common and task-specific methods for subscribers [MAILPOET-940]
2017-07-13 13:27:28 +03:00
stoletniy
6a9b8d88c2
Extract subscribers to a separate table in the Bounce worker [MAILPOET-940]
2017-07-13 13:27:27 +03:00
stoletniy
0b9ea23f0b
Temporarily remove pause/resume methods from scheduled tasks [MAILPOET-940]
2017-07-05 17:12:35 +03:00
stoletniy
6e929dcf79
Refactor simple workers to use a ScheduledTask model [MAILPOET-940]
2017-07-05 17:00:23 +03:00