Commit Graph

11 Commits

Author SHA1 Message Date
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