Commit Graph

1120 Commits

Author SHA1 Message Date
MDW
04ec188cb6 fix: Improve type casting and array initialization in user.class.php
- Added explicit type casting for array values
- Improved array initialization syntax for better readability and maintainability
2025-11-28 02:19:12 +01:00
Laurent Destailleur
ce01e1d95f Debug v23 2025-11-27 00:05:04 +01:00
Laurent Destailleur
424484a4c3 Debug v23 2025-11-21 19:11:32 +01:00
Laurent Destailleur
f68f7c3da8 Debug v23 2025-11-21 01:02:48 +01:00
Laurent Destailleur
ddb1fd42fc Fix update of color when using HTML5 2025-11-09 02:40:40 +01:00
Frédéric FRANCE
e343b4ab1f clean code (#36166)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-08 14:01:19 +01:00
Laurent Destailleur
3afe861e34 css 2025-11-08 11:28:10 +01:00
Regis Houssin
1e8b3e5d01 NEW possibility to define global entity in user param (#35908)
* NEW possibility to define global entity in user param

* FIX travis error
2025-10-23 13:43:53 +02:00
Laurent Destailleur
cfd17372f4 Debug v23 2025-10-15 04:36:06 +02:00
Frédéric FRANCE
2078610328 add dolBuildUrl with examples of use (#35549)
* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* add dol_buildurl with examples of use

* wip

* wip

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add more example

* add example

* add example

* add example

* add example

* add example

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* stay in the same area even we are on other area in other tab

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* add example

* add example

* add example

* add example

* add example

* add example

add example

add example

add example

add example

* add example

* add example

add example

add example

add example

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* wip

* wip

* clean code
2025-10-06 18:17:02 +02:00
Frédéric FRANCE
a90c222f73 clean code (#35626)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 00:07:24 +02:00
Frédéric FRANCE
3adedc23d9 fix CI 🐛 (#35392)
* add picto

* fix padding

* fix CI

* Update user.class.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-19 23:38:52 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
Frédéric FRANCE
21d50f1a58 clean code expedition class (#35327)
* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code
2025-09-15 16:16:22 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Frédéric FRANCE
34498d3437 fetch greatest tms for user and fix user creation and modification (#35145)
* fetch greatest tms for user and fix user creation and modification

* fetch greatest tms for user and fix user creation and modification

* fetch greatest tms for user and fix user creation and modification

* fetch greatest tms for user and fix user creation and modification

* fetch greatest tms for user and fix user creation and modification

* fetch greatest tms for user and fix user creation and modification
2025-09-01 19:21:54 +02:00
ldestailleur
48ae4d4a10 Drop deprecated column egroupware_id 2025-08-08 11:35:03 +02:00
ldestailleur
2e47121024 Debug v22 2025-07-21 14:25:48 +02:00
atm-lena
5253346fca Delete entity filter in user fetch (#34348)
* Delete entity filter in user fetch

* Fetch without entity if fetch by id

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-06-30 14:21:03 +02:00
ldestailleur
497d774a21 Fix the selectForFormsList was not using correctly the
ismultientitymanaged. Replace a join with and exists.
2025-06-27 00:21:50 +02:00
David Beniamine
5a9b8e2237 Fix several issues with user and groups sync to LDAP (#34396) 2025-06-11 17:13:57 +02:00
Laurent Destailleur
221c27c091 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-09 18:15:59 +02:00
Laurent Destailleur
326c75dc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-09 17:58:54 +02:00
Laurent Destailleur
473ddbc53a Merge remote-tracking branch 'origin/19.0' into 20.0 2025-06-09 17:42:02 +02:00
Laurent Destailleur
c444fe3c1f Merge remote-tracking branch 'origin/18.0' into 19.0 2025-06-09 17:25:03 +02:00
noec764
4096b00bd5 FIX: Too heavy sql query (#34371)
Co-authored-by: Noé <noe@scopen.fr>
2025-06-08 14:26:44 +02:00
ldestailleur
11d357b79e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-06-02 14:31:05 +02:00
ldestailleur
9a8a07e85a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-06-02 14:27:14 +02:00
atm-lucas
4c6955017f Adding mapping to module rights (#34212) 2025-05-20 21:47:08 +02:00
ldestailleur
095905670a Remove BlockUI js plugin. Replaced with few js/css lines. 2025-05-06 19:15:13 +02:00
ldestailleur
e12519025a Debug v22 2025-05-05 18:45:14 +02:00
ldestailleur
5507459381 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-26 20:17:08 +02:00
ldestailleur
fd928a4d14 Change for #33970 2025-04-26 01:54:30 +02:00
ldestailleur
62d19f4ff9 Change for #33970 2025-04-26 01:52:31 +02:00
ldestailleur
8e23f51959 NEW Show IP of previous connexion and date of last password change in
the "Connexion" widget.
2025-03-27 18:12:26 +01:00
Frédéric France
0ec7241b2d fix phan 2025-03-01 16:25:22 +01:00
Laurent Destailleur
426479799c Update user.class.php 2025-02-24 14:34:09 +01:00
Laurent Destailleur
5a74dfd650 Update user.class.php 2025-02-24 14:32:05 +01:00
MDW
6257c892bf Replace some db->escape's with int casts 2025-02-22 16:28:13 +01:00
MDW
1632befc92 Qual: Fix phan notices (user) 2025-02-22 16:28:13 +01:00
ldestailleur
f22054b004 Fix regression 2025-02-18 19:06:26 +01:00
Laurent Destailleur (aka Eldy)
48354a6d73 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-02-12 19:16:56 +01:00
Laurent Destailleur (aka Eldy)
fe3669621a NEW Add option MAIN_MAIL_EMAIL_FROM_PASSWORDRESET 2025-02-12 19:16:20 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Maxime Kohlhaas
ba2dab2a44 NEW : auto-detect country from code in creation (follow-up⁾ 2025-01-10 16:56:14 +01:00
Laurent Destailleur (aka Eldy)
b024b95948 Fix typo 2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
56710ce9b7 FIX CVE-2024-55227 and CVE-2024-55228 CSRF when
MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-09 19:35:01 +01:00
Laurent Destailleur (aka Eldy)
de321e8f01 Fix typo 2025-01-09 02:01:49 +01:00
Laurent Destailleur (aka Eldy)
c0250e4c91 FIX CVE-2024-55227 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is
on (hidden option not on by default)
2025-01-08 17:41:45 +01:00
Laurent Destailleur
56173b0297 Fix avoid duplicate filter IN (0, 0) 2024-12-04 09:18:46 +01:00