Commit Graph

574 Commits

Author SHA1 Message Date
a2494cfa1b - Adds tests for newsletter renderer 2015-09-23 22:42:11 -04:00
9175c5308b Merge pull request #127 from mailpoet/posts_api
Wordpress Posts API endpoints
2015-09-23 18:31:18 +02:00
b3e376cd01 - Refactored using @badshark's comments
- Integrated changes to JSON data
2015-09-23 11:24:08 -04:00
01b5416882 Refactors Newsletters as per @badshark's comments 2015-09-23 09:28:00 -04:00
692e69d567 Pretty newsletter json test data.
I'm trying to uderstand more about how the generated json
works.
2015-09-23 09:28:00 -04:00
1e6e59f58f Refactored using PSEUDO* as per Marco's advice 2015-09-23 09:27:59 -04:00
42d659472e - Made all rendering classes dynamic except for single blocks 2015-09-23 09:27:59 -04:00
7e4bd0d044 Indented HTML code as per Marco's comment 2015-09-23 09:27:58 -04:00
42c5885cbd - Ported newsletter rendering engine 2015-09-23 09:27:58 -04:00
56e40feb56 Bulk actions + Extra data
- fixed issue on bulk action being run even without any items selected
- added WP like feature regarding item selection, if all items are checked, it also checks the header/footer checkboxes
- fixed issue where the selection state was not properly reset
- added List column to subscribers
- added json_encode/json_decode to Twig
2015-09-23 14:13:25 +02:00
be76e016b3 Fix addition of dividers, do general refactoring 2015-09-18 19:01:34 +03:00
239e2583d2 refactored bulk actions & implemented bulk trash for all listings 2015-09-18 17:39:25 +02:00
6a6d2391c1 Split posts transformer into smaller classes 2015-09-17 16:55:35 +03:00
cbcd614b6f implemented all bulk actions for Subscribers 2015-09-16 19:44:46 +02:00
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
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
e8abc4cb47 - Model returns validation errors upon save (Closes #122)
- Fixed acceptance test for Newsletters (Closes #126)
2015-09-13 19:40:42 -04: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
575e748d84 moved logic from Subscribers router to model 2015-09-10 11:50:26 +02:00
97db902529 Subscriber Edit page 2015-09-09 15:58:57 +02:00
27afb53393 Add Wordpress endpoints for post types, taxonomies and terms 2015-09-09 14:19:07 +03: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
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +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
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -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
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
4d1fd2b2d8 Load TinyMCE directly from lib/, disable ajax functions 2015-08-28 12:21:40 +03:00
7b6236e09c Add image_url Twig function 2015-08-28 12:20:52 +03:00
40507d2cad Wrap editor JS code in AMD modules and load them 2015-08-28 12:17:18 +03:00
42586a72e9 Move over initial editor code, split templates into smaller pieces 2015-08-28 00:43:01 +03:00
d81c4e7aa1 fixed widget + test + split get method in sub router 2015-08-27 22:38:42 +02:00
c683378d24 fixed issue with config widget 2015-08-27 22:38:42 +02:00
0e2c04d97a many improvements on listing + cleaned up modal library 2015-08-27 22:38:42 +02:00
097b638e6b cleanup 2015-08-27 22:38:42 +02:00
5b93e1c8a6 example using react-waypoint 2015-08-27 22:38:41 +02:00
f721119c9f Subscribers Listing
- sortable
- searchable
2015-08-27 22:38:41 +02:00
3c46c3cd3a added listing JSX 2015-08-27 22:38:41 +02:00
dd5402b037 Newsletters can be sent! 2015-08-21 19:34:35 +02:00
59653b0c6c New Bridge class to send messages with our sending service. 2015-08-21 17:12:36 +02:00
5ffba00937 fixing syntax 2015-08-21 15:03:13 +02:00