Commit graph

153434 commits

Author SHA1 Message Date
Laurent Destailleur
08f1ae440e Fix must use url from outside 2026-04-15 21:23:20 +02:00
Laurent Destailleur
92eaa96db7 Clean code 2026-04-15 21:20:24 +02:00
Laurent Destailleur
08f410f7ea Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-04-15 21:19:45 +02:00
Laurent Destailleur
fd49e3f006 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-15 21:16:20 +02:00
Laurent Destailleur
6e78d9546e Enhance setup page 2026-04-15 21:14:49 +02:00
Regis Houssin
70979b77b9
FIX backport from sql upgrade of v23 #37874 (#37875)
* FIX backport from sql upgrade of v23 #37874

* FIX drop foreign key before index

* FIX missing sql install file

* FIX travis error

* FIX wrong checking value

* FIX phan error

* Update categorie.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-15 21:04:05 +02:00
Laurent Destailleur
0734c9e03a Automated merge from 23.0 to develop 2026-04-15 20:08:45 +02:00
Laurent Destailleur
66d884ffa4 Automated merge from 22.0 to 23.0 by tool pullmerge.sh 2026-04-15 20:08:42 +02:00
Laurent Destailleur
501a4db936 Automated merge from 21.0 to 22.0 by tool pullmerge.sh 2026-04-15 20:08:40 +02:00
Laurent Destailleur
f7d7ad698c Automated merge from 20.0 to 21.0 by tool pullmerge.sh 2026-04-15 20:08:37 +02:00
Laurent Destailleur
b46f9c7c69 Automated merge from 19.0 to 20.0 by tool pullmerge.sh 2026-04-15 20:08:35 +02:00
Laurent Destailleur
68affb377f Automated merge from 18.0 to 19.0 by tool pullmerge.sh 2026-04-15 20:08:33 +02:00
Laurent Destailleur
71ba5c1ea9 Automated merge from 17.0 to 18.0 by tool pullmerge.sh 2026-04-15 20:08:30 +02:00
Laurent Destailleur
a1f9670a34 Automated merge from 16.0 to 17.0 by tool pullmerge.sh 2026-04-15 20:08:26 +02:00
Laurent Destailleur
609cd64a88 Automated merge from 15.0 to 16.0 by tool pullmerge.sh 2026-04-15 20:08:23 +02:00
Laurent Destailleur
bf6c8090a5 Automated merge from 14.0 to 15.0 by tool pullmerge.sh 2026-04-15 20:08:19 +02:00
Laurent Destailleur
34aa958293 Doc 2026-04-15 19:39:03 +02:00
Laurent Destailleur
d6f53cf078 Make a dangerous and very unstable feature hidden. Should never be on as
it ha sno doubt that option is not stable and dev not complete. A lot of
side effect not yet managed must be managed first before beeing enabled.
Related to #37878
2026-04-15 19:12:05 +02:00
Laurent Destailleur
a5307001c6 Make a dangerous and very unstable feature hidden. Should never be on as
it ha sno doubt that option is not stable and dev not complete. A lot of
side effect not yet managed must be managed first before beeing enabled.
Related to #37878
2026-04-15 19:01:14 +02:00
Laurent Destailleur
c4fb784d0f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-15 18:41:42 +02:00
Laurent Destailleur
d30da98414 Fix warning 2026-04-15 18:40:59 +02:00
Laurent Destailleur
69f5220977 CSS 2026-04-15 18:40:23 +02:00
MDW
e23059184f
Qual: Phan/fix for notices seen in #37875 & ci (#37876)
* Qual: Fix phan notice

Fix PhanTypeMismatchArgumentNullable: Argument 1 ($stringtosanitize) is $origin of type ?\CommonObject|?\CommonTrigger|?\DolDeprecationHandler|?array{}|?non-empty-array&lt;mixed,mixed&gt;|?non-empty-string|?string but \DoliDB::sanitize() takes string defined at htdocs/core/db/DoliDB.class.php:187 (expected type to be non-nullable)

* Qual: Fix PhanPluginSuspiciousParamPosition

# Qual: Fix PhanPluginSuspiciousParamPosition

Fix notices by using intermediate variable name that matches the parameter of the called function
where the original parameter name matches the name of a parameter in another position

* Qual: Fix PhanTypeMismatchArgument

# Qual: Fix PhanTypeMismatchArgument

Fix PhanTypeMismatchArgument: Argument 1 ($stringtosanitize) is $local of type int but \DoliDB::sanitize() takes string
in get_localtax_by_third($local) where local is an int already.
So use cast to (int) instead.
Also limit typehint of local to 1 and 2 which are the only allowed values

* Qual: Fix PhanTypeMismatchArgument in cloneCategories()

# Qual: Fix PhanTypeMismatchArgument in cloneCategories()

The argument $toId which is already an integer was passed to DoliDB::sanitize() which expects a string.
So casting to (int) instead to fix this.

* Qual: Ignore complex PhanUndeclaredStaticProperty

# Qual: Ignore complex PhanUndeclaredStaticProperty

Accessing static property provided by a trait on some classes - ignore the phan notice

* Qual: Phan ignore PhanUndeclaredMethod for getPossibleLevels

* Qual: Add typing hints for phan

* Qual: Add typehint for phan

* Qual: Remove redundant semicolon in objectonoff.php

# Qual: Remove redundant semicolon in objectonoff.php

Removed an unnecessary semicolon in the error handling loop of objectonoff.php.

* Qual: Fix PhanPossiblyUndeclaredGlobalVariable

* Qual: Ignore PhanPossiblyUndeclaredGlobalVariable
2026-04-15 17:59:06 +02:00
Zakaria Boushaba
90b514bf85
Fix: skip qty vs order check for title/separator lines in shipment (#37882)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-15 17:56:26 +02:00
atm-adrien
9adf11ca40
FIX : Adding hooks (#37887) 2026-04-15 17:55:11 +02:00
Lucas Marcouiller
c04849b76f
Fix : Prevent order to be payed multiple times (#37884)
Co-authored-by: Hystepik <lmarcouiller@dolicloud.com>
2026-04-15 17:54:53 +02:00
John BOTELLA
3ab77d673e
NEW : Quick memo module (#37422)
* Add quick memo module

* remove backport

* remove under v24 code

* fix css

* remove dirt

* Fix icon and z index

* Fix option coherance

* Missing trad

* css

* Move sql files

* Mv langs files

* missing langs files

* PHP stan add lang trans from Dolibarr JS context

* missing langs

* remove duplicate lang

* Fix lang load after lang move

* remove useless try to include main

* mv jsonResponce.class.php

* rm comment

* rm useless files

* Fix lang load and remove module backport

* Fix lang duplicate

* fix php stan errors

* fix php stan errors

* fix query

* Update memo.class.php

* Update properties to allow null values

* Remove old img

* Fix sql filter

* fields def change for php stan

* PHP doc update

* Comment

* Fix php doc

* Fix php doc

* Fix php doc

* Fix php doc

* Fix php doc

* Fix php stan feedback

* Fix php stan feedback

* Fix php stan feedback

* Fix php stan feedback

* Fix php stan feedback

* Fix php stan feedback

* Use new native css tooltips

* php doc

* php doc

* php doc

* Fix sql

* remove static method

* travis

* travis

* travis

* Move modQuickMemo.class.php

* Update llx_quickmemo_memo-quickmemo.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-15 17:47:50 +02:00
Laurent Destailleur
b23e968ed6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-15 17:37:38 +02:00
Laurent Destailleur
9e61f5fe27 Doc 2026-04-15 17:37:25 +02:00
Laurent Destailleur
e53f4d9d3d Stub 2026-04-15 17:36:33 +02:00
Laurent Destailleur
3686e70c1e Doc 2026-04-15 16:07:59 +02:00
Frédéric FRANCE
495173f01a
clean code and phpstan (#37879)
* clean code and phpstan

* clean code and phpstan

* clean code and phpstan

* clean code and phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-04-15 15:55:05 +02:00
Laurent Destailleur
d1e24fae68 CI 2026-04-15 15:35:23 +02:00
Laurent Destailleur
20bd9e6c1c Fix CI 2026-04-15 15:26:21 +02:00
Laurent Destailleur
091c16e16e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-15 15:18:53 +02:00
Laurent Destailleur
d67b1a29cd Show info on thirdparty and member on patnership card. 2026-04-15 15:14:08 +02:00
Laurent Destailleur
6cad697646 Trans 2026-04-15 14:47:31 +02:00
Laurent Destailleur
bf4de17fce Fix regression missing link 2026-04-15 14:43:57 +02:00
Laurent Destailleur
795e799815 Fix duplicate picto 2026-04-15 14:36:52 +02:00
Laurent Destailleur
484484ca0b Fix replace js alert with Dolibarr.tools.setEventMessage 2026-04-15 13:51:29 +02:00
Laurent Destailleur
9a3b0d4922 Fix replace js alert with Dolibarr.tools.setEventMessage 2026-04-15 13:50:20 +02:00
Laurent Destailleur
1f3c57b7db NEW Show short label of categories by default, long is in hover. 2026-04-15 13:03:41 +02:00
Laurent Destailleur
f7b499d2b1 CSS 2026-04-15 11:56:05 +02:00
Laurent Destailleur
92f6013a0b Fix link of foreign key #37873 #37875 2026-04-14 20:31:54 +02:00
Laurent Destailleur
73e19bf742 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-04-14 20:30:51 +02:00
Laurent Destailleur
1919f616bc Fix constraint 2026-04-14 20:30:16 +02:00
Regis Houssin
06dff9a05a
FIX broken feature with api auth and Multicompany transverse mode (#37868) 2026-04-14 19:53:29 +02:00
ThomasNgr-OpenDSI
44b41d30fb
Add hook createFrom to supplier invoices (#37862) 2026-04-14 19:47:14 +02:00
Regis Houssin
b536508ecf
FIX avoid error with postgresql (#37865) 2026-04-14 19:46:19 +02:00
Regis Houssin
31aae1fd1a
FIX avoid error when delete a category (#37864) 2026-04-14 19:45:27 +02:00