Commit Graph

2151 Commits

Author SHA1 Message Date
4a4fd1080e Merge pull request #128 from mailpoet/model_validation_errors
Model validation errors improvement & acceptance test fix
2015-09-14 21:40:59 +02:00
e8abc4cb47 - Model returns validation errors upon save (Closes #122)
- Fixed acceptance test for Newsletters (Closes #126)
2015-09-13 19:40:42 -04:00
96d5162708 Refactor endpoint query component, add additional tests 2015-09-11 18:34:06 +03:00
bf3e0832a3 Split post transformation code into smaller functions 2015-09-11 18:34:06 +03:00
c030858562 Hook up post fetching and post transformation 2015-09-11 18:34:05 +03:00
a4d1f80418 Add getPosts endpoint to fetch a list of posts for search 2015-09-11 18:34:05 +03:00
087d96838b Merge pull request #120 from mailpoet/listings
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
c86fd822a6 Unit test for Model/Subscriber createOrUpdate 2015-09-11 09:38:29 +02:00
575e748d84 moved logic from Subscribers router to model 2015-09-10 11:50:26 +02:00
b9244c2faf Merge pull request #118 from mailpoet/newsletter_acceptance_test
Acceptance tests for newsletters.
2015-09-09 23:27:56 +02:00
97db902529 Subscriber Edit page 2015-09-09 15:58:57 +02:00
49f505c6db Update composer.lock. 2015-09-09 14:46:40 +02:00
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