Commit Graph

584 Commits

Author SHA1 Message Date
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
Laurent Destailleur
d3f352fe10 Fix log 2020-12-23 15:52:00 +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
834058a816 Debug api to create a document 2020-12-16 02:33:21 +01:00
Florian HENRY
dca48e4fb6 NEW : add ECM files table info into API document entry GET 2020-12-11 10:21:10 +01:00
Jools
5ef73bf882
Change module_part to modulepart 2020-12-09 16:26:31 +01:00
Laurent Destailleur
6abf1b6ac2 Error message 2020-12-07 20:59:07 +01:00
Laurent Destailleur
fb3c4ab865 Clean returned object with APIs 2020-12-05 00:02:40 +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
Scrutinizer Auto-Fixer
6df4954b20 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-12-01 01:41:19 +00:00
Laurent Destailleur
aab7056b6f Fix phpcs 2020-12-01 01:57:40 +01:00
Laurent Destailleur
9fed0ca970 test 2020-11-30 18:33:58 +01:00
Givriz
c48129e279 Ajout de la class "button-save"
Ajout de cette class sur les boutons pour pour cloturer une issue ouverte (feature)
2020-11-19 20:23:38 +01:00
Frédéric FRANCE
e52b79d586
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-11-01 14:19:06 +01:00
Frédéric FRANCE
d9bf49c5dc
phpcs 2020-10-31 21:04:38 +01:00
Frédéric FRANCE
49390a596c
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-10-31 20:33:59 +01:00
Scrutinizer Auto-Fixer
ab25e047c0 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 17:51:30 +00:00
Frédéric FRANCE
fb980fb110
merge 2020-10-31 16:40:53 +01:00
Frédéric FRANCE
e95f38cca7
merge 2020-10-31 16:22:13 +01:00
Frédéric FRANCE
be4a4cb54b
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-10-31 16:10:16 +01:00
Frédéric FRANCE
8bf2b1797c
tabs 2020-10-31 15:59:33 +01:00
stickler-ci
284c9bc6a8 Fixing style errors. 2020-10-31 13:34:01 +00:00
Scrutinizer Auto-Fixer
7f52920716 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
0b9c866825
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-10-31 09:08:07 +01:00
Frédéric FRANCE
757c800039
work 2020-10-31 09:03:09 +01:00
Frédéric FRANCE
460af58134
typo 2020-10-30 22:09:15 +01:00
Frédéric FRANCE
2cbbf86a5b
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-10-30 17:48:00 +01:00
Frédéric FRANCE
28adc985b0
Update api_setup.class.php 2020-10-30 17:31:57 +01:00
Frédéric FRANCE
ace1dc16f1
Merge remote-tracking branch 'upstream/develop' into zapieruser 2020-10-30 14:47:09 +01:00
Frédéric FRANCE
5c71b7e24c
work on members 2020-10-30 09:25:14 +01:00
Frédéric FRANCE
412077ab51
doxygen 2020-10-30 08:24:02 +01:00
Pierre Penelon
63c5c41a7b
ADD Handle proposals upload in documents API 2020-10-28 01:47:25 +01:00
Laurent Destailleur
e10033143a Fix bad var 2020-10-27 18:40:44 +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
f442dac2c9 Add token on most GET url for admin action 2020-09-30 15:13:28 +02:00
Laurent Destailleur
216b3c885d Fix escaping 2020-09-20 01:30:36 +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
Laurent Destailleur
1f8278c8ca Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/accountancy/bookkeeping/balance.php
	htdocs/core/class/html.formmail.class.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/fourn/class/fournisseur.facture.class.php
	htdocs/langs/en_US/other.lang
	htdocs/product/class/product.class.php
	htdocs/supplier_proposal/class/supplier_proposal.class.php
2020-09-12 04:42:59 +02:00
Laurent Destailleur
5ea3f09e17 Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
Conflicts:
	htdocs/comm/propal/class/propal.class.php
	htdocs/core/class/translate.class.php
2020-09-12 04:29:28 +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
Laurent Destailleur
b8fe2188a6 Standardize code around model_pdf 2020-09-10 01:49:09 +02:00
ATM-Nicolas
6bd6b285fd FIX : Static property called as non static 2020-09-08 16:03:18 +02:00
florian HENRY
e44a1fd33f ->error rather than dol_print_error into product 2020-07-31 16:09:38 +02:00
Laurent Destailleur
2687666579 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop 2020-07-29 13:54:12 +02:00
Laurent Destailleur
391fcc799b FIX #14279 2020-07-29 12:51:18 +02:00
Laurent Destailleur
a607ff4c1a Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/functions2.lib.php
	htdocs/core/lib/project.lib.php
	htdocs/langs/fr_FR/bills.lang
	htdocs/langs/fr_FR/products.lang
	htdocs/langs/fr_FR/stocks.lang
	htdocs/langs/fr_FR/ticket.lang
	htdocs/mrp/mo_card.php
2020-06-18 15:50:31 +02:00
Laurent Destailleur
c0b269b9ee Fix Permissions on MO and API for MO 2020-06-18 01:09:30 +02:00
Laurent Destailleur
6c2d70d43b Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into develop 2020-06-17 19:27:39 +02:00
Laurent Destailleur
54596d2286 FIX #13967 2020-06-17 19:26:17 +02:00
Laurent Destailleur
bbbcd5b6b3 Fix phpcs 2020-06-16 22:48:19 +02:00
Xebax
5d76b4781e FIX Upload of documents for members using the REST API. 2020-06-16 22:48:14 +02:00
Laurent Destailleur
64b2a2d92f Fix phpcs 2020-06-16 22:46:36 +02:00
Xebax
a22c89da96 FIX Upload of documents for members using the REST API. 2020-06-14 14:58:09 +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
Laurent Destailleur
a88ab40384 Clean phpcs 2020-05-02 15:18:59 +02:00
Laurent Destailleur
ed045b2673 FIX #13749 2020-04-27 15:04:31 +02:00
Laurent Destailleur
50d9f466d4 FIX #13749 2020-04-27 14:38:45 +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
4e6017e5bf Look and feel v12 2020-04-23 18:50:20 +02: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
Laurent Destailleur
e7360279b5
Merge pull request #13490 from ptibogxiv/patch-319
FIX preg_match for constante name
2020-04-05 12:26:08 +02:00
ptibogxiv
6be12efd61
NEW get documents for categories with RESP API 2020-04-05 11:20:24 +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
b5e5d96d50 Doxygen 2020-04-03 03:04:23 +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
fb5363d857 Fix pregex 2020-03-26 03:32:05 +01:00
Laurent Destailleur
4e77413996 Try fix suggested in #13418 2020-03-25 19:29:54 +01: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
f6014798d9 Comment 2020-02-25 14:59:47 +01:00
Laurent Destailleur
b7a0de11c6 FIX API Get list of documents for supplier_invoice 2020-02-25 14:47:51 +01:00
Laurent Destailleur
9c7debf27f FIX API Get list of documents for supplier_invoice 2020-02-25 14:47:05 +01:00
Laurent Destailleur
d172a95dfe Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop 2020-02-25 14:37:04 +01:00
Laurent Destailleur
69c2f4bd27 FIX API upload/download doc for expensereport 2020-02-25 14:36:39 +01:00
Laurent Destailleur
2438b48a1d FIX API upload/download doc for expensereport 2020-02-25 14:36:05 +01:00
Laurent Destailleur
2c6e7f2917 Tooltip for example on IP restrictions 2020-02-25 13:40:19 +01:00
Laurent Destailleur
5516c8ce81 FIX Submit of documents for supplier invoices. 2020-02-25 00:51:06 +01:00
Laurent Destailleur
1dbf3a7ae8 Look and feel v11 2020-02-21 20:14:55 +01:00
Laurent Destailleur
55bef402c4 Fix remove a lot of warnings on Eclipse 2020-02-21 17:47:36 +01:00
Laurent Destailleur
8c52f324ac Fix doxygen 2020-02-18 22:58:51 +01:00
Laurent Destailleur
0212bc5cf2 Try to fix eclipse warnings on doxygen 2020-02-18 22:54:03 +01:00
Laurent Destailleur
97081affdc Fix perm 2020-02-18 22:50:13 +01:00
Laurent Destailleur
b859d4670a Fix perm 2020-02-18 22:49:53 +01:00
ptibogxiv
08b06f48c9
NEW : api for get user's documents 2020-02-15 20:33:12 +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
Laurent Destailleur
9ae174d8b4 Clean code 2020-01-28 19:47:21 +01:00
Laurent Destailleur
f44b85f557 Fix $_SESSION['newtoken'] must be newToken() 2019-12-18 23:12:31 +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
Laurent Destailleur
835d22f556
Merge branch 'develop' into doxygen_todo 2019-12-14 13:46:40 +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
Frédéric FRANCE
c98ab917dd
doxygen 2019-12-11 20:33:58 +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
1eab97080c Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-22 14:13:30 +00:00
Laurent Destailleur
171b94fc5c
Merge pull request #12429 from Dolibarr/scrutinizer-patch-5
Scrutinizer Auto-Fixes
2019-11-14 08:50:24 +01:00
Scrutinizer Auto-Fixer
ac40dd8bbe Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-11-13 18:35:39 +00: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
Laurent Destailleur
274ddaa1be Fix mandatory field 2019-11-09 19:01:03 +01:00