Commit Graph

172 Commits

Author SHA1 Message Date
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
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
ptibogxiv
e31a93929a
FIX doc of dictionnary API 2020-01-29 14:01:48 +01:00
Scrutinizer Auto-Fixer
455178ff73 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-12-18 14:20:36 +00:00
Laurent Destailleur
838633d0de Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/system/filecheck.php
	htdocs/api/class/api_setup.class.php
	htdocs/compta/facture/card.php
	htdocs/compta/stats/index.php
	htdocs/core/actions_massactions.inc.php
	htdocs/install/upgrade2.php
	htdocs/loan/card.php
	htdocs/loan/document.php
	htdocs/loan/info.php
	htdocs/loan/note.php
	htdocs/loan/schedule.php
	htdocs/product/list.php
	htdocs/ticket/card.php
	htdocs/user/class/user.class.php
2019-12-14 14:53:49 +01:00
Laurent Destailleur
17b9964678 Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
Conflicts:
	build/generate_filelist_xml.php
	htdocs/core/class/utils.class.php
	htdocs/core/lib/files.lib.php
2019-12-14 14:43:14 +01:00
Laurent Destailleur
a8de7b850a Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
Conflicts:
	htdocs/admin/system/filecheck.php
2019-12-14 14:33:46 +01:00
Frédéric FRANCE
874eab1619
$type and $module are not defined 2019-12-13 14:51:18 +01:00
Frédéric FRANCE
bac5c3800e
Update api_setup.class.php 2019-12-13 14:46:27 +01:00
Laurent Destailleur
ce47de453e Fix HTML5 2019-12-12 10:31:08 +01:00
stickler-ci
247ef7b619 Fixing style errors. 2019-11-26 16:40:45 +00:00
ptibogxiv
d36cc22d39
NEW get company info by API 2019-11-26 17:38:49 +01:00
Scrutinizer Auto-Fixer
f4aaa8d9bb Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-13 18:34:37 +00:00
ptibogxiv
4145d7c825
Update api_setup.class.php 2019-11-07 17:18:39 +01:00
stickler-ci
a3878d82e9 Fixing style errors. 2019-11-07 16:06:58 +00:00
ptibogxiv
a641c81d92
FIX socialnetworks API if module not active 2019-11-07 17:05:30 +01:00
stickler-ci
7f53bc376c Fixing style errors. 2019-11-05 10:30:36 +00:00
ptibogxiv
cd187f033f
NEW get social networks dictionary by API 2019-11-05 11:28:22 +01:00
stickler-ci
50e5185297 Fixing style errors. 2019-11-04 20:02:11 +00:00
Cédric
f05463b239
API Get the list of ordering methods 2019-11-04 21:01:30 +01:00
Cédric
d098efb8fe
getListOfShipmentMethods: Add rowid field in sql select 2019-10-22 12:52:08 +02:00
c3do
bc6fb54798 New Add API to get List of Shipment methods 2019-10-20 15:56:27 +02:00
c3do
4fb0d03500 NEW Add API to get Country by code and iso 2019-10-20 15:25:18 +02:00
Frédéric FRANCE
33c35780e0
wip 2019-10-20 11:17:54 +02:00
ptibogxiv
e5cb9bc22e
Update api_setup.class.php 2019-10-10 15:56:36 +02:00
ptibogxiv
56b6223bba
Update api_setup.class.php 2019-10-10 14:23:18 +02:00
ptibogxiv
612c80b290
Update api_setup.class.php 2019-10-10 13:07:19 +02:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Laurent Destailleur
f6c2fb77ae Fix scrutinizer 2019-09-01 22:02:48 +02:00
Laurent Destailleur
9961b9c132
Merge pull request #11136 from ptibogxiv/patch-175
NEW add multicurrency rate at currency list API
2019-06-24 19:00:27 +02:00
Laurent Destailleur
40023c8ba2
Merge branch 'develop' into patch-174 2019-06-20 03:56:29 +02:00
ptibogxiv
27c928d9d9
NEW list of measuring units API 2019-06-17 20:53:10 +02:00
Laurent Destailleur
c4fdec9481
Update api_setup.class.php 2019-05-08 02:05:03 +02:00
ptibogxiv
96cc4f7774
Update api_setup.class.php 2019-05-06 12:37:55 +02:00
ptibogxiv
80ed080800
Update api_setup.class.php 2019-05-06 11:31:41 +02:00
ptibogxiv
650fbb2bbf
Update api_setup.class.php 2019-05-06 10:55:11 +02:00
ptibogxiv
2aafef4017
NEW add multicurrency rate at currency list API 2019-05-06 10:27:13 +02:00
ptibogxiv
a0ba8d98a1
Update api_setup.class.php 2019-05-05 20:54:31 +02:00
ptibogxiv
11ece56038
NEW add API shipment mode 2019-05-05 19:08:27 +02:00
Frédéric FRANCE
f283782445
change visibility 2019-03-04 19:57:46 +01:00
Frédéric FRANCE
1c07006015
wip 2019-02-25 21:36:27 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma 2019-01-27 23:23:38 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call 2019-01-27 11:55:16 +01:00
Frédéric FRANCE
6e91b3cefc
PSR2 usage of else if is discouraged 2019-01-27 10:49:34 +01:00
Philippe GRAND
cf62d285d9 update with html5 compliant code 2019-01-22 13:54:04 +01:00
ptibogxiv
f64437104b
Update api_setup.class.php 2019-01-16 20:16:33 +01:00
ptibogxiv
f4b27e0340
Update api_setup.class.php 2019-01-16 18:59:18 +01:00