Commit Graph

757 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
e400883ad1 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-05 18:32:15 +01:00
Laurent Destailleur (aka Eldy)
daed8e303d CSS v21 2025-02-05 17:51:45 +01:00
Frédéric France
729c7068f0
fix phpstan 2025-02-03 20:29:43 +01:00
Laurent Destailleur
08d32dbf25 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-20 01:00:21 +01:00
Laurent Destailleur
0d350d09ce Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-20 00:49:21 +01:00
Laurent Destailleur
0a45c4cad2
Update card.php 2025-01-15 14:16:11 +01:00
Regis Houssin
4d4638c75a FIX avoid php warning 2025-01-15 12:09:49 +01:00
Regis Houssin
62c543ef17 FIX remove specific hook return 2025-01-10 23:34:45 +01:00
Regis Houssin
5ab7e9ec3f FIX use the right hook name 2025-01-10 03:21:20 +01:00
Regis Houssin
f8b957fd0d FIX tu veux ou tu veux pas ? 2025-01-10 03:10:01 +01:00
Regis Houssin
8d11c1625f FIX wrong hook name 2025-01-10 03:04:55 +01:00
Regis Houssin
3f7d5cf790 NEW add hook 'addMoreInformationsBlock' 2025-01-10 00:33:51 +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
Regis Houssin
7618df8726 FIX remove html entities 2025-01-09 11:04:32 +01:00
Regis Houssin
41b07d1630 FIX compatibility with externals modules 2025-01-09 10:36:48 +01:00
Regis Houssin
4934a335b0 FIX use transnoentities to avoid html entities 2025-01-09 10:09:23 +01:00
Regis Houssin
8e427353e0 FIX avoid to show html entities 2025-01-09 07:39:24 +01:00
Laurent Destailleur (aka Eldy)
79ae59ee2a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-08 17:54:13 +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
Hystepik
4553ba1f81 New add drag & drop on some cards 2024-12-09 11:08:49 +01:00
Laurent Destailleur
0b3c15b7fa Fix phpunit 2024-12-09 00:24:28 +01:00
Laurent Destailleur (aka Eldy)
352d156dd7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-12-08 17:07:14 +01:00
Laurent Destailleur (aka Eldy)
774a48fa29 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-08 16:53:21 +01:00
Regis Houssin
5236372921 FIX missing hook parameters 2024-12-05 07:53:04 +01:00
Regis Houssin
af6a487178
FIX missing check permissions for clone user action (#31944)
* FIX missing check permissions for clone action

* FIX missing permission for the action
2024-11-16 14:45:30 +01:00
lamrani abdelwadoud
7e283c29cf
NEW funclionality to Clone user with permissions and categories (#29773)
* first clone confirm

* complete the cloning functionality

* Fix phan error

* Fix php phan errors

* fix sanitized varible

* Fix error CTI

* variable undeclared

* initialise variable

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 22:19:40 +01:00
Laurent Destailleur
e20a593959 css 2024-11-10 11:55:18 +01:00
Alexandre SPANGARO
48d5d2b831
NEW Accountancy - Add general account on thirdparty - Code user part (#31676)
* NEW Accountancy - Add general account on thirdparty - SQL Part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* NEW Accountancy - Add general account on thirdparty - Code customer part

* Fix Phan

* Use isModEnabled

* NEW Accountancy - Add general account on thirdparty - Code supplier part

* Fix phan

* Fix phan

* Fix phan

* Use list of account instead of  simple input

* Use list of account instead of simple input

* Tabs

* NEW Accountancy - Add general account on thirdparty - Code user part

* NEW Accountancy - Add general account on thirdparty - Code user part

* Fix indent

* Fix indent

* Remove duplicate language key

* Fix phan

* Fix phan

* Update card.php

* Fix accountancy export CSV

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 18:40:58 +01:00
Frédéric FRANCE
1adc883b56
add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
f5e4ab0220 Rewrite code to prepare refactoring 2024-10-26 15:24:54 +02:00
Laurent Destailleur
d28ed5339b Look and feel v21 2024-10-16 14:37:25 +02:00
Laurent Destailleur
26bb977006 WIP to allow upload of files 2024-10-13 12:40:46 +02:00
MDW
c9690393bc
Fix undefined global varialbe user/card.php (#31353)
# Fix undefined global varialbe user/card.php

Fix a few issues, one of which noticed in V21 UI.

Also notified by phan:
```
htdocs\user\card.php:626 PhanUndeclaredGlobalVariable Global variable $mesgs is undeclared
htdocs\user\card.php:2967 PhanUndeclaredGlobalVariable Global variable $soc is undeclared

```
2024-10-11 16:05:37 +02:00
MDW
0c26110636
Qual: Fix notices related to user classes (#31291)
# Qual: Fix notices related to user classes

This fixes several notices related to user classes (and reveals
some actual bugs or inconsistent typing).
2024-10-06 13:52:05 +02:00
Laurent Destailleur
b7d5f16da2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-24 14:42:43 +02:00
Laurent Destailleur
72d2d716a1 CSS 2024-09-24 14:28:59 +02:00
MDW
099dbd9c1e
Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable

* Update phan baseline

* Fix (Possibly)UndeclaredGlobalVariable (2)

* Qual: Fix notices for htdocs/admin/*

# Qual: Fix notices for htdocs/admin/*

Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
Laurent Destailleur
2e2ab9d84d Fix missing test on permissions 2024-09-01 13:48:58 +02:00
Laurent Destailleur
e3c9f1db7c Standardize name of var for permission check 2024-09-01 13:02:28 +02:00
Florent Poinsaut
c7f8a8c06d
FIX #30520 Creator user data displayed in the form after an error in the user creation form (#30521) 2024-08-15 17:24:42 +02:00
Florent Poinsaut
4d3b83e625 FIX #30523 An user with only user->rights->user->self->password can't update it's password (#30524) 2024-08-15 17:10:57 +02:00
Florent Poinsaut
0008496974
FIX #30523 An user with only user->rights->user->self->password can't update it's password (#30524) 2024-08-15 17:10:27 +02:00
Laurent Destailleur
ed73dc6471 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-13 11:59:53 +02:00
Laurent Destailleur
db93af6c77 Debug v20 2024-08-13 11:07:04 +02:00
Laurent Destailleur
79f1cc95bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/lib/company.lib.php
2024-08-13 04:47:12 +02:00
Laurent Destailleur
fe21cc3605 Debug v20 2024-08-13 04:37:19 +02:00
Laurent Destailleur
f002fb4ed1 Use the non deprecated function loadRights instead of getrights 2024-08-02 10:36:43 +02:00
Laurent Destailleur
6ac589b0a9 NEW Introduce value 'password' formode of sanitization in GETPOST. 2024-07-21 14:44:14 +02:00
Zephyriony
dd08c07a65
NEW : Constant to hide user login times (#29815)
* Update card.php

* Update list.php

* Update list.php
2024-07-02 02:00:31 +02:00
Alexandre SPANGARO
96afcaa476
Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00