b05344b1d3
added missing data in deferred.resolve()
2016-08-02 17:18:18 +02: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
9410d4f10a
Reorganized new API + added legacy API support + new API
...
- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
2016-08-01 17:00:32 +02:00
a451f00ed3
Remove obsolete function
2016-07-29 17:21:14 +03:00
0e0c371b28
Swap Preview and Select buttons in template select page
2016-07-29 17:15:20 +03:00
2e52f3bb92
Add a "Preview" button in template select page
2016-07-29 17:11:30 +03:00
13589a4660
Merge pull request #552 from mailpoet/newsletter_listing
...
Post notification history listing
2016-07-22 16:20:00 +03:00
515515ba9f
updated class names of table columns in listing
2016-07-19 17:24:56 +02:00
12c036dbef
refactored Models/Newsletter::getStatistics method to avoid duplication
...
- replaced "TO REFACTOR" with more conventional "TODO"
2016-07-19 15:34:14 +02:00
1dd4ade04d
added signups to forms listing
2016-07-19 13:44:32 +02:00
0706450f9a
Add children() method to Newsletter model to get child newsletters (history in case of post notif)
...
- added conditional display of "view history" link in Notification listing
- fixed indentation in duplicatePostNotif method according to code sniffer report
2016-07-18 16:47:12 +02:00
6d22a85fd7
use mixins to render regular newsletters queue status & statistics
2016-07-18 16:01:47 +02:00
3d706414b7
Renamed tab to type
...
- renamed getExtraParams to getParams
- fixed issue with String.contains by replacing it with indexOf
- removed useless break; statement
2016-07-18 16:01:47 +02:00
ef0cbb3e9f
Added "params" to the $data in Listing Handler
...
- moved "tab" to params
- improved url generation in listing.jsx to allow more flexibility
- added "parent_id" filter in newsletter model to get children of a given newsletter id
2016-07-18 16:01:47 +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
5a7d5ac3f0
- Removes object keys with null values when doing an ajax request
2016-07-13 21:06:13 -04:00
d152b073a6
fixed onSuccess on bulk actions and locale formatted numbers in success messages
2016-07-05 13:58:12 +02:00
5a21d3fdc8
added missing 'row-title' class on listings
2016-07-05 11:44:49 +02:00
a8ffbc2d0e
handle empty/unchecked/checked checkboxes properly in both react and forms
2016-07-01 14:14:18 +02: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
7f265675b0
changed the way custom field date type is handled (react + form + db)
2016-07-01 14:14:18 +02:00
69094f57fd
Fix typos
2016-06-28 15:01:31 +03:00
ffe7b80888
Simplify variable declarations
2016-06-28 14:12:09 +03:00
fc846b808e
Remove obsolete debugging statement
2016-06-28 14:12:09 +03:00
1cbf6b67b2
Remove console.log statements
2016-06-28 14:12:09 +03:00
286c02bdd9
Fix standard newsletter scheduling to always include scheduleAt
2016-06-28 14:12:08 +03:00
5f1d76225b
- Add sorting of segment names in Welcome newsletter segment selector;
...
- Add an option to FormFieldSelect to allow sorting options;
- Change "Send" button label for scheduled newsletters;
- Disable "Send" button for sending/already sent newsletters.
2016-06-28 14:12:08 +03:00
c05ea1b968
Change "Go back to editor" to save form fields first
2016-06-28 14:12:08 +03:00
2d45ab2e88
Add WP user segment selection to Notification and Standard newsletters
2016-06-28 14:12:08 +03:00
ca9b1e25a7
Change notification newsletter time to be displayed in WP format
2016-06-28 14:12:08 +03:00
88dc7f4199
removing DKIM and useless classes
2016-06-22 13:47:54 +02:00
9652f75028
Merge pull request #530 from mailpoet/fix_safari_es6_bug
...
removed ES6 syntax from non converted JS file - fixes #529 (Safari bug)
2016-06-22 14:29:57 +03:00
7bd8ed4639
Use promises for handleBulkAction
...
- fixed filters not being updated when going back/forward
- improved redirection to "all" group after emptying the trash (former way became buggy)
- fixed error thrown by "onGetItems" -> this logic has to go at some point
- Newsletters listing are sorted by "updated_at" desc
- Subscribers are sorted by "created_at" desc (Subscribed on)
2016-06-21 22:36:13 +02:00
ca0e511efd
removed ES6 syntax from non converted JS file - fixes #529 (Safari bug)
2016-06-21 16:47:25 +02:00
b87754ca30
Listing setParam only needs to be run when url history is specified
...
- added missing code to deleteManySubscriptions() so that it doesn't remove from all segments
2016-06-20 17:28:19 +02:00
68c09b8678
Sorting for all listings & bugfixes for all listings except Newsletters
...
- newsletters listing now uses hash history
- newsletters are sorted by Subject (a->z)
- segments are sorted by Name (a->z)
- re-added WordPress Users list as a segment you can send a newsletter to
- added explicit error messages when an auto newsletter isn't fully configured
- added missing strings for "selectAll" in Segments listing
- fixed filters() in Subscribers listing (wrong count as it was not taking groups/filters/search into account)
2016-06-20 16:23:27 +02:00
7af2775972
Allowed ability to set default sort_by/order on listings
...
- improved performance of listings (less refresh of items)
- fixed sorting issue where the order would not be reversed
2016-06-17 17:27:40 +02:00
2360c4d6e4
Fix periodicity strings
2016-06-17 16:28:40 +03:00
b6fabcc739
removing some leftover trailing commas.
2016-06-17 13:16:20 +02:00
269ddae93a
Refactored scheduling options for React (semi-converted to ES6 too)
...
- fixed issue with Pausing sending (missing self::)
2016-06-17 13:05:46 +02:00
dd8c54aae3
removed useless newsletters/list.jsx
...
- removed constant from Scheduler since it's defined on the SendingQueue model
2016-06-16 20:08:42 +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
6199caea29
- Notification settings column
...
- added "width" option to listing headers/columns
2016-06-15 16:33:48 +02:00
d6a68dd4d0
settings column done for welcome emails + WordPress capitalization fix
2016-06-15 16:33:48 +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
cf712636ed
progress on notification type listing + NL model improvements
2016-06-15 16:26:42 +02:00
bc1bd3bad1
commenting on a react quirk
2016-06-15 16:26:42 +02:00
9f971632c9
update status in welcome listing
2016-06-15 16:26:42 +02:00
91bc0505ac
Welcome emails progress
2016-06-15 16:26:42 +02:00
90c94624cc
added preview link for standard newsletters
2016-06-15 16:26:42 +02:00