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
Vlad
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
Vlad
3508ac36b4
- Removes daemon status logic and updates tests
...
- Refactors daemon
- Adds daemon unit tests
2016-09-08 19:22:42 -04:00
Vlad
1be7fda1cf
- Updates daemon request timeouts
2016-08-05 13:03:31 -04:00
Vlad
3f5c36d2d4
- Fixes blocking HTTP request issue
...
- Simplifies cron supervisor
2016-08-05 13:03:31 -04:00
Vlad
150364de3a
- Fixes API endpoint naming convention
...
- Generates/saves cron daemon token as soon as its executed
2016-07-07 14:00:07 -04:00
Vlad
1cd9f3eb67
- Removes counter from cron daemon
...
- Invokes token regeneration/comparion at a later stage
2016-07-07 10:24:24 -04:00
Vlad
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
Vlad
cb2faec8b2
- Refactors API
...
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00
Vlad
f32d6bb331
- Joins bulk and individual processing into one method
...
- Refactors code as per code review comments
2016-06-20 23:12:32 -04:00
Kiefer Covia
08e6430c7d
June 8 2016 Copy review
2016-06-08 17:02:50 +02:00
Vlad
fc597a53bb
- Corrects the daemon stop status
2016-05-09 20:28:02 -04:00
Vlad
422fba2835
- Updates based on code review comments
2016-05-03 18:41:57 -04:00
Vlad
a4477a9bd6
- Updates CONST values
2016-05-02 12:27:00 -04:00
Vlad
0b9812210f
- Updates CONST values
2016-05-02 11:30:37 -04:00
Vlad
756dbb4641
- Updates daemon status to CONSTs
...
- Uncomments temporary commented out code
- Removes unnecessary exception handles in Public API
2016-05-02 10:32:34 -04:00
Vlad
afcb0a0d7f
- Upperases all constants
2016-05-02 09:47:54 -04:00
Jonathan Labreuille
2cbd2d54f3
Subscription pages
2016-04-15 11:56:33 -04:00
Vlad
89f2958d23
- Updates cron to use new public API query parameters
2016-04-08 18:53:57 -04:00
Vlad
947e1150d8
- Removes cron worker hooks as the execution timer can't be persisted
...
between them
2016-03-24 10:00:52 -04:00
Vlad
3f6caf5fa4
- Implements scheduler worker for welcome and post notifications
...
- Updates sending queue worker to save rendered newsletter body
- Updates sending queue router to schedule post notification newsletters
2016-03-20 22:01:01 -04:00
Vlad
c4b728f4e1
- Updates Daemon to execute workers via WP's action hook
...
- Bootstraps Scheduler class
2016-03-03 15:42:10 -05:00
Vlad
0d894a6fef
- Fixes namespace issue when catching exceptions
2016-02-12 11:20:43 -05:00
Vlad
9b584296a5
- Updates queue worker based on code review comments
2016-02-11 10:23:41 -05:00