Commit graph

127909 commits

Author SHA1 Message Date
MDW
b711b8d276
Qual: Changelog spelling. (#27411)
# Qual: Correct spelling in changelog.

No functional impact - one french comment still triggers exception ('sur').
2024-01-11 10:02:06 +01:00
MDW
06c22b5368
Qual: spelling for user.class (#27410)
# Qual: Fix spelling for user.class.php .

Mostly changes in the comments.
Some translations from french to english.

 was changed to , used locally.
2024-01-11 10:01:34 +01:00
MDW
d7fc7b408f
Qual: Spelling commonobject (#27409)
# Qual: Fix spelling in commonobject.class.php.

Most corrections are in comments.
Variable  was changed to  and is local to the file.
Some comments were translated.
Variable  was changed to , used locally.
2024-01-11 10:00:48 +01:00
MDW
71f906c280
Qual: Spelling of admin code. (#27412)
# Qual: Fix spelling of admin code.

Mostly changes in the comments.
Some french text was modified to not trigger a bad spelling.

htdocs/admin/contract.php has a change to $langs->trans(Activated)
which probably fixes a bug.

htdocs/admin/system/xcache.php used ->trans(Recommanded)
but the proper key is ->trans(Recommended).
2024-01-11 09:59:52 +01:00
MDW
52ee926bac
Qual: Spelling compta code (#27413)
# Qual: Fix spelling of files in htdocs/compta

No code should be changed, only comments modified or translated.
2024-01-11 09:58:34 +01:00
Laurent Destailleur
6b42b48d20 NEW Can generate the email selector file 2024-01-11 02:47:42 +01:00
Laurent Destailleur
24fe79b1c6 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 22:14:31 +01:00
Laurent Destailleur
2ec2b420cb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 22:11:34 +01:00
MDW
412f8406dd
Fix: Change TCPDF::_out to public because of pdf.lib.php (#27333)
# Fix: Change TCPDF::_out to public because of pdf.lib.php

TCPDF::_out is used 2 times as ->_out(...) in htdocs/core/lib/pdf.lib.php.
Changing php.lib.php requires more analysis.  Making TCPDF::_out public is
the quick solution.
2024-01-10 22:10:13 +01:00
Laurent Destailleur
c15627016a Fix bad test for disabling TCPDI. Add more phpunit 2024-01-10 21:51:32 +01:00
Frédéric FRANCE
df1e20e7c5
fix phpstan (#27402) 2024-01-10 19:53:04 +01:00
Frédéric FRANCE
3de98eb936
fix phpstan (#27401) 2024-01-10 19:52:55 +01:00
Frédéric FRANCE
2e0c86ad29
phpstan check no more needed (#27396) 2024-01-10 19:52:36 +01:00
Frédéric FRANCE
850a9f951d
fix phpstan (#27400) 2024-01-10 19:52:21 +01:00
Frédéric FRANCE
e106409a49
fix phpdoc (#27399) 2024-01-10 19:52:03 +01:00
MDW
752dab1cb7
Fix: Remove unused 'use' references. (#27398)
Phan reports these 'use' clauses are unused.

Also fix some spelling.
2024-01-10 19:51:35 +01:00
Frédéric FRANCE
9cf1fb857d
fix phpdoc (#27397) 2024-01-10 19:50:54 +01:00
MDW
5d69728703
Qual: Apply beautysh (#27395)
# Qual: Apply beautysh

Beautysh the shell scripts.
Also fixed some spelling.
2024-01-10 19:47:29 +01:00
Laurent Destailleur
f0d910ecd3 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 19:20:16 +01:00
Laurent Destailleur
d7651e971c Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 17:44:31 +01:00
Laurent Destailleur
0618e5b90d Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 17:40:47 +01:00
Laurent Destailleur
a4030d145a FIX #27315 2024-01-10 17:40:28 +01:00
MDW
963afede5e
Fix: Match local variable name to parameter variable name (#27316)
# Fix: Match local variable name to parameter variable name

Improve consistency and avoids that phan reports suspicious parameter order
2024-01-10 17:38:23 +01:00
MDW
2e31005afb
Fix: Make some scripts with shebang executable in git. (#27393)
# Fix: Make some scripts with shebang executable in git.

Make some scripts executable according to git.
This can help running them after checkout.
It also helps with future automatic checks.
2024-01-10 17:33:52 +01:00
Frédéric FRANCE
d04d5b0038
fix phpstan action cache (#27394) 2024-01-10 17:33:25 +01:00
Frédéric FRANCE
a4f94f84f1
fix default parameter (#27141) 2024-01-10 17:20:36 +01:00
Frédéric FRANCE
d55fb7837c
fix #27313 (#27323)
* fix #27313

* Update fichinter.class.php
2024-01-10 17:03:09 +01:00
Frédéric FRANCE
96247b6cc4
fix phpdoc (#27321) 2024-01-10 17:02:06 +01:00
Frédéric FRANCE
aef8318b2e
fix phpstan (#27319) 2024-01-10 17:01:40 +01:00
Frédéric FRANCE
893538d851
fix #27313 (#27325)
* fix #27313

* Update fichinter.class.php
2024-01-10 16:57:30 +01:00
MDW
da0bebc9ae
Fix: formmail - add_attached_files - argument name consistency (#27338)
# Fix: formmail - add_attached_files - argument name consistency

Phan determined suspicious naming as arg #2 to add_attached_files is  while
that was the name for the first argument by the caller.

Also, on examination, only the first parameter is needed as add_attached_files
handles the other two in the same manner.
2024-01-10 16:56:40 +01:00
MDW
95da30a224
Fix: files.lib.php - Add optional sort parameter to array_multisort for static tool check (#27340)
# Fix: files.lib.php - Add optional sort parameter to array_multisort for static tool check

Phan flags the call to array_multisort as suspicious - adding the optional sort parameter
avoids this.
2024-01-10 16:41:39 +01:00
MDW
c41029d2d4
Fix: Invalid package.json (#27391)
# Fix: extra comma in package.json making it invalid

Remove the comma to make the file valid.
2024-01-10 16:25:48 +01:00
Laurent Destailleur
c5561d3adf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 16:24:59 +01:00
Laurent Destailleur
0a00afcad3 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 16:24:49 +01:00
Laurent Destailleur
e9205dcdb1 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-10 16:23:01 +01:00
Greg Chanton
56eac35804
Correction of columns in accountancy/bookkeeping/balance.php when "Di… (#27362)
* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked

* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked

* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-10 16:22:33 +01:00
Frédéric FRANCE
6bc40a5e26
fix duplicate (#27389) 2024-01-10 16:17:30 +01:00
Frédéric FRANCE
9aa727b420
fix phpstan action (#27388) 2024-01-10 15:41:11 +01:00
David
82c93e6812 FIX: typo when adding height after custom header (#27384)
'extra_under_header_shift' instead of 'extra_under_address_shift'

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-10 15:40:36 +01:00
David
5ea1c977a5
FIX: typo when adding height after custom header (#27384)
'extra_under_header_shift' instead of 'extra_under_address_shift'

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-10 15:40:04 +01:00
Laurent Destailleur
84db53d327
Merge pull request #27320 from frederic34/patch-5
incorrect default value
2024-01-10 15:37:29 +01:00
Laurent Destailleur
d41c4d954b
Merge pull request #27341 from mdeweerd/fix/add_missing_argument_getOnlineSignature
Fix: Add missing argument in getOnlineSignatureUrl
2024-01-10 15:37:14 +01:00
Laurent Destailleur
e202ed3d68 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-10 15:34:46 +01:00
Laurent Destailleur
75746ba90e
Merge pull request #27373 from mdeweerd/fix/remove_extra_arg_mod_codeclient_constructs
FIX: Update mod_codeclient_* constructor to have $db argument as in callers.
2024-01-10 15:33:55 +01:00
nat
c06166267e FIX #27312 2024-01-10 15:32:24 +01:00
Laurent Destailleur
464bd14424
Merge pull request #27328 from nat-itopie/develop
FIX #27312
2024-01-10 15:31:31 +01:00
Laurent Destailleur
c8f3333408
Merge pull request #27327 from frederic34/patch-12
fix phpdoc
2024-01-10 15:27:30 +01:00
Laurent Destailleur
41516716d5 Fix duplicate example 2024-01-10 15:23:45 +01:00
Laurent Destailleur
2841f4723c Fix a header must be followed by exit 2024-01-10 15:21:04 +01:00