Laurent Destailleur
3690babb73
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-12-15 15:57:01 +01:00
Laurent Destailleur
e1b5e024f5
Merge
2025-12-15 15:56:34 +01:00
Laurent Destailleur
a0be2c8890
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2025-12-15 15:54:00 +01:00
Laurent Destailleur
77d7ec8a2b
Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0
2025-12-15 15:53:38 +01:00
Laurent Destailleur
cc37c778dc
Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
2025-12-15 15:53:00 +01:00
Laurent Destailleur
722c31d182
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2025-12-15 15:52:34 +01:00
VESSILLER
c2ae7d2da1
FIX create API temp directory in Dolibarr API constructor
2025-11-13 14:01:34 +01:00
ldestailleur
70d5454bfb
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-09-12 19:27:04 +02:00
ldestailleur
a54c5fcdcb
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-09-12 19:26:28 +02:00
Laurent Destailleur
8e689c1479
Complete #35313
2025-09-12 02:26:21 +02:00
ldestailleur
5ae358d5b5
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-09-04 13:49:07 +02:00
ldestailleur
258fe1124b
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-09-04 13:38:03 +02:00
lvessiller-opendsi
adbbf9e3b2
FIX set global mysoc and load langs in API access ( #35041 )
...
* FIX set global mysoc and load langs in API access
* FIX reset mysoc and langs only if entity of API has changed
2025-08-28 02:50:38 +02:00
ldestailleur
fe7eda2a4c
Move api counter at a better place
2025-07-28 14:31:17 +02:00
ldestailleur
72636dde06
Add API_COUNTER_ENABLED to track pb with api abuse.
2025-07-28 12:18:50 +02:00
ldestailleur
e3f4a66695
Add API_COUNTER_ENABLED to track pb with api abuse.
2025-07-28 12:16:38 +02:00
Laurent Destailleur
473ddbc53a
Merge remote-tracking branch 'origin/19.0' into 20.0
2025-06-09 17:42:02 +02:00
Laurent Destailleur
c444fe3c1f
Merge remote-tracking branch 'origin/18.0' into 19.0
2025-06-09 17:25:03 +02:00
William Mead
1aaa29ad9e
Fixed expense report permission. Added contributor details. ( #34368 )
2025-06-08 14:37:23 +02:00
ldestailleur
ca11136092
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-06-02 14:37:54 +02:00
ldestailleur
11d357b79e
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-06-02 14:31:05 +02:00
William Mead
4fb79ba8a1
FIX API expense report line comments (v18+) ( #34297 )
...
* Fixed API expense report line comments
* Added contributor details
2025-05-27 15:57:48 +02:00
Laurent Destailleur
ae2ceccc5b
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-26 03:44:09 +02:00
Laurent Destailleur
9dc1c6f8f4
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-09-26 03:38:49 +02:00
Laurent Destailleur
e125ab4783
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-09-26 03:36:52 +02:00
Laurent Destailleur
a8cb076bbd
Fix move
2024-09-26 03:34:32 +02:00
Laurent Destailleur
4ea503f366
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-09-26 03:30:40 +02:00
Laurent Destailleur
65c9bd7dcf
Merge remote-tracking branch 'origin/15.0' into 16.0
2024-09-26 03:25:38 +02:00
Laurent Destailleur
16a0d1d7d5
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
2024-09-26 03:23:00 +02:00
thomas-Ngr
bb40a43c5f
FIX Add same security test whe nuploading files from API than from GUI ( #31114 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-26 03:13:34 +02:00
ptibogxiv
d40e0c6026
Fix api_setup.class.php ( #30938 )
...
new fix because old disappared
2024-09-12 21:09:28 +02:00
ptibogxiv
5ddf586413
FIX api.class.php for expense reports ( #30818 )
...
* FIX api.class.php
Descriptions of line in expense reports are named comments
* Update api.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-01 15:10:08 +02:00
ptibogxiv
99bcf84a31
Fix api_setup.class.php ( #30682 )
2024-08-20 03:18:40 +02:00
Laurent Destailleur
2f643b8f99
Fix API_DISABLE_LOGIN_API
2024-08-17 16:30:47 +02:00
Christian Humpel
b96c7f8318
NEW API Document implementation for MRP (MO) ( #30488 )
...
* Get /documents
* PUT /documents/builddoc
* POST /documents/upload
2024-07-31 15:43:13 +02:00
Laurent Destailleur
6b6631fe22
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-05-31 16:51:46 +02:00
Laurent Destailleur
5ee4af14ed
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-05-31 16:30:50 +02:00
battosai30
f0bf49f942
FIX : #29439 incomplete API return ( #29796 )
...
* Update api_documents.class.php
* Update api_documents.class.php
* Update api_documents.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-05-31 15:24:31 +02:00
Laurent Destailleur
e054e4380c
Clean code
2024-05-02 16:25:44 +02:00
Laurent Destailleur
9e654e65dd
Debug v20
2024-04-29 11:04:19 +02:00
Jon Bendtsen
cb7ac3abef
Fix API GET extrafield returns 404 when not found. In general better (error) descriptions. ( #29341 )
...
* fix: get non existent => 404 + more detailed error descriptions
* FIX entity now loaded from Dolibarr, not user input. Also now shown in json.
* getting the entity data from the API user
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk >
2024-04-21 09:46:11 +01:00
Jon Bendtsen
a7e53f4e33
NEW: API can create, get and update extrafields #29249 ( #29270 )
...
* NEW: API can Post extrafields #29249 v2
* suppressing phan
* removing trailing space
* mix of POST to create and PUT to update into one package
* can now also get a single extrafield based on attrname and elementtype
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk >
2024-04-12 02:02:22 +02:00
Jon Bendtsen
f7eb0b9fde
NEW: API setup update extrafields from name, elementtype and json ( #29273 )
...
* NEW: API setup update extrafields from name, elementtype and json
* default_value
* fix SQL injection
* more SQL injection prevention
* Sanitized
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-10 12:02:57 +02:00
Jon Bendtsen
1207ce21cc
NEW: API setup delete extrafields from name and elementtype v2 ( #29269 )
...
* NEW: API delete extrafields from name and elementtype
* 401 came back, but was 403'ed again
* Fix sql injection
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk >
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-08 11:11:53 +02:00
Laurent Destailleur
b5de782c6b
Fix use the good HTTP code
2024-04-07 14:59:25 +02:00
Jon Bendtsen
3e3c4056fc
all current columns in llx_extrafields can now be seen in the json ( #29253 )
...
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk >
2024-04-06 17:42:03 +02:00
Laurent Destailleur
d25ef761ad
Merge pull request #29152 from mdeweerd/test/compat/deprecations
...
Fix Tests for compatibility with deprecations
2024-04-02 13:41:04 +02:00
Laurent Destailleur
990216b13f
NEW Api parameters are sanitized by the WAF, same code than GET/POST
2024-04-02 13:07:13 +02:00
Laurent Destailleur
594da940fa
Sanitize input
2024-04-02 11:57:30 +02:00
MDW
e3f1fc3682
Cope with magic and real properties aliases in _filterObjectProperties
2024-04-02 11:25:16 +02:00