Commit Graph

12109 Commits

Author SHA1 Message Date
ldestailleur
b45a1c21ee NEW introduce method dolSetCookie 2025-03-11 10:21:45 +01:00
MDW
a0f71fbe76 Qual: Fix phan notices (core/lib) (#33379)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols

* Qual: Fix phan notices (core/lib)
2025-03-11 01:43:54 +01:00
Frédéric FRANCE
87ccfff7ce update session in db with user id (#33391) 2025-03-11 01:43:36 +01:00
MDW
c0f533865f Fix CI: Do not require some fields in the 'title' definition of $cols (#33399)
* Qual: Fix PhanMismatchType

* Finalize rename of $attrV into $value

* Correct getGlobalString into getGlobalInt

* Do not require some fields in the 'title' definition of $cols
2025-03-11 01:42:49 +01:00
ldestailleur
cfef1b9f53 FIX Loading of deliveries from a shipment was loading everything 2025-03-10 23:53:31 +01:00
ldestailleur
f7fa2ddf13 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-10 19:48:59 +01:00
ldestailleur
e362f99aa0 Fix serious regression 2025-03-10 19:24:21 +01:00
MDW
988fc75ca2 Qual: Fix phan notices (emailcollector, bookkeeping) (#33375)
* Qual: Fix phan notices (mostly propal)

* Fix some const arguments to Form::select_dolusers()

* Update phan baseline

* Qual: Fix phan notices (propal)

* Qual: Fix phan notices (emailcollector, bookkeeping)
2025-03-10 15:47:55 +01:00
ThomasNgr-OpenDSI
c9a27ae21d NEW : allow stock management by product (#32326)
* Code part

* Code part 2

* Fix : invert a const

* Fix : invert disable/enable stock values

* Fix

* Fix missing column from select inside sql request

* Fix input hidden missing name

* ajout d'un commentaire

* small fixes

* remove unrelated lines

* phpcs

* stickler fix

* pre-commit fixes

* pre-commit fixes

* pre-commit fix

* fix missing translation

* Fix phpstan

* fix winCI

* fix travis

* fix phpstan

* fix travis (hopefully)

* remove useless lines

* relaunch tests

* change stockable_product type from bool to int

* change test in Expeditin::addline() to allow adding a line for product with disabled stock management

* make stock management mandatory for products with batch number

* try to remove PHAN errors

* fix phpstan

* fix phpstan

---------

Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: mrozniecki <mrozniecki@easya.solutions>
Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2025-03-10 10:49:53 +01:00
ldestailleur
3658bc20b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-09 22:29:21 +01:00
ldestailleur
1b2522d385 Fix CSS 2025-03-09 22:05:36 +01:00
ldestailleur
202ffe732e Enhance phpunit tests 2025-03-09 21:26:51 +01:00
ldestailleur
3e24bbd419 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-08 14:51:36 +01:00
ldestailleur
18a4224e5d Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-08 14:51:04 +01:00
ldestailleur
e627c5b096 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-07 15:15:31 +01:00
ldestailleur
948f041f46 Fix encoding space for scope must use %20according to OAUTH2 standard 2025-03-06 17:10:53 +01:00
ldestailleur
cee3d12305 Clean var 2025-03-06 16:31:26 +01:00
ldestailleur
48e6c70501 Fix urlencode 2025-03-06 16:31:05 +01:00
dolibarr95
781abe8615 code simplification (#33355)
see https://github.com/Dolibarr/dolibarr/pull/33347
2025-03-06 14:00:17 +01:00
Laurent Destailleur
201424d119 Update date.lib.php 2025-03-06 13:12:34 +01:00
Laurent Destailleur
524ef969e8 Update date.lib.php 2025-03-06 13:12:10 +01:00
dolibarr95
5d775dcb5d Add $includemonday var
Related to https://www.dolibarr.fr/forum/t/erreur-sur-calcul-de-conges/48690/43?u=dolibarr95
2025-03-06 08:44:39 +01:00
ldestailleur
996770b8f2 Fix protect use of sanitize to make sql injection 2025-03-06 03:39:47 +01:00
ldestailleur
caead5de9f Fix protect use of sanitize to make sql injection 2025-03-06 03:29:54 +01:00
MDW
56e354e112 Qual: Fix phan notices (facture/2) 2025-03-05 21:17:58 +01:00
Laurent Destailleur
da8d69e1ab Update functions.lib.php 2025-03-05 14:57:54 +01:00
John BOTELLA
4b640e4cad Add params 2025-03-05 13:29:47 +01:00
Laurent Destailleur
121c618d45 Merge pull request #33317 from frederic34/imgpicto_info_black
modify info_black picto
2025-03-04 21:42:50 +01:00
ldestailleur
14000c46e7 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-04 21:33:15 +01:00
ldestailleur
86f836b652 Merge backport 2025-03-04 21:27:10 +01:00
ldestailleur
04b0b3d855 FIX in dev for #33324 2025-03-04 20:50:54 +01:00
Frédéric FRANCE
dc596021d2 modify info_black picto 2025-03-04 10:36:24 +01:00
ldestailleur
f8f9a81f9b Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-03 17:00:48 +01:00
ldestailleur
361ac7fa33 Better sanitizing function 2025-03-03 16:49:34 +01:00
ldestailleur
22ef2a018a Doc 2025-03-03 14:45:14 +01:00
ldestailleur
ebe11cde51 Debug pdf (calculation of free text height) 2025-03-03 14:42:15 +01:00
ldestailleur
58d1bdfbce Doc 2025-03-03 13:51:47 +01:00
John BOTELLA
5fad2c3a14 Fix dolGetButton Tooltip 2025-03-03 10:15:25 +01:00
ldestailleur
4abab4ee4b Removed $conf 2025-03-03 04:00:42 +01:00
MDW
035ede5874 Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
ldestailleur
812d9ad051 Debug v12 - fix delay of cache 2025-03-02 19:13:06 +01:00
ldestailleur
c2aa1fe7a6 Missing log for services 2025-03-02 18:44:04 +01:00
Laurent Destailleur
7cf7afcddc Merge pull request #33283 from frederic34/phpstan_collab
fix phpstan
2025-03-02 17:00:34 +01:00
ldestailleur
ac5d5aeb91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-03-02 15:29:14 +01:00
ldestailleur
cc2af5eec0 Debug v21, missing error message 2025-03-02 14:04:27 +01:00
ldestailleur
4d80ee1328 Same nb of - then in dolibarr.log 2025-03-02 13:43:42 +01:00
ldestailleur
71b71b8425 Show name of page to help debug 2025-03-01 20:06:03 +01:00
ldestailleur
b49b676fcb Debug v21 error when failed to write file 2025-03-01 18:37:06 +01:00
ldestailleur
db3780d70d Fix doc 2025-03-01 18:16:25 +01:00
ldestailleur
dd7baf5005 Debug v21 - log of start page on page only 2025-03-01 18:11:24 +01:00