Commit Graph

8393 Commits

Author SHA1 Message Date
Laurent Destailleur
93507620ca Fix regression fatal error 2024-04-12 01:35:32 +02:00
thomas-Ngr
0f70306c87 New : Printipp ssl (#29320)
* BasicIPP : set SSL to TRUE

* add SSL support to printing module

* trad

* Revert "BasicIPP : set SSL to TRUE"

This reverts commit 19c7c05a26.

* fix SSL
2024-04-12 01:25:30 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
Laurent Destailleur
500381ab1a FIX Oauth login 2024-04-11 14:47:09 +02:00
MDW
bec5ff4749 Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num, fix hooks typings (#29298)
* Fix: Enforce/use int nature of BookKeeping(Line)::$piece_num

* Fix typing in hookmanager class

* Improve DolHooksCollector phpdoc

* Fix PhanTypePossiblyInvalidDimOffset by testing index's existence

* Ignore PhanTypePossiblyInvalidDimOffset that phan can not detect

* Allow  to be null, initialise instead of unset
2024-04-09 23:21:28 +02:00
Zephyriony
6f524405af QUAL Rename column fk_origin_line on shipment lines into fk_elementdet to match a generic use. (#28989)
* Update expedition.class.php 

Adapting the query and code to the new table format

* Update llx_expeditiondet.sql

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update expedition.class.php

* Update llx_expeditiondet.sql

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update expedition.class.php

* Update expedition.class.php

* rename fk_origin_line to fk_elementdet

* rename fk_origin_line to fk_elementdet

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
2024-04-08 12:44:49 +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
0e5440f256 Fix bad var 2024-04-06 13:33:42 +02:00
Laurent Destailleur
2ca5518625 Fix use of dynamic property conf->xxx->enabled must be abandonned. 2024-04-05 16:51:27 +02:00
Florian Mortgat
8b00b89f9d FIX: $conf must reflect enabled/disabled state of modules (#29126) 2024-04-05 16:36:02 +02:00
Laurent Destailleur
389857fdf1 FIX missing trans on VolumeUnitcm3 2024-04-04 13:16:32 +02:00
Laurent Destailleur
0284ee2ee1 Fix position of description of product on left on espadon template 2024-04-04 13:05:58 +02:00
Laurent Destailleur
0fe0cd7c01 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-04 11:39:02 +02:00
Laurent Destailleur
56f9ec41c0 FIX regression. A lot of broken feature and corruption of data du to
deprecation management.
2024-04-03 22:34:59 +02:00
Laurent Destailleur
f03eb260de Nicer combo of companies for external modules 2024-04-03 13:20:26 +02:00
Laurent Destailleur
e671860ffa Merge pull request #29158 from mdeweerd/typing/printipp
Fix printipp phpdoc typing
2024-04-02 11:54:49 +02:00
Francis Appels
6a330096fd Fix debug phpbarcode 2024-04-02 09:48:48 +02:00
Laurent Destailleur
7158757fa1 Debug v20 2024-03-31 23:48:29 +02:00
MDW
c1c4f95371 Fix printipp phpdoc typing 2024-03-31 22:28:08 +02:00
Laurent Destailleur
a001d48252 Clean duplicate comment 2024-03-31 21:17:20 +02:00
MDW
a974df28ab Improve doc typing 2024-03-31 01:03:34 +01:00
MDW
9afe7dba59 Fix phan notices related to fournisseur.facture.class.php
# Fix phan notices related to fournisseur.facture.class.php

This fixes deprecations and phpdoc.
2024-03-29 23:48:40 +01:00
Laurent Destailleur
b58e439a17 Clean use of $_POST 2024-03-28 21:29:02 +01:00
Laurent Destailleur
3e8c3edd6d Clean code from _GET 2024-03-28 17:10:22 +01:00
Laurent Destailleur
787b1a1c83 Merge branch 'develop' into fix/filebyfile 2024-03-28 14:23:54 +01:00
Laurent Destailleur
a7e33e6573 Merge pull request #29047 from mdeweerd/fix/PhanPluginUnknownObjectMethodCall1
Fixes for PhanPluginUnknownObjectMethodCall
2024-03-28 14:20:57 +01:00
Laurent Destailleur
0465aeb412 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-27 11:39:26 +01:00
Laurent Destailleur
dc43a7e87b Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-27 11:22:38 +01:00
Laurent Destailleur
dd42f45d1a Fix precommit 2024-03-27 10:59:05 +01:00
MDW
1ee639bb81 Adjust to real typings 2024-03-27 10:18:35 +01:00
MDW
9a65d5fabc Force LANGFILE constant in subclass 2024-03-27 10:18:13 +01:00
MDW
28521f7dcd Adjust write_file signature 2024-03-27 10:18:12 +01:00
MDW
92bdf2308c Add abstract method for improved typing check 2024-03-27 10:17:30 +01:00
Regis Houssin
2ae4f94eed FIX inventoryDeletePermission id define twice 2024-03-27 02:24:57 +01:00
Regis Houssin
f16b08fbdb FIX peut pas faire mieux ! 2024-03-27 01:21:15 +01:00
Regis Houssin
d8e102a24c FIX wrong stock permission number 2024-03-27 01:15:03 +01:00
Regis Houssin
0da7288546 FIX try to fix phan error 2024-03-26 22:47:57 +01:00
Laurent Destailleur
caf6367a4e NEW Add the process and user ID into log 2024-03-26 14:14:11 +01:00
Laurent Destailleur
d756c8c3d3 Fix unexpected quote 2024-03-24 16:13:19 +01:00
Laurent Destailleur
14278a3e8c Update pdf_strato.modules.php 2024-03-24 16:08:58 +01:00
Laurent Destailleur
727b8c3a0d Update pdf_strato.modules.php 2024-03-24 16:07:47 +01:00
Laurent Destailleur
d63e241050 Update pdf_strato.modules.php 2024-03-24 16:06:51 +01:00
Laurent Destailleur
247ab6d4f8 Merge branch 'develop' into new_branch_11_03_2024 2024-03-24 16:03:33 +01:00
Laurent Destailleur
3bbbf8ac38 Clean code 2024-03-24 16:03:00 +01:00
MDW
baaa7c721e Fix PHPdoc typing ($cols, $phpmin) 2024-03-24 14:19:09 +01:00
Laurent Destailleur
a17cb8aa42 Fix var_dump 2024-03-24 07:01:24 +01:00
Laurent Destailleur
57c75a7dec Fix bad object name 2024-03-24 06:56:50 +01:00
Laurent Destailleur
946de96912 Fix for phan #29037 2024-03-24 06:42:29 +01:00
Laurent Destailleur
686463a292 Fix phan warning 2024-03-24 06:37:09 +01:00