MDW
035ede5874
Qual: Fix phan notices in API classes
2025-03-02 20:49:46 +01:00
MDW
c02293a880
Qual: Add phpdoc for request_data param
2025-03-02 20:49:45 +01:00
Laurent Destailleur (aka Eldy)
c9ab22782e
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-01-20 14:57:45 +01:00
Laurent Destailleur (aka Eldy)
1f360ca498
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-01-20 12:28:49 +01:00
Laurent Destailleur (aka Eldy)
1b42078d1e
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2025-01-20 10:24:30 +01:00
atm-florian
ba4e97f07b
FIX 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
...
+ security for Tickets API: disable updating rowid
2025-01-16 10:37:29 +01:00
Christian Humpel
578d2fe83f
Fix #31677 ( #31678 )
2024-11-04 12:34:44 +01:00
Frédéric FRANCE
7cf6a0821f
fix phpdoc for ismultientitymanaged ( #29245 )
...
* fix phpdoc
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-04-06 17:38:39 +02:00
Laurent Destailleur
7715513ac9
Some API HTTP return code were moved from 401 to 403 to better follow
...
REST specification.
2024-04-02 14:47:49 +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
lamrani abdelwadoud
74ecd5c660
FIX return method DeleteLine in api_boms file ( #28471 )
...
* FIX return method DeleteLine in api_boms file
* update type of return in deleteLine method
2024-03-01 21:13:40 +01:00
Laurent Destailleur
9d48dcbd3d
Fix phpstan
2024-02-22 01:32:55 +01:00
Laurent Destailleur
996a9f4c59
Clean code: API of payment must be inside the API of object to pay
2024-02-19 17:55:00 +01:00
Laurent Destailleur
1d6cbe1fda
Fix GETPOST use should be avoid in classes
2024-02-02 23:46:12 +01:00
Laurent Destailleur
b514c1afbe
Move code 401 to 403
2024-02-01 13:34:55 +01:00
pascal
b052e1b4cc
qual enhance rest
2024-01-17 20:52:32 +01:00
MDW
85ad4ecdf8
Qual: Spelling for htdocs/[a-b]* ( #27422 )
...
Mostly comments, one variable changed from misspelling to .
Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-01-12 20:58:09 +01:00
Laurent Destailleur
b418bc9e1e
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2024-01-10 15:14:11 +01:00
Laurent Destailleur
e770259b3f
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2024-01-10 15:12:50 +01:00
christian.humpel
2f46ffec3a
clean and include fk_unit in api for BomLine.
2024-01-10 14:05:46 +01:00
Laurent Destailleur
e2f49c407f
Clean sql request to use exist instead of left join
2024-01-09 10:44:50 +01:00
Fabian Heinz
b78632a20e
api fixes
...
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2 ), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Laurent Destailleur
98009ea6be
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
ChangeLog
htdocs/compta/bank/class/account.class.php
htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
htdocs/langs/en_US/recruitment.lang
htdocs/master.inc.php
htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
d92c65ad91
FIX infinite loop in API call/trigger by adding a caller
2023-12-15 12:15:33 +01:00
MDW
bcdb567dd7
Fix PHP7.0 incompatibility (void is introduced in 7.1)
2023-12-06 16:47:44 +01:00
Laurent Destailleur
ba10d60a0b
Fix with php-cs-fixer
2023-12-04 12:02:35 +01:00
pascal
80f060c771
fix tab indentation
2023-09-26 18:43:25 +02:00
pascal
871f896962
implementation of properties filter
2023-09-26 18:04:48 +02:00
Laurent Destailleur
31474d80f1
Doxygen
2023-06-19 00:52:43 +02:00
VMR Global Solutions
926aa6fec7
API add / fix filter on extrafields in index()
...
Add / change in api_xxx.class.php files the ability to filter on extrafields when missing in the public functions index()
by changing the SQL query with the pattern
" FROM ".MAIN_DB_PREFIX"xxxx AS t LEFT JOIN ".MAIN_DB_PREFIX."xxxx_extrafields AS ef ON (ef.fk_object = t.rowid)
2023-04-28 09:31:33 +02:00
Laurent Destailleur
ed5c890769
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-02-25 20:12:48 +01:00
Laurent Destailleur
cbb6ca071a
Fix #yogosha15157
2023-02-25 19:51:05 +01:00
FLIO
0080b0a80f
fix (qodana) fix condlicts
2023-02-01 23:38:49 +01:00
FLIO
02f4f47083
fix (qodana) Return value type is not compatible with declared
2023-01-24 23:11:28 +01:00
Christian Humpel
5b2c2335b0
strtolower for keyword 'auto'
2023-01-05 11:55:37 +01:00
stickler-ci
18550211c8
Fixing style errors.
2023-01-04 17:32:30 +00:00
Christian Humpel
de4986a570
integrate auto increment on 'auto' keyword.
2023-01-04 18:14:58 +01:00
Christian Humpel
b72a1c9964
Rename Methode "checkRefNumbering".
2023-01-04 17:41:26 +01:00
Christian Humpel
7d5dec6bb7
Remove comment.
2023-01-04 16:39:50 +01:00
Christian Humpel
78b12c8298
Fix : #23415 correct numbering on 'ref'.
2023-01-04 16:33:39 +01:00
Christian Humpel
326c8762bb
Fix #21761 Correct numbering by adding/updating the BomLine and clean code.
2022-08-19 17:29:05 +02:00
stickler-ci
f0dd152f11
Fixing style errors.
2022-08-18 16:12:40 +00:00
Christian Humpel
17c5f30689
New #21774 extend REST with PUT and DELETE for BOM-Lines. Otherwise some changes for correct ranking of BOM-Lines.
2022-08-18 18:07:56 +02:00
Christian Humpel
0576f31592
#21750 NEW: Added "Get lines and Post lines from BOM" at the REST Service
2022-08-15 15:18:08 +02:00
Christian Humpel
a204165018
#21750 NEW: Added "Get lines from BOM" at the REST Service
2022-08-14 15:58:49 +02:00
Christian Humpel
32fe761f01
NEW: Added "Get lines from BOM" at the REST Service
2022-08-14 12:55:48 +02:00
Laurent Destailleur
0387b9922e
FIX error message on sqlfilter in API
2021-12-20 20:49:32 +01:00
Laurent Destailleur
1c95e2b7c7
FIX #17453
2021-05-03 14:58:29 +02:00
Laurent Destailleur
6c84b858ee
Fix #yogosha5832
2021-04-08 18:51:42 +02:00
Laurent Destailleur
ca1715df96
Add some protection for SQL injection
2021-03-22 13:31:06 +01:00