Commit Graph

179 Commits

Author SHA1 Message Date
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
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02: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
27883a232a Listings
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
d81c4e7aa1 fixed widget + test + split get method in sub router 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
5ffba00937 fixing syntax 2015-08-21 15:03:13 +02:00
c473338d19 fixed issue with setToken injecting a /n 2015-08-21 15:02:24 +02:00
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
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
01360eea66 Newsletters router. 2015-08-20 00:11:32 +02:00
524150a6f7 Subscribers router. 2015-08-20 00:09:38 +02:00
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
58d83f5fbe fixed MPAjax to behave with router 2015-08-18 15:29:00 +02:00
a26cbd6f41 - Renamed Model to BaseModel (make it clear)
- Updated RoboFile to compile assets or else tests break
2015-08-17 15:54:48 +00:00
9db0db83b1 There's no need to encode json in the Router. 2015-08-17 12:44:53 +02:00
60919e6171 Router works for POST requests. 2015-08-16 20:21:34 +02:00
60f63ccfe6 Router skeleton. 2015-08-13 21:57:05 +02:00