Commit Graph

642 Commits

Author SHA1 Message Date
ptibogxiv
81bec04586
Update api_setup.class.php 2022-10-28 16:17:14 +02:00
ptibogxiv
8d604e3b2d
NEW support lang in Civilities API 2022-10-28 16:16:11 +02:00
ptibogxiv
b0c6b59eb2
NEW translate setup/ticket API
link to https://github.com/Dolibarr/dolibarr/pull/22699

& fix for multicompany
2022-10-28 15:56:15 +02:00
ptibogxiv
ba20087ceb
FIX better compatibility for translation of label in setup API 2022-10-28 15:52:59 +02:00
Laurent Destailleur
a2d9dd3388 Clean code 2022-10-22 00:08:10 +02:00
Laurent Destailleur
be10cdee95 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-10-06 16:03:50 +02:00
Laurent Destailleur
5ccc5c9e1a Fix error message 2022-10-03 17:30:47 +02:00
Alexandre SPANGARO
c674f00cb2 Use isModEnabled 2022-09-25 15:27:42 +02:00
Laurent Destailleur
e1b5e5033f Clean code of deprecated field 2022-09-23 09:35:17 +02:00
Laurent Destailleur
6fb9a4713c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-09-21 01:30:40 +02:00
Laurent Destailleur
1f2ad8efbf FIX API reception return error 500 2022-09-21 01:13:53 +02:00
Philippe GRAND
857646ed36 update code toward php8 compliance 2022-09-10 11:00:38 +02:00
Laurent Destailleur
7a277d9560
Merge branch 'develop' into loaddolibarrenv 2022-09-09 17:02:05 +02:00
Laurent Destailleur
b23ab2cb71 FIX #yogosha12266 2022-09-09 13:58:54 +02:00
Frédéric France
8d33953142 add comment 2022-09-07 20:08:59 +02:00
Frédéric France
8e66b7207e replace ! empty by !empty 2022-08-31 22:14:20 +02:00
Laurent Destailleur
96889609e8 Fix restore use of API get when ID = 0 2022-08-27 19:02:05 +02:00
Laurent Destailleur
966aaddd39 Remove clean of protected vars 2022-08-25 14:46:10 +02:00
Laurent Destailleur
b000ee7c50 NEW Add API for partnership module
Debug module builder
2022-07-15 13:41:02 +02:00
Laurent Destailleur
4c10c04f9f
Merge pull request #20495 from atm-john/new_fix_regression_select_extrafield_search
FIX : regression select extrafield search + fix function name
2022-05-24 21:55:33 +02:00
Laurent Destailleur
fe0bbbb626 Better compatibility 2022-05-19 21:32:43 +02:00
Laurent Destailleur
4de50da0dd Repare code to forbidden var_dump() into code 2022-05-17 14:55:38 +02:00
Laurent Destailleur
40d0c3b996 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/compta/tva/card.php
	htdocs/langs/en_US/admin.lang
2022-04-28 19:23:13 +02:00
Laurent Destailleur
134113db64 Fix upload of doc for purchase orders 2022-04-26 01:00:10 +02:00
Laurent Destailleur
0023850c9a
Update api_documents.class.php 2022-04-14 22:16:17 +02:00
Philippe GRAND
d62d24a337 add code to get documents list by knowledgemanagement with api 2022-04-14 21:47:35 +02:00
ATM john
c1d9ea95dc fix function name 2022-03-30 12:16:17 +02:00
Laurent Destailleur
8603d493ad Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/contrat/list.php
	htdocs/install/mysql/tables/llx_partnership.key.sql
2022-03-19 17:34:26 +01:00
Laurent Destailleur
ef21def5ce NEW Add option MAIN_API_DEBUG to save API logs into a file 2022-03-19 10:42:06 +01:00
Laurent Destailleur
ed631b2b06 Fix doxygen, missing error message 2022-03-18 16:14:20 +01:00
UT from dolibit
d78f76447c
Update README.md
http://help.luracast.com/restler/examples/  - don't work anymore
replaced by   https://restler3.luracast.com/examples/index.html
2022-03-02 00:29:07 +01:00
Laurent Destailleur
548cad0508 FIx #20110 2022-02-28 21:30:12 +01:00
Laurent Destailleur
6b8312aab0 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-02-17 20:51:25 +01:00
Laurent Destailleur
d19aca7192 # WARNING: head commit changed in the meantime
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2022-02-17 20:50:03 +01:00
Laurent Destailleur
aacd439765 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/api/class/api_setup.class.php
2022-02-17 20:46:20 +01:00
Laurent Destailleur
ea7051f6a0
Merge pull request #20052 from ptibogxiv/patch-4
FIX API REST setup
2022-02-17 19:53:19 +01:00
Laurent Destailleur
a71bdc4024
Merge pull request #20053 from ptibogxiv/patch-5
NEW API REST filter states by country
2022-02-17 19:53:00 +01:00
Laurent Destailleur
3697cb9ca4 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/reception/class/reception.class.php
2022-02-17 11:34:54 +01:00
Laurent Destailleur
2a18bce2f3 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/api/index.php
	htdocs/langs/en_US/productbatch.lang
	htdocs/langs/fr_FR/productbatch.lang
	htdocs/ticket/list.php
2022-02-16 20:31:55 +01:00
Laurent Destailleur
0e664cc969 Fix API call from ajax 2022-02-15 11:12:08 +01:00
Laurent Destailleur
1b53ed09f9 Work on custom report feature 2022-02-15 11:03:48 +01:00
ptibogxiv
061dd565cc
Update api_setup.class.php 2022-02-13 13:22:01 +01:00
ptibogxiv
f2b88c6d7c
Update api_setup.class.php 2022-02-13 10:09:39 +01:00
ptibogxiv
8d3e97bab9
Update api_setup.class.php 2022-02-12 19:21:07 +01:00
ptibogxiv
54af0cf47a
NEW API REST filter states by country 2022-02-12 19:02:00 +01:00
ptibogxiv
a5a8f30939
FIX API REST setup
bad words
2022-02-12 17:08:43 +01:00
ptibogxiv
11e15255bd
FIX API REST for setup values 2022-02-12 16:59:29 +01:00
Laurent Destailleur
0b63ac638e FIX API caan now be used in a preflight mode by Ajax. 2022-02-09 21:12:06 +01:00
Laurent Destailleur
5a37b2c649 Fix API call 2022-02-09 18:10:21 +01:00
Laurent Destailleur
fe01f75e97 Fix API_ENDPOINT_RULES with api of external modules 2022-02-09 17:50:26 +01:00
Laurent Destailleur
a16d47c78e Close #19890 2022-01-23 12:06:40 +01:00
Laurent Destailleur
7ccb1c94a1 Fix var not defined 2022-01-13 19:07:05 +01:00
Laurent Destailleur
054116900a Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-01-13 11:59:05 +01:00
Laurent Destailleur
d3af00d4e6 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2022-01-12 10:58:24 +01:00
ptibogxiv
63611ab717
NEW add setup/establishments API (need for recruitment API) 2022-01-11 20:24:23 +01:00
Laurent Destailleur
1efbff8fea Fix error message 2022-01-11 15:42:03 +01:00
Laurent Destailleur
b41fdb6ec9 Fix tool for generic to sql filters. Must not be saved into api files. 2022-01-01 21:46:16 +01:00
Laurent Destailleur
de25cf3a72 NEW: Hidden option API_DISABLE_COMPRESSION is now visible in API setup
page.
2021-12-21 14:08:06 +01:00
Laurent Destailleur
fa1bddc79d Fix API for php8 2021-12-21 14:01:58 +01:00
Laurent Destailleur
0387b9922e FIX error message on sqlfilter in API 2021-12-20 20:49:32 +01:00
Laurent Destailleur
626cd24305 Clean code for #19639 2021-12-19 17:05:57 +01:00
Laurent Destailleur
441af6b6fb Fix add rel="noopener noreferrer" 2021-11-22 02:35:55 +01:00
Scrutinizer Auto-Fixer
5567310e44 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-25 20:07:31 +00:00
Laurent Destailleur
ab78930476 Add api to post supplier proposal and supplier order documents 2021-10-06 18:50:29 +02:00
Laurent Destailleur
96b617cb4d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/eventorganization/conferenceorboothattendee_card.php
	htdocs/mrp/mo_list.php
2021-10-06 18:30:26 +02:00
Laurent Destailleur
1c53035e38 Doc 2021-10-06 16:19:36 +02: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
6fd191b01a Update doc 2021-09-13 01:22:53 +02:00
Laurent Destailleur
e965d6d6f2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/pdf.php
	htdocs/api/class/api_access.class.php
2021-09-03 11:02:21 +02:00
Laurent Destailleur
7758c0b8a7 Fix phpcs 2021-09-02 16:06:19 +02:00
Laurent Destailleur
8600d8d00d Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop 2021-09-01 22:50:06 +02:00
Laurent Destailleur
0f325bdd65
Update api_access.class.php 2021-09-01 18:05:24 +02:00
Laurent Destailleur
d2f3d134df Code comment. Better _checkFilters 2021-08-30 16:54:45 +02:00
359dae6af8 FIX #18542 REST API: set global $user variable to DolibarrApiAccess::user. 2021-08-29 23:13:41 +04:00
Laurent Destailleur
46d993c9a6 Clean code 2021-08-27 22:42:04 +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
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