Commit Graph

286 Commits

Author SHA1 Message Date
Jonathan Labreuille
b837a153d1 merged post_notification_update 2016-07-18 16:06:04 +02:00
Jonathan Labreuille
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
Vlad
db85604f18 - Removes scheduling of post notification during newsletter activation stage 2016-07-15 13:06:40 -04:00
Kiefer Conrad
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
Jonathan Labreuille
e7ee356f90 cleanup permissions related classes 2016-07-07 15:49:03 +02:00
Jonathan Labreuille
9979261cb6 fixed a few more warnings 2016-06-30 15:42:58 +02:00
Tautvidas Sipavičius
c7fd7b8a32 Change line endings from DOS CRLF to Unix LF 2016-06-30 14:39:28 +03:00
Tautvidas Sipavičius
b7d8d482fe Fix indentation issues 2016-06-30 13:29:23 +03:00
Tautvidas Sipavičius
9595e9629f Fix spacing between control structure and opening parenthesis 2016-06-29 18:54:01 +03:00
Tautvidas Sipavičius
cc4639cb23 Set default values when immediately sending scheduled newsletter 2016-06-28 15:57:02 +03:00
Jonathan Labreuille
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
Jonathan Labreuille
744455f0df removed useless methods 2016-06-16 12:21:54 +02:00
Jonathan Labreuille
9aa25446d1 fixed unit tests 2016-06-15 16:33:48 +02:00
Jonathan Labreuille
6199caea29 - Notification settings column
- added "width" option to listing headers/columns
2016-06-15 16:33:48 +02:00
Jonathan Labreuille
d6a68dd4d0 settings column done for welcome emails + WordPress capitalization fix 2016-06-15 16:33:48 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
cabfd8a946 better with the proper type 2016-06-15 16:26:42 +02:00
Jonathan Labreuille
cf712636ed progress on notification type listing + NL model improvements 2016-06-15 16:26:42 +02:00
Jonathan Labreuille
9f971632c9 update status in welcome listing 2016-06-15 16:26:42 +02:00
Jonathan Labreuille
91bc0505ac Welcome emails progress 2016-06-15 16:26:42 +02:00
Jonathan Labreuille
90c94624cc added preview link for standard newsletters 2016-06-15 16:26:42 +02:00
Jonathan Labreuille
ecf15d53d9 Newsletters listing
- added stylesheet for newsletters listing
- added "status" database column on Newsletters for grouping in listings
- added duplicate link to standard newsletters
2016-06-15 16:15:02 +02:00
Jonathan Labreuille
86a2846215 Tab system for listings 2016-06-15 16:14:06 +02:00
Jonathan Labreuille
3b97a26a8a Newsletters multi-listing 2016-06-15 16:14:06 +02:00
Tautvidas Sipavičius
5ea25ec697 Fix the way we query for WP subscriber in email preview 2016-06-14 15:43:13 +03:00
Tautvidas Sipavičius
3b4ac4d2d2 Change newsletter preview to use current user as subscriber 2016-06-13 15:02:20 +03:00
Tautvidas Sipavičius
bfdabe3554 Merge pull request #521 from mailpoet/copy_review
Copy review
2016-06-10 12:36:47 +03:00
Kiefer Covia
08e6430c7d June 8 2016 Copy review 2016-06-08 17:02:50 +02:00
Vlad
d182638971 - Updates references to the new view in browser URL class
- Removes unnecessary rtrim condition in URL generation
2016-06-07 10:53:01 -04:00
Tautvidas Sipavičius
b4e371302c Fix PHP coding style based on feedback 2016-05-31 17:50:38 +03:00
Tautvidas Sipavičius
5d48ecac80 Add a method to bulk update ALC blocks in newsletter editor 2016-05-31 13:53:45 +03:00
Tautvidas Sipavičius
0f95d7bc8a Use Scheduler to schedule next post notification sending timestamp 2016-05-24 17:08:34 +03:00
Tautvidas Sipavičius
14098643ae Fix scheduling immediate standard newsletters 2016-05-24 16:04:42 +03:00
Tautvidas Sipavičius
08a8ca4969 Change segments handling for notification newsletters 2016-05-18 21:27:58 +03:00
Tautvidas Sipavičius
5a03eb9a17 Fix newsletter calls to use array access and not object access 2016-05-18 19:03:06 +03:00
Tautvidas Sipavičius
0b3a388a78 - Remove space after if;
- Change Scheduler::standard function name to a more descriptive one
2016-05-18 18:38:58 +03:00
Tautvidas Sipavičius
f322433875 Add standard newsletter scheduling backend 2016-05-18 18:14:53 +03:00
Vlad
31e082eb2b - Removes space between IF and statement 2016-05-18 10:00:38 -04:00
Vlad
bf1ab3a593 - Removes space between (int) and variable 2016-05-18 10:00:38 -04:00
Vlad
8540c51679 - Changes newsletter object to array in SendingQueue router
- Schedules post notification right after its creation
2016-05-18 10:00:09 -04:00
Vlad
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
Vlad
90c294f60e - Updates editor/router to use the new browser preview class 2016-04-30 22:19:59 -04:00
Vlad
06d56fe19d - Adds "scheduled for" status for notifications
- Adds post notification/welcome activation message
- Implements schedule update when editing newsletter
Implements #405 (3 & 7)
2016-04-27 20:08:45 -04:00
Vlad
18f35b5e91 - Displays statistics in newsletter listing 2016-04-27 21:26:47 +03:00
Vlad
67ca305b7f - Adds withStatistics method to the Newsletter model
- Updates Newsletter router to return statistics
- Returns only completed/running queues
2016-04-27 21:26:47 +03:00
Jonathan Labreuille
0dd3f2178e updated form stats to record individual subscription 2016-04-26 18:12:05 +02:00
Jonathan Labreuille
ef461da77f Statistics for Form Subscriptions
- added statistics_forms table
- added corresponding model to record stats
- record stats whenever someone subscribes via a form
2016-04-26 15:16:37 +02:00
Jonathan Labreuille
d2dbf86a9c fixed Router when data represents a single variable (not an array) 2016-04-22 16:59:28 +02:00
mrcasual
6d0795abba Merge pull request #438 from mailpoet/non_ajax_subscription
Non ajax subscription
2016-04-22 09:51:47 -04:00
Vlad
3b90be4122 - Fixes scheduling of notifications 2016-04-21 10:44:43 -04:00