diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b26721ab58d..cf752e4abb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ exclude: (?x)^( htdocs/includes/ckeditor/.*|(\.(?!github/workflows)[^/]*/.*))$ repos: # Several miscellaneous checks and fix (on yaml files, end of files fix) - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: # This hook tests the name of the branch and return an error if the name is # 'develop' or an official version 'x.y' @@ -60,13 +60,13 @@ repos: # Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos - repo: https://github.com/gitleaks/gitleaks.git - rev: v8.16.1 + rev: v8.24.0 hooks: - id: gitleaks # Check github actions - repo: https://github.com/rhysd/actionlint - rev: v1.7.3 + rev: v1.7.7 hooks: - id: actionlint @@ -168,7 +168,7 @@ repos: # Prettier (format code, only for non common files) - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 hooks: - id: prettier stages: [manual] @@ -191,7 +191,7 @@ repos: # Check format of yaml files - repo: https://github.com/adrienverge/yamllint.git - rev: v1.35.1 + rev: v1.36.2 hooks: - id: yamllint args: @@ -201,7 +201,7 @@ repos: # Execute codespell to fix typo errors (setup of codespell into dev/tools/codespell/) - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell # Due to a current limitation of configuration files, @@ -251,7 +251,7 @@ repos: # Check sql file syntax - repo: https://github.com/sqlfluff/sqlfluff - rev: 3.1.0 + rev: 3.3.1 hooks: - id: sqlfluff-lint stages: [pre-commit, manual] # manual needed for ci diff --git a/dev/translation/ignore_translation_keys.lst b/dev/translation/ignore_translation_keys.lst index 38a06ce1550..01af43499ed 100644 --- a/dev/translation/ignore_translation_keys.lst +++ b/dev/translation/ignore_translation_keys.lst @@ -1005,7 +1005,6 @@ INVOICE_USE_RETAINED_WARRANTY INVOICE_USE_SITUATION INVOICE_USE_SITUATION_CREDIT_NOTE ImpossibleToContactAuthority -InputValueIsNotAnNumber InterDate Inventory Code InvoiceReplace @@ -1067,7 +1066,6 @@ ReceptionValidated Recruited Ref. Product RefNewContract -Societe Stable Suggested TicketMessageMailSignatureText @@ -1087,14 +1085,9 @@ Vat VirtualHost WEBPORTAL_ROOT_URL WEBPORTAL_USER_LOGGED2 -XSubsriptionError -email -id multicurrency_buyPriceInCurrency multicurrency_modifyRateApplication -ref smsing -societe target titre type diff --git a/htdocs/accountancy/admin/index.php b/htdocs/accountancy/admin/index.php index 0c422f24fc6..d5a7609fcf8 100644 --- a/htdocs/accountancy/admin/index.php +++ b/htdocs/accountancy/admin/index.php @@ -361,22 +361,20 @@ print load_fiche_titre($title, $linkback, 'accountancy'); // Show message if accountancy hidden options are activated to help to resolve some problems -if (!$user->admin) { - if (getDolGlobalString('FACTURE_DEPOSITS_ARE_JUST_PAYMENTS')) { - print '