Commit Graph

511 Commits

Author SHA1 Message Date
Laurent Destailleur
1c53035e38 Doc 2021-10-06 16:19:36 +02:00
Laurent Destailleur
166d3b08d6 Add LIBXML_NONET to simplexml_load_string 2021-09-30 20:12:01 +02:00
Laurent Destailleur
7758c0b8a7 Fix phpcs 2021-09-02 16:06:19 +02:00
Laurent Destailleur
0f325bdd65 Update api_access.class.php 2021-09-01 18:05:24 +02:00
lainwir3d
359dae6af8 FIX #18542 REST API: set global $user variable to DolibarrApiAccess::user. 2021-08-29 23:13:41 +04:00
Laurent Destailleur
bda36337cd Prepare fix #yogosha6443 2021-06-30 17:22:36 +02:00
Laurent Destailleur
fb46ece906 Fix yogosha 6347 2021-06-09 15:36:47 +02:00
Laurent Destailleur
ce8c606132 Clean APIs 2021-05-12 11:04:22 +02:00
Frédéric FRANCE
0d3afb573a align check code 2021-05-10 14:33:26 +02:00
Laurent Destailleur
1c95e2b7c7 FIX #17453 2021-05-03 14:58:29 +02:00
Laurent Destailleur
4926ac1e24 Fix make protected method not visible 2021-04-28 15:25:06 +02:00
Laurent Destailleur
f54d14bfd6 Add method checkValForAPI to clean data from API input 2021-04-27 01:05:14 +02:00
Laurent Destailleur
b0fe08e411 Clean code 2021-04-26 19:21:23 +02:00
stickler-ci
296d19ac8b Fixing style errors. 2021-04-25 18:25:32 +00:00
Laurent Destailleur
d6ce4e1086 Allow option to restrict API endpoints 2021-04-25 20:23:41 +02:00
Laurent Destailleur
5d0e93344b Upgrade to swagger 2.2 2021-04-25 17:41:59 +02:00
Laurent Destailleur
e057f44293 Typo 2021-04-25 16:15:15 +02:00
Laurent Destailleur
2cd9289de1 Fix error message 2021-04-19 15:09:13 +02:00
Laurent Destailleur
de4d5f3888 Check file name end with .xml 2021-04-19 15:07:07 +02:00
Laurent Destailleur
238e8a17b0 Better error message 2021-04-19 14:54:58 +02:00
Laurent Destailleur
d8f387938c Try to use 2 different names for operation 2021-04-19 14:30:09 +02:00
Laurent Destailleur
0537fdd1c6 Add local ip into excluded IP for external URL download.
Fix #yogosha5861
2021-04-19 13:52:12 +02:00
Laurent Destailleur
8a62d97b89 Remove one thousand of useless files 2021-04-12 15:57:16 +02:00
Laurent Destailleur
59c8e70fd2 Fix #yogosha4510 2021-04-07 23:43:10 +02:00
Laurent Destailleur
87d4e6e2c5 Add option API_DISABLE_LOGIN_API 2021-04-07 19:07:22 +02:00
Laurent Destailleur
51ee0b07c0 Removed duplicate comment 2021-04-02 22:32:52 +02:00
Laurent Destailleur
3744bc6a7a FIX #yogosha5746 - next step (work in progress) 2021-03-30 18:17:13 +02:00
Laurent Destailleur
84ec032cc0 Look and feel v14 2021-03-26 17:58:00 +01:00
Laurent Destailleur
4a22c8e87e CSS 2021-03-26 15:12:39 +01:00
Laurent Destailleur
3a5f130ed5 Add protections 2021-03-26 14:54:12 +01:00
Laurent Destailleur
a4ca16db32 Doc 2021-03-26 14:48:14 +01:00
Laurent Destailleur
7c2e3c4930 Removed old deprecated API browser 2021-03-26 14:47:10 +01:00
Laurent Destailleur
1f75c12957 Add test for API explorer using redoc 2021-03-26 14:40:23 +01:00
Laurent Destailleur
8dd07fb6d5 NEW The swagger.json file of API can be included into external sources 2021-03-26 14:30:47 +01:00
Laurent Destailleur
77bb5b78b6 Show swagger json file of APIs 2021-03-26 13:57:16 +01:00
Laurent Destailleur
94b98403ab Update index.php 2021-03-25 12:52:35 +01:00
Alexis LAURIER
69d57f48fd api compression - add API_DISABLE_COMPRESSION 2021-03-25 09:20:31 +01:00
stickler-ci
5463a705c7 Fixing style errors. 2021-03-22 08:40:06 +00:00
Alexis LAURIER
bcb3265678 rest api - manage data compression 2021-03-22 09:37:25 +01:00
Alexis LAURIER
cf3f813c0d rest api - manage data compression 2021-03-22 09:28:57 +01:00
Frédéric FRANCE
ed3b637d7a add new rule 2021-03-01 00:34:15 +01:00
Frédéric FRANCE
9b48e1a649 code syntax api directory 2021-02-23 17:44:43 +01:00
Laurent Destailleur
a4b1043f00 Close #16196 #16210 2021-02-11 20:07:29 +01:00
Frédéric FRANCE
12f5c9636e Update api_setup.class.php 2021-02-10 15:31:31 +01:00
Frédéric FRANCE
f47584ed32 Update api_setup.class.php 2021-02-07 22:49:25 +01:00
Laurent Destailleur
7b35192476 Fix bad label 2021-02-06 00:15:07 +01:00
Laurent Destailleur
ca7738c9b3 FIX #16107 2021-01-30 13:57:42 +01:00
Laurent Destailleur
11a122176d Clean code 2020-12-24 02:33:11 +01:00
Laurent Destailleur
65dc766765 Code comment 2020-12-24 02:12:13 +01:00
Laurent Destailleur
93d309cdbc FIX Update Restler API to 3.1.1 to fix error with php8 2020-12-23 19:15:58 +01:00