Commit graph

151292 commits

Author SHA1 Message Date
MDW
b2d30053b4
Qual: Enhance hurl test documentation and run script (#36291)
- Added detailed documentation for running specific tests, including options and exclusions
- Improved installation instructions with platform-specific guidance
- Enhanced error handling and user feedback
- Added support for GitHub-compatible messages
- Improved script structure and readability

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-17 21:52:13 +01:00
MDW
1072419141
Qual: Update pre-commit hooks (#36262)
* Qual: Update pre-commit hooks

# Qual: Update pre-commit hook

Updated several pre-commit hooks as long as the new ones are not alpha or beta versions

* Qual: Fix/ignore some shellcheck issues
2025-11-17 21:50:29 +01:00
MDW
f5d6533c5b
Qual: (v22)Change field name to let phan warn about argument order (#36263)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)

* Qual: Change field name to let phan warn about argument order

# Qual: Change field name to let phan warn about argument order

Most of the time print_liste_field_titre() is called with $param instead of $moreparam.
By changing the argument name, phan will warn if the position is likely incorrect when '$param' is used - it will not warn for cases where $option or another
name is used.

---------

Co-authored-by: Regis Houssin <regis.houssin@inodbox.com>
2025-11-17 21:49:31 +01:00
Regis Houssin
309c2eff93
FIX wrong $param parameter position (#36265)
* FIX wrong $param parameter position

* FIX ok it's good ! ;-)
2025-11-17 21:48:32 +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
Frédéric FRANCE
3a3785c92d
Update SecurityTest.php (#36295)
* Update SecurityTest.php

* Update SecurityTest.php

* Update SecurityTest.php
2025-11-17 21:43:53 +01:00
Laurent Destailleur
e54cc9ab28 Fix phpunit 2025-11-17 21:40:36 +01:00
Laurent Destailleur
25b9782227 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-17 21:32:49 +01:00
Laurent Destailleur
bdb6c47b0b Fix CI 2025-11-17 21:32:29 +01:00
sweetcorreze
f66cb5ddd5
Update loanschedule.class.php (#36272)
Solve Error when schedule loans : "ERROR: 55000: currval of sequence "llx_payment_loan_rowid_seq" is not yet defined in this session LOCATION: currval_oid, sequence.c:884"

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-17 21:19:58 +01:00
noec764
cd984fa6c5
FIX: Object should be cloned here (#36289)
Co-authored-by: Noé <noe@scopen.fr>
2025-11-17 21:18:28 +01:00
Laurent Destailleur
278983c4e7 Fix CI 2025-11-17 21:16:46 +01:00
Frédéric FRANCE
a88f5d9d41
Update admin.lang (#36293) 2025-11-17 21:08:50 +01:00
dependabot[bot]
ea511792d3
Bump mdeweerd/logToCheckStyle from 2025.1.1 to 2025.11.2 (#36284)
Bumps [mdeweerd/logToCheckStyle](https://github.com/mdeweerd/logtocheckstyle) from 2025.1.1 to 2025.11.2.
- [Commits](https://github.com/mdeweerd/logtocheckstyle/compare/v2025.1.1...v2025.11.2)

---
updated-dependencies:
- dependency-name: mdeweerd/logToCheckStyle
  dependency-version: 2025.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-17 20:04:53 +01:00
Laurent Destailleur
a7c82c020d Fix CI 2025-11-17 20:01:07 +01:00
Laurent Destailleur
92ad672272 Fix CI 2025-11-17 19:42:38 +01:00
Laurent Destailleur
1abc87ff03 Clean code 2025-11-17 19:35:10 +01:00
Laurent Destailleur
10921598cb Simple way to trap error to Close #36292 2025-11-17 19:10:58 +01:00
Laurent Destailleur
d1f53517e6 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-11-17 18:15:25 +01:00
Laurent Destailleur
0631cd61e0 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2025-11-17 17:21:52 +01:00
Laurent Destailleur
4703344acc Debug 2025-11-17 16:50:53 +01:00
Laurent Destailleur
7b6186c137 Doc 2025-11-17 16:45:04 +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
Laurent Destailleur
e9a3b65e04 Trans 2025-11-17 15:16:00 +01:00
Laurent Destailleur
6161c491ae Trans 2025-11-17 15:10:05 +01:00
Laurent Destailleur
c0de8f6b53 Fight against optionflation. 2025-11-17 14:52:46 +01:00
Laurent Destailleur
72afda872d WIP LNE 2025-11-17 13:53:53 +01:00
Laurent Destailleur
642feb78d2 NEW Invert logic of default date in proposal/order/invoice creation:
Need option to NOT autofill instead of the opposite.
2025-11-17 10:57:06 +01:00
Laurent Destailleur
ed08d6389a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-17 10:44:03 +01:00
Laurent Destailleur
6376f11f27 Trans tooltip 2025-11-17 10:43:08 +01:00
Laurent Destailleur
90ec9f7de2 Doc 2025-11-17 10:34:51 +01:00
Laurent Destailleur
22440127e1 Doc 2025-11-17 10:33:31 +01:00
Laurent Destailleur
1dd28e352a NEW Introduce getCurrency(). $conf is no more allowed into computed
formulae.
2025-11-17 10:29:55 +01:00
Laurent Destailleur
bb53a368fc CSS 2025-11-15 23:00:02 +01:00
atm-lucas
bdd8dc0046
NEW - Add a new API "product lots" (#36243)
* Add new API product lots

* fix precommit
2025-11-14 16:06:59 +01:00
Gigarun ingénierie
f837fb4fa8
Fix: Correct unit comparison bug in webportal document download (#36256)
The file size check was comparing bytes (from dol_filesize) directly with
kilobytes (from MAIN_SECURITY_MAXFILESIZE_DOWNLOADED config), causing false
positives that blocked downloads of small files.

Example: A 94 KB file (96678 bytes) was rejected because 96678 > 20480,
even though the limit was actually 20480 KB (20 MB).

Changes:
- Convert KB limit to bytes before comparison: $fileSizeMax * 1024
- Improve error message to display file size in KB for consistency
- Add detailed logging with both bytes and KB values

Fixes: Files under the configured limit are now correctly allowed to download
2025-11-14 16:05:18 +01:00
Laurent Destailleur
545a0f5532 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 16:00:08 +01:00
Laurent Destailleur
aa49882be0 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 15:59:50 +01:00
Regis Houssin
d028d0d81b
FIX $param is the 5th parameter of print_liste_field_titre ($moreparam) (#36250)
* FIX $param is the 5th parameter of print_liste_field_titre ($moreparam)

* FIX phan error

* FIX other errors
2025-11-14 15:55:35 +01:00
Rudi Herouard
664b0acfb7
NEW Add SQL table for expensereport line extrafields support (#36251) 2025-11-14 15:53:49 +01:00
lvessiller-opendsi
30ecf80732
FIX keep user who validate proposal on update (#36257) 2025-11-14 15:53:31 +01:00
Laurent Destailleur
e57703a6b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-11-14 15:42:25 +01:00
Marc de Lima Lucio
4528a3dac0
FIX: customer invoices: bad totals because of situation progress (#36253) 2025-11-14 15:39:07 +01:00
Laurent Destailleur
fbbcb22d95 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-11-14 15:38:49 +01:00
Laurent Destailleur
0f57e9897c Fix CI 2025-11-14 15:38:37 +01:00
HeilDenDus
0f297eea96
add show and filter in fields public and private notes (#36255) 2025-11-14 15:36:22 +01:00
Laurent Destailleur
cb2428486f Fix label of status 2025-11-14 15:20:38 +01:00
Laurent Destailleur
dc689f1410 CSS 2025-11-14 15:14:02 +01:00
Laurent Destailleur
84db871954 Doc 2025-11-14 14:53:17 +01:00