59d30cc139
- Renames router URL query parameter and router class
...
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
354d249e1d
Moved current Router files to API
...
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00
9979261cb6
fixed a few more warnings
2016-06-30 15:42:58 +02:00
c7fd7b8a32
Change line endings from DOS CRLF to Unix LF
2016-06-30 14:39:28 +03:00
9595e9629f
Fix spacing between control structure and opening parenthesis
2016-06-29 18:54:01 +03:00
d2dbf86a9c
fixed Router when data represents a single variable (not an array)
2016-04-22 16:59:28 +02:00
42d586610e
form subscription only using Router now
2016-04-20 16:59:18 +02:00
82ed7e51c5
Replaced "contains" by "indexOf" (chrome issue)
...
- added public ajax routing (not checking permissions)
- exception handling in form subscription
2016-03-01 13:18:36 +01:00
c721843c12
extracted subscription pages code from router
2016-02-29 13:34:17 +01:00
d2be407ccb
rendering of edit subscription form
2016-02-29 13:34:17 +01:00
e6337216cf
improved demo view of subscription pages
2016-02-29 13:34:17 +01:00
f1c396f0b0
basic implementation of confirm/edit/unsubscribe pages
2016-02-29 13:34:17 +01:00
14fe333678
Send confirmation email + page
2016-02-29 13:34:17 +01:00
0d894a6fef
- Fixes namespace issue when catching exceptions
2016-02-12 11:20:43 -05:00
894a9e8c90
Router\Router is now taking care of outputting JSON
...
- converted Subscribers Router to return array instead of wp_send_json()
- added unit test for Subscribers Router
2016-01-27 17:23:30 +01:00
239e2583d2
refactored bulk actions & implemented bulk trash for all listings
2015-09-18 17:39:25 +02: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
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
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