Commit Graph

88 Commits

Author SHA1 Message Date
Amine Ben hammou
1600e4c5ee Add unsubscribe token to existing subscribers and newsletters 2019-07-31 16:50:44 -04:00
Pavel Dohnal
dd9340c18c Give automated stats lower priority
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
8a86a473df Create worker
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
Amine Ben hammou
2fe193d5d9 Add Beamer Worker 2019-06-27 08:38:33 -04:00
Jan Jakeš
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Rostislav Wolny
7711e7fed1 Enable authorized emails worker
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2980bbf00b Remove the feature flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
Jan Jakeš
0a1b475ffd Log and output all error occured during last cron run
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
0fa5146146 Inject SettingsController instead of creating new instance
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
b47b5de958 Execute each cron worker in independent try/catch block
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Rostislav Wolny
daca92097c Add feature switch for woo commerce list sync
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Rostislav Wolny
f39853846b Enable WooCommerceSync worker
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Rostislav Wolny
5d70af106b Add execution of inactive subscribers worker
[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
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
wxa
9c7af744b3 Fix code style [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
eb860c487b Add a scheduled task for WooCommerce sync [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
Pavel Dohnal
ef5eba31d1 Add test
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
96f2f79d48 Refactor Stats notifications to spearate classes
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
75761d57ed Refactor Daemon to use DI
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
wxa
467bef1d61 Do not require pluggable.php [MAILPOET-1650] 2018-11-22 17:01:33 +03:00
Pavel Dohnal
b2e2087cfc Split cron daemon into 2 classes
[MAILPOET-1538]
2018-10-04 08:27:31 +02:00
Pavel Dohnal
f81323ad52 Rename Daemon to DaemonHttpRunner
[MAILPOET-1538]
2018-10-03 10:28:26 +02:00
Rostislav Wolny
3ae8763837 Refactor sending error handling to extra class
The SendigQueue worker is already a very complex class and handles a lot of things.
Since we want to make error handling more sophisticated it is better to move the error handling responsibility
to a new class.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
659f748dc9 Add cache headers to cron endpoints
[MAILPOET-1464]
2018-08-09 14:08:04 +02:00
Pavel Dohnal
a3b79a6907 Fix overriding cron token 2018-07-31 17:48:26 +02: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
Michelle Shull
65e49808c0 Merge pull request #1430 from mailpoet/improve-errors
Improve error reporting for MSS sending [MAILPOET-1445]
2018-07-23 11:16:53 -04:00
Pavel Dohnal
27b9857e6a Improve error reporting for MSS sending
[MAILPOET-1445]
2018-07-19 16:21:23 +01:00
Rostislav Wolny
083372a391 Store timestamps and last error during cron process [MAILPOET-801] 2018-07-11 09:27:14 +02:00
Pavel Dohnal
51d97ddda8 Fix sending on slow hosts
[MAILPOET-1322]
2018-04-06 22:09:07 -04:00
stoletniy
c0c57f6b67 Sending queue refactoring WIP [MAILPOET-903] 2018-02-13 11:39:50 +03:00
Vlad
0e2a67c203 Validates ping response when displaying cron URL status 2017-12-18 20:28:09 -05:00
Vlad
02966c3b93 Sets cron daemon timeout to 5s across the plugin
Adds hook to override cron request arguments
2017-09-20 14:59:48 +01: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
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
Vlad
a6b00e1ba7 - Adds new "ping" cron daemon router endpoint
- Removes the requirement to have data payload for router requests
2017-01-08 22:25:39 -05:00
mrcasual
0535e1eaeb Merge pull request #737 from mailpoet/sending_service_bounce_sync
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-08 21:47:55 -05:00
Alexey Stoletniy
baf0d374ae Add bounce synchronization with MailPoet Sending Service [MAILPOET-696] 2016-12-06 22:48:36 +03:00
Vlad
2955b6d5a0 - Clarifies const values 2016-11-28 09:50:32 -05:00
Jonathan Labreuille
4402f826c3 fixed issue with namespace AND fixed issue #649 2016-10-06 12:54:04 +02:00
Jonathan Labreuille
b9745b555a make sure ABSPATH is defined before using it - fixes issue #648 2016-10-06 12:52:53 +02:00
Jonathan Labreuille
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
Jonathan Labreuille
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00