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
438b4fb1ec
Add unit tests [MAILPOET-743]
2017-01-27 16:22:09 +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
de9d3655f0
Change bounce API OK response code from 201 to 200 [MAILPOET-747]
2016-12-15 19:49:39 +03: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
49f2b147be
Add fixes for MySQL strict mode
2016-12-07 10:31:38 +03:00
8f3b2e6c0b
Fix code style
2016-12-06 23:06:45 +03:00
baf0d374ae
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-06 22:48:36 +03:00
398109dcf7
- Runs mailer and cron execution limit checks at the same and in 3
...
locations: before processing, after each send operations and after queue
processing
- Fixes an issue with sending continuing when newsletter is trashed
- Updates unit tests
2016-12-05 09:37:18 -05:00
bf36deccb2
- Enables blocking requests for Cron and fixes an issue on hosts that
...
don't support non-blocking requests
2016-11-29 15:03:51 -05:00
f77e24105d
Merge pull request #709 from mailpoet/sending_restart
...
Sending retry/pause/restart [MAILPOET-653]
2016-11-29 13:51:53 +01:00
e72a8efbd4
- Sorts queues to process according to their priority in ascending manner
2016-11-28 12:04:21 -05:00
8c14df6c1f
- Rebases master and updates method names
2016-11-28 09:50:32 -05:00
72f696e834
- Removes unused logic to deal with "failed" subscribers
...
- Updates sending queue worker to handle new mailer response format
2016-11-28 09:50:32 -05:00
2955b6d5a0
- Clarifies const values
2016-11-28 09:50:32 -05:00
8e438e1819
- Enforces worker execution limit between each send operation
2016-11-23 12:02:48 -05:00
e0aeeb29d9
- Deletes post notification history record when no posts are found and
...
when sending queue record is deleted
- Reverts back changes to the model's delete() method
- Updates unit tests
2016-11-21 19:27:08 -05:00
e87ccd6b92
- Corrects/updates code comments
2016-11-03 18:11:00 -04:00
8330bfc884
- Fixes "completed" status update of notification history
...
newsletters
- Fixes detection of post notification newsletters that do not contain any posts (i.e., blank ALC blocks)
- Updates unit test
2016-10-24 08:55:22 -04:00
1ac288d286
- Prevents newsletters from being sent to trashed subscribers
...
- Updates unit tests
- Addresses #629
2016-10-21 14:36:44 -04:00
07bc35d4cd
Merge pull request #625 from mailpoet/unit_tests
...
Adds unit test for newsletter scheduler
2016-10-17 11:37:17 +02:00
90b95a2c25
fixed 'newletter' typo and replaced integer weekdays by their carbon constant equivalent
2016-10-17 11:35:57 +02: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
9087be6ee8
- Fixes condition that checks for existance of rendered newsletter body
2016-09-20 10:33:48 -04:00
2fa5e5ead2
- Moves logic of the Subscribers task to the Sending Queue model
2016-09-19 21:53:13 -04:00
d5107be65e
- Updates Sending Queue Worker and Mailer task to allow dependency
...
injection via constructor
- Updates unit tests to use dependency injection instead of modifying
object's internals
2016-09-19 21:00:47 -04:00
8360377992
- Replaces custom method to get newsletter with ORM's native one-to-one model
...
relationship
2016-09-19 20:47:49 -04:00
1bf0988297
- Updates Sending Queue worker/tasks/unit tests use model's method to get/save rendered newsletter body
2016-09-19 20:11:58 -04:00
b37e85eeb5
- Removes unused method
2016-09-18 23:15:41 -04:00
f88dabffe8
- Updates cron's sending queue worker to use model objects
...
- Adds new method to render newsletter to the newsletter model
- Adds new transient object to newsletter model that will hold temporary
values (i.e., rendered body) when working with the model
2016-09-18 23:14:17 -04:00
b834a6af4d
- Updates cron scheduler worker
...
- Adds unit tests
2016-09-14 19:00:08 -04: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
bcf1b37c6a
- Adds unit tests for Cron Trigger class
2016-09-01 19:19:47 -04:00
2986cdba85
- Removes Cron status from MailPoet's WP admin panel
2016-09-01 19:19:47 -04:00
53a8ae74e2
- Adds unit tests for Supervisor class
...
- Updates execution limit condition check in Supervisor
2016-09-01 19:19:47 -04:00
d9fbbdc02d
- Updates code comments
2016-08-31 09:23:12 -04:00
f2d1787bd5
- Updates site URL detection logic
...
- Adds unit test for Cron Helper class
2016-08-30 12:37:30 -04:00
59d30cc139
- Renames router URL query parameter and router class
...
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
b492bcecc0
- Removes requirement of passing newsletter id when tracking clicks
...
- Extracts common tracking data processing/validation code into the Track
class
- Refactors Clicks, Opens and View in Browser classes to enforce
subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
7ff036b1e9
- Removes depreciated variables
...
- Updates method names
2016-08-08 09:45:16 -04:00
983d56c29b
- Updates default cron trigger method in Populator and Settings
2016-08-08 09:07:01 -04:00
bf00e82596
- Fixes sending limits not being enforced
2016-08-07 11:39:05 -04:00
c056e95249
- Rebases master
...
- Updates sending limit logic
2016-08-05 13:03:31 -04:00
1be7fda1cf
- Updates daemon request timeouts
2016-08-05 13:03:31 -04:00