Commit Graph

80 Commits

Author SHA1 Message Date
wxa
2980bbf00b Remove the feature flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
0a1b475ffd Log and output all error occured during last cron run
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
0fa5146146 Inject SettingsController instead of creating new instance
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
b47b5de958 Execute each cron worker in independent try/catch block
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
daca92097c Add feature switch for woo commerce list sync
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
f39853846b Enable WooCommerceSync worker
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
5d70af106b Add execution of inactive subscribers worker
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
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
ef5eba31d1 Add test
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
96f2f79d48 Refactor Stats notifications to spearate classes
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
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
b2e2087cfc Split cron daemon into 2 classes
[MAILPOET-1538]
2018-10-04 08:27:31 +02:00
f81323ad52 Rename Daemon to DaemonHttpRunner
[MAILPOET-1538]
2018-10-03 10:28:26 +02:00
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
659f748dc9 Add cache headers to cron endpoints
[MAILPOET-1464]
2018-08-09 14:08:04 +02:00
a3b79a6907 Fix overriding cron token 2018-07-31 17:48:26 +02:00
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
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
27b9857e6a Improve error reporting for MSS sending
[MAILPOET-1445]
2018-07-19 16:21:23 +01:00
083372a391 Store timestamps and last error during cron process [MAILPOET-801] 2018-07-11 09:27:14 +02:00
51d97ddda8 Fix sending on slow hosts
[MAILPOET-1322]
2018-04-06 22:09:07 -04:00
c0c57f6b67 Sending queue refactoring WIP [MAILPOET-903] 2018-02-13 11:39:50 +03:00
0e2a67c203 Validates ping response when displaying cron URL status 2017-12-18 20:28:09 -05:00
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
3f151fd235 Extract simple workers common code into a base class [PREMIUM-4] 2017-05-08 07:38:56 +03:00
0fbc7fb7eb Add Premium key validation [PREMIUM-4] 2017-05-03 12:20:13 +03:00
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
1f91d40def Add sending service key validation [MAILPOET-743] 2017-01-27 16:20:26 +03:00
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
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
baf0d374ae Add bounce synchronization with MailPoet Sending Service [MAILPOET-696] 2016-12-06 22:48:36 +03:00
2955b6d5a0 - Clarifies const values 2016-11-28 09:50:32 -05:00
4402f826c3 fixed issue with namespace AND fixed issue #649 2016-10-06 12:54:04 +02:00
b9745b555a make sure ABSPATH is defined before using it - fixes issue #648 2016-10-06 12:52:53 +02:00
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
c5b8b2aef0 - Fixes "class not found" error in Daemon
- Moves ignore_user_abort() to the run() method
- Updates unit tests
2016-09-10 18:06:48 -04:00
3508ac36b4 - Removes daemon status logic and updates tests
- Refactors daemon
- Adds daemon unit tests
2016-09-08 19:22:42 -04:00
1be7fda1cf - Updates daemon request timeouts 2016-08-05 13:03:31 -04:00
3f5c36d2d4 - Fixes blocking HTTP request issue
- Simplifies cron supervisor
2016-08-05 13:03:31 -04:00
150364de3a - Fixes API endpoint naming convention
- Generates/saves cron daemon token as soon as its executed
2016-07-07 14:00:07 -04:00
1cd9f3eb67 - Removes counter from cron daemon
- Invokes token regeneration/comparion at a later stage
2016-07-07 10:24:24 -04:00
ab33a9c352 - Updates cron API URL
- Removes cron daemon counter
- Generates/saves cron daemon token as soon as its executed
2016-07-06 19:48:16 -04:00
cb2faec8b2 - Refactors API
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00