Laurent Destailleur
27161bd309
Merge pull request #36450 from mdeweerd/phpstan/dol_sort_array
...
Qual: Improve type hinting for phpstan in dol_sort_array()
2025-11-28 23:18:26 +01:00
Laurent Destailleur
6c54e4792b
CSS
2025-11-28 09:17:34 +01:00
MDW
05c32bb12d
Qual: Cast label to string to ensure type consistency (phpstan)
2025-11-28 02:23:46 +01:00
MDW
b37aa3d1c6
Qual: Type casting in select_country and loadCacheInputReason methods
2025-11-28 02:19:05 +01:00
MDW
5117e09959
Qual: Cast properties to string in get_full_arbo method
2025-11-28 02:18:59 +01:00
MDW
e68b0f23d4
Qual: Change array assignment for phpstan type deduction
2025-11-28 02:18:46 +01:00
Laurent Destailleur
1b9dcf200a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2025-11-25 21:00:30 +01:00
Laurent Destailleur
955bf9db10
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-11-25 21:00:16 +01:00
Regis Houssin
1e484dda55
NEW webportal member authentication only with WEBPORTAL_LOGIN_BY_MEMBER_ACCOUNT ( #36259 )
...
* NEW webportal member authentication only
* FIX missing translation
* FIX php-stan errors
* FIX php-stan : cryptType is always "auto" !
* FIX remove CrypType
* FIX php-stan error
* FIX phan error
* FIX CI versions
* FIX remove wrong fix
* FIX pre-commit error
* FIX phan error
* FIX php-stan error
* FIX avoid php warning
* FIXME this check is not valid
2025-11-25 14:39:30 +01:00
Regis Houssin
7d403a2fff
FIX getEntity use element instead table_element ( #36405 )
2025-11-24 19:15:04 +01:00
Laurent Destailleur
111ba82936
Debug v23
2025-11-24 18:58:50 +01:00
MDW
4f5c32973f
Qual: Improve type hints and cache arrays in html.form.class.php ( #36384 )
...
* Qual: Improve type hints and cache arrays in html.form.class.php
- Added detailed type hints for cache arrays
- Fixed a typo in the comment for the 'num' property
- Ensured consistent type casting for integer values in cache arrays
(fixes phpstan notices)
* Qual: Add type casting in donation modules
Following cache type improvement:
- Added type casting in donation modules
2025-11-24 15:05:55 +01:00
Laurent Destailleur
1b9f546dce
Debug v23
2025-11-24 01:46:27 +01:00
Frédéric FRANCE
9d4260c858
fix Ci ( #36354 )
...
* fix Ci
* Update html.form.class.php
* fix
* remove duplicate
2025-11-21 17:26:29 +01:00
Laurent Destailleur
f68f7c3da8
Debug v23
2025-11-21 01:02:48 +01:00
Laurent Destailleur
71fd5f2f62
Merge branch 'develop' into new-api-rest-tokens
2025-11-19 21:26:41 +01:00
kkhelifa-opendsi
548bb94e4f
NEW: Rework of the management of the card and fields on the web portal ( #36076 )
...
* NEW: Rework of the management of the card and fields on the web portal
* Correction pre-commit check
* Correction affichage logo login
* Ajout hook
* Ajout params fonction FormWebPortal::convertAllLink()
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction phpstan
* Correction travis
* Correction travis
* Correction travis
* Correction travis
* Correction
* Fix get options of sellist by AJAX in webportal scope
* Correction pre-commit
* Correction pre-commit
* Add hook and change hook name for viewImage controller
* Correction phan
* Corrections
* Corrections
2025-11-19 15:14:53 +01:00
Laurent Destailleur
81527a9fe9
Clean code
2025-11-18 12:03:23 +01:00
Laurent Destailleur
3bb348ba9a
CSS
2025-11-13 12:39:04 +01:00
Laurent Destailleur
34bd3f5755
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
2025-11-12 22:02:50 +01:00
Laurent Destailleur
8c394c70b8
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-11-12 21:56:01 +01:00
Laurent Destailleur
1affd67437
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-11-12 21:54:29 +01:00
Laurent Destailleur
2db335dd0e
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-11-12 21:51:30 +01:00
Laurent Destailleur
dba065c222
Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0
2025-11-12 21:50:04 +01:00
Laurent Destailleur
29edc77dd5
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2025-11-12 21:46:53 +01:00
Marc de Lima Lucio
ba0a7fe17a
FIX: categories: sql error in link extrafields targettings categories ( #36236 )
2025-11-12 19:09:03 +01:00
Regis Houssin
f2e4ac5bfe
FIX use $this->db instead $db ( #36219 )
...
* FIX use $this->db instead $db
* FIX use $db with static function
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-11 20:18:00 +01:00
Frédéric FRANCE
538baecead
display member photo with hash ( #36205 )
...
* display member photo with hash
* display member photo with hash
* display member photo with hash
* display member photo with hash
2025-11-11 08:58:29 +01:00
Laurent Destailleur
cca679c0a1
Add property parent
2025-11-09 21:57:56 +01:00
Charlène Benke
cb1b29dd6a
Add sortorder parameter to selectForFormsList method ( #36173 )
...
there are a problem on many extrafields list : we can't sort list by decrease and sort from a specific fields since we have add an sql prevention on filter based on : separator (who is used to separate parameters)
@eldy i propose to remplace on extrafields parameters the : in the sql injection prevention by another caracters, by exemple the ; or the § , and replace it after having explode all the parameters
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-09 21:23:32 +01:00
Laurent Destailleur
bd8b081a37
Debug v23
2025-11-09 16:37:11 +01:00
Laurent Destailleur
cf651c7544
Clean code
2025-11-09 03:58:55 +01:00
Laurent Destailleur
ff80a85962
css
2025-11-09 03:50:40 +01:00
Laurent Destailleur
08c281b2e4
Fix date input on smartphone
2025-11-09 03:20:48 +01:00
Laurent Destailleur
9ec5b94808
css
2025-11-07 20:02:16 +01:00
Laurent Destailleur
dfbf173b17
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-11-07 19:25:42 +01:00
Laurent Destailleur
355092f6d7
Debug v23
2025-11-07 18:12:46 +01:00
Frédéric FRANCE
ccc5707146
phpstan doc ( #36129 )
...
* phpstan doc
* Update html.form.class.php
2025-11-06 17:09:52 +01:00
Regis Houssin
fa10fc0f94
FIX avoid NULL value ( #36126 )
2025-11-06 13:15:03 +01:00
Laurent Destailleur
37a0918393
CSS
2025-11-05 21:37:27 +01:00
Florian Mortgat
a16f3bdf31
FIX 16.0: extrafield of type link to category causes SQL error in selectForFormsList() ( #36074 )
...
* FIX 16.0 (up to 19.0): extrafield of type link to category causes SQL error in selectForFormsList
* Apply suggestion from @atm-florianm
2025-11-04 13:06:58 +01:00
Laurent Destailleur
74cc41c460
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-11-03 14:27:58 +01:00
atm-corentin
a199a7ded9
Fix : performance issues on select bom ( #36017 )
...
* optimize SQL query in BOM dropdown by joining product table directly and removing redundant Product object creation
* Change JOIN to INNER JOIN in SQL query
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-01 17:48:50 +01:00
MDW
073426d97e
Qual: Fix multiple phan notices, update baseline ( #36022 )
...
* Qual: Fix phan notice with copy of attribute
* Qual: Fix phan notices with cast and updated param definition
* Qual: Fix phan notice with cast
* Qual: Update parameter type hint in utf8_check function
The parameter type hint for the $str parameter in the utf8_check function has been updated to include nullable types (string or int).
* Qual: Update User parameter type to nullable in call_trigger methods
The User parameter in call_trigger methods has been updated to be nullable to accommodate cases where the user object might not be available. This change ensures better flexibility and robustness in the codebase.
* Qual: Update phan baseline
* Qual: phpstan compatible type
* Qual: Add missing type hints for phan
- Add missing type hints for phan
- Fix indentation issues
- Improved consistency in code structure
* Qual: Update field configuration for backward compatibility
Enhanced the field configuration for backward compatibility by adding expected properties to the 'ref' field array.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-01 17:47:28 +01:00
Laurent Destailleur
187840dbb3
NEW Can add info of main IT service provider in setup.
2025-10-30 14:41:37 +01:00
Laurent Destailleur
d0c4d2d8b4
NEW Output of category tag is nicer for long subcategories.
2025-10-29 16:50:09 +01:00
Regis Houssin
591395f44b
QUAL uniformize and globalize accesskey/stringforfirstkey + for Mac OS this is "CTRL + Option + key" ( #35948 )
...
* QUAL uniformize en globalize accesskey/stringforfirstkey + Mac os is
CTRL + Option + key
* FIX pre-commit error
2025-10-25 22:52:55 +02:00
Laurent Destailleur
cd2f4bb7d2
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-10-24 19:46:38 +02:00
John BOTELLA
bbec4721a4
UIUX : webportal css style PART 03 : allow select login form theme for webportal ( #35849 )
...
* WIP : add theme selection
* final style
* fix class
* fix css
* fix comment
* PHP stan
* PHP stan
* PHP stan
* PHP stan
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-10-24 11:19:13 +02:00
VIAL-GOUTEYRON Quentin
7aa9633901
FIX : Perf for bom select ( #35871 )
...
* ADD: Option to optimize BOM combo list performance with search-based loading
* FIX: Remove debug backtrace and exit statement in security.lib.php
* FIX: Use dynamic database prefix in BOM combo list query
* FIX: Correct spacing issue in 'elseif' condition in bom.php
2025-10-22 00:58:55 +02:00