Commit Graph

38 Commits

Author SHA1 Message Date
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
0bd46d72e0 Introduce GET only API endpoints
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
e768778691 Allow API to accept GET requests
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
0e8a5bdb62 Add tracy panel for DI container
[MAILPOET-2293]
2019-09-09 10:52:40 +01:00
9fbff395b0 Save exception when running acceptance tests
[MAILPOET-2267]
2019-08-21 14:34:14 -04:00
09c35d0745 Add simple API panel to Tracy bar
[MAILPOET-2239]
2019-08-12 14:43:37 +02:00
wxa
b174a55d07 Handle captcha during subscription [MAILPOET-2015] 2019-07-23 08:37:46 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
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