Commit Graph

507 Commits

Author SHA1 Message Date
Tautvidas Sipavičius
bf3e0832a3 Split post transformation code into smaller functions 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
Jonathan Labreuille
575e748d84 moved logic from Subscribers router to model 2015-09-10 11:50:26 +02:00
Jonathan Labreuille
97db902529 Subscriber Edit page 2015-09-09 15:58:57 +02:00
Tautvidas Sipavičius
27afb53393 Add Wordpress endpoints for post types, taxonomies and terms 2015-09-09 14:19:07 +03: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
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
MrCasual
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -04:00
Jonathan Labreuille
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
MrCasual
64756c865d - Renamed List model to Segment 2015-09-02 09:29:54 -04: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
MrCasual
78a2a50af7 - Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
Jonathan Labreuille
27883a232a Listings
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
MrCasual
f6f8f1390f - Renamed Pivot to Relation as per Jo's comment :) 2015-09-01 09:26:41 -04:00
MrCasual
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
Tautvidas Sipavičius
4d1fd2b2d8 Load TinyMCE directly from lib/, disable ajax functions 2015-08-28 12:21:40 +03:00
Tautvidas Sipavičius
7b6236e09c Add image_url Twig function 2015-08-28 12:20:52 +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
42586a72e9 Move over initial editor code, split templates into smaller pieces 2015-08-28 00:43:01 +03:00
Jonathan Labreuille
d81c4e7aa1 fixed widget + test + split get method in sub router 2015-08-27 22:38:42 +02:00
Jonathan Labreuille
c683378d24 fixed issue with config widget 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
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
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
dd5402b037 Newsletters can be sent! 2015-08-21 19:34:35 +02:00
marco
59653b0c6c New Bridge class to send messages with our sending service. 2015-08-21 17:12:36 +02:00
Jonathan Labreuille
5ffba00937 fixing syntax 2015-08-21 15:03:13 +02:00
Jonathan Labreuille
c473338d19 fixed issue with setToken injecting a /n 2015-08-21 15:02:24 +02:00
Jonathan Labreuille
311acd1ee0 updated validation data attributes 2015-08-21 14:23:43 +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
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
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
marco
5cc9c1c6de Tests cleanup. 2015-08-20 00:31:42 +02:00
marco
e386c3aa38 Cleanup tests. 2015-08-20 00:21:10 +02:00
marco
01360eea66 Newsletters router. 2015-08-20 00:11:32 +02:00
marco
524150a6f7 Subscribers router. 2015-08-20 00:09:38 +02:00
marco
ce730d7c3b Settings router.
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
marco
bb6abf3c7d Newsletters page, with test. 2015-08-18 17:07:14 +02:00
marco
347706e119 Added Subscribers empty page, with test. 2015-08-18 16:57:13 +02:00
Marco
fd0cc96fb2 Merge pull request #70 from mailpoet/first_mailer
A first Mailer for the Bridge
2015-08-18 16:27:40 +02:00
Jonathan Labreuille
58d83f5fbe fixed MPAjax to behave with router 2015-08-18 15:29:00 +02:00
Laurent Szyster
7da1cb9f5b #65 fix and test Marco's refactoring 2015-08-18 09:23:35 +02:00
marco
d60ba538f8 Refactor request generator from the send method. 2015-08-17 20:24:27 +02:00