From 6c4edf664c6070676a0286a22fa5d6e4ff52d8ba Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Mon, 2 Dec 2024 16:25:55 +0530 Subject: [PATCH 1/4] Fix extra column issue with simple editor --- js/simple-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/simple-editor.js b/js/simple-editor.js index 91c7c5c8c..109b486df 100644 --- a/js/simple-editor.js +++ b/js/simple-editor.js @@ -90,6 +90,7 @@ $( '#canvas' ).css("z-index", "-100").hide(); }else{ $('#canvas').lock(); + jQuery('.dataTables_scrollBody .sorting_disabled input').attr('disabled', true); $('#table-editor-form').submit(); // showing the chart From bb0ee1a3d1595ffcdcc2d6b6fd4cd2e825f16829 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 7 Feb 2025 15:29:28 +0530 Subject: [PATCH 2/4] fix: data escaping issue with import file --- classes/Visualizer/Source.php | 2 +- classes/Visualizer/Source/Csv.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Visualizer/Source.php b/classes/Visualizer/Source.php index afaf60201..03e7c99ad 100644 --- a/classes/Visualizer/Source.php +++ b/classes/Visualizer/Source.php @@ -429,7 +429,7 @@ private function _fetchSeriesFromEditableTable() { foreach ( $headers as $header ) { if ( ! empty( $types[ $header ] ) ) { $this->_series[] = array( - 'label' => $header, + 'label' => esc_html( wp_strip_all_tags( $header ) ), 'type' => $types[ $header ], ); } diff --git a/classes/Visualizer/Source/Csv.php b/classes/Visualizer/Source/Csv.php index 5fca4e435..461fd8dbf 100644 --- a/classes/Visualizer/Source/Csv.php +++ b/classes/Visualizer/Source/Csv.php @@ -97,7 +97,7 @@ private function _fetchSeries( &$handle ) { $labels[ $i ] = $this->toUTF8( $labels[ $i ] ); $this->_series[] = array( - 'label' => $labels[ $i ], + 'label' => esc_html( wp_strip_all_tags( $labels[ $i ] ) ), 'type' => isset( $types[ $i ] ) ? $types[ $i ] : $default_type, ); } From e1ab9d9f76e417e2d789222deaffcd5a0b4486e9 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 7 Feb 2025 15:34:47 +0530 Subject: [PATCH 3/4] bump: ubuntu version --- .github/workflows/test-e2e.yml | 2 +- .github/workflows/test-php.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 1d035cdeb..a50a3364f 100755 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -14,7 +14,7 @@ jobs: DOCKER_FILE: docker-compose.ci.yml strategy: fail-fast: false - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 417d580fa..595a1850e 100755 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -36,7 +36,7 @@ jobs: phpunit: name: PHPUnit - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 services: mysql: image: mysql:5.7 From 535212eaa9d464b397a281fe25c85d0b6e7f61e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 10:44:17 +0000 Subject: [PATCH 4/4] chore(deps): bump codeinwp/themeisle-sdk from 3.3.37 to 3.3.41 Bumps [codeinwp/themeisle-sdk](https://github.com/Codeinwp/themeisle-sdk) from 3.3.37 to 3.3.41. - [Release notes](https://github.com/Codeinwp/themeisle-sdk/releases) - [Changelog](https://github.com/Codeinwp/themeisle-sdk/blob/v3.3.41/CHANGELOG.md) - [Commits](https://github.com/Codeinwp/themeisle-sdk/compare/v3.3.37...v3.3.41) --- updated-dependencies: - dependency-name: codeinwp/themeisle-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 94841a5fd..142f29d1f 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.37", + "version": "3.3.41", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094" + "reference": "b194c872933882f4e5780eae56c59698d01623fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/73e9010fb4e30ad8835f00a0df802733f98c4094", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/b194c872933882f4e5780eae56c59698d01623fc", + "reference": "b194c872933882f4e5780eae56c59698d01623fc", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.37" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.41" }, - "time": "2024-11-06T14:44:53+00:00" + "time": "2025-02-05T10:30:34+00:00" }, { "name": "neitanod/forceutf8",