From 7719f8e9a5ec30a19cb86788d5692096e6f698d3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Jan 2023 00:34:18 +0100 Subject: [PATCH 01/12] Fix github action --- .github/workflows/code_quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 700d9fe64bf..3a1314422f2 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - php-version: '7.1' + #php-version: '7.1' - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2022.3.0 env: From 7430dd73696a0d2183573fa0e324579e849437ff Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Jan 2023 00:35:06 +0100 Subject: [PATCH 02/12] Try to force php version --- .github/workflows/code_quality.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 3a1314422f2..aa7621cec11 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -19,5 +19,7 @@ jobs: #php-version: '7.1' - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2022.3.0 + with: + php-version: '7.1' env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} \ No newline at end of file From 0e276fba5ed702ab96584f3278313e4a5b11708e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Jan 2023 00:37:46 +0100 Subject: [PATCH 03/12] Optimize --- .github/workflows/code_quality.yml | 2 +- .github/workflows/exakat.yml.disabled | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index aa7621cec11..ea80f3232ba 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 1 #php-version: '7.1' - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2022.3.0 diff --git a/.github/workflows/exakat.yml.disabled b/.github/workflows/exakat.yml.disabled index f5ecdb8c614..1e9121a0e00 100644 --- a/.github/workflows/exakat.yml.disabled +++ b/.github/workflows/exakat.yml.disabled @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 1 - name: Exakat uses: docker://exakat/exakat-ga with: From 761ca8ca435c9f97c3f6b2773da465fc6a84f4be Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 5 Jan 2023 03:12:52 +0100 Subject: [PATCH 04/12] Enhance select2 component to allow onrightofpage --- htdocs/core/lib/ajax.lib.php | 11 +++++++---- htdocs/product/list.php | 6 +++--- htdocs/theme/eldy/global.inc.php | 5 +++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/htdocs/core/lib/ajax.lib.php b/htdocs/core/lib/ajax.lib.php index 27532c7a820..cacd22269ad 100644 --- a/htdocs/core/lib/ajax.lib.php +++ b/htdocs/core/lib/ajax.lib.php @@ -480,8 +480,11 @@ function ajax_combobox($htmlname, $events = array(), $minLengthToAutocomplete =