413 Commits

Author SHA1 Message Date
Laurent Destailleur
7dee283762 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2026-01-16 16:34:32 +01:00
Laurent Destailleur
949c111f68 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-16 16:32:40 +01:00
Laurent Destailleur
d378d1f8cc Debug v23 2026-01-16 14:51:32 +01:00
github-actions[bot]
35602c6ff4 PHPStan > Update baseline (#36876)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-15 01:28:31 +01:00
github-actions[bot]
84ac2a32ee PHPStan > Update baseline (#36852)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2026-01-12 16:05:40 +01:00
Laurent Destailleur
aeeb88ac19 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-07 19:02:45 +01:00
Laurent Destailleur
578a1ef568 Clean files 2026-01-07 19:01:54 +01:00
Laurent Destailleur
b493ed7f96 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-07 14:16:49 +01:00
Frédéric FRANCE
5509203cef clean code (#36819) 2026-01-07 11:07:31 +01:00
Laurent Destailleur
9ab0d26e71 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-01-07 01:14:42 +01:00
Laurent Destailleur
4c6c654cd9 Fix exemple 2026-01-07 01:07:30 +01:00
github-actions[bot]
192b5525af PHPStan > Update baseline (#36809)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2026-01-06 14:48:25 +01:00
Laurent Destailleur
d2b68aac97 Fix warning 2026-01-05 16:46:10 +01:00
Laurent Destailleur
7717b0a35e Merge branch 'develop' into phpstan_config 2025-12-22 17:24:03 +01:00
Laurent Destailleur
8abeb47da1 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-22 16:06:05 +01:00
Laurent Destailleur
230634721d Merge branch 'develop' into phpstan_config 2025-12-22 14:03:57 +01:00
Laurent Destailleur
8db3a2e4fc Move algo for checksum file 2025-12-22 04:52:12 +01:00
Frédéric FRANCE
f138005d73 clean code 2025-12-20 10:39:39 +01:00
Laurent Destailleur
b64ae7eb55 Fix script for windows 2025-12-16 20:08:42 +01:00
Stéphanie Arrestier
35ba9dc47a Fix doliwamp packager 2025-12-16 19:36:51 +01:00
Stéphanie Arrestier
70903d32d7 Fix doliwamp packager 2025-12-16 18:51:59 +01:00
Dolibot
5f89a4a2d2 PHPStan > Update baseline 2025-12-12 12:10:57 +00:00
Dolibot
56c6b48eff PHPStan > Update baseline 2025-12-09 12:11:04 +00:00
Dolibot
b31f16c18f PHPStan > Update baseline 2025-11-29 12:09:23 +00:00
MDW
b33386ba0d qual: Update phpstan-baseline.neon to remove unresolvable type issues
Removed multiple entries related to unresolvable types in dol_sort_array function calls and property assignments.
2025-11-27 22:38:56 +01:00
Laurent Destailleur
6894ba851b Removed deprecated comment 2025-11-24 15:52:02 +01:00
MDW
63a78d8c00 Qual: Add perltidy & perlcritic + updates to fix notices. (#36370)
* Qual: Add pre-commit hooks for Perl code formatting and linting

- Added perltidy hook to format Perl code
- Added perlcritic hook to lint Perl code

* Qual: Update file opening syntax in build scripts (perltidy)

The changes update the syntax for opening files in several build scripts to use the three-argument form of the `open` function, which is more secure and recommended in modern Perl practices.

* Qual: Improve file handling and add strict/warnings pragmas (perlcritic)

The changes include:
- Adding 'use strict' and 'use warnings' pragmas to enforce better coding practices
- Improving file handling by using lexical filehandles (my $IN, my $SPECFROM, etc.)
- Fixing file opening and closing operations to use proper error handling
- Updating various file operations to use the new lexical filehandles
- Fixing indentation and formatting issues in the code

* Qual: Add strict and warnings pragmas to Perl scripts (perlcritic)

The changes add 'use strict;' and 'use warnings;' pragmas
- dev/build/doxygen/dolibarr-doxygen-build.pl
- dev/build/doxygen/dolibarr-doxygen-filter.pl
- dev/build/doxygen/dolibarr-doxygen-getversion.pl
- dev/build/gource/getavatars.pl
- dev/tools/dolibarr-mysql2pgsql.pl

* Qual: Add Perl no critic pragmas (perlcritic)

- Ignore some perlcritic notices

* Qual: Improve code formatting and readability

Perltidy:

- Indentation and spacing
- Improved variable naming and alignment
- Better code organization and structure
- Enhanced readability of conditional statements and loops

These changes do not alter the functionality of the script but make it more maintainable and easier to understand.

* qual: Exclude virtualmin from perltidy and perlcritic hooks

Exclude the virtualmin directory from both perltidy and perlcritic hooks due to specific reasons mentioned in the comment. This change ensures that these hooks do not process files in the virtualmin directory.

* Qual: Add installation of perltidy and perlcritic for pre-commit workflow

This commit adds the installation of perltidy and perlcritic as part of the pre-commit hooks workflow.

* Fix: Update version detection in dolibarr-doxygen-build.pl

- Add support for detecting version from DOL_MAJOR_VERSION and DOL_MINOR_VERSION constants
- Fix undefined variable issue in version detection

* Fix: Update getavatars.pl to use HTTPS and reverse git log

- Changed the URL from HTTP to HTTPS for Gravatar
- Added `--reverse` flag to git log command to process commits in chronological order (faster)
- Updated error message to indicate .git repository instead of .git directory (+ correct test)

* fix: Correct spelling in error messages and prompts

- Fixed typo in error message for missing environment variables
- Corrected spelling in prompt for module name input
- Improved clarity in comment for target checking
2025-11-23 01:52:07 +01:00
Regis Houssin
9ac7851073 QUAL update dolibarr script for Virtualmin (#36371) 2025-11-22 19:48:37 +01:00
github-actions[bot]
853c7a2c8d PHPStan > Update baseline (#36374)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-22 19:47:22 +01:00
Laurent Destailleur
bb26ca6ee7 Fix makepack 2025-11-21 15:19:49 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Frédéric FRANCE
d5e641e248 fix doc subtotal tpl (#36326)
* fix subtotal create tpl

* fix subtotal create tpl

* property errors is always set

* clean baseline
2025-11-19 19:21:19 +01:00
Laurent Destailleur
918443562e Fix warning 2025-11-19 16:25:16 +01:00
Laurent Destailleur
c1699eed56 Debug v23 2025-11-19 16:18:09 +01:00
Laurent Destailleur
7645a6dc87 Debug v23 2025-11-19 16:16:53 +01:00
github-actions[bot]
3cd79f4497 PHPStan > Update baseline (#36305)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-19 14:16:21 +01:00
Frédéric FRANCE
8d459e469d clean code (#36260)
* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test
2025-11-18 11:41:28 +01:00
github-actions[bot]
f799113fac PHPStan > Update baseline (#36264)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-17 21:47:22 +01:00
Laurent Destailleur
4703344acc Debug 2025-11-17 16:50:53 +01:00
Laurent Destailleur
e8e61605da Doc 2025-11-17 16:41:58 +01:00
Laurent Destailleur
68e6bedd27 The script generate_filelist_xml.php can check integrity from command
line.
2025-11-17 16:39:27 +01:00
github-actions[bot]
1578715f54 PHPStan > Update baseline (#36242)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-13 16:57:26 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
PierrickV
6e3fabeeab Fix typo in DLLMissing message for MyGerman.isl (#36223)
* Fix typo in DLLMissing message for MyGerman.isl

Typos:
- s/Mcrsoft/Microsoft/g
- s/credist_x86.exe/vc_redist.x86.exe/g
- dl link

* Fix DLLMissing message link for Visual C++ Redistributable

Updated the link for the Microsoft Visual C++ Redistributable installation instructions.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:38:55 +01:00
github-actions[bot]
1ee0c4f4ba PHPStan > Update baseline (#36208)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-11-11 08:52:46 +01:00
Frédéric FRANCE
4334797588 clean code (#36179)
* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-09 17:59:36 +01:00
Frédéric FRANCE
114131d59d clean code (#36180)
* clean code

* clean code

* clean code
2025-11-09 01:34:33 +01:00
Frédéric FRANCE
eaf2b694c0 ticket progress nullable (#36178)
* ticket progress nullable

* ticket progress nullable
2025-11-09 01:32:47 +01:00
Frédéric FRANCE
ca0052e82d clean code (#36176)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-11-08 19:29:54 +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