Commit Graph

3750 Commits

Author SHA1 Message Date
Laurent Destailleur
55d2f3d9fc Debug v20 2024-05-06 10:00:18 +02:00
Laurent Destailleur
a6f15b6a19 Fix look and feel 2024-05-05 12:53:52 +02:00
Frédéric FRANCE
d0830b3159 fix phpstan (#29602)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

fix phpstan

fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix travis

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-05 00:34:19 +02:00
Laurent Destailleur
0b9bd5408b Debug v20: Encapsulate the feature using leaflet/geophp into a constant
MAIN_USE_GEOPHP. Fix webportal module.
2024-05-03 02:39:35 +02:00
Laurent Destailleur
577491b799 Fix permissions on external users 2024-05-02 21:48:50 +02:00
Laurent Destailleur
50aa16c270 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-02 21:03:26 +02:00
Laurent Destailleur
9393c2c0e2 NEW users can set their own length for short lists 2024-04-30 10:20:40 +02:00
Laurent Destailleur
e3daa23949 Look and feel v20 2024-04-30 09:45:28 +02:00
Laurent Destailleur
cb604da904 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-28 22:16:01 +02:00
Laurent Destailleur
d35dd5a5a2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-28 21:57:00 +02:00
Laurent Destailleur
1af7ad923c Fix phan 2024-04-28 21:56:41 +02:00
Frédéric FRANCE
7c73d7d2bd fix phpstan (#29520)
* fix phpstan

* Update user.class.php

* typo
2024-04-28 18:20:58 +02:00
Laurent Destailleur
0312aaef90 Fix warnings 2024-04-27 04:18:49 +02:00
Laurent Destailleur
b8b964169a Merge 2024-04-27 03:32:22 +02:00
Laurent Destailleur
2f1dcbc2ad Fix filter on status in hierarchy page 2024-04-27 03:27:25 +02:00
Laurent Destailleur
d854870bb2 Fix CSS 2024-04-27 03:24:20 +02:00
Laurent Destailleur
50833e00d0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-27 03:14:17 +02:00
Laurent Destailleur
078c1dd489 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-27 03:13:12 +02:00
Laurent Destailleur
3a887ab2fa FIX #29496 - filtering a record should not hide its child not filtered 2024-04-27 03:12:17 +02:00
HENRY Florian
00e61f875a FIX: Hierarchy Employee view do not filter on employee = 1 (#29496)
* FIX: Hierarchy Employee list do not filters on employee = 1

* Update hierarchy.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-27 00:57:32 +02:00
Laurent Destailleur
989f74a076 Better exaplanation of permission for external users 2024-04-26 12:34:13 +02:00
Laurent Destailleur
905476dece Debug v20 2024-04-24 00:07:31 +02:00
Laurent Destailleur
f1bc41d100 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-23 22:36:13 +02:00
Laurent Destailleur
60c0fc2386 Fix warning PHP 8.2 2024-04-22 18:42:34 +02:00
Laurent Destailleur
d9278f8580 Fix phan 2024-04-22 15:17:38 +02:00
Laurent Destailleur
8ca94fd521 Fix warning 2024-04-22 14:51:58 +02:00
Laurent Destailleur
57b2b90730 Remove field egroupware_id that seems never itinialised/used 2024-04-22 14:50:25 +02:00
Frédéric FRANCE
dbd8657de1 Cleanaccount (#29271)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* wip

* wip

* wip
2024-04-20 21:53:40 +01:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
atm-adrien
99e85334b5 FIX : Error when updating user (#29304)
* FIX : Error management

* FIW : PR returns

* FIX : PR returns error
2024-04-12 16:31:25 +02:00
Benjamin Falière
948e204fae ADD arrayfields as parameter in doActions (#29326)
* ADD arrayfields as parameter in doActions

* FIX typo

* FIX syntax error

---------

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-04-11 20:07:13 +02:00
Laurent Destailleur
a1e25601e7 Fix search_all must not force the status to enabled 2024-04-11 12:29:52 +02:00
Laurent Destailleur
bf92611e18 Fix warning 2024-04-11 12:26:02 +02:00
Regis Houssin
9fa6a77723 FIX multiple problems when MULTICOMPANY_TRANSVERSE_MODE (#29287)
* FIX can not show group when MULTICOMPANY_TRANSVERSE_MODE

* FIX wrong permissions with multicompany MULTICOMPANY_TRANSVERSE_MODE

* FIX better check for the "read" permission

* FIX only a superadmin can manage users in transverse mode

* FIX this is not "create" but "write"

* FIX use the new function hasRight

* FIX wrong check

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-09 23:55:07 +02:00
Laurent Destailleur
7f780fcb57 It seems constant are for storing data only and used for
DolibarrModules.class.php file only (main code shoud only use
->hasRight), so i try to move them.
2024-04-08 11:53:49 +02:00
Regis Houssin
68eb5e409a NEW module user rights enhancement (#29150)
* NEW module user rights enhancement

* FIX syntax error

* FIX fuck

* FIX syntax error

* FIX Add label with the current language (key or with PermissionXXX)

* FIX wrong test

* FIX optimize

* FIX doc

* FIX add class "Rights" for constant

* FIX replace with constants

* FIX missing constant

* FIX wrong check

* TODO sql error : data too long for column 'libelle'

* FIX syntax error

* FIX synax error "the return"... i'll be back

* FIX use operator with double question mark

* FIX add comment

* FIX just remplace integer with constant

* FIX remove unused code

* FIX add an example

* FIX remove the possibility to have entity = 0 (too complicated)

* FIX perms must not be empty

* FIX sql syntax error

* FIX phpstan undefined property DolibarrModules::$modules

* FIX same fix of frederic34

* Update llx_rights_def.sql

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

* Update DolibarrModules.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 11:40:02 +02:00
Laurent Destailleur
b5de782c6b Fix use the good HTTP code 2024-04-07 14:59:25 +02:00
Laurent Destailleur
fd9475be03 Use same doc comment eveywhere. 2024-04-07 12:26:27 +02:00
Laurent Destailleur
38fb00489d PHPDoc 2024-04-05 13:44:59 +02:00
Laurent Destailleur
3ee5b8133d css 2024-04-05 13:28:32 +02:00
Laurent Destailleur
af41ec8e41 Clean code - Remove not used method fetchAll and CSS 2024-04-02 16:42:21 +02:00
Laurent Destailleur
7715513ac9 Some API HTTP return code were moved from 401 to 403 to better follow
REST specification.
2024-04-02 14:47:49 +02:00
Laurent Destailleur
990216b13f NEW Api parameters are sanitized by the WAF, same code than GET/POST 2024-04-02 13:07:13 +02:00
Laurent Destailleur
8ed9866433 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-31 19:26:54 +02:00
Laurent Destailleur
6b49f3302b Merge pull request #29154 from hregis/fix_19_array_error_php8.2
FIX empty array with php8.2
2024-03-31 19:11:50 +02:00
Regis Houssin
e00e35a2df FIX empty array with php8.2 2024-03-31 18:28:57 +02:00
MDW
04c3e80fc5 Fix typing 2024-03-29 18:26:48 +01:00
Lenin Rivas
fa65546800 Enable user establishment 2024-03-29 08:04:02 -05:00
Frédéric France
7a7b1953ed fix phpstan 2024-03-28 20:34:33 +01:00
Frédéric France
b8d75178b1 fix phpstan 2024-03-28 18:45:28 +01:00