Commit Graph

21439 Commits

Author SHA1 Message Date
4e8e8732d4 Merge pull request #106 from mailpoet/wordpress_endpoint
Wordpress Router Endpoint for the Visual editor.
2015-09-09 14:42:34 +02:00
7cdf8e70c7 Fix ALC and Posts jQuery dependencies 2015-09-09 14:30:22 +03:00
8ac9799df6 Move modules from Marionette to AMD modules, fix tests 2015-09-09 14:19:08 +03:00
a25a8f2560 Add tests for Wordpress component, fix ALC/Posts endpoint calls 2015-09-09 14:19:07 +03:00
2aac4f2a70 Rename editor's modules to be anonymous 2015-09-09 14:19:07 +03:00
9c6955c8cf Stub wordpress calls and fix tests for ALC and Posts 2015-09-09 14:19:07 +03:00
bfc6c83d00 Hook up post type and term search endpoint calls for Posts block 2015-09-09 14:19:07 +03:00
befcd24164 Integrate post type and term search endpoint calls to ALC blocks 2015-09-09 14:19:07 +03:00
e8badf8beb Add caching endpoint calls for term search 2015-09-09 14:19:07 +03:00
be6adfc158 Fix dependencies of Posts block 2015-09-09 14:19:07 +03:00
27afb53393 Add Wordpress endpoints for post types, taxonomies and terms 2015-09-09 14:19:07 +03:00
b0de8e8c47 Moved the shim javascript file into the /assets/src/ folder 2015-09-08 09:27:03 -04:00
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
2cc24ae965 - Added acceptance tests for the Newsletters page
- Added a shim to make PhantomJS work with React (temporary workaround)
- Removed asset compilation during acceptance testing
Closes #111
2015-09-07 20:05:55 -04:00
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
20e88afcd6 fixed selectAll in listings 2015-09-06 18:07:41 +02:00
0063972a2d fixed Subscriber form not using the proper field names 2015-09-06 15:33:13 +02:00
4b8259edf4 Merge pull request #112 from mailpoet/segments
Segments.
2015-09-04 23:00:05 +02:00
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
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
87c529a6c1 Fix new newsletter button. 2015-09-03 18:19:12 +02:00
09a668757c Updated deps lock. 2015-09-03 18:10:39 +02:00
3efd942d29 Merge pull request #105 from mailpoet/listings
Listings.
2015-09-03 18:06:49 +02:00
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
e1f8ac0f91 Unit Test Listing
- added unit test for Listing Handler
- added unit test helper to generate Subscribers
2015-09-03 16:45:52 +02:00
d89f43dbe5 Unit tests for listing specific methods
- small fixes/optimization in Subscriber model
- added test for search and group in Subscriber
- added test for search in Newsletter
2015-09-03 13:47:39 +02:00
cf322ec3c2 Unit test: Subscriber status 2015-09-03 12:59:45 +02:00
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
d14fbc2d30 Merge pull request #104 from mailpoet/list_model
Segment model. Replaces the List concept.
2015-09-03 09:55:40 +02:00
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -04:00
e8b552f2cc Merge pull request #109 from mailpoet/js_promises
Expose jQuery deferred XHR object for access to promises
2015-09-02 22:34:24 +02:00
e20626f1ad Expose jQuery deferred XHR object for access to promises 2015-09-02 17:53:57 +03:00
1698066f2b Subscriber unit test -> check for status 2015-09-02 16:48:19 +02:00
e2775981af - Renamed test case 2015-09-02 10:37:46 -04:00
fc42296f1b Status column
- updated migration for subscribers status column from int to varchar
- updated Subscriber model to reflect the change
2015-09-02 16:36:57 +02:00
64756c865d - Renamed List model to Segment 2015-09-02 09:29:54 -04:00
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
78a2a50af7 - Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
12a664f44e fixed html when no items has been found (fixes responsive mode) 2015-09-01 17:36:21 +02:00
27883a232a Listings
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
f6f8f1390f - Renamed Pivot to Relation as per Jo's comment :) 2015-09-01 09:26:41 -04:00
0015bdb617 - Added new model "SubscriberList"
- Added has_many_through relations to the new model + Subscriber model
- Added tests
- Fixed syntax in other models
This closes #95
2015-09-01 09:18:00 -04:00
e0ef01d9f8 Fix export, import and expose loader install sources 2015-08-31 17:37:50 +03:00
dc27be69db Merge pull request #77 from mailpoet/newsletter_editor
Visual Editor.
2015-08-31 16:10:55 +02:00
e3d7d054eb Remove extra Handlebars exposing loader 2015-08-28 13:01:58 +03:00
1c4fba27f5 Include back admin.js in layout.html 2015-08-28 12:53:03 +03:00
4cb98f267c Fix missing translation 2015-08-28 12:35:34 +03:00
0c9c959b31 Fix one column layout of default newsletter structure 2015-08-28 12:35:33 +03:00
e6d59496eb Reindent code by 2 spaces, instead of 4 2015-08-28 12:35:33 +03:00
21a4843a48 Integrate newsletter editor tests 2015-08-28 12:35:33 +03:00