3b5962d36a
Refactor MailPoet\API to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
f83b7453fc
Use DI container whever possible
2019-01-31 13:25:00 +01:00
8b602bd947
Move WPHooks methods to WPFunctions
2019-01-31 13:25:00 +01:00
525fb5289b
Add check that API endpoint class is a registered service in DI
...
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
26472d8b9a
Introduce ContainerWrapper
...
Container wrapper wraps both premium and free containers and adds ability for free plugin to use premium plugin services directly.
[PREMIUM-99]
2018-12-12 08:52:11 +01: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
528f223a70
Add fallback for API endpoint instantiation for endpoints which are not in DI
...
[MAILPOET-1639]
2018-11-15 18:03:51 +01:00
d49b2a72a9
Refactor JSON API to use container for creating endpoints
...
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
ac33e11c60
Reject requests without mandatory custom fields
...
We need to make sure subscribers cannot be created without custom fields
Users require GDPR consent and we need to make sure there are no way to
create a subscriber without mandatory custom fields
[MAILPOET-1405]
2018-08-21 15:03:08 +02:00
a8052c118a
fixing minor issues and adding unit test
2018-01-15 10:46:07 +00:00
caa0623112
handling recaptcha on the PHP side
2018-01-15 10:46:06 +00:00
b6c864e7a1
Change the JSON API error message
...
[MAILPOET-1103]
2017-10-10 09:45:50 +01:00
cc8b7b45ed
Throws error when endpoint method is not found
2017-08-31 15:18:22 -04:00
28320cdbb6
Updates permission validation method on AccessControl
...
Adds/updates unit tests
2017-08-23 11:28:08 -04:00
4b7fb3ae3d
Updates access permission names to improve clarity
2017-08-22 09:06:20 -04:00
5e7f9e3edf
Passes AccessControl to JSON API via constructor parameter
...
Removes passing AccessControl to individual API endpoints
2017-08-22 09:06:20 -04:00
2e5554a3af
Refactors AccessControl and passes it as dependency to JSON API and Menu
2017-08-22 09:06:20 -04:00
a241d0c7bc
Modifies JSON API to use AccessControl
2017-08-22 09:06:19 -04:00
0a512f6349
Uses the first matching namespace endpoint
2017-05-16 23:17:25 -04:00
8b13889c7a
Adds one entry point for both JSON and MP APIs
...
Removes endpoints folder and moves versions to the root
JSON API folder
2017-05-16 20:56:55 -04:00
398d7d3d80
Moves current API under JSON namespace
2017-05-16 20:56:54 -04:00