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
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
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
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
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
59a4428965
- Fixes class naming conflict
2016-08-05 13:03:31 -04:00
3e616201ad
- Encasupsulates trigger methods logic into separate classes
...
- Updates cron router
2016-08-05 13:03:31 -04:00
63bd093f35
- Renames TaskScheduler to CronTrigger and updates relevant code
...
- Standardizes setting value const naming convention
2016-08-05 13:03:31 -04:00
5fa9b5a8dd
- Updates method name that returns mailer configuration
2016-08-05 13:03:31 -04:00
9b9cb1455a
- Updates cron/mailer/scheduler code to work with the new sending queue
...
task scheduler and mailer log
2016-08-05 13:03:31 -04:00
a5569a6a55
- Adds new sendiing queue task responsible for managing task scheduler
2016-08-05 13:03:31 -04:00
a438f13bb0
- Modifies cron router/UI to display proper status message when WP task
...
scheduler is configured and cron is not running
- Updates sending queue worker and related components to stop (delete)
cron when all processing is done
2016-08-05 13:03:31 -04:00
6dd3c6acda
- Adds new task scheduler configuration class
...
- Introduces method to start cron on demand when there are
scheduled newsletters or queues in progress
2016-08-05 13:03:31 -04:00
e83d01ff28
- Avoids sending duplicate posts
2016-07-21 20:54:32 -04:00
b837a153d1
merged post_notification_update
2016-07-18 16:06:04 +02:00
f5552847a3
Added parent_id to Newsletters table
...
- added NOTIFICATION_HISTORY Newsletter's type
- implement basic UI for notification_history
- TODO: implement passing extra parameters in order to handle the :id part
2016-07-18 16:01:47 +02:00
8f1a7ed3de
- Sets notification history status to "sent" upon completion
...
- Implements #548
2016-07-15 13:06:40 -04:00
6aa976ba1f
- Creates a new notification history when processing the queue
2016-07-15 13:06:40 -04:00
2714c7fa9a
Merge pull request #563 from mailpoet/copy-edit
...
Copy edit - July 15 2016
2016-07-15 15:31:50 +03:00
49b65729db
update 14 July 2016
2016-07-14 20:58:12 +02:00
9386fe8328
- Fixes post notifications not being sent
2016-07-11 18:56:01 -04:00
5eef709af5
Uniform date display format for Manage Subscriptions & Subscriber new/edit
...
- use isWPUser instead of wp_user !== null
2016-07-01 14:14:18 +02:00
607395be6f
Fix spacing around commas
2016-06-30 18:52:07 +03:00
9cfc2fd940
Remove an unnecessary return statement
2016-06-30 18:49:50 +03:00
24e108bce7
Remove spaces after type casts
2016-06-30 18:49:50 +03:00
48f0c03425
Fix spacing between control structure and opening parenthesis
2016-06-30 18:46:33 +03:00
46dda84012
- Moves queue subscriber handling logic to the queu model
2016-06-30 10:23:06 -04:00
0fe975f614
- Declares array
2016-06-30 07:52:16 -04:00
b2c3206185
- Fixes error that resulted in additional newsletter to be sent
2016-06-30 06:42:56 -04:00
66d329f630
- Configures mailer inside the mailer task class
2016-06-22 11:21:11 -04:00
f524ffcb28
- Updates mailer task to store mailer instance
2016-06-22 11:15:40 -04:00
e5f3fabcda
- Moves mailer logic into Mailer Task class
2016-06-21 10:14:19 -04:00
f32d6bb331
- Joins bulk and individual processing into one method
...
- Refactors code as per code review comments
2016-06-20 23:12:32 -04:00
c83ab0886f
- Rebases master
2016-06-19 22:10:18 -04:00
999a0b3ede
- Refactors sending queue worker by breaking it into smaller tasks
...
- Adds arrayUnique method to Helpers for multidimensional arrays
2016-06-17 14:52:56 -04:00
90c3f0e4e4
only update status to Sent for Standard newsletters
2016-06-16 20:31:47 +02:00
aa3a46b941
Status update of newsletters completed
...
- duplicate newsletter now includes options as well
- fixed NaN issue in statistics when newsletter is being sent
- use constant for scheduled (and put it as the sendingQueue Model level)
2016-06-16 20:01:53 +02:00
ee6e261c42
Conditional display of statistics column (for standard)
...
- improved duplicate action (for standard)
- moved STATUS_COMPLETED constant from worker to SendingQueue model where it belongs
2016-06-15 16:26:42 +02:00
08e6430c7d
June 8 2016 Copy review
2016-06-08 17:02:50 +02:00
acfcfdd730
- Refactors scheduler worker and updates logic responsible for scheduling
...
a new post notification queue
2016-05-18 15:40:41 -04:00
8f935df12a
Merge branch 'standard_scheduling' of mailpoet:mailpoet/mailpoet into standard_scheduling
2016-05-18 14:37:11 -04:00