Commit Graph

72 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Vlad
5ec8e4ed52 - Fixes an issue with shortcodes not rendering when sending newsletter
preview
2016-04-05 09:54:04 -04:00
Tautvidas Sipavičius
ff58067d55 Change array_column to Helpers::arrayColumn method 2016-03-21 16:07:20 +02:00
Tautvidas Sipavičius
2ba6bb339e Fix newsletter options format for newsletters 2016-03-21 15:50:48 +02:00
Vlad
6ec15bec22 - Updates shortcodes logic
- Implements [newsletter:total] and [newsletter:number] shortcodes
- Implements shortcode replacement in subject line
- Updates unit tests
Issue #380
2016-03-19 11:19:22 -04:00
Vlad
bb9fce7f82 - Implements post notification scheduling 2016-03-18 11:15:31 -04:00
Jonathan Labreuille
07d533a810 Manage subscriptions
- make use of the SubscriberSegment::status column to keep track of unsubscriptions
- unsubscribed segments now appear grayed out in the Subscribers listing
- added unsubscribed_at after segment names when editing a subscriber
- added date() method for Twig (uses WP's date format / date_offset)
- fixed typo in Form iframe export
- fixed unit test for Newsletters
- updated selection component (JSX) to allow more customization
2016-02-22 11:35:34 +01:00
Tautvidas Sipavičius
6c6a4070be Remove obsolete attribute from server response 2016-02-09 15:47:56 +02:00
Tautvidas Sipavičius
8b001d820b Change padded image attribute to fullWidth 2016-02-09 15:26:06 +02:00
Jonathan Labreuille
55f851208b Major update of unit tests / updated routers + models + react 2016-02-04 19:04:52 +01:00
Jonathan Labreuille
c2cb88f995 Unit tests fixed + models & routers update 2016-02-04 11:41:05 +01:00
Jonathan Labreuille
2aeab7aaff Router Upgrade #3 & bugfix on Cron/Supervisor
- ALC
- Cron
- ImportExport
- Mailer
- Newsletters (only get method for consistency with other router get methods)
- Permissions
2016-02-01 13:00:11 +01:00
Vlad
c11d95b402 - Refactors code 2016-01-26 11:29:56 -05:00
Vlad
b4c8fe6f45 - Updates newsletter router and sending queue worker to work with the
shortcodes implementation
2016-01-26 10:44:18 -05:00
Vlad
dc3b47db00 - Implements shortcodes
- Updates newsletter router/sending queue worker to use shortcodes
  replacement class
2016-01-26 09:13:29 -05:00
Vlad
f502e0b677 - Implements text rendering
- Updates tests
- Updates newsletter router and sending queue worker to reflect changes to
  the renderer
2016-01-22 22:07:02 -05:00
Tautvidas Sipavičius
d87ff67f50 Remove whitespace after if and catch keywords 2016-01-13 18:50:52 +02:00
Tautvidas Sipavičius
6642bb3bfa Verify preview input data, remove "Sender" inputs 2016-01-13 14:28:43 +02:00
Tautvidas Sipavičius
2cb32e7a78 Add a method for sending newsletters via new Mailer class 2016-01-13 13:04:21 +02:00
Tautvidas Sipavičius
b7cfa549d5 Change newsletter and template saving to JSON encode body separately 2016-01-11 18:27:30 +02:00
Vlad
d1df94c759 - Addresses issues identified during code review 2016-01-07 17:24:46 -05:00
Vlad
0dbe04c3f8 - Addresses issues identified during code review 2016-01-06 19:19:06 -05:00
Tautvidas Sipavičius
be3462925d Change server returned newsletter body to be a json object, not a string 2015-12-17 12:40:26 +02:00
Tautvidas Sipavičius
9bbe36b3cb Set subject of new newsletters to "Draft newsletter" 2015-12-10 17:13:23 +02:00
MrCasual
d2e5fb89c2 - Places supervisor/daemon/worker under the new Cron class
- Updates endpoints
- Integrates queue worker with MailPoet mailer
- Fixes script activation check logic
2015-12-02 22:48:15 -05:00
Jonathan Labreuille
48fbce22e7 Queue
- updated menu icon for our plugin
- added watchCss command to watch only CSS files
- added Status column in Newsletters listing
- added progress bar styles
- fixed issue with JS assets being loaded twice on non MP pages
- changed subscriber_ids to segment_ids in addQueue
2015-12-02 12:25:28 +01:00
Jonathan Labreuille
28c61fca0b Newsletters listing
- fixed listing actions on newsletters
2015-11-18 14:04:34 +01:00
Jonathan Labreuille
e9110680ee Listings
- fixed selection field JSX
- fixed bulk actions (added filter function)
- added getPublished/getTrashed static methods on Model
- fixed step 3 of newsletter process
- updated save/get methods of all listing-able models to conform with the new norm
2015-11-09 13:26:33 +01:00
Jonathan Labreuille
b12f7f29de Custom fields
- added listing of custom fields in form editor
- ability to delete a custom field
- mades changes to the form editor in order to accomodate for the new custom fields system
- fix form editor bugs
- cleanup
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
5473f94e24 List selection & subscribe
- fixed list selection widget (form editor & rendered form)
- ajax subscription works (minus sending the confirmation email)
- bug fixes / polishing / refactoring / cleanup
2015-11-06 16:09:09 +01:00
Jonathan Labreuille
907fe585de add Form renderer and fixed Newsletter saving issue 2015-11-06 16:08:16 +01:00