Pavel Dohnal
2360fe0a5a
Check existence panels shen creating debugger
...
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
wxa
37ac7fd381
Remove unused imports
...
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
wxa
70e3d1e459
Refresh nonce via heartbeats [MAILPOET-2839]
2020-05-25 18:45:19 +02:00
Jan Jakeš
3f78c82c51
Add functionality for converting exceptions to HTTP responses
...
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
ade1cc4d8e
Autofix alphabetically sorted use statements
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Ján Mikláš
0bd46d72e0
Introduce GET only API endpoints
...
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
Ján Mikláš
e768778691
Allow API to accept GET requests
...
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
Jan Jakeš
01a0fe96c4
Remove no longer necessary checks
...
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Pavel Dohnal
0e8a5bdb62
Add tracy panel for DI container
...
[MAILPOET-2293]
2019-09-09 10:52:40 +01:00
Pavel Dohnal
9fbff395b0
Save exception when running acceptance tests
...
[MAILPOET-2267]
2019-08-21 14:34:14 -04:00
Jan Jakeš
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
Pavel Dohnal
12ff88ee21
Add rule for operator spacing
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Amine Ben hammou
0a436087e1
Replace all WP function calls
2019-03-07 08:30:14 -05:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a935b091d3
Add space between elseif/else if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576
Add space between catch and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd
Add space between foreach and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
3b5962d36a
Refactor MailPoet\API to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:46 +01:00
Amine Ben hammou
f83b7453fc
Use DI container whever possible
2019-01-31 13:25:00 +01:00
Amine Ben hammou
8b602bd947
Move WPHooks methods to WPFunctions
2019-01-31 13:25:00 +01:00
Rostislav Wolny
525fb5289b
Add check that API endpoint class is a registered service in DI
...
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
Rostislav Wolny
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
Rostislav Wolny
b5bc4b2609
Replace symfony container types by PSR interface
...
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
Jan Jakeš
bf7e6a601e
Move prefixed dependencies from lib/Dependencies to vendor-prefixed
...
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
Rostislav Wolny
528f223a70
Add fallback for API endpoint instantiation for endpoints which are not in DI
...
[MAILPOET-1639]
2018-11-15 18:03:51 +01:00
Rostislav Wolny
d49b2a72a9
Refactor JSON API to use container for creating endpoints
...
[MAILPOET-1637]
2018-11-15 09:04:15 +01:00
Pavel Dohnal
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
Amine Ben hammou
a8052c118a
fixing minor issues and adding unit test
2018-01-15 10:46:07 +00:00
Amine Ben hammou
caa0623112
handling recaptcha on the PHP side
2018-01-15 10:46:06 +00:00
amine-mp
b6c864e7a1
Change the JSON API error message
...
[MAILPOET-1103]
2017-10-10 09:45:50 +01:00
Vlad
cc8b7b45ed
Throws error when endpoint method is not found
2017-08-31 15:18:22 -04:00
Vlad
28320cdbb6
Updates permission validation method on AccessControl
...
Adds/updates unit tests
2017-08-23 11:28:08 -04:00
Vlad
4b7fb3ae3d
Updates access permission names to improve clarity
2017-08-22 09:06:20 -04:00
Vlad
5e7f9e3edf
Passes AccessControl to JSON API via constructor parameter
...
Removes passing AccessControl to individual API endpoints
2017-08-22 09:06:20 -04:00
Vlad
2e5554a3af
Refactors AccessControl and passes it as dependency to JSON API and Menu
2017-08-22 09:06:20 -04:00
Vlad
a241d0c7bc
Modifies JSON API to use AccessControl
2017-08-22 09:06:19 -04:00
Vlad
0a512f6349
Uses the first matching namespace endpoint
2017-05-16 23:17:25 -04:00
Vlad
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
Vlad
398d7d3d80
Moves current API under JSON namespace
2017-05-16 20:56:54 -04:00