9308cffd45
Refactor fetching newsletter options to respect its type [MAILPOET-1431]
2018-06-19 17:06:56 +02:00
dde03e0ae6
Adds missing import after merge conflict resolution
2018-06-11 13:48:59 -04:00
6d74ba8bb0
Validates that subscriber exists when processing automatic email
2018-06-11 13:40:05 -04:00
b75d4db412
Adds newsletter/cron scheduler for automatic emails
2018-06-11 13:38:11 -04:00
b8ce6ff88c
Rotate scheduled tasks
...
Scheduled tasks should rotate so that they don't block
sending when they cannot be send.
[MAILPOET-1391]
2018-06-04 16:00:32 +01:00
a588e95762
Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366]
2018-05-02 23:27:30 +03:00
467cf350e9
Abstract WP's current_time() function in the code base
2018-03-20 16:34:50 -04:00
b9546b61a8
Fix acceptance tests, update counters [MAILPOET-903]
2018-02-14 19:57:14 +03:00
84dfa88a1a
Don't load subscriber IDs in memory when preparing tasks from static segments [MAILPOET-903]
2018-02-13 20:36:01 +03:00
c0c57f6b67
Sending queue refactoring WIP [MAILPOET-903]
2018-02-13 11:39:50 +03:00
9526a6b470
Fix sending of scheduled standard email to dynamic segments [MAILPOET-1286]
2018-02-02 19:19:49 +03:00
16beda530a
Fix post notifications to work with dynamic segments
...
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
2d3aae9dd0
Fixes queue not being processed for scheduled newsletters
...
Sets newsletter status to "sending" when queue was processed
Uses defined constants where appropriate
2017-06-15 19:11:35 -04:00
ea831ef160
Prevents processing scheduled sending queues for inactive newsletters
2017-06-01 19:50:25 -04:00
66d039ace3
Catches exception thrown by cron dependency and prevents a fatal error
2017-02-27 19:21:32 -05:00
e7698b0131
Optimizes DB query and result processing code
2017-02-15 10:02:13 -05:00
440b7e4e6c
Fixes DB query that returns large result set when there are thousands of
...
subscribers
2017-02-14 21:07:40 -05:00
baf0d374ae
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-06 22:48:36 +03: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
b834a6af4d
- Updates cron scheduler worker
...
- Adds unit tests
2016-09-14 19:00:08 -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
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
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
6aa976ba1f
- Creates a new notification history when processing the queue
2016-07-15 13:06:40 -04: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
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
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
2784bb7282
- Adds queue rescheduling for post notifications
2016-05-18 14:33:55 -04:00
08a8ca4969
Change segments handling for notification newsletters
2016-05-18 21:27:58 +03:00
0b3a388a78
- Remove space after if;
...
- Change Scheduler::standard function name to a more descriptive one
2016-05-18 18:38:58 +03:00
f322433875
Add standard newsletter scheduling backend
2016-05-18 18:14:53 +03:00
3e658033da
- Updates conditional check
2016-05-18 10:00:38 -04:00
31e082eb2b
- Removes space between IF and statement
2016-05-18 10:00:38 -04:00
bf1ab3a593
- Removes space between (int) and variable
2016-05-18 10:00:38 -04:00
d2a6b6bd4e
- Updates based on code review comments
2016-05-18 10:00:09 -04:00
343da0fdcc
- Saves sent posts during rendering by sending queue worker
...
- Prevents empty notification emails from being sent
- Hooks to WP's post update and rewrite post notification logic
- Prevents scheduling multiple queues of the same newsletter
- Fixes issue with segments not updating when scheduling a newsletter
- Removes depreciated hash field & associated logic
2016-05-18 10:00:09 -04:00
f624c891ab
- Capitalizes CONST values
2016-04-25 09:42:02 -04:00
5efa9f65c6
- Fixes an issue with welcome email not being sent to WP user with any
...
role
2016-04-22 18:51:51 -04:00
1ec0372c2d
- Fixes check for changed newsletter content
2016-04-22 16:08:45 -04:00
4b2061fcfa
- Adds condition that prevents duplicate and/or stuck post notifications
2016-04-21 18:20:13 -04:00
ef85834db5
- Removes debugging function
2016-04-21 11:32:29 -04:00
2bdcd0eb42
- Prevents duplicate newsletters from being sent
2016-04-21 10:45:00 -04:00
dc1ef2af47
- Removes check for signup confirmation when selecting subscribers
2016-04-18 17:33:08 +03:00
91076580ef
- Enables check for subscribers who has "subscribed" status during
...
newsletter sending
- Enforces "signup_confirmation" option when selecting subscribers for
newsletter sending
- Updates unit tests
2016-04-18 17:28:37 +03:00