Commit Graph

117 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
b41ac00b98 add new rule 2020-05-21 15:05:19 +02:00
Frédéric FRANCE
ee6fadd0d5 add new rule 2020-05-21 01:41:27 +02:00
Laurent Destailleur
30fede216c Fix Add '_pw' var as var sensibles. 2020-05-06 04:03:07 +02:00
Scrutinizer Auto-Fixer
1bf5745286 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-25 11:52:07 +00:00
Laurent Destailleur
0aa0d62f43 Fix constant 2020-04-23 18:42:59 +02:00
Laurent Destailleur
201a2349f6 Merge branch 'develop' into patch-324 2020-04-23 18:39:30 +02:00
Scrutinizer Auto-Fixer
444c293c01 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
ptibogxiv
26bc5381e4 Update api_setup.class.php 2020-04-08 14:57:34 +02:00
stickler-ci
1827541f88 Fixing style errors. 2020-04-05 12:04:25 +00:00
ptibogxiv
6a53e02c3c FIX better url for get conf with REST API
need to be more userfriendly and similar to other api (without a variable with GET varible in URL "?confname="
2020-04-05 14:02:51 +02:00
ptibogxiv
7818b15151 Update api_setup.class.php 2020-04-05 10:50:38 +02:00
ptibogxiv
99e53f6b18 FIX preg_math 2020-04-03 13:12:00 +02:00
Laurent Destailleur
a94f8572f1 Update api_setup.class.php 2020-04-02 12:53:41 +02:00
ptibogxiv
a0c2bc3743 Update api_setup.class.php 2020-03-31 20:52:15 +02:00
stickler-ci
7409642636 Fixing style errors. 2020-03-30 19:12:29 +00:00
ptibogxiv
fbf7375fe5 NEW compatibility of translabel with more dict 2020-03-30 21:10:27 +02:00
Laurent Destailleur
9525289488 Fix return code of some API 2020-03-17 13:50:20 +01:00
Laurent Destailleur
76fc722638 NEW Can get some variables (not available by default) 2020-03-17 13:33:21 +01:00
Laurent Destailleur
45771663aa NEW Add API to get types of expense reports 2020-02-25 18:53:25 +01:00
Laurent Destailleur
0212bc5cf2 Try to fix eclipse warnings on doxygen 2020-02-18 22:54:03 +01:00
ptibogxiv
8f2c87b0d4 Update api_setup.class.php 2020-01-30 13:52:13 +01:00