Commit Graph

309 Commits

Author SHA1 Message Date
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
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
Jonathan Labreuille
58d83f5fbe fixed MPAjax to behave with router 2015-08-18 15:29:00 +02:00
Vlad
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
marco
9db0db83b1 There's no need to encode json in the Router. 2015-08-17 12:44:53 +02:00
marco
60919e6171 Router works for POST requests. 2015-08-16 20:21:34 +02:00
marco
60f63ccfe6 Router skeleton. 2015-08-13 21:57:05 +02:00