Jonathan Labreuille
239e2583d2
refactored bulk actions & implemented bulk trash for all listings
2015-09-18 17:39:25 +02:00
Jonathan Labreuille
cbcd614b6f
implemented all bulk actions for Subscribers
2015-09-16 19:44:46 +02:00
Jonathan Labreuille
2a4945c956
Listing & Form & Refactoring
...
- finished implementing forms
- fixed form reset when clicking on new
- fixed responsive for select all checkbox and toggle item details
- refactored listing items' actions
- added Trash action
- cleaned up validations on models
- fixed syntax
- fixed tests
2015-09-16 12:14:04 +02:00
Jonathan Labreuille
79f1896cf3
Listing & form
...
- improved Listing in order to make it more DRY
- form builder with all field types
- added support for data array in ValidModel->set()
- updated models to comply with Listing & Form methods
2015-09-16 12:12:14 +02:00
Jonathan Labreuille
e471d45827
Form.jsx
...
- basic implementation of Form.jsx
- fixed "colspan" issue on listings with no bulk actions and no records
2015-09-16 12:07:30 +02:00
Tautvidas Sipavičius
96d5162708
Refactor endpoint query component, add additional tests
2015-09-11 18:34:06 +03:00
Tautvidas Sipavičius
c030858562
Hook up post fetching and post transformation
2015-09-11 18:34:05 +03:00
Tautvidas Sipavičius
a4d1f80418
Add getPosts endpoint to fetch a list of posts for search
2015-09-11 18:34:05 +03:00
Marco
087d96838b
Merge pull request #120 from mailpoet/listings
...
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
Marco
b9244c2faf
Merge pull request #118 from mailpoet/newsletter_acceptance_test
...
Acceptance tests for newsletters.
2015-09-09 23:27:56 +02:00
Jonathan Labreuille
97db902529
Subscriber Edit page
2015-09-09 15:58:57 +02:00
Tautvidas Sipavičius
7cdf8e70c7
Fix ALC and Posts jQuery dependencies
2015-09-09 14:30:22 +03:00
Tautvidas Sipavičius
8ac9799df6
Move modules from Marionette to AMD modules, fix tests
2015-09-09 14:19:08 +03:00
Tautvidas Sipavičius
a25a8f2560
Add tests for Wordpress component, fix ALC/Posts endpoint calls
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
2aac4f2a70
Rename editor's modules to be anonymous
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
bfc6c83d00
Hook up post type and term search endpoint calls for Posts block
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
befcd24164
Integrate post type and term search endpoint calls to ALC blocks
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
e8badf8beb
Add caching endpoint calls for term search
2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
be6adfc158
Fix dependencies of Posts block
2015-09-09 14:19:07 +03:00
MrCasual
b0de8e8c47
Moved the shim javascript file into the /assets/src/ folder
2015-09-08 09:27:03 -04:00
Jonathan Labreuille
bec7f3d5bf
Listings: bulk actions
...
- renamed actions -> bulk_actions
- introduced item_actions for per item actions
- remove checkboxes (selectAll + item's) when there is no bulk actions
2015-09-08 12:20:24 +02:00
Jonathan Labreuille
bca01d9843
Listings selection and naming
...
- fixed select all items on page
- added select all pages
- removed module names (as discussed with @flakas)
2015-09-07 17:22:33 +02:00
Jonathan Labreuille
20e88afcd6
fixed selectAll in listings
2015-09-06 18:07:41 +02:00
Jonathan Labreuille
0063972a2d
fixed Subscriber form not using the proper field names
2015-09-06 15:33:13 +02:00
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