2
0
forked from Wavyzz/dolibarr
Commit Graph

106 Commits

Author SHA1 Message Date
Laurent Destailleur (aka Eldy)
48be055227 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-24 15:26:10 +01:00
Laurent Destailleur (aka Eldy)
fbe4ccd0e2 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-01-24 15:25:51 +01:00
MDW
f64c0818f9 Qual: Fix nullable and typing (phan notices) 2025-01-24 10:55:50 +01:00
Laurent Destailleur (aka Eldy)
844237046d Fix parameter quality was hardcoded. 2025-01-23 17:33:11 +01:00
Laurent Destailleur (aka Eldy)
9ed7ffd3a1 Add TODO 2025-01-17 01:39:14 +01:00
Laurent Destailleur (aka Eldy)
d404ab6322 Doc 2025-01-17 01:05:11 +01:00
Laurent Destailleur (aka Eldy)
e87853c17b Doc 2025-01-17 01:03:35 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Laurent Destailleur
333ba5c895 Clean var 2024-09-30 15:28:52 +02:00
Frédéric FRANCE
138ffa3158 fix phpstan (#31181)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:49:52 +02:00
Laurent Destailleur
3025f7ba25 NEW Add getImageFromHtmlContent() method 2024-09-14 01:36:31 +02:00
Frédéric FRANCE
0f1ae42691 fix phan (#30113)
* fix phan

* Update project.class.php

* Update project.class.php

* try to fix

* try to fix

* try to fix

* try to fix

* try to fix
2024-06-22 15:36:10 +02:00
Laurent Destailleur
57d832052e Prepare code for image edit 2024-06-21 13:10:50 +02:00
Frédéric FRANCE
cc48228a39 fix phpstan (#30015) 2024-06-15 16:05:41 +02:00
MDW
3a84e10b09 Should compare to constant IMAGETYPE_PNG, not to string 2024-03-31 01:08:36 +01:00
MDW
e8cc181eb0 Fix arg type for imagecreate* and imagecopy* functions by casting 2024-03-19 02:59:15 +01:00
thibdrev
0f62b8e7bc qual: phpstan (#28075)
* qual: phpstan for htdocs/core/lib/images.lib.php

htdocs/core/lib/images.lib.php	636	Function vignette() should return string but returns int.

* qual: phpstan for htdocs/core/lib/product.lib.php

htdocs/core/lib/product.lib.php	839	Function measuringUnitString() should return string but returns int.

* qual: phpstan for htdocs/core/lib/website.lib.php

htdocs/core/lib/website.lib.php	222	Function dolWebsiteReplacementOfLinks() should return bool but returns string.

* qual: phpstan for htdocs/core/lib/functions.lib.php

htdocs/core/lib/functions.lib.php	9576	Function dol_getIdFromCode() should return int but returns string.

* qual: phpstan for htdocs/core/modules/import/modules_import.php

htdocs/core/modules/import/modules_import.php	173	Method ModeleImports::getDriverId() should return int but returns string.

* qual: phpstan for htdocs/core/modules/mailings/thirdparties_services_expired.modules.php

htdocs/core/modules/mailings/thirdparties_services_expired.modules.php	100	Method mailing_thirdparties_services_expired::add_to_target() should return int but returns string.

* qual:phpstan for htdocs/loan/schedule.php

htdocs/loan/schedule.php	80	Property LoanSchedule::$datec (string) does not accept int.
2024-02-09 11:28:33 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
Frédéric FRANCE
0d3e0c8ec4 fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
Laurent Destailleur
aba9afe9f1 NEW Add method getPublicImageOfObject() for website module 2024-01-12 13:05:28 +01:00
Laurent Destailleur
ade09ec4ab Merge pull request #27012 from fappels/19_fix_missing_webp_thumbnails
Fix missing webp thumbnails creation.
2023-12-08 01:45:39 +01:00
Laurent Destailleur
06c5c6687a Debug v19 2023-12-08 01:42:29 +01:00
Francis Appels
6a7011b684 Fix missing webp thumbnails creation. 2023-12-06 17:08:09 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Alexandre SPANGARO
8d203f4fd4 Debug v19 (#26784)
* Translate comment

* Fix undefined variable

* Fix undefined variable

* Fix undefined variable - better fix

* Add translation of ProfId so that it is not displayed in admin

* Remove manual definition and call getDefaultImageSizes() instead
2023-11-23 17:45:59 +01:00
Frédéric FRANCE
7f69c3fd5f phpstan 2023-08-27 21:05:27 +02:00
Laurent Destailleur
382f45ec14 Clean code 2023-04-30 03:36:02 +02:00
Laurent Destailleur
c891196b5b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-25 21:02:01 +02:00
Laurent Destailleur
0bc8227f48 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-04-25 20:54:15 +02:00
Laurent Destailleur
1d235c2fd9 FIX Creation of thumbs when images.lib.php was already included 2023-04-25 11:49:05 +02:00
Laurent Destailleur
0300ccebfd Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-18 21:09:58 +01:00
Laurent Destailleur
b35d768d05 Debug v17 2023-02-18 20:47:19 +01:00
Laurent Destailleur
0b4cacd291 Use dolChmod 2023-02-17 20:01:53 +01:00
Laurent Destailleur
d01d04f704 FIX .jpeg extension was no more supported by dol_imageResizeOrCrop() 2022-08-12 14:31:58 +02:00
Laurent Destailleur
d514d72ac5 Doxygen 2022-04-03 12:35:30 +02:00
John BOTELLA
5449d57d26 fix variable does not seem to be defined for all execution 2021-12-28 19:19:51 +01:00
Laurent Destailleur
03fbd68da4 Update images.lib.php 2021-06-14 14:05:48 +02:00
Francis Appels
a019996bc8 Fix create image thumbs on php 8.0 2021-06-13 17:36:51 +02:00
Laurent Destailleur
9dc36d13c3 Enhance error management 2021-05-03 19:25:16 +02:00
Laurent Destailleur
7b706d6fe5 Fix phpunit for crop of image 2021-05-03 15:56:56 +02:00
Laurent Destailleur
efda17657d Fix conversion in webp 2021-05-02 15:29:52 +02:00
Laurent Destailleur
39f7d0bed8 Fix conversion of images 2021-05-02 15:15:27 +02:00
Laurent Destailleur
99d655b983 Debug generation of webp 2021-05-01 15:38:58 +02:00
Laurent Destailleur
f8b5bee9eb Add function getListOfPossibleImageExt 2021-04-08 14:20:59 +02:00
Laurent Destailleur
1a70aebba6 NEW Can set a target image in dolcropresize function. 2021-04-04 01:12:25 +02:00
Frédéric FRANCE
a4e25359e7 add missing rule 2021-03-01 20:37:16 +01:00
Frédéric FRANCE
554e449e40 code syntax core directory 2021-02-23 22:03:23 +01:00
Laurent Destailleur
ff739dcbd2 Increase size of small image (used by PDF) 2020-10-07 19:39:17 +02:00
Scrutinizer Auto-Fixer
c263c8a76c Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-09-08 19:27:28 +00:00
Scrutinizer Auto-Fixer
b78ff67d7e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-09-07 08:18:17 +00:00