3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9f13f68e39
Fix "Access to undefined property" rule violations
2019-01-23 11:33:47 +02:00
b5bc4b2609
Replace symfony container types by PSR interface
...
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
bf7e6a601e
Move prefixed dependencies from lib/Dependencies to vendor-prefixed
...
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
fff8176a49
Refactor lib/Router to use with container for endpoints
...
[MAILPOET-1605]
2018-10-31 17:26:47 +01:00
6e5fc6ad6b
Fix array_key_exists() error if no data is passed to subscription management page [MAILPOET-1122]
2017-12-05 19:22:28 +03:00
af58814fe7
Moves AccessControl intialization outside of Router to Initializer
2017-08-24 13:56:17 -04:00
78429d8f91
Validates global permission at the AccessControl level
...
Changes error response code on invalid permission
2017-08-23 11:27:54 -04:00
1b756ef0b2
Adds access management to router and updates endpoints accordingly
2017-08-22 09:06:20 -04:00
9f7ae122e3
Add missing periods to translation strings
2017-01-30 21:33:59 +02:00
5800883416
- Updates action names
2017-01-11 21:18:37 -05:00
4196d35e35
- Adds new ConflictResolver class
...
- Executes URL query parameter conflict resolver action in Router class
- Adds unit tests
2017-01-11 20:52:03 -05:00
a6b00e1ba7
- Adds new "ping" cron daemon router endpoint
...
- Removes the requirement to have data payload for router requests
2017-01-08 22:25:39 -05:00
5e9e53ec41
- Updates router to use json_encode() instead of serialize() for publicly modified data payload
...
- Updates unit tests
- Fixes #634
2016-10-17 22:39:36 -04:00
7fbf84db1f
converted text domain to string instead of constant
2016-09-30 09:58:26 +02:00
42202f676a
updated Env::plugin_name to constant for text domain
2016-09-27 14:54:23 +02:00
ba6198f956
added textdomain to __() calls
2016-09-27 14:53:44 +02:00
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