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
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
008fdb94c5
Moved lib/API to lib/Router
...
- renamed lib/API/API.php to lib/Router/Front.php
- updated namespaces in various file to account for namespace change
2016-08-01 17:00:32 +02: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
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
2db681d908
- Adds and centralizes API data encoding/decoding method
2016-07-06 09:22:34 -04:00
cb2faec8b2
- Refactors API
...
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -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
55d48df8a4
Fix indentation issues
2016-06-30 18:50:48 +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
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
8540c51679
- Changes newsletter object to array in SendingQueue router
...
- Schedules post notification right after its creation
2016-05-18 10:00:09 -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
fc597a53bb
- Corrects the daemon stop status
2016-05-09 20:28:02 -04:00
422fba2835
- Updates based on code review comments
2016-05-03 18:41:57 -04:00