Commit Graph

127944 Commits

Author SHA1 Message Date
Laurent Destailleur
539098bfbd Merge branch '18a3' of github.com:aspangaro/dolibarr into aspangaro-18a3 2024-01-11 11:39:58 +01:00
Laurent Destailleur
144b71013d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 11:30:35 +01:00
Laurent Destailleur
52dfdbc7ad Merge branch 'develop' into 18a3 2024-01-11 11:27:10 +01:00
Christian Foellmann
1bacad04d5 remove status select from application add form (#27087) 2024-01-11 11:25:29 +01:00
Christophe Battarel
5e32970c8d dont change status displayed if error during stock movement (#27415)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 11:24:21 +01:00
Laurent Destailleur
c157472ea7 Fix trans 2024-01-11 10:58:36 +01:00
Laurent Destailleur
c37ffa87af Fix br 2024-01-11 10:54:14 +01:00
Laurent Destailleur
e4360d181b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-11 10:53:58 +01:00
Christophe Battarel
9641a538f1 add hooks to actions (#27083)
* add hooks to actions

* fix hook name

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 10:52:38 +01:00
HENRY Florian
f00c80f33e NEW: add column to store a label for the price (#27238)
* NEW: add column to store a label for the price

* review
2024-01-11 10:51:49 +01:00
dev2a
7021cb2246 NEW Simplify the verification of context in hook (#27105)
* NEW Simplify the verification of context in hook

* Add return false after array loop
2024-01-11 10:50:45 +01:00
Laurent Destailleur
a9e43d0c9d Doc 2024-01-11 10:44:43 +01:00
Christophe Battarel
42162ac024 NEW allow [] in dol_eval (#27290)
* allow []

* fix dol_eval call to authorize brackets

* ad dparam to verifCond

---------

Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 10:28:37 +01:00
Frédéric FRANCE
746c2366a1 fix #27256 (#27318)
* fix #27256

* Update functions.lib.php
2024-01-11 10:17:50 +01:00
Christophe Battarel
e64f0662e1 dont change status if error during stock movement (#27414)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2024-01-11 10:16:18 +01:00
thibdrev
f9a5b9a6dd qual: Update profid.lib.php - use the Luhn agorithm instead within isValidSiren() and isValidSiret() (#27405) 2024-01-11 10:14:06 +01:00
MDW
2057731e77 Fix most detected spelling errors + some translations (#27406) 2024-01-11 10:07:43 +01:00
MDW
58ba3e31fa Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
MDW
5cb0da4bd6 Fix: Arguments missing in call to dol_banner_tab (#27404)
# Fix: Arguments missing in call to dol_banner_tab

Add missing arguments (same as default values).
Fix minor spelling

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:05:54 +01:00
Frédéric FRANCE
56fdcbb579 clean phpstan action (#27403) 2024-01-11 10:04:49 +01:00
MDW
b09f379bd6 Qual: spelling in html.form (#27407)
# Qual: Fix spelling in htdocs/core/class/html.form.class.php .

Most changes are in the text, and some translations made of comments.

 is changed to , and var was unused.
'clas=tagd is changed to class=tagd', slight possibility of visual impact.
 is changed to , but used locally in foreach loops.
2024-01-11 10:03:08 +01:00
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