Commit graph

133486 commits

Author SHA1 Message Date
Laurent Destailleur
ab760df389 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-03-11 13:29:40 +01:00
Laurent Destailleur
2db58f09bc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-03-11 13:19:44 +01:00
Laurent Destailleur
b7a246cedb
Merge branch 'develop' into test/security_dol_eval_ob_cleanup_on_exception 2024-03-11 13:18:19 +01:00
Laurent Destailleur
30b5450e21 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-11 13:17:57 +01:00
Laurent Destailleur
f72b03434b Fix sql sanitization 2024-03-11 13:16:53 +01:00
daraelmin
4065a59024
FIX #24265 regression cannot see all product on takepos (#28753)
* FIX #24265 regression cannot see all product on takepose

See discussion here :

https://www.dolibarr.fr/forum/t/bug-affichage-takepos-mobile-dolibarr-v17/43219

* Update pos.css.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-03-11 13:07:37 +01:00
MDW
dbfb1180ee
Qual: Fix PhanPluginDuplicateIfStatements & remove exceptions (#28749)
# Qual: Fix PhanPluginDuplicateIfStatements & remove exceptions

Fix occurences of PhanPluginDuplicateIfStatements which are if statements where the
consecutive branches execute the same code, making it useles to test the condition
2024-03-11 12:58:51 +01:00
MDW
aee0509473
Qual: Force typing on variable fixing several phan notices (#28740)
* Qual: Force typing on variable fixing several phan notices

# Qual: Force typing on variable fixing several phan notices

Forcing DolibarrModules on $objMod after assignment to fix typing checks

* Qual: Fix typing on import_label/export_label
2024-03-11 12:56:55 +01:00
Laurent Destailleur
5c84032d41
Merge branch 'develop' into fix/PhanTypeMismatchDimAssignment 2024-03-11 12:56:23 +01:00
MDW
8602ca9885
Fix: implode->join and duplicated if condition (#28761)
* Fix: join->implode

# Fix: join->implode

Update new cases of join

* Fix: Duplicate if condition in if/else sequence

# Fix: Duplicate if condition in if/else sequence

Fixed repeated if condition and action
2024-03-11 12:55:55 +01:00
MDW
9c00a465c9
Qual: phan: Add more global definitions (#28745)
* Qual: phan: Add more global definitions

# Qual: phan: Add more global definitions

Add some more typing information for globals

* Qual: phan: ignore local conf file which may contain exceptions

* Qual: phan: add a few more global typings
2024-03-11 12:55:44 +01:00
Philippe Grand
e25fb6f39b
update code, better compliance with php8 (#28746)
* update code, better compliance with php8

* update code, better compliance with php8
2024-03-11 12:54:32 +01:00
Laurent Destailleur
1aa1647606
Update SecurityTest.php 2024-03-11 12:53:03 +01:00
Laurent Destailleur
41a57c05c5
Update SecurityTest.php 2024-03-11 12:51:27 +01:00
Laurent Destailleur
29216f3d4e
Update CommonClassTest.class.php 2024-03-11 12:49:15 +01:00
Laurent Destailleur
ff0d147847
Merge branch 'develop' into test/security_dol_eval_ob_cleanup_on_exception 2024-03-11 12:48:31 +01:00
Laurent Destailleur
4dba1f420e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-11 12:48:10 +01:00
Laurent Destailleur
1f4e7aedde Avoid to denaturate value when not required. 2024-03-11 12:47:53 +01:00
Maximilien Valenzano
68441677f7
fix: update currency when selected supplier (#28760) 2024-03-11 12:41:30 +01:00
Lucas Marcouiller
c224f9388e
Fix display in adherents type (#28754)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-03-11 12:39:23 +01:00
MDW
48073b85cb
Fix: 'count' on scalar zip->numFiles (#28756) 2024-03-11 12:39:07 +01:00
Laurent Destailleur
f32bf4b3a7 Fix join -> implode 2024-03-11 12:38:21 +01:00
Laurent Destailleur
af8c45987e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-11 12:30:03 +01:00
Laurent Destailleur
509754fe6b Better fix for #28755 #28752 2024-03-11 12:29:13 +01:00
Lucas Marcouiller
b3c275bcf9
Fix #28752 fix fatal error in societe card (#28755)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-03-11 12:26:47 +01:00
Laurent Destailleur
b3ee7c3853 Fix warning 2024-03-11 12:22:06 +01:00
Laurent Destailleur
e94b9f48c8 Fix warning 2024-03-11 12:18:57 +01:00
Laurent Destailleur
898aebdbf8 Fix missing tooltip 2024-03-11 12:06:57 +01:00
Laurent Destailleur
002a4596df Fix warning 2024-03-11 12:00:39 +01:00
Laurent Destailleur
a327d39062 Fix warning 2024-03-11 11:39:51 +01:00
Laurent Destailleur
ef45783d64 NEW: All fetchAll() method now support the USF syntax. 2024-03-11 11:33:58 +01:00
Laurent Destailleur
09802f76c1 NEW: All fetchAll() method now support the USF syntax. 2024-03-11 11:27:26 +01:00
Laurent Destailleur
0887664888 NEW: All fetchAll() method now support the USF syntax. 2024-03-11 11:23:34 +01:00
Laurent Destailleur
8df2ddc494 Fix sanitize sql 2024-03-11 10:48:46 +01:00
Laurent Destailleur
8d7911f484 Fix compatibility with USF. 2024-03-11 10:32:15 +01:00
Laurent Destailleur
c7d0ee18be Fix escape 2024-03-11 10:19:50 +01:00
Laurent Destailleur
517bffc211 Escape 2024-03-11 10:16:32 +01:00
Laurent Destailleur
1431582b82 Fix cursor 2024-03-11 10:10:17 +01:00
Frédéric FRANCE
6d5fe78da0
Merge branch 'develop' into patch-11 2024-03-11 09:30:16 +01:00
Laurent Destailleur
0fb4a44563 Fix nb of lines 2024-03-10 22:13:37 +01:00
Laurent Destailleur
c853a4687f Can delete last and criteria into the generic component. 2024-03-10 19:41:31 +01:00
Laurent Destailleur
c03b5dc2ec Fix for phan output 2024-03-10 18:50:02 +01:00
Frédéric FRANCE
18fc6361b3
Merge branch 'develop' into patch-11 2024-03-10 18:28:58 +01:00
Laurent Destailleur
4140f59335 Fix default value 2024-03-10 17:58:32 +01:00
MDW
c23794a23c
NEW: Script for fast identification of missing/unused/duplicate translations
# NEW: Script for fast identification of missing/unused/duplicate translations

Fast analysis of files to identify missing, unused and duplicate translations.
Fast = less than 3 seconds when there are no exceptions (on my development machine).
2024-03-10 16:39:42 +01:00
Frédéric FRANCE
9f9c54513c
Merge branch 'develop' into patch-11 2024-03-10 16:37:19 +01:00
Laurent Destailleur
453eb9c242 FIX: upload odt files should not start/end with space 2024-03-10 15:53:35 +01:00
Laurent Destailleur
ec1b8284c9 Rename files to use an english name 2024-03-10 15:52:29 +01:00
Laurent Destailleur
37775a8e14 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-10 15:43:07 +01:00
Laurent Destailleur
5a5fa9293f FIX: upload odt files should not start/end with space 2024-03-10 15:42:38 +01:00