Commit Graph

138 Commits

Author SHA1 Message Date
Laurent Destailleur
1b53ed09f9 Work on custom report feature 2022-02-15 11:03:48 +01:00
Laurent Destailleur
7ccb1c94a1 Fix var not defined 2022-01-13 19:07:05 +01:00
ptibogxiv
63611ab717 NEW add setup/establishments API (need for recruitment API) 2022-01-11 20:24:23 +01:00
Laurent Destailleur
0387b9922e FIX error message on sqlfilter in API 2021-12-20 20:49:32 +01:00
Laurent Destailleur
902fed1f0d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/ecm/index.php
2021-10-02 20:09:06 +02:00
Laurent Destailleur
166d3b08d6 Add LIBXML_NONET to simplexml_load_string 2021-09-30 20:12:01 +02:00
Laurent Destailleur
95e1ec87dc Merge branch 'develop' into patch-445 2021-09-30 13:40:23 +02:00
stickler-ci
4d62aff8aa Fixing style errors. 2021-09-28 18:29:50 +00:00
ptibogxiv
1b71404225 Update api_setup.class.php 2021-09-28 20:27:45 +02:00
Laurent Destailleur
1199782d61 Update api_setup.class.php 2021-09-28 13:10:46 +02:00
Laurent Destailleur
4f660343aa Update api_setup.class.php 2021-09-28 12:59:00 +02:00
Laurent Destailleur
b795d6b430 Update api_setup.class.php 2021-09-28 12:58:19 +02:00
stickler-ci
509e1f5636 Fixing style errors. 2021-09-25 10:48:39 +00:00
ptibogxiv
1cdba9fb80 NEW API get list of legal form of business 2021-09-25 12:46:27 +02:00
stickler-ci
6b820ae4c5 Fixing style errors. 2021-09-25 10:16:29 +00:00
ptibogxiv
77d64e4fe2 NEW API list of staff units 2021-09-25 12:13:06 +02: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
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
d6ce4e1086 Allow option to restrict API endpoints 2021-04-25 20:23:41 +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
0537fdd1c6 Add local ip into excluded IP for external URL download.
Fix #yogosha5861
2021-04-19 13:52:12 +02:00
Laurent Destailleur
59c8e70fd2 Fix #yogosha4510 2021-04-07 23:43:10 +02:00
Laurent Destailleur
3744bc6a7a FIX #yogosha5746 - next step (work in progress) 2021-03-30 18:17:13 +02: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
48ce5c5499 Update api_setup.class.php 2020-12-21 18:16:16 +01:00
Frédéric FRANCE
16d1bf9b00 fix unknown variable 2020-12-20 10:17:28 +01:00
Laurent Destailleur
6066a92b9d Fix API to get country 2020-12-19 22:34:33 +01:00
Laurent Destailleur
98cf15ba0f Clean APIs 2020-12-19 22:24:58 +01:00
Laurent Destailleur
a27f8bd349 Fix security for some APIs 2020-12-19 22:08:29 +01:00
Laurent Destailleur
e4b1a0bdb0 API to get list of enabled modules 2020-12-19 21:59:41 +01:00
Laurent Destailleur
9cfb0ac969 Clean API 2020-12-04 23:55:47 +01:00
Laurent Destailleur
8ace020ba8 Update api_setup.class.php 2020-12-02 19:16:42 +01:00
Cédric
c8b0570c90 NEW API: Get the list of ordering reasons 2020-12-01 16:32:36 +01:00
Frédéric FRANCE
28adc985b0 Update api_setup.class.php 2020-10-30 17:31:57 +01:00
Laurent Destailleur
80d13e711c More secured getURLContent method. Add PHPUnit on getURLContent 2020-10-27 18:02:05 +01:00
Scrutinizer Auto-Fixer
1512521d91 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-07 13:01:28 +00:00
Laurent Destailleur
cfc3c01815 Factorize code to know if a parameter is used to store a secret 2020-10-05 12:13:06 +02:00
Laurent Destailleur
584a02bc9a Update api_setup.class.php 2020-09-16 01:11:47 +02:00
ptibogxiv
f09655ec6c Update api_setup.class.php 2020-09-14 10:53:38 +02:00
stickler-ci
75a9678086 Fixing style errors. 2020-09-14 08:48:04 +00:00
ptibogxiv
557a6863ba NEW get state by REST API 2020-09-14 10:45:20 +02:00
ptibogxiv
9f475a3f93 FIX API variable error return
Some modules, when there is no value, delete the variables so don't find variable can be normal.

Error 404 is better than 500 with error servor (same as other object when not found)
ie thirdparties, contacts invoices...)
2020-09-10 14:01:00 +02:00