Commit Graph

39551 Commits

Author SHA1 Message Date
brad
1fa7013313 FIX Add state/province filter to email adv select 2024-03-22 15:11:52 +11:00
Laurent Destailleur
51322707e9 Try to fix phpunit with pgsql 2024-03-22 02:44:55 +01:00
Laurent Destailleur
51a3641105 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/bom/tpl/objectline_create.tpl.php
	htdocs/compta/bank/releve.php
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/freezone.php
2024-03-22 02:35:37 +01:00
Laurent Destailleur
b658bde88a Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
Conflicts:
	htdocs/core/class/html.formsetup.class.php
	htdocs/takepos/index.php
2024-03-22 02:11:58 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
Frédéric France
c76ab41c91 fix warnings with syslog checkconfiguration 2024-03-21 22:01:11 +01:00
Frédéric France
ce38158c35 fix warnings with syslog checkconfiguration 2024-03-21 21:50:42 +01:00
Frédéric France
a2974f7778 fix phpstan 2024-03-21 19:13:33 +01:00
Frédéric France
2c1e8ff7c3 fix phpstan 2024-03-21 19:10:42 +01:00
Frédéric France
34028bac6e fix phpstan 2024-03-21 18:39:30 +01:00
Frédéric France
55b86350ae fix phpstan 2024-03-21 18:35:12 +01:00
Lamrani Abdel
880b5f2623 remove var_dump 2024-03-21 17:46:12 +01:00
Lamrani Abdel
f96f4fd3e9 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into addLayoutForWebsite 2024-03-21 17:36:17 +01:00
Lamrani Abdel
469735c74c remove var_dump 2024-03-21 17:35:31 +01:00
Laurent Destailleur
1285154bf1 Merge branch 'develop' into fixInDictMB 2024-03-21 16:34:18 +01:00
Laurent Destailleur
7290ffd1ab Better support for postgesql 2024-03-21 15:57:45 +01:00
Lamrani Abdel
820247dbd6 Fix condition in createDictionary for modulebuilder 2024-03-21 15:54:29 +01:00
Laurent Destailleur
922f30eceb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-21 15:38:11 +01:00
Laurent Destailleur
351af65b7d Merge pull request #29005 from mdeweerd/fix/PhanTypeInvalidLeftOperandOfBitwiseOp
Fix $var |= ... ; into $var = || $var ; PhanTypeInvalidLeftOperandOfAdd
2024-03-21 14:51:53 +01:00
Laurent Destailleur
10444e588a Merge pull request #29008 from hregis/fix_missing_entity_parameter
FIX missing entity parameter for ajax_constantonoff
2024-03-21 14:40:27 +01:00
Laurent Destailleur
d7a130ab29 Merge branch 'develop' into fix/PhanTypeInvalidLeftOperandOfBitwiseOp 2024-03-21 14:38:16 +01:00
Laurent Destailleur
a6d5b32c2e Merge branch 'develop' into qual/db/typing 2024-03-21 14:13:58 +01:00
Laurent Destailleur
2d0e57ce7c Fix test for pgsql 2024-03-21 14:13:17 +01:00
Laurent Destailleur
8ab80490e6 Merge branch 'develop' into qual/db/typing 2024-03-21 13:57:13 +01:00
Laurent Destailleur
477fb7a035 Fix warning 2024-03-21 13:55:23 +01:00
MDW
2ec5504dcb Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:12 +01:00
Regis Houssin
5ffdc44952 FIX missing entity parameter for ajax_constantonoff 2024-03-21 13:35:51 +01:00
Laurent Destailleur
0d6675114e Merge branch 'develop' into qual/db/typing 2024-03-21 13:19:51 +01:00
Laurent Destailleur
380c1092eb Fix warnings 2024-03-21 13:19:31 +01:00
Laurent Destailleur
f3e6b38d9d Fix warning 2024-03-21 13:16:59 +01:00
Laurent Destailleur
e97f0a7668 Merge branch 'develop' into qual/db/typing 2024-03-21 13:06:35 +01:00
Laurent Destailleur
aee4ccc32c Fix warnings 2024-03-21 13:06:20 +01:00
Laurent Destailleur
58e719eb56 Fix sanitization 2024-03-21 13:03:30 +01:00
Laurent Destailleur
9d5aa4a448 Fix sanitization 2024-03-21 13:02:41 +01:00
Laurent Destailleur
ae8e49e611 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 13:00:29 +01:00
Laurent Destailleur
84f2121610 Add a FIXME 2024-03-21 12:58:39 +01:00
Laurent Destailleur
5fa2bfff2e Merge branch 'develop' into qual/db/typing 2024-03-21 12:55:20 +01:00
Laurent Destailleur
61eefe5fa9 Merge branch 'develop' into fix/PhanTypeMismatchReturnNullable 2024-03-21 12:51:27 +01:00
Laurent Destailleur
04d8a20b63 Merge branch 'develop' into qual/db/typing 2024-03-21 12:46:25 +01:00
Laurent Destailleur
aa77573cd9 Sanitize DDL instructions 2024-03-21 12:45:58 +01:00
Laurent Destailleur
171c32be34 Add DDLDropTable and DDLCreateTable into phpunit tests 2024-03-21 12:21:38 +01:00
Laurent Destailleur
ce2959b022 Clean method DDLCreateTable (used by modulebuilder only) #28996 2024-03-21 12:10:09 +01:00
Laurent Destailleur
ae10eedf2a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-21 11:29:16 +01:00
Laurent Destailleur
57eb393dad Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-21 11:22:28 +01:00
Laurent Destailleur
01a058b208 Fix regression 2024-03-21 11:22:12 +01:00
Laurent Destailleur
27c0192b7c cast smallint 2024-03-21 11:17:15 +01:00
Lamrani Abdel
b5903da492 NEW preview exemple page in website when create page 2024-03-21 03:47:16 +01:00
Andrés Maldonado
976686262d FIX: SQL syntax error in DDLUpdateField 2024-03-21 02:36:40 +01:00
MDW
2496d20d4f Fix nullable return with if($ok == 1) in stead of if($ok)
# Fix nullable return with if($ok == 1) in stead of if($ok)

This seems to be a bug in Phan where if($ok) changes the type of $ok.
Testing with '$ok == 1' instead fixes the issue.

This has been reported to the phan team.
2024-03-21 00:28:14 +01:00
MDW
fc6af20479 Update typing for database functions 2024-03-21 00:00:00 +01:00