Commit Graph

177 Commits

Author SHA1 Message Date
Jonathan Labreuille
9f37108b0b Listings: form
- fixed compileCSS so that it watches over all .styl files
- uniform "new" form for newsletters / segments / subscribers
- cleaned up jsx files
2015-09-04 16:41:04 +02:00
Jonathan Labreuille
7370d19be3 Segment listing
- fixed duplicate entry in Robofile for editor styles
- added Segment menu
- added Segment listing
- added listing methods to Segment model
- fixed syntax in both Segment & Subscriber models (MAX LINE 80!!!)
2015-09-04 13:02:23 +02:00
marco
87c529a6c1 Fix new newsletter button. 2015-09-03 18:19:12 +02:00
marco
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
Jonathan Labreuille
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
Tautvidas Sipavičius
e20626f1ad Expose jQuery deferred XHR object for access to promises 2015-09-02 17:53:57 +03:00
Jonathan Labreuille
3fe895a7fe Listing Handler
- added a Listing Handler class to take care of listing params
- added status column to Subscriber
- added specific methods to both Newsletter & Subscriber models for listing
2015-09-02 14:47:18 +02:00
Jonathan Labreuille
12a664f44e fixed html when no items has been found (fixes responsive mode) 2015-09-01 17:36:21 +02:00
Jonathan Labreuille
27883a232a Listings
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
Tautvidas Sipavičius
e6d59496eb Reindent code by 2 spaces, instead of 4 2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
21a4843a48 Integrate newsletter editor tests 2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
4d1fd2b2d8 Load TinyMCE directly from lib/, disable ajax functions 2015-08-28 12:21:40 +03:00
Tautvidas Sipavičius
c1d6f9ba44 Fix vendor asset loading, add initial newsletter data 2015-08-28 12:20:51 +03:00
Tautvidas Sipavičius
40507d2cad Wrap editor JS code in AMD modules and load them 2015-08-28 12:17:18 +03:00
Tautvidas Sipavičius
da371e33f4 Set up editor style compilation 2015-08-28 00:56:42 +03:00
Tautvidas Sipavičius
42586a72e9 Move over initial editor code, split templates into smaller pieces 2015-08-28 00:43:01 +03:00
marco
f34a6920a0 Newsletters router with multi page links. 2015-08-27 22:44:16 +02:00
marco
27022f2775 New newsletter dynamic form in a route. 2015-08-27 22:44:16 +02:00
marco
4b22e13947 Listing and new newsletters routes. 2015-08-27 22:44:16 +02:00
marco
d0264a3882 Correct routes for the Newsletters page. 2015-08-27 22:44:16 +02:00
marco
acf315ca41 Indent Webpack defines. 2015-08-27 22:44:16 +02:00
marco
374eb0e004 React router can correctly route routes in WordPress. 2015-08-27 22:44:16 +02:00
marco
42fce973e1 Move newsletters listing to right folder. 2015-08-27 22:43:43 +02:00
marco
122478ad9f React Router dep and folder organization. 2015-08-27 22:43:43 +02:00
marco
53f725ae08 Rename batch actions to avoid repeating "list". 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
3d58728312 Fixing listing
- amd style for listing dependencies
- added robo tasks to run failed tests
- created method to start phantomJS server in robofile
- fixed acceptance tests on form widget
- fixed unit test on subscriber
2015-08-27 22:38:42 +02:00
Jonathan Labreuille
703fd17932 fix sorting indicator not showing for sorted column 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
c6ec28dbc7 added bulk actions 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
0e2c04d97a many improvements on listing + cleaned up modal library 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
739f06bad7 added loading state + styles for listings 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
3d69830d45 fixed pagination for 1 page results 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
51d3d2d1b5 fixed pagination 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
097b638e6b cleanup 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
5b93e1c8a6 example using react-waypoint 2015-08-27 22:38:41 +02:00
Jonathan Labreuille
0c52b26fed added search on firstname and lastname 2015-08-27 22:38:41 +02:00
Jonathan Labreuille
f721119c9f Subscribers Listing
- sortable
- searchable
2015-08-27 22:38:41 +02:00
Jonathan Labreuille
3c46c3cd3a added listing JSX 2015-08-27 22:38:41 +02:00
marco
a7ffcad253 Newsletter form. 2015-08-21 19:46:49 +02:00
marco
dd5402b037 Newsletters can be sent! 2015-08-21 19:34:35 +02:00
marco
e33153c112 Newsletters list and form. 2015-08-21 18:43:49 +02:00
Jonathan Labreuille
c473338d19 fixed issue with setToken injecting a /n 2015-08-21 15:02:24 +02:00
Jonathan Labreuille
f2cecf97a9 Form submit fix + default styles 2015-08-21 14:08:35 +02:00
Jonathan Labreuille
bf5d7f273b Settings JSX
- fixed issue with token in MailPoet Ajax / JSX
- added settings form with get/set
- reformated some code in subscribers.jsx
2015-08-21 13:12:14 +02:00
Jonathan Labreuille
072f813781 Merge branch 'subscribers' into form_widget 2015-08-21 10:42:29 +02:00
Jonathan Labreuille
255eef4604 Merge branch 'subscribers' into form_widget 2015-08-21 10:39:06 +02:00
marco
441feaa7e8 Real time subscribers! 2015-08-20 23:10:21 +02:00
marco
8894b821c1 Multiple React components working together. 2015-08-20 22:00:55 +02:00
Jonathan Labreuille
1ff7e3f4be Form Subscription
- improved MailPoet ajax to fix token issue
- added js validation and ajax submit in public.js
- add util security to generate tokens
- updated router to use new util security
- added jquery-validation module
- update public config in webpack config
- added error messages in form
2015-08-20 21:02:04 +02:00
marco
ec0c20a1c5 First React in Subscribers. 2015-08-20 20:13:12 +02:00
Jonathan Labreuille
c883de9aa8 Form Widget
- added public js code to handle validation and ajax submit
- added widget initializer
- added form widget
- added acceptance test for adding the widget
2015-08-20 16:52:51 +02:00