Commit Graph

149618 Commits

Author SHA1 Message Date
Laurent Destailleur
8a2faed41f Debug v23 2025-11-23 22:14:34 +01:00
Laurent Destailleur
9f73e65767 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:58 +01:00
Laurent Destailleur
c8e12d9cb9 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:44 +01:00
Laurent Destailleur
fffb21b741 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:10:52 +01:00
Laurent Destailleur
3ced7b6de7 CSS 2025-11-23 21:10:40 +01:00
John BOTELLA
7494d8c2d1 UIUX : Experiment Dolibarr JS context and tools - Add tool for langs (#36389)
* Add more doc and simplify hook systeme uasge

* doc

* doc

* lang tool

* lang tool

* lang tool
2025-11-23 19:11:46 +01:00
Laurent Destailleur
e35028646e Debug v23 2025-11-23 16:33:38 +01:00
Laurent Destailleur
3ab0d148b5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 16:16:27 +01:00
Laurent Destailleur
53e926371b Debug v23 2025-11-23 16:15:59 +01:00
Laurent Destailleur
b00baadb79 Start beta 2025-11-23 12:27:26 +01:00
iLLixM
852f9eeb77 FIX #36368 - avoid overlaying of EPC-QR Code and payment information (#36369)
* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

The position of an EPC-QR code on an invoice is adjusted based on information about payments already made.
The EPC-QR code is only displayed on invoices if a balance remains due.

* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

place EPC-QR Code on left-hand side of invoice PDF

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-23 03:44:55 +01:00
Laurent Destailleur
f96905c1f0 Fix CI 2025-11-23 03:19:11 +01:00
Laurent Destailleur
6904df8a45 Fix CI 2025-11-23 03:05:28 +01:00
Jon Bendtsen
78f90982c4 Fix: API users/groups + fix hurl tests for those (#36337)
* Fix: API users/groups + fix hurl tests for those

* we only check for the login during user creation

* restoring test/hurl/api/users/10_users.hurl from develop branch

* changing error code to 500

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-23 01:59:02 +01:00
John BOTELLA
c0c1c45680 UIUX : Experiment Dolibarr JS context and tools - More doc and simplify hook usage systeme (#36373)
* Add more doc and simplify hook systeme uasge

* doc

* doc
2025-11-23 01:54:37 +01:00
Charlène Benke
0ed2d559f8 Update directory references for product batch (#36367) 2025-11-23 01:53:51 +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
Laurent Destailleur
8facedc1b6 Fix CI 2025-11-23 01:47:00 +01:00
Laurent Destailleur
3a40fe5d79 Fix CI 2025-11-23 01:36:54 +01:00
Laurent Destailleur
aaa5e7aeb2 Fix CI 2025-11-23 01:30:40 +01:00
Laurent Destailleur
6a23983969 Fix warning 2025-11-23 01:06:58 +01:00
Laurent Destailleur
0f6b9f5841 Fix CI 2025-11-23 01:03:54 +01:00
Jon Bendtsen
54134eb0fa Hurl checks update Friday November 21st 2025 (#36366)
* Hurl checks update Friday November 21st 2025

* Looks like someone changed how to handle the multi entity tests that I used earlier

* updating warehouse check

* same update for users api

* and for group api

* fix GUI admin/mails_template.php checks

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-22 19:49:58 +01:00
MDW
b57495f745 Qual: Update phan baseline (#36362)
* Qual: Update Phan baseline

# Qual: Update Phan baseline

- Updated Phan baseline to reflect reduced occurrences of PhanTypeMismatchProperty and PhanUndeclaredMethod
- Fixed syntax error in card.php by adding missing closing parenthesis

* Qual: Fix PhanPluginRedundantReturnComment

# Qual: Fix PhanPluginRedundantReturnComment

- Add return type description for the getmsg method.
2025-11-22 19:49:22 +01:00
Regis Houssin
9ac7851073 QUAL update dolibarr script for Virtualmin (#36371) 2025-11-22 19:48:37 +01:00
Jon Bendtsen
8cf937e82f Qual: detect malformed DOLAPIKEY when run.sh hurl tests (#36372)
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-22 19:48:02 +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
aac48b7f01 Close TODO 2025-11-22 16:51:45 +01:00
Laurent Destailleur
89d8b553c1 Debug v23 2025-11-22 16:23:07 +01:00
Laurent Destailleur
d571285a37 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-21 19:14:00 +01:00
Laurent Destailleur
f170d926f6 Debug v23 2025-11-21 19:12:22 +01:00
Laurent Destailleur
424484a4c3 Debug v23 2025-11-21 19:11:32 +01:00
Jacobus Gerards
8a7bfd737d Update llx_accounting_account_nl.sql (#36361)
Fix a typo in account sql for nl (otherwise this will produce a foreign key constraint error when loading the schema)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-21 18:53:32 +01:00
John BOTELLA
7415ae1597 UIUX : Experiment Dolibarr JS context and tools - Add context variables and improve documentation. (#36360)
* Add context variables and improve documentation.

* fix hook execution and add sequential await hook

* fix hook execution and add sequential await hook

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-21 18:35:01 +01:00
Frédéric FRANCE
561d4deb06 clean code (#36363)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-21 18:34:09 +01:00
Frédéric FRANCE
9d4260c858 fix Ci (#36354)
* fix Ci

* Update html.form.class.php

* fix

* remove duplicate
2025-11-21 17:26:29 +01:00
Laurent Destailleur
70b3ca43da Debug v23 2025-11-21 16:17:28 +01:00
Laurent Destailleur
bb26ca6ee7 Fix makepack 2025-11-21 15:19:49 +01:00
Laurent Destailleur
b8190e137e Merge branch '22.0' of github.com:Dolibarr/dolibarr into develop 2025-11-21 15:18:08 +01:00
Laurent Destailleur
0e4bfeead7 Fix CI 2025-11-21 14:41:31 +01:00
Laurent Destailleur
1d6f8d5cbd Debug v23 2025-11-21 14:40:33 +01:00
Laurent Destailleur
705211a5f4 Doc 2025-11-21 14:35:04 +01:00
Laurent Destailleur
3e612275e8 Clean code 2025-11-21 14:25:34 +01:00
Laurent Destailleur
99d44d9cf8 spellcheck war 2025-11-21 12:38:53 +01:00
Laurent Destailleur
7b351e1df8 Fix CI 2025-11-21 01:29:45 +01:00
Laurent Destailleur
99b656c3c2 Fix CI 2025-11-21 01:19:14 +01:00
Laurent Destailleur
839759979a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-21 01:15:04 +01:00
Laurent Destailleur
f68f7c3da8 Debug v23 2025-11-21 01:02:48 +01:00
Laurent Destailleur
6e6253f40d Close #36120 2025-11-21 00:16:06 +01:00
Laurent Destailleur
6dcaede8fc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-21 00:07:49 +01:00