Commit Graph

43 Commits

Author SHA1 Message Date
Pavel Dohnal
c1f7fb6cd4 Create a worker for initial score calculation
[MAILPOET-3525]
2021-04-26 13:46:23 +02: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
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
c1d5c8068d Use DI for cron triggers
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
7a91641d11 Make cron triggers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
wxa
3436fed6e7 Use CronHelper service in cron core classes [MAILPOET-2459] 2019-11-06 09:58:36 +00:00
Jan Jakeš
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Amine Ben hammou
36322978ae Add Cron task to generate link_tokens for existing subscribers 2019-09-12 17:32:05 +02:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
wxa
2d8484deb9 Make WP cron trigger run without time interval by default [MAILPOET-2251] 2019-08-06 12:13:54 +01:00
wxa
e1b8462254 Execute WordPress cron trigger with a time interval [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
Amine Ben hammou
1600e4c5ee Add unsubscribe token to existing subscribers and newsletters 2019-07-31 16:50:44 -04:00
Pavel Dohnal
7a978a3098 Create a newsletter and send it
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Jan Jakeš
1483d2e3c9 Add missing WooCommerce orders sync to WordPress cron trigger
[MAILPOET-2165]
2019-07-03 09:48:28 -04:00
Amine Ben hammou
d980f9e3f4 Update last announcement date automatically 2019-06-27 08:38:33 -04:00
Rostislav Wolny
8f79d01334 Fix coding style errors
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Rostislav Wolny
7711e7fed1 Enable authorized emails worker
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Rostislav Wolny
c17da567e4 Add respecting wooCommerce sync tasks within WordPress visitor cron runner
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Rostislav Wolny
ade19d561e Add inactive subscribers check to cron trigger
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Pavel Dohnal
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
Amine Ben hammou
4a64fff0ff Optimize queries on WordPress trigger 2019-02-28 15:56:40 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
ff238bf69a Refactor MailPoet\Cron to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Pavel Dohnal
627088e43d Add condition to WordPress trigger method
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Rostislav Wolny
3184b43b3b Add status flag for cron deactivation
Cron daemon, which was triggered by WordPress method, was deactivated
by deletion from DB and it caused the lost of all log data about it.
This commit changes the implementation so that the daemon is deactivated by changing status flag.

[MAILPOET-1457]
2018-07-25 13:23:21 +02:00
Tautvidas Sipavičius
a588e95762 Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366] 2018-05-02 23:27:30 +03:00
Tautvidas Sipavičius
511e07455f Fix migration task to be done only when one hasn't been done
[MAILPOET-1333]
2018-03-21 11:21:23 +02:00
stoletniy
be6647d763 Fix unit tests [MAILPOET-903] 2018-02-13 11:39:50 +03:00
stoletniy
c0c57f6b67 Sending queue refactoring WIP [MAILPOET-903] 2018-02-13 11:39:50 +03:00
stoletniy
6e929dcf79 Refactor simple workers to use a ScheduledTask model [MAILPOET-940] 2017-07-05 17:00:23 +03:00
Alexey Stoletniy
3f151fd235 Extract simple workers common code into a base class [PREMIUM-4] 2017-05-08 07:38:56 +03:00
Alexey Stoletniy
0fbc7fb7eb Add Premium key validation [PREMIUM-4] 2017-05-03 12:20:13 +03:00
Vlad
0e5a26ce1f Stops cron daemon when sending is paused due to an error 2017-02-26 11:26:59 -05:00
Alexey Stoletniy
98d6f55a6e Tweak Sending Service key validation after a code review [MAILPOET-743]
* Abstract key state to unbound it from the API response codes
* Rename SendingServiceKeyCheck task for clarity
* Add a setter for the API key in the Bridge API class
* Make some smaller fixes
2017-01-27 16:22:11 +03:00
Alexey Stoletniy
1f91d40def Add sending service key validation [MAILPOET-743] 2017-01-27 16:20:26 +03:00
Alexey Stoletniy
baf0d374ae Add bounce synchronization with MailPoet Sending Service [MAILPOET-696] 2016-12-06 22:48:36 +03:00
Vlad
3e616201ad - Encasupsulates trigger methods logic into separate classes
- Updates cron router
2016-08-05 13:03:31 -04:00