Compare commits

...
Author SHA1 Message Date
Maxime Beauchemin 49a6f9bcbe removing lean39 from matrix 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 5dff290a53 fix dockerfile 2024-01-23 09:58:04 -08:00
Maxime Beauchemin d40614e0ab moving COPY after pip install 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 5d1b443939 bring ephemeral build to top level 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 442520a535 bring ephemeral build to top level 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 0182457970 trying v4 2024-01-23 09:58:04 -08:00
Maxime Beauchemin bee3014c37 use the right cache for ephemeral env 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 686c13b6f4 bumping actions versions 2024-01-23 09:58:04 -08:00
Maxime Beauchemin 6bf409b429 missed a thing 2024-01-23 09:58:04 -08:00
Maxime Beauchemin a9894304b0 move DEV_TAG up 2024-01-23 09:58:04 -08:00
Maxime Beauchemin c8b707d9b7 missed a thing 2024-01-23 09:58:03 -08:00
Maxime Beauchemin b4f10b08b1 missed a thing 2024-01-23 09:58:03 -08:00
Maxime Beauchemin d0784e7094 missed a thing 2024-01-23 09:58:03 -08:00
Maxime Beauchemin ecc2705074 skipping --target for dockerize and websocket 2024-01-23 09:58:03 -08:00
Maxime Beauchemin 88642067a1 fix unit test 2024-01-23 09:58:03 -08:00
Maxime Beauchemin 5af05976d8 temp chec 2024-01-23 09:58:03 -08:00
Maxime Beauchemin 83d2e7f903 fix 2024-01-23 09:58:03 -08:00
Maxime Beauchemin d9565fa489 typo 2024-01-23 09:58:03 -08:00
Maxime Beauchemin 412a71d758 changing the approach 2024-01-23 09:58:03 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f8f5c548c9 build(deps): bump @visx/axis from 3.0.1 to 3.5.0 in /superset-frontend (#26714)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 06:57:05 +13:00
Daniel Vaz Gaspar 29d3add866 docs: update fixed CVEs for version 3.0.3 (#26760) 2024-01-23 17:54:37 +00:00
Daniel Vaz GasparandGeido 74f953ddd2 fix: docker ephemeral environment, push only on testenv comment (#26473)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2024-01-23 15:46:46 +00:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Evan Rusackas
98c84babb9 build(deps): update @types/d3-cloud requirement from ^1.2.1 to ^1.2.9 in /superset-frontend/plugins/plugin-chart-word-cloud (#26483)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
2024-01-23 08:21:09 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d7d63bc184 build(deps): bump fuse.js from 6.4.6 to 7.0.0 in /superset-frontend (#26616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 08:19:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 04445a3487 build(deps-dev): bump webpack from 5.76.0 to 5.89.0 in /docs (#26717)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:45:34 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2842b63cbe build(deps-dev): bump prettier-plugin-packagejson from 2.2.15 to 2.4.9 in /superset-frontend (#26570)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:31:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 36608b503e build(deps-dev): bump @babel/register from 7.22.5 to 7.23.7 in /superset-frontend (#26556)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:31:17 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2961d69a82 build(deps): update react-table requirement from ^7.6.3 to ^7.8.0 in /superset-frontend/plugins/plugin-chart-table (#26522)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:30:50 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6557fb8132 build(deps): bump react-github-btn from 1.2.1 to 1.4.0 in /docs (#26613)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:22:52 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 43cf0c69ec build(deps-dev): bump eslint-plugin-react-hooks from 4.2.0 to 4.6.0 in /superset-frontend (#26572)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:22:38 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 60d1e4e95a build(deps): bump @emotion/babel-preset-css-prop from 11.2.0 to 11.11.0 in /superset-frontend (#26576)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:22:21 -07:00
Maxime Beauchemin 75a98af64b feat: auto-label PRs that contain db migrations (#26745) 2024-01-22 16:24:07 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6a1ce6a704 build(deps): bump @saucelabs/theme-github-codeblock from 0.1.1 to 0.2.3 in /docs (#26724)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 15:54:31 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> be748f35cd build(deps): bump @docsearch/react from 3.3.3 to 3.5.2 in /docs (#26720)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 15:53:06 -07:00
Vitor Avila 5eb4e82d27 fix(db2): Improving support for ibm db2 connections (#26744) 2024-01-22 17:05:58 -05:00
Evan Rusackas ffc357c6a1 chore(dependencies): loosen constraints on dependency checker (#26708) 2024-01-22 13:50:16 -07:00
Vitor Avila 3ed70d8f53 fix(legacy-charts): Show Time Grain control for legacy charts (#26705) 2024-01-22 12:37:03 -07:00
Evan Rusackas ef4878b845 fix: do not use lodash/memoize (#26709) 2024-01-22 12:36:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a49526d984 build(deps): bump @babel/traverse from 7.22.8 to 7.23.2 in /superset-frontend (#25665)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 11:42:29 -07:00
Evan Rusackas 60004f5bf3 chore(dependencies): removes unsued d3-color and d3-array (#26694) 2024-01-22 10:59:14 -07:00
Evan Rusackas 969f8edc5a chore(dependencies): removes unused minimist (#26692) 2024-01-22 10:59:08 -07:00
Evan Rusackas ae3bb47708 chore(dependencies): remove unused global-box (#26690) 2024-01-22 10:59:01 -07:00
Evan Rusackas eba3929ed1 chore(dependencies): remove unused lodash-es (#26689) 2024-01-22 10:58:55 -07:00
Evan Rusackas 214142f54a chore(dependencies): remove unused react-datetime (#26688) 2024-01-22 10:58:48 -07:00
Evan Rusackas 9c3f40d87c chore(dependencies): remove unused ansi-regex (#26687) 2024-01-22 10:58:43 -07:00
Evan Rusackas 9f7db406f1 chore(dependencies): removes unused @visx/tooltip (#26686) 2024-01-22 10:58:37 -07:00
Evan Rusackas 775474366e chore(dependencies): remove unused @babel/runtime-corejs3 (#26685) 2024-01-22 10:58:31 -07:00
Evan Rusackas c989a1cbce chore(dependencies): removes unused bootstrap-slider (#26684) 2024-01-22 10:57:57 -07:00
Evan Rusackas 4a27e79001 chore(dependencies): npm audit fix for superset-ui-demo (#26691) 2024-01-22 10:56:56 -07:00
Maxime Beauchemin f46121dba9 chore: silence SECRET_KEY warning when running tests (#26703) 2024-01-22 09:20:48 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ce26ecbd90 build(deps-dev): bump @types/node from 20.11.1 to 20.11.5 in /superset-websocket (#26733)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 09:59:17 -07:00
Beto Dealmeida c0b57bd1c3 feat(sqlparse): improve table parsing (#26476) 2024-01-22 11:16:50 -05:00
Denis Krivenko d34874cf2b feat(helm): Upgrade default Superset version to 3.1.0 (#26707) 2024-01-21 09:43:17 -08:00
Maxime Beauchemin e86d4d3c92 fix(import): only import FORMULA annotations (#26652) 2024-01-19 15:13:18 -08:00
Maxime Beauchemin 1283803844 chore: add unique constraint to tagged_objects (#26654) 2024-01-19 15:12:54 -08:00
Pieter Ennes effd73f2cc fix: Catch ImportErrors for Google SDKs (#25550) 2024-01-19 15:00:43 -08:00
Michael S. Molina 69b57016b3 refactor: Removes the deprecated DASHBOARD_NATIVE_FILTERS feature flag (#26329) 2024-01-19 17:07:38 -03:00
Evan Rusackas 3acda145f1 fix: Revert "build(deps): bump @mdx-js/react from 1.6.22 to 3.0.0 in /docs" (#26682) 2024-01-19 12:46:44 -07:00
Michael S. Molina f63e66be01 refactor: Removes the deprecated VERSIONED_EXPORT feature flag (#26347) 2024-01-19 15:21:14 -03:00
Michael S. Molina 649ff4dd61 fix: Revert "buld(deps): bump swagger-ui-react from 4.1.3 to 5.11.0 in docs (#26552) (#26679) 2024-01-19 15:00:51 -03:00
Michael S. Molina 1010294f2b chore: Updates the Release Process link in the issue template (#26677) 2024-01-19 13:31:56 -03:00
Michael S. Molina a84d86fe26 refactor: Removes the deprecated redirect endpoint (#26377) 2024-01-19 11:39:04 -03:00
Michael S. MolinaandJohn Bodley d9a3c3e1dd refactor: Removes the Filter Box code (#26328)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2024-01-19 09:54:53 -03:00
Michael S. Molina 591f266543 chore: Updates the bug report template (#26375) 2024-01-18 16:32:21 -03:00
Michael S. Molina 8f8c435d7c refactor: Removes the Profile feature (#26462) 2024-01-18 15:36:40 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b245e66198 build(deps): bump the npm_and_yarn group group in /superset-frontend with 2 updates (#26665)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 11:22:59 -07:00
Michael S. Molina 03b8d8f7f7 chore: Updates CHANGELOG.md and UPDATING.md with 3.1.0 data (#26661) 2024-01-18 13:24:58 -03:00
Michael S. Molina ae0eb4b8d9 refactor: Removes the deprecated DASHBOARD_FILTERS_EXPERIMENTAL feature flag (#26330) 2024-01-18 13:24:25 -03:00
Linghao Wang 8539dfd0ba fix(translation): correct translation errors for Chinese(zh) (#26645)
Signed-off-by: Waterkin <1055905911@qq.com>
2024-01-18 08:38:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 188bb5cab2 build(deps): bump @mdx-js/react from 1.6.22 to 3.0.0 in /docs (#26547)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 08:21:30 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7884df1ee2 build(deps): bump swagger-ui-react from 4.1.3 to 5.11.0 in /docs (#26552)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 08:20:57 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cadb732713 build(deps-dev): bump @tsconfig/docusaurus from 1.0.7 to 2.0.2 in /docs (#26555)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 08:20:39 -07:00
Michael S. Molina 4d9144eca5 refactor: Migrates legacy Sunburst charts to ECharts and removes legacy code (#26350) 2024-01-18 11:59:08 -03:00
Michael S. Molina cf20b3439c refactor: Removes the deprecated ENABLE_EXPLORE_JSON_CSRF_PROTECTION feature flag (#26344) 2024-01-18 10:29:51 -03:00
Michael S. Molina b06ab7d8e3 refactor: Removes the deprecated ENABLE_TEMPLATE_REMOVE_FILTERS feature flag (#26345) 2024-01-18 09:03:03 -03:00
Jonathon Batson 6443001cef docs: update embedded readme with user params context (#25800) 2024-01-17 16:21:56 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 860aa55d00 build(deps): bump node-notifier from 8.0.0 to 8.0.1 in /superset-frontend (#12175)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 16:20:29 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9e154d1a48 build(deps): bump clsx from 1.1.1 to 2.1.0 in /docs (#26549)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 15:47:07 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c900dd0b78 build(deps-dev): bump typescript from 4.4.4 to 5.3.3 in /docs (#26560)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 15:44:18 -07:00
Michael S. Molina add2924ed1 chore: Updates CHANGELOG.md and UPDATING.md with 3.0.3 data (#26650) 2024-01-17 16:36:08 -03:00
Michael S. Molina 9724abf090 fix: Removes unused cache cleanup (#26648) 2024-01-17 16:34:45 -03:00
Michael S. Molina f8d25612ba refactor: Removes the deprecated REMOVE_SLICE_LEVEL_LABEL_COLORS feature flag (#26346) 2024-01-17 16:29:08 -03:00
John Bodley df79522160 refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (#26200) 2024-01-18 08:27:29 +13:00
Igor Khrol 80a6e25a98 fix: Avoid 500 if end users write bad SQL (#26638) 2024-01-18 06:48:50 +13:00
Michael S. Molina eff4422d04 chore: Deprecates the DASHBOARD_CROSS_FILTERS feature flag (#26633) 2024-01-17 13:01:27 -03:00
Daniel Vaz Gaspar 95cb30be4b fix: remove possible unnecessary file 1 (#26649) 2024-01-17 15:48:43 +00:00
Michael S. Molina d5b62d8d3e chore: Deprecates the ENABLE_JAVASCRIPT_CONTROLS feature flag (#26635) 2024-01-17 11:39:57 -03:00
Michael S. Molina 90c3e56d32 chore: Sets DASHBOARD_VIRTUALIZATION feature flag to True by default (#26636) 2024-01-17 11:39:11 -03:00
Vitor Avila 197c6e65ed chore(API): Include changed_by.id in Get Charts and Get Datasets API responses (#26540) 2024-01-17 14:12:46 +00:00
Michael S. Molina 902dafde48 chore: Sets the DRILL_BY feature flag to True by default (#26637) 2024-01-17 10:16:04 -03:00
Daniel Vaz Gaspar 6a4043d0f0 fix: unnecessary logic on CI ephemeral (#26644) 2024-01-17 12:49:28 +00:00
Daniel Vaz Gaspar 8e19f59dd2 fix: create virtual dataset validation (#26625) 2024-01-17 09:11:15 +00:00
John Bodley 7af82ae87d refactor: Ensure Celery leverages the Flask-SQLAlchemy session (#26186) 2024-01-17 17:06:22 +13:00
Elizabeth Thompson aaa4a7b371 feat: global logs context (#26418) 2024-01-16 14:44:30 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 14106f7bb2 build(deps): update datamaps requirement from ^0.5.8 to ^0.5.9 in /superset-frontend/plugins/legacy-plugin-chart-world-map (#26500)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 14:41:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 87f2b93023 build(deps-dev): bump @babel/traverse from 7.16.10 to 7.23.2 in /superset-embedded-sdk (#25663)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 14:21:40 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 59c0e973a4 build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 in /superset-frontend/cypress-base (#25664)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 14:21:26 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ee8b22dd29 build(deps): bump @babel/traverse from 7.16.3 to 7.23.2 in /docs (#25662)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-16 14:20:50 -07:00
Fenil Mehta 2e17a9e94f docs: fix links (#26606) 2024-01-16 15:38:56 -05:00
Michael S. Molina 7fccea1556 refactor: Removes the deprecated CLIENT_CACHE feature flag (#26348) 2024-01-16 15:40:16 -03:00
Musa Hamadaandmusa.hammadi 7ab37d2aae feat(celery): upgrade celery and its dependencies packages (#26604)
Co-authored-by: musa.hammadi <musa.hammadi@infostrategic.com>
2024-01-17 06:59:49 +13:00
Geido 820f4b9cf0 fix: RLS modal styling (#26634) 2024-01-16 18:29:06 +01:00
Michael S. Molina 2d3ff8c0dc refactor: Removes the deprecated DASHBOARD_CACHE feature flag (#26349) 2024-01-16 14:14:42 -03:00
Michael S. Molina 9387c4c16f refactor: Removes the filters set feature (#26369) 2024-01-16 12:42:35 -03:00
Michael S. Molina 7ca6d8c880 chore: Deprecates the KV_STORE feature flag (#26450) 2024-01-16 10:49:14 -03:00
Michael S. Molina 6063f4ff04 refactor: Removes the deprecated ENABLE_EXPLORE_DRAG_AND_DROP feature flag (#26343) 2024-01-16 10:47:52 -03:00
Michael S. Molina b2ad74f94f refactor: Removes the deprecated DISABLE_DATASET_SOURCE_EDIT feature flag (#26331) 2024-01-16 09:29:41 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8b047a521b build(deps): update lodash requirement from ^4.17.11 to ^4.17.21 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#26589)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 21:18:07 -07:00
Elizabeth Thompson 0b20ace65d fix: stringify scarf pixel value (#26351) 2024-01-15 21:12:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3fe240742a build(deps): update urijs requirement from ^1.19.8 to ^1.19.11 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#26506)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:26:39 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b4621d2f2a build(deps-dev): bump style-loader from 3.3.3 to 3.3.4 in /superset-frontend (#26520)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:26:25 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> bc76cd4898 build(deps-dev): bump @types/urijs from 1.19.19 to 1.19.25 in /superset-frontend (#26538)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:26:08 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 01e8231531 build(deps): update lodash requirement from ^4.17.15 to ^4.17.21 in /superset-frontend/packages/superset-ui-chart-controls (#26530)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:23:10 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 29f5d4aa41 build(deps): update xss requirement from ^1.0.10 to ^1.0.14 in /superset-frontend/plugins/plugin-chart-table (#26539)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:22:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dec241be4e build(deps): bump moment-timezone from 0.5.37 to 0.5.44 in /superset-frontend (#26545)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:22:31 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b28fc1678e build(deps): bump less from 4.1.3 to 4.2.0 in /docs (#26562)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:22:07 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ed51b3b59c build(deps): bump @docusaurus/preset-classic from 2.4.1 to 2.4.3 in /docs (#26612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:21:15 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 515b49d64a build(deps-dev): bump @types/node from 20.11.0 to 20.11.1 in /superset-websocket (#26619)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:21:02 -07:00
Daniel Vaz Gaspar 2f3bb5b169 fix: improve performance on reports log queries (#26416) 2024-01-15 19:04:44 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c947be356c build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-sunburst (#26503)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:15:30 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 03c0d3722e build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-rose (#26509)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:15:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 785cfa6003 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-country-map (#26515)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:14:59 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fd44943aaf build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-partition (#26524)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:14:45 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 602e85620c build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-chord (#26525)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:14:20 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 442d70c471 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-histogram (#26535)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:13:26 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> bf0d0d538e build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-calendar (#26536)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:13:12 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3e70dee89f build(deps): update lodash requirement from ^4.17.15 to ^4.17.21 in /superset-frontend/plugins/plugin-chart-echarts (#26541)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:12:58 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 58c0f2cc7d build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-map-box (#26569)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:12:44 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3c7a6513e8 build(deps): update prop-types requirement from ^15.7.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates (#26574)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:12:30 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 30d3a96d61 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-horizon (#26580)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:12:17 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8bd47f47cd build(deps): update prop-types requirement from ^15.7.2 to ^15.8.1 in /superset-frontend/packages/superset-ui-chart-controls (#26587)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 17:12:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 552823f329 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-sankey (#26477)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:58:19 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d385abd13b build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#26480)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:58:06 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3ec77597bf build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-world-map (#26484)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:57:49 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5ca7326fbd build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-event-flow (#26486)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:57:29 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 07ce6b0a52 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-heatmap (#26488)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:57:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d070cf9257 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-sankey-loop (#26492)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:56:57 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6f27dc8be3 build(deps): bump @docusaurus/plugin-client-redirects from 2.4.1 to 2.4.3 in /docs (#26558)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:56:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 94df597107 build(deps): bump @algolia/client-search from 4.13.0 to 4.22.1 in /docs (#26554)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:55:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7f9a03bfea build(deps): bump react-draggable from 4.4.3 to 4.4.6 in /superset-frontend (#26559)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:55:17 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 517991d7bc build(deps): bump react-resizable from 3.0.4 to 3.0.5 in /superset-frontend (#26568)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:55:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f37b558042 build(deps): update lodash requirement from ^4.17.11 to ^4.17.21 in /superset-frontend/packages/generator-superset (#26591)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:53:53 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 76c17261d0 build(deps): update prop-types requirement from ^15.6.2 to ^15.8.1 in /superset-frontend/plugins/legacy-plugin-chart-paired-t-test (#26592)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:53:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 471da0d391 build(deps-dev): update yeoman-assert requirement from ^3.1.0 to ^3.1.1 in /superset-frontend/packages/generator-superset (#26600)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:53:02 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a59f691610 build(deps): update fast-safe-stringify requirement from ^2.0.6 to ^2.1.1 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#26601)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 14:43:22 -07:00
Evan Rusackas b98d4b43ba chore(deps): adding dependabot for plugins/packages and upping PR limits. (#26444) 2024-01-12 14:57:33 -07:00
ʈᵃᵢ c186ea33ea docs: Update installing-superset-from-scratch.mdx (#26468) 2024-01-12 10:53:49 -07:00
Beto Dealmeida e36c014290 fix(database): allow filtering by UUID (#26469) 2024-01-12 11:18:39 -05:00
Vitor Avila 494068b632 fix(embedded): Hide dashboard fullscreen option for embedded context (#26412) 2024-01-11 14:44:12 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0f8a3b31d3 build(deps-dev): bump @types/node from 20.10.8 to 20.11.0 in /superset-websocket (#26455)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 06:48:48 +13:00
Igor KhrolandJohn Bodley 3daa038f5f fix: Trino - handle table not found in SQLLab (#26355)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2024-01-11 13:37:18 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b2a21f7166 build(deps-dev): bump @types/node from 20.10.7 to 20.10.8 in /superset-websocket (#26447)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:08:04 -07:00
Ville Brofeldt a1993566c4 chore: bump prophet to 1.1.5 (#26431) 2024-01-10 11:12:01 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ea4e9a6403 build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /superset-frontend (#26441)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 16:59:30 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d3da503edb build(deps-dev): bump follow-redirects from 1.15.3 to 1.15.4 in /superset-embedded-sdk (#26440)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 15:10:12 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a23825c23c build(deps): bump follow-redirects from 1.14.8 to 1.15.4 in /docs (#26438)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 13:50:56 -07:00
Ville Brofeldt ff025b78f3 fix(post-processing): handle missing values in cumulative operator (#26429) 2024-01-09 08:56:19 -03:00
Zef Lin efdeb9df05 feat(embedded+async queries): support async queries to work with embedded guest user (#26332) 2024-01-08 17:11:45 -08:00
Xuebin Zhang 4c2e818cd3 fix(translations): Clear all (#26424) 2024-01-08 22:18:45 +01:00
Ville Brofeldt 219c4a14b3 fix(plugin-chart-echarts): support forced categorical x-axis (#26404) 2024-01-08 12:04:22 -08:00
Siva Sathyaseelan 6d58566779 fix: In chart gallery thumbnail is rendered in case of no example in #16707 (#26415) 2024-01-08 11:44:58 -07:00
Sam Firke 3a6dc1d24e chore(docs): remove incorrect answer from FAQ (#26428) 2024-01-08 13:37:59 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> db04ea40fb build(deps-dev): bump @types/node from 20.10.6 to 20.10.7 in /superset-websocket (#26425)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 06:55:18 +13:00
John Bodley 77bd7cf1c6 chore: Reenable SQLite tests which leverage foreign key constraints et al. (#24605) 2024-01-09 06:33:47 +13:00
周小馬 3a7d76cece feat: Add ValuePercent option to LABEL TYPE for Pie and Funnel charts (#26407) 2024-01-05 10:00:27 +13:00
Sonia GautamandSonia dfde2adf27 fix(chart): Resolve incorrect column customization when switching metrics in table chart (#26393)
Co-authored-by: Sonia <sonia.gautam@agoda.com>
2024-01-04 12:31:24 -07:00
Guen PrawiroatmodjoandJohn Bodley bba1b14bf0 fix(sqllab): Bump duckdb-engine version to 0.9.5 (#26405)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2024-01-04 12:30:45 -07:00
JUST.in DO IT 300ddaedf9 fix(dashboard): narrow empty drop area (#26313) 2024-01-04 09:44:23 -08:00
Siva Sathyaseelan d0ffe9af7c fix(dashboard): Chart menu disable is fixed on chart-fullscreen in issue #25992 (#26410) 2024-01-04 11:33:07 -03:00
Michael S. Molina 6f6c37ec26 fix: Reactivates native filters E2E tests (#26362) 2024-01-03 15:06:55 -07:00
Boris Strelchik 9ffcd6410e fix(embed): an error occurred while rendering the visualization: error: Item with key ... is not registered. (#26398) 2024-01-04 07:15:28 +13:00
Irina Shebarshina a0f0f698f4 fix(SelectControl): select zero value (#26353) 2024-01-03 10:11:26 -08:00
Michael S. Molina 9432bd88f5 fix: Invalid references in the basic template (#26302) 2024-01-03 13:25:52 -03:00
Michael S. Molina 77f58fc8fa fix: Removes non-existent columns in the 2018 FCC Survey dataset (#26380) 2024-01-03 11:13:07 -03:00
Willie Hung 113a8a381c chore: Add example charts for deck.gl (#25770)
Signed-off-by: Willie Hung <willie880201044@gmail.com>
2024-01-03 09:46:21 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9033e72679 build(deps-dev): bump @types/node from 20.10.5 to 20.10.6 in /superset-websocket (#26386)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 07:07:09 +13:00
Fenil Mehta 24e6ec3dca docs: fix spelling and grammar (#26381) 2024-01-03 07:06:45 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6e443ad1eb build(deps): bump ws from 8.15.0 to 8.16.0 in /superset-websocket (#26363)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 07:01:27 +13:00
Michael S. Molina 29633e7d8c fix: Duplicated plugin registration (#26379) 2023-12-29 15:58:26 -03:00
Jeremy 3a0391bbb9 fix(databend): databend time grain expression (#26378) 2023-12-29 09:00:05 -03:00
Denis Baltor f78f33d9aa docs: fix config webdriver snippet in install on K8s (#26371) 2023-12-28 12:07:52 -05:00
Sam Firke 4a0312243d chore(docs): point to correct StackOverflow page (#26368) 2023-12-28 10:57:36 -05:00
863f8bbbcd fix(chart): Set max row limit + removed the option to use an empty row limit value (#26151)
Co-authored-by: Lily Kuang <lily@preset.io>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-12-26 19:32:11 -07:00
Vitor AvilaandMichael S. Molina fe9fbadade chore(Embedded): Avoid creating a filter key for guest users (#26312)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-12-26 19:31:51 -07:00
John Bodley 5f5a656835 fix(logging): Add logging of change_dashboard_filter event for native dashboard filters (#26333) 2023-12-27 08:48:55 +13:00
arun b6d433de32 fix(accessibility): Enable tabbing on sort header of table chart (#26326) 2023-12-22 22:28:41 -08:00
Lily Kuang 3391e29093 fix(tagging): adding tags containing a “:” to dashboards (#26324)
will add more tests in a separated PR
2023-12-22 10:30:08 -08:00
Kamil Gabryjelski 5400d30b20 feat(echarts-funnel): Implement % calculation type (#26290) 2023-12-22 13:14:52 +01:00
Kamil Gabryjelski 39ac45351b fix(dashboard): Don't switch to first tab when directPathToChild changes (#26340) 2023-12-22 13:13:35 +01:00
Michael S. Molina 5bd7fd7990 chore: Adds a tooltip for the alert's SQL input (#26317) 2023-12-22 08:32:59 -03:00
Kamil Gabryjelski 5e85f5c81f chore: Add downloadAsImage types, change filter selector (#26297) 2023-12-21 08:53:23 +01:00
gaurav7261andGauravM 60abf7e2af fix(redshift): convert_dttm method for redshift dataset and tests (#26283)
Co-authored-by: GauravM <gaurav@ip-192-168-0-100.ap-south-1.compute.internal>
2023-12-21 09:55:34 +13:00
Guen Prawiroatmodjo 9d3796828c fix(sql lab): Use quote_schema instead of quote method to format schema name (#26281) 2023-12-21 06:52:39 +13:00
Kamil Gabryjelski 3f9183a162 chore: Use WEBDRIVER_OPTION_ARGS with Playwright (#26315) 2023-12-20 12:42:12 +01:00
Michael S. Molina eb65cea971 chore: Disables minor ticks by default (#26310) 2023-12-20 08:34:27 -03:00
Daniel Vaz Gaspar 8c32c6da16 docs: update CVEs fixed on 3.0.2 and 2.1.3 (#26308) 2023-12-20 03:39:39 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 90a3d685a0 build(deps-dev): bump @types/node from 20.10.4 to 20.10.5 in /superset-websocket (#26305)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 14:55:54 -03:00
Elizabeth Thompson 9111eb9f30 chore: update changelog for 2.1.3 (#26287) 2023-12-18 15:31:58 -08:00
Ville Brofeldt 596f5569be chore(sqlalchemy): import from correct path (#26301) 2023-12-18 13:01:50 -08:00
Gnought 04f1c356a5 fix(typings): model_id is a multiple option (#25967) 2023-12-19 07:54:55 +13:00
Evan Rusackas 84ac72f550 feat(releasing): adding SHA512 and RSA signature validation script to verify releases (#26278) 2023-12-18 11:46:56 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6a3db35bb2 build(deps-dev): bump eslint from 8.55.0 to 8.56.0 in /superset-websocket (#26294)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 06:50:09 +13:00
Evan Rusackas eb4b41233b chore(cleanup): removing redundant rendering logic in telemetry pixel (#26293) 2023-12-18 10:46:55 -07:00
John Bodley aafb54d042 chore: Ensure Mixins are ordered according to the MRO (#26288) 2023-12-16 14:11:58 +13:00
JUST.in DO IT 8450cca998 fix: Revert "fix(sqllab): flaky json explore modal due to over-rendering (#26156)" (#26284) 2023-12-15 15:05:00 -08:00
Sam Firke 9c96519b67 chore(docs): fix typo "loader balancer" -> "load balancer" (#26285) 2023-12-15 14:55:11 -05:00
Evan Rusackas 51172ca1aa chore(in the wild): Making it even easer to add a name (and cleanup) (#26280) 2023-12-15 11:50:38 -07:00
Sam Firke 38f5e4d490 chore(docs): add troubleshooting guide to alerts & reports (#26253) 2023-12-15 08:42:00 -05:00
Michael S. Molina aa3c3c5aaa fix: Cannot expand initially hidden SQL Lab tab (#26279) 2023-12-14 16:48:07 -03:00
Evan RusackasandMichael S. Molina 8437a235c9 feat(telemetry): Adding Scarf based telemetry to Superset (#26011)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-12-14 11:55:51 -07:00
Ville Brofeldt 67468c46c0 fix(plugin-chart-echarts): use scale for truncating x-axis (#26269) 2023-12-15 07:13:39 +13:00
Michael S. Molina 429e2a33c3 fix: Stacked charts with numerical columns (#26264) 2023-12-13 17:10:51 -03:00
Zef Lin 334e15997f chore(async queries): sending statsd event for async events API call (#26259) 2023-12-13 11:41:51 -08:00
Daniel Vaz Gaspar 578a899152 chore: improve CSP add base uri restriction (#26251) 2023-12-13 11:45:14 +00:00
Evan Rusackas 46e677823e chore: adding 'no-experimental-fetch' node option by default (#25628) 2023-12-12 14:35:22 -07:00
Vitor Avila 3a6fe9f105 chore(tests): Add tests to the column denormalization flow (#26220) 2023-12-12 14:34:50 -07:00
Ville Brofeldt 5df544b6fb fix(plugin-chart-echarts): undefined bounds for bubble chart (#26243) 2023-12-12 09:22:29 -08:00
Elizabeth Thompson 136ad0ef4f chore: add class component tasklist file (#26078) 2023-12-11 11:12:53 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1fbc762efa build(deps): bump ws from 8.14.2 to 8.15.0 in /superset-websocket (#26234)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 06:58:43 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 577565cd82 build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 in /superset-websocket (#26233)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 06:56:59 +13:00
cwegener 2ac28927a3 fix: bump pyarrow constraints (CVE-2023-47248) (#26187) 2023-12-11 13:27:53 -03:00
JeremyandJohn Bodley fca5b829df chore: lock the databend-sqlalchemy version (#26082)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-12-08 10:23:03 -08:00
Michael S. Molina 005cf5947b chore: Moves xAxisLabelRotation to shared controls (#26212) 2023-12-08 13:37:06 -03:00
Kamil Gabryjelski dbed64a2c6 fix: Use page.locator in Playwright reports (#26224) 2023-12-08 17:16:13 +01:00
Ville BrofeldtandMichael S. Molina 07e5fe8a66 fix(plugin-chart-echarts): support truncated numeric x-axis (#26215)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-12-08 10:40:09 -03:00
Vitor Avila 05d7060d83 fix(chart-filter): Avoid column denormalization if not enabled (#26199) 2023-12-07 17:24:47 -08:00
Ville Brofeldt d2adc858cb fix: support custom links in markdown (#26211) 2023-12-07 13:51:15 -08:00
ʈᵃᵢ 88fb342887 fix(dashboard): use textContent to render hidden title (#26189) 2023-12-07 13:33:49 -08:00
Michael S. MolinaandJohn Bodley b4a35e624b chore: Adds note about numerical x-axis (#26208)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-12-07 09:53:33 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3a04ac7720 build(deps-dev): bump @types/node from 20.10.3 to 20.10.4 in /superset-websocket (#26204)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 09:49:41 -08:00
JUST.in DO IT f30f685eb5 fix(sqllab): flaky json explore modal due to over-rendering (#26156) 2023-12-07 09:28:59 -08:00
Michael S. Molina 39c6488463 fix: Includes 90° x-axis label rotation (#26207) 2023-12-07 13:08:54 -03:00
Aleksey Karpov f68dd8293f fix(docker): Remove race condition when building image (#26205) 2023-12-07 09:54:59 -03:00
Jack Fragassi bf5b18ccb1 chore: Lower giveup log level for retried functions to warning (#26188) 2023-12-06 16:33:19 -08:00
Aleksey Karpov c8e69e2f9d feat(docker): Add ARM builds (#26196) 2023-12-06 13:13:47 -08:00
Suma Goud B 4d4b19e8ba fix(init-job): Fix envFrom for init job in helm chart (#26157) 2023-12-06 07:40:43 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d2cce51ddf build(deps-dev): bump eslint from 8.54.0 to 8.55.0 in /superset-websocket (#26174)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 15:00:45 -03:00
Daniel Vaz Gaspar 56fa2b29d3 docs: update CHANGELOG for 2.1.2 (#26150) 2023-12-05 12:40:39 +00:00
Jack Fragassi 386d4e0541 fix(embedded): Hide sensitive payload data from guest users (#25878) 2023-12-04 14:52:59 -08:00
Tim Eckley b287ca7f5b feat: Create db_engine_spec ibmi.py (#26161) 2023-12-04 13:49:38 -08:00
JUST.in DO IT 86304ab171 fix(menu): Styling active menu in SPA navigation (#25533) 2023-12-04 13:03:29 -08:00
Ville Brofeldt 0b477e3f7c chore: harmonize and clean up list views (#25961) 2023-12-04 11:51:18 -08:00
Michael S. Molina 3ab27c6ec9 chore: Clean up the examples dashboards (#26158) 2023-12-04 16:05:08 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 248586de6e build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 in /superset-websocket (#26166)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 09:49:07 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fccde379b8 build(deps-dev): bump @types/node from 20.10.1 to 20.10.3 in /superset-websocket (#26167)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 09:48:52 -08:00
John Bodley 8644b1a319 fix: Migration order due to cherry which went astray (#26160) 2023-12-01 18:29:21 -08:00
Ross MabbettandJohn Bodley b7a9c220e1 fix(Alerts/Reports): allow use of ";" separator in slack recipient entry (#25894)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-12-01 16:32:08 -08:00
JUST.in DO IT cdbbd83705 fix(sqllab): table preview has gone (#25977) 2023-12-01 13:41:31 -08:00
Vitor Avila c033ca959d fix(database-import): Support importing a DB connection with a version set (#26116) 2023-12-01 16:20:27 -05:00
Braum 1b9e4ff9ab docs: add quickstart (#26129) 2023-12-01 13:09:38 -03:00
Beto Dealmeida b2ea97a984 fix: set label on adhoc column should persist (#26154) 2023-12-01 08:40:52 -05:00
Michael S. Molina f405ba033e feat: Adds legacy time support for Waterfall chart (#26136) 2023-12-01 10:04:53 -03:00
Tom Murphy 4f00404805 feat(helm): Add option to deploy extra containers to remaining deployments (#26123) 2023-11-30 14:39:15 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> df0f663382 build(deps-dev): bump @types/node from 20.10.0 to 20.10.1 in /superset-websocket (#26143)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 09:50:49 -08:00
Beto Dealmeida cff473f825 fix(annotations): time grain column (#26140) 2023-11-30 11:13:12 -05:00
Daniel Vaz Gaspar 79be126189 docs: update CVEs fixed on 3.0.0 (#26149) 2023-11-30 14:43:12 +00:00
Kamil Gabryjelski d00c17dde2 chore: Rename SET_ACTIVE_TABS action, add a new action (#26147) 2023-11-30 12:27:40 +01:00
Sam Firke f1a6b2f852 docs(drivers): refresh guide on adding a db driver in docker (#26038) 2023-11-29 13:05:03 -07:00
Hugh A. Miles II ee308fbc64 chore(tags): Allow for lookup via ids vs. name in the API (#25996) 2023-11-29 10:59:59 -08:00
Daniel Vaz Gaspar 6a5a765689 fix: remove default secret key from helm (#23916) 2023-11-29 07:48:39 -08:00
Ishan Singhania ea1a96e8e1 docs: add Increff to users list (#26124) 2023-11-29 09:00:15 -05:00
Gnought a27a0df1a4 chore(deps): bump pillow deps (#25931) 2023-11-29 08:59:27 -05:00
Guy Attia b9aaf0fc05 docs: add Onebeat to users list (#26112) 2023-11-28 20:50:50 -08:00
François Travais af58784040 feat(deckgl-map): use an arbitraty Mabpox style URL (#26027) (#26031)
Signed-off-by: François Travais <francois.travais@solinum.org>
2023-11-28 15:32:19 -07:00
Beto Dealmeida 7223633da6 fix: alias column when fetching values (#26120) 2023-11-28 15:11:20 -05:00
John Bodley 0d2e85517c docs: Update Trino Kerberos configuration (#26119) 2023-11-28 15:10:55 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9a13ec6d5f build(deps-dev): bump @types/node from 20.9.4 to 20.10.0 in /superset-websocket (#26100)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 09:58:56 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f3b0706507 build(deps-dev): bump @types/cookie from 0.5.4 to 0.6.0 in /superset-websocket (#26099)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 09:58:34 -08:00
Daniel Vaz Gaspar 6447529ee4 docs: update CVEs fixed on 2.1.2 (#26104) 2023-11-28 16:09:49 +00:00
Michael S. Molina 849ca64ba8 chore: Adds the 3.1.0 Release Notes (#26058) 2023-11-28 11:31:48 -03:00
Ville Brofeldt 91a8b69d36 fix: flaky test_explore_json_async test v2 (#26106) 2023-11-28 10:21:13 -03:00
Amrit Raj d20f96f8d0 docs(databases): Update pinot.mdx to incorporate username and password based connection. (#26000) 2023-11-27 15:28:49 -05:00
Daniel Vaz Gaspar 4fc2758e6a fix: bump node-fetch to 2.6.7 (#26091) 2023-11-27 09:23:52 +00:00
Ville Brofeldt aad67e43db fix(plugin-chart-echarts): support numerical x-axis (#26087) 2023-11-24 07:36:32 -08:00
Michael S. Molina 57d61df44d chore: Adds 3.0.2 data to CHANGELOG.md (#26075) 2023-11-22 17:25:14 -03:00
John Bodley 07bcfa9b5f chore(command): Organize Commands according to SIP-92 (#25850) 2023-11-22 16:55:54 -03:00
Michael S. Molina 984c278c4c chore: Updates Announce template to include CHANGELOG.md and UPDATING.md files (#26073) 2023-11-22 09:52:36 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b1f521263d build(deps-dev): bump @types/node from 20.9.3 to 20.9.4 in /superset-websocket (#26064)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 09:48:25 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fef82789b1 build(deps): bump @types/lodash from 4.14.201 to 4.14.202 in /superset-websocket (#26063)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 09:48:01 -08:00
Rob Moore 6359086779 fix: move driver import to method (#26066) 2023-11-22 10:49:01 -05:00
Michael S. MolinaandJohn Bodley 2b88225ee1 fix: Flaky test_explore_json_async test (#26059)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-22 09:11:09 -03:00
John Bodley 843c7ab58a chore: Allow only iterables for BaseDAO.delete() (#25844) 2023-11-22 08:52:30 -03:00
Daniel Vaz GasparandSam Firke 260d561b9a docs: update security policy and contributing (#25917)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-11-22 10:31:32 +00:00
Jack Fragassi 630734b908 fix: Prevent cached bootstrap data from leaking between users w/ same first/last name (#26023) 2023-11-21 15:39:42 -08:00
John Bodley bd8951e958 fix: Optimize fetching samples logic (#26060) 2023-11-21 13:26:02 -08:00
Jiwen liuandEvan Rusackas 97121465dd feat: Add Apache Doris support (#24714)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-11-21 12:42:10 -07:00
John Bodley 07551dc3d4 chore(connector): Cleanup base models and views according to SIP-92 (#24773) 2023-11-21 10:11:50 -08:00
Michael S. MolinaandJohn Bodley 68e5e1afea feat: Add Bubble chart migration logic (#26033)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-21 15:05:41 -03:00
Sam Firke f934278fef docs(intro): fix a single broken link (BugHerd #97) (#26039) 2023-11-21 09:54:16 -07:00
aehanno 25a737e83c fix: Remove annotation Fuzzy to get french translation (#26010) 2023-11-21 09:53:26 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9452664079 build(deps-dev): bump @types/node from 20.9.1 to 20.9.3 in /superset-websocket (#26049)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 09:52:00 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> adb86d35ec build(deps-dev): bump @types/ws from 8.5.9 to 8.5.10 in /superset-websocket (#26048)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 09:51:42 -07:00
Beto Dealmeida f99c874962 feat(metadb): handle decimals (#25921) 2023-11-21 11:36:31 -05:00
Beto Dealmeida fbc66a8177 chore: bump shillelagh (#26043) 2023-11-21 09:48:39 -05:00
Kamil Gabryjelski b5e7e707b3 chore: Allow external extensions to include their own package.json files (#26004) 2023-11-21 15:43:50 +01:00
Evan Rusackas 1af5fbbd6a docs(BH#109): Athena URI spec fix (#26044) 2023-11-21 09:12:50 -05:00
Sam Firke bba7763825 fix(security): restore default value of SESSION_COOKIE_SECURE to False (#26005) 2023-11-21 09:10:56 -05:00
John Bodley dd58b31cc4 chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations (#24776) 2023-11-20 17:25:41 -08:00
Ross MabbettandElizabeth Thompson e7797b65d1 fix(horizontal filter bar filter labels): Increase max-width to 96px (#25883)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-20 11:24:02 -08:00
JUST.in DO ITandJustin Park e2bfb1216b feat(sqllab): non-blocking persistence mode (#24539)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-11-20 11:13:54 -08:00
Daniel Vaz Gaspar 628cd345f2 fix: update FAB to 4.3.10, Azure user info fix (#26037) 2023-11-20 16:02:30 -03:00
JUST.in DO IT e1d73d5420 fix(native filters): rendering performance improvement by reduce overrendering (#25901) 2023-11-20 10:01:56 -08:00
Sebastian Liebscher 92ac6b2c15 feat(sqllab): Show duration as separate column in Query History view (#25861) 2023-11-20 10:59:43 -07:00
Rob Moore 8d73ab9955 feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809) 2023-11-20 10:59:10 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 411dba240b build(deps-dev): bump eslint from 8.53.0 to 8.54.0 in /superset-websocket (#26025)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 09:51:11 -08:00
Gnought 2499a1cf5a chore: cleanup unused code in pandas 2.0+ (#26013) 2023-11-18 19:17:15 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5942d8bf68 build(deps-dev): bump @types/node from 20.9.0 to 20.9.1 in /superset-websocket (#26012)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 09:51:09 -08:00
John Bodley bece2ea3e4 chore: Remove unnecessary autoflush from tagging and key/value workflows (#26009) 2023-11-16 19:04:04 -08:00
John Bodley 326ac4a6c4 chore: Optimize fetching samples logic (#25995) 2023-11-16 15:42:39 -08:00
JUST.in DO IT e7a1876807 fix(explore): redandant force param (#25985) 2023-11-16 12:58:06 -08:00
Jack Fragassi 5fccf67cdc fix: Make Select component fire onChange listener when a selection is pasted in (#25993) 2023-11-16 21:06:05 +01:00
yousoph 210f1f8f95 fix(rls): Update text from tables to datasets in RLS modal (#25997) 2023-11-16 09:48:54 -08:00
Michael S. Molina 97d89d7340 feat: Adds Area chart migration logic (#25952) 2023-11-16 14:28:09 -03:00
nitish-samsung-jhaandSam Firke 7f0c3b20ad docs: handling "System limit for number of file watchers reached" error (#25551)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-11-16 11:00:42 -05:00
Sebastian Liebscher d20b60edd4 chore: Remove more redundant code in utils/core (#25986) 2023-11-15 15:42:48 -08:00
Hugh A. Miles II aee94b39ba fix(tag): update state to clear form on success (#25934) 2023-11-15 18:05:18 -05:00
Priyanshu Bartwal 63b8172321 style: Transition of Navbar from dark to light and vice-versa is now smooth (#24485) 2023-11-15 12:41:12 -07:00
jdclarke5 f22ae2dc51 docs: add Tentacle to users list (#25059) 2023-11-15 12:39:17 -07:00
josedev-union 5e1c4057a0 fix(helm): Restart all related deployments when bootstrap script changed (#25703) 2023-11-15 12:38:54 -07:00
JUST.in DO IT f18fb24b3d fix(sqllab): Allow router navigation to explore (#25941) 2023-11-14 10:27:44 -08:00
Rob Moore f6ba75a185 feat(explore): dataset macro: dttm filter context (#25950) 2023-11-14 09:16:42 -08:00
Kamil Gabryjelski 6b7761ecf2 chore: Add entry point for SliceHeader frontend extension (#25968) 2023-11-14 16:29:16 +01:00
Daniel Vaz Gaspar 007d22199d chore: support different JWT CSRF cookie names (#25891) 2023-11-14 14:01:08 +00:00
Hugh A. Miles II 5def416f63 fix: naming denomalized to denormalized in helpers.py (#25973) 2023-11-13 18:46:09 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 99d4f8931a build(deps-dev): bump axios from 0.25.0 to 1.6.0 in /superset-embedded-sdk (#25953)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 12:39:52 -07:00
John Bodley 6d8424c104 chore(colors): Updating Airbnb brand colors (#23619) 2023-11-13 11:25:14 -08:00
Hugh A. Miles II 8d8e1bb637 fix: always denorm column value before querying values (#25919) 2023-11-13 13:18:28 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 943696a87f build(deps-dev): bump @types/jsonwebtoken from 9.0.4 to 9.0.5 in /superset-websocket (#25927)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 10:42:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3bff1a00b6 build(deps-dev): bump @types/uuid from 9.0.6 to 9.0.7 in /superset-websocket (#25929)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 10:42:32 -07:00
Sebastian Liebscher c3249dd97d test: Reduce flaky integration tests triggered by test_get_tag (#25958) 2023-11-13 08:40:52 -08:00
Sebastian Liebscher b430b5a172 chore: Simplify views/base (#25948) 2023-11-12 12:11:19 -08:00
Giacomo BaroneandVille Brofeldt d95c200e69 fix: update flask-caching to avoid breaking redis cache, solves #25339 (#25947)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-11-10 20:13:50 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 478ca904ae build(deps): bump axios from 1.4.0 to 1.6.1 in /superset-frontend (#25951)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 09:59:09 -08:00
Evan RusackasandSam Firke 84a894c2c7 chore(issue template): attempting to fix two entries/links (#25881)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-11-09 16:49:23 -07:00
Evan Rusackas b6fb36f22b chore: removing unused chartMetadata field (#25926) 2023-11-09 15:57:46 -07:00
Michael S. Molina 83b7fa92af feat: Adds Line chart migration logic (#23973) 2023-11-09 15:16:07 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 33d8078a83 build(deps-dev): bump @types/node from 20.8.10 to 20.9.0 in /superset-websocket (#25928)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-09 09:57:37 -08:00
JUST.in DO IT 581d3c7108 fix(sqllab): invalid sanitization on comparison symbol (#25903) 2023-11-09 09:26:21 -08:00
John Bodley 10205d0b50 chore: Singularize tag models (#25819) 2023-11-09 08:22:08 -08:00
koushik-rout-samsung a698587e8c docs: Remove Python 3.8 from CONTRIBUTING.md (#25885) 2023-11-09 00:12:49 -07:00
Beto Dealmeida 2bd611916d feat: safer insert RLS (#20323) 2023-11-08 22:52:25 -05:00
Sebastian Liebscher 90e210892b chore: Simplify utils/cache by using default argument values (#25900) 2023-11-08 12:57:40 -08:00
Sebastian Liebscher e03691917b chore: remove unused functions in utils/core (#25912) 2023-11-08 12:53:20 -08:00
John Bodley 784a478268 fix(table): Double percenting ad-hoc percentage metrics (#25857) 2023-11-08 12:22:00 -08:00
FGrobelnyandJohn Bodley 458be8c848 fix(trino): allow impersonate_user flag to be imported (#25872)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-08 12:00:18 -08:00
Gnought b0da5cef70 chore: remove deprecated functions in SQLAlchemy (#25911) 2023-11-08 11:56:38 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6f92007a85 build(deps): bump @types/lodash from 4.14.200 to 4.14.201 in /superset-websocket (#25907)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 11:24:51 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4402f5c5cd build(deps-dev): bump @types/ws from 8.5.7 to 8.5.9 in /superset-websocket (#25906)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 11:24:23 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a97bf6494e build(deps-dev): bump @types/cookie from 0.5.3 to 0.5.4 in /superset-websocket (#25905)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 11:24:03 -07:00
Beto Dealmeida cdb18e04ff fix: trino cursor (#25897) 2023-11-08 07:38:38 -05:00
Beto Dealmeida 06ffcd29e2 fix: database version field (#25898) 2023-11-07 20:55:03 -05:00
Elizabeth Thompson 1d0b86ae94 chore: add more migration tests (#25262) 2023-11-07 17:06:23 -08:00
Beto Dealmeida 80caba3fd1 feat: method for dynamic allows_alias_in_select (#25882) 2023-11-07 14:28:28 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3ee22667a7 build(deps): bump cookie from 0.5.0 to 0.6.0 in /superset-websocket (#25886)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 09:58:38 -08:00
Dan Keeley d6fde3cdd5 chore: Update INTHEWILD.md (#25714) 2023-11-06 13:04:44 -07:00
nero5700 5e5a9c601f fix(typo): replace 'datasouce_id' with 'datasource_id' in openapi.json (#25875) 2023-11-06 13:02:27 -07:00
Kamil Gabryjelski 268c1dcdad fix: Saving Mixed Chart with dashboard filter applied breaks adhoc_filter_b (#25877) 2023-11-06 19:52:27 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 887be5dd32 build(deps-dev): bump eslint from 8.52.0 to 8.53.0 in /superset-websocket (#25867)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 09:53:08 -08:00
Antonio Rivero 7536dd12cd fix(charts): Time grain is None when dataset uses Jinja (#25842) 2023-11-06 09:51:28 -08:00
Lily Kuang 30cd422331 fix(tagging): change key from name to id for tagToSelectOption (#25856) 2023-11-06 09:44:05 -08:00
Rob Moore fb35bac070 feat(sqllab): Dynamic query limit dropdown (#25855) 2023-11-06 08:34:17 -08:00
Arko 916f7bcbba fix(table chart): Show Cell Bars correctly #25625 (#25707) 2023-11-06 08:36:21 -03:00
Hugh A. Miles IIandElizabeth Thompson 80cf710dbe fix: add validation on tag name to have name + onDelete refresh list view (#25831)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-04 10:09:54 -04:00
Beto Dealmeida 60e1526f6a fix: remove update_charts_owners (#25843) 2023-11-03 13:06:31 -04:00
mapledanandElizabeth Thompson ae619b169c fix: the temporal x-axis results in a none time_range. (#25429)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-03 09:57:47 -07:00
JUST.in DO IT 24a2213445 feat(sqllab): Format sql (#25344) 2023-11-03 09:38:11 -07:00
Michael S. Molina d619078d25 feat: Improves the Waterfall chart (#25557) 2023-11-03 13:24:15 -03:00
Michael S. Molina 8061d5cce9 fix: Fires onChange when clearing all values of single select (#25853) 2023-11-03 10:35:43 -03:00
Michael S. Molina ff8bc3c426 chore: Updates Databend image extension reference in README.md (#25852) 2023-11-03 09:47:18 -03:00
Jeremy c3f3ec56d6 fix: databend png pic (#25851) 2023-11-03 08:49:33 -03:00
Emmanuel FerdmanandJohn Bodley 508721bd97 docs: Update location of async_query_manager.py (#25531)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-02 15:22:44 -04:00
Jeremy 5690946b1a feat: support databend for superset (#23308) 2023-11-02 12:00:11 -07:00
Rob Moore b58cc24bd4 chore(docker-compose): more host network specifiers (#25817) 2023-11-02 10:39:45 -07:00
Michael S. Molina aaf7d6b7e4 chore: Removes border of the color picker control (#25812) 2023-11-02 11:02:47 -03:00
Craig Rueda 6ace22da87 chore(websocket): Adding support for redis username in websocket server (#25826) 2023-11-01 16:52:14 -07:00
Evan Rusackas a3686459a9 chore: Update sip.md to have a better call to action (#25822) 2023-11-01 12:37:21 -06:00
Evan RusackasandJohn Bodley a249e418b3 chore(issues): config.yaml added with feature request link to open a discussion (#25823)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-01 12:37:10 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f265b2c1ae build(deps-dev): bump @types/node from 20.8.7 to 20.8.10 in /superset-websocket (#25816)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 11:35:48 -07:00
toliver-ch e1eb985aa8 docs: Add Cyberhaven to Users list (#25530) 2023-11-01 08:25:40 -07:00
JUST.in DO IT 3f28eebb20 fix(sqllab): infinite fetching status after results are landed (#25814) 2023-11-01 09:03:03 -03:00
John Bodley 1e37f0b417 chore(celery): Cleanup config and async query specifications (#25314) 2023-10-31 10:17:51 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2177a50c7a build(deps): bump browserify-sign from 4.2.1 to 4.2.2 in /superset-frontend (#25778)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 10:23:58 -06:00
Ross Mabbett 1eba7121aa fix(SQL field in edit dataset modal): display full sql query (#25768) 2023-10-31 10:23:44 -06:00
Daniel Vaz Gaspar d2f511abba feat: support server-side sessions (#25795) 2023-10-31 16:05:18 +00:00
John Bodley 8737a8a546 fix: Resolve issue #24195 (#25804) 2023-10-31 08:24:41 -07:00
John Bodley 7804d1451e chore(security): Make get_database_perm/get_dataset_perm return optional (#24046) 2023-10-31 08:23:42 -07:00
John Bodley ae703b48fc fix: Revert "fix: Apply normalization to all dttm columns (#25147)" (#25801) 2023-10-31 10:21:47 -03:00
Tom Murphy 5e6d05b3fd fix(helm): Fix init extra containers (#25803) 2023-10-31 12:12:31 +00:00
Tom Murphy 0f01d9b08f feat(helm): Add option to deploy extra containers to init job (#25783) 2023-10-30 19:19:55 -07:00
Jack 74dbada473 feat(Export as PDF - rasterized): Adding rasterized pdf functionality to dashboard (#25696) 2023-10-30 21:54:33 -04:00
Beto Dealmeida 5659c87ed2 fix: DB-specific quoting in Jinja macro (#25779) 2023-10-30 09:50:44 -04:00
Elizabeth Thompson ed14f36c55 fix: allow for backward compatible errors (#25640) 2023-10-27 11:04:33 -07:00
Kamil Gabryjelski bda43ac0f6 chore: Add config options for Playwright wait_until and default timeout (#25765) 2023-10-27 10:37:32 +02:00
JUST.in DO IT 2a2bc82a8b fix(sqllab): slow pop datasource query (#25741) 2023-10-26 12:44:41 -07:00
Beto Dealmeida c7f8d11a7e fix: dataset update uniqueness (#25756) 2023-10-25 16:49:32 -04:00
Andy cee8532733 fix(README): mismatched picture tags (#25739) 2023-10-25 12:44:44 -06:00
Geido e2fe967788 fix: Revert "fix(Charts): Set max row limit + removed the option to use an empty row limit value" (#25753) 2023-10-25 15:39:49 +03:00
Bipin Chandra Tripathi 27a06f57e1 style(readme): reformatted (#25721) 2023-10-24 09:32:24 -06:00
Gnought 419d122816 chore: bump pymssql version (#25737) 2023-10-23 21:53:00 -07:00
Craig Rueda 861ee8b3c6 chore(websocket): [WIP] Making JWT algos configurable (#25521) 2023-10-23 11:28:41 -07:00
Ross Mabbett e4173d90c8 fix(horizontal filter label): show full tooltip with ellipsis (#25732) 2023-10-23 09:51:48 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cbbf2bed6e build(deps-dev): bump eslint from 8.51.0 to 8.52.0 in /superset-websocket (#25735)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 09:50:02 -07:00
Zef Lin 4aef771072 chore: updated base DAO find_by_id to return generic type (#25726) 2023-10-23 07:46:01 -07:00
Beto Dealmeida ed87470bcc fix(metadb): handle durations (#25727) 2023-10-20 17:46:57 -04:00
Evan Rusackas 4ac8f826f2 fix(driver): bumping DuckDB to 0.9.2 (#25718) 2023-10-20 12:07:03 -06:00
Mikel VukaandMikel Vuka 9972ac6908 refactor: use DATE_TRUNC for Elasticsearch time grain (#25717)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-20 10:05:05 -07:00
Daniel Vaz Gaspar 8fb0c8da56 fix: bump to FAB 4.3.9 remove CSP exception (#25712) 2023-10-20 11:33:40 +01:00
Stepan 75a7431379 fix(chore): dashboard requests to database equal the number of slices it has (#24709) 2023-10-20 08:32:14 +01:00
David Meaux ee23690196 feat: add France's regions to country map visualization (#25676) 2023-10-19 17:30:34 -06:00
Marius Davidsen def7cd1b89 chore: helm chart: bump appVersion to 3.0.1 (#25709) 2023-10-19 14:16:02 -07:00
Sebastian Liebscher 505678b37b chore: Change the format for sha512 sum for releases (#25577) 2023-10-19 16:26:20 -03:00
Sonia GautamandSonia 39ad3226c7 feat: add database and schema names to dataset option (#25569)
Co-authored-by: Sonia <sonia.gautam@agoda.com>
2023-10-19 12:05:58 -06:00
Corbin Bullard dfff3c1cba feat: Funnel/tooltip-customization (#25666) 2023-10-19 12:04:29 -06:00
Igor Khrol da42bf2dbb fix: remove unnecessary redirect (#25679) 2023-10-19 12:03:44 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 07796b7528 build(deps-dev): bump @types/cookie from 0.5.1 to 0.5.3 in /superset-websocket (#25689)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 12:03:16 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e29e2684d0 build(deps-dev): bump @types/uuid from 9.0.4 to 9.0.6 in /superset-websocket (#25701)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 12:02:50 -06:00
Rahul bac5a85541 docs(README): remove typo (#25710) 2023-10-19 12:02:07 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1d37f3a15b build(deps-dev): bump @types/node from 20.8.6 to 20.8.7 in /superset-websocket (#25700)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 09:50:30 -07:00
Rob Moore 4e94fc4cff fix(sqllab): reinstate "Force trino client async execution" (#25680) 2023-10-19 16:38:13 +03:00
Mikel VukaandMikel Vuka e7cdfeeb2c feat: Add week time grain for Elasticsearch datasets (#25683)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-18 19:39:16 -07:00
Elizabeth Thompson 26498fc099 chore: add latest-official docker tag (#25322) 2023-10-18 16:59:30 -07:00
OskarNS be82657940 fix(dremio): Fixes issue with Dremio SQL generation for Charts with Series Limit (#25657) 2023-10-18 15:54:27 -04:00
Michael S. Molina dc06fb8b11 chore: Adds 3.0.1 data to CHANGELOG.md (#25691) 2023-10-18 15:48:18 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8b32b2abd3 build(deps-dev): bump @types/jsonwebtoken from 9.0.3 to 9.0.4 in /superset-websocket (#25688)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 10:22:31 -07:00
Hugh A. Miles II a27a809f07 fix(tags): +n tags for listview (#25603) 2023-10-17 23:39:15 -04:00
John Bodley 32e37d8cda chore: Cleanup hostNamesConfig.js (#25543) 2023-10-17 15:58:43 -07:00
JUST.in DO IT 16cc089b19 fix: warning of nth-child (#23638) 2023-10-17 15:33:07 -04:00
JUST.in DO IT deef3b04eb feat(sqllab): ResultTable extension (#25423) 2023-10-17 14:03:35 -04:00
Arnout Engelen 150e5c90f7 docs: make project-specific security page more prominent (#25654) 2023-10-17 13:43:38 -04:00
Daniel Vaz Gaspar f473d13d0d fix: improve upload ZIP file validation (#25658) 2023-10-17 18:28:09 +01:00
Ville Brofeldt cb963585ad chore: sync lock files (#25667) 2023-10-17 09:51:35 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1991d240bf build(deps-dev): bump @babel/traverse from 7.16.0 to 7.23.2 in /superset-websocket (#25661)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 09:50:33 -07:00
Jack 51c56dd2a0 fix(header navlinks): link navlinks to path prefix (#25495) 2023-10-17 09:45:25 -07:00
Hugh A. Miles IIandElizabeth Thompson e58a3aba54 fix: permalink save/overwrites in explore (#25112)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-10-16 14:00:09 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 18a1c8d7d8 build(deps-dev): bump @types/node from 20.8.5 to 20.8.6 in /superset-websocket (#25653)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 09:57:32 -07:00
Jack Fragassi a0a0d8043f fix(import): Make sure query context is overwritten for overwriting imports (#25493) 2023-10-16 09:49:55 -07:00
Ville Brofeldt 8c6bd4ef04 chore: bump pip-tools (#25645) 2023-10-15 07:40:10 -07:00
Igor Khrol 99f79f5143 fix: avoid 500 errors with SQLLAB_BACKEND_PERSISTENCE (#25553) 2023-10-13 13:30:19 -06:00
Sean 56f74e5215 docs: invert logo color for dark theme in README (#25537) 2023-10-13 13:29:34 -06:00
Evan RusackasandSam Firke e8783033f8 chore: adding resource links to readme (#25629)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-13 13:28:24 -06:00
Josh Soref 5054b9fade build(ci): Provide diff for pre-commit failures (#25638)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-10-13 11:00:09 -07:00
Hugh A. Miles II 9074f72959 fix(tags): Polish + Better messaging for skipped tags with bad permissions (#25578) 2023-10-13 13:13:59 -04:00
JUST.in DO IT b370c66308 fix(sqllab): template validation error within comments (#25626) 2023-10-13 11:07:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4a01b6006c build(deps-dev): bump @types/node from 20.8.4 to 20.8.5 in /superset-websocket (#25632)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 10:54:50 -06:00
Josh Soref bfcca8cbab chore(helm): spelling: initialize (#25455)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-10-13 09:37:51 -07:00
Multazim DeshmukhandSam Firke 59fc5a6184 docs: BugHerd Tasks 88, 89, 90, 91 (#25567)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-13 11:18:08 -04:00
JUST.in DO IT a520124a78 fix(sqllab): Mistitled for new tab after rename (#25523) 2023-10-13 11:17:45 -04:00
JUST.in DO IT 003001f19f fix(sqllab): Allow opening of SQL Lab in new browser tab (#25582) 2023-10-13 11:16:50 -04:00
Ville Brofeldt e56e0de458 fix: revert fix(sqllab): Force trino client async execution (#24859) (#25541) 2023-10-13 11:58:20 +00:00
Evan Rusackas ef1807cd7e chore(feature?): Bump scarf-js to 1.3.0 to get more telemetry data (#25602) 2023-10-12 09:43:30 -06:00
JUST.in DO IT 2dc5c5f53f feat(sqllab): Add keyboard shortcut helper (#25542) 2023-10-12 11:13:37 -04:00
Beto Dealmeida 62bffaf935 fix: finestTemporalGrainFormatter (#25618) 2023-10-11 15:57:23 -06:00
Beto Dealmeida 63964bb520 fix(test-db): engine params (#25615) 2023-10-11 12:45:33 -06:00
Fabien b97f8f03ac fix(window): unavailable localStorage and sessionStorage (#25599) 2023-10-11 11:31:30 -06:00
Corbin Bullard f556ef53f3 fix(Charts): Set max row limit + removed the option to use an empty row limit value (#25579) 2023-10-11 11:31:21 -06:00
Rui ZhaoandRui Zhao be3714e131 fix(Presto): catch DatabaseError when testing Presto views (#25559)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2023-10-11 11:31:07 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d0f2c5581d build(deps): bump postcss from 8.3.11 to 8.4.31 in /docs (#25502)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 11:30:35 -06:00
John BodleyandEvan Rusackas 1f20214244 docs: Add timezone information (#19056)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-10-11 11:30:23 -06:00
Igor Khrol 52f631a038 fix: thubmnails loading - Talisman default config (#25486) 2023-10-11 11:30:09 -06:00
Sandeep Patel eb9cd2a2a5 refactor: Issue #25040; Refactored sync_role_definition function in order to reduce number of query. (#25340) 2023-10-11 11:29:52 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3f85239053 build(deps-dev): bump @types/ws from 8.5.6 to 8.5.7 in /superset-websocket (#25606)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 10:22:29 -07:00
Kamil Gabryjelski cef68f8a9a fix: Breaking change in MachineAuthProvider constructor (#25532) 2023-10-11 15:38:31 +02:00
Multazim Deshmukh 050543ae1b feat: migrate to docker compose v2 (#25565) 2023-10-10 14:38:40 -07:00
Corbin Bullard a6d0e6f37a fix(RLS): Fix Info Tooltip + Button Alignment on RLS Modal (#25400) 2023-10-10 20:52:37 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d1ba4dc284 build(deps): bump winston from 3.10.0 to 3.11.0 in /superset-websocket (#25585)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 09:54:41 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 593daac614 build(deps-dev): bump @types/node from 20.8.2 to 20.8.4 in /superset-websocket (#25584)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-10 09:53:31 -07:00
Daniel Vaz Gaspar 549abb542b fix: REST API CSRF exempt list (#25590) 2023-10-10 12:53:37 +01:00
Matthew Chiang 512fb9a0bd feat: Add Deck.gl Contour Layer (#24154) 2023-10-10 11:20:37 +02:00
EugeneTorap 42d0474cc2 chore: Update pylint to 2.17.7 (#25566) 2023-10-09 11:51:41 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e0a7488005 build(deps-dev): bump eslint from 8.49.0 to 8.51.0 in /superset-websocket (#25574)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 09:58:47 -07:00
Sebastian Liebscher 178607093f fix: Make host.docker.internal available on linux (#25547) 2023-10-06 10:38:31 -07:00
Kamil Gabryjelski 58fcd292a9 fix: Apply normalization to all dttm columns (#25147) 2023-10-06 09:47:00 -07:00
Stephen LiuandMichael S. Molina 17792a507c feat(plugin-chart-echarts): Echarts Waterfall (#17906)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-10-06 10:08:16 -03:00
Hugh A. Miles II 0c40bea064 fix: Tags Page ListView size to 10 (#25536) 2023-10-05 15:03:19 -04:00
Beto Dealmeida 89b05993a3 fix(test-db): removed attribute (#25525) 2023-10-05 10:47:30 -07:00
Hugh A. Miles II 4532079c71 fix(tags): Update loading + pagination for Tags Page (#25473) 2023-10-05 13:46:10 -04:00
Hugh A. Miles IIandBeto Dealmeida dcfebfce9d fix(tags): fix clears delete on Tags Modal (#25470)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2023-10-05 13:37:53 -04:00
JUST.in DO IT 34f99708d4 chore(sqllab): Typescript for SqlEditor component (#25228) 2023-10-05 12:33:01 -04:00
MayurandMichael S. Molina c81c60c91f feat: Adds the ECharts Bubble chart (#22107)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-10-05 07:58:46 -03:00
Igor Khrol 50b0816e37 fix: tags permissions error message (#25516) 2023-10-04 16:30:56 -04:00
Hugh A. Miles II 1fb2c62c02 chore(tags): don't allow users to create new tags from property dropdowns (#25507) 2023-10-04 15:51:55 -04:00
JUST.in DO IT 5ab1e7eae4 feat(sqllab): SPA migration (#25151) 2023-10-04 15:21:41 -04:00
Lily Kuang af661ceee2 chore(tags): move tags column in dashboard and chart list (#25504) 2023-10-04 12:07:27 -07:00
87c8e872ee docs: fix for domain sharding results in failed requests with "Missing Authorization Header" (#24481)
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-10-04 11:37:52 -07:00
JUST.in DO IT ba541e8022 chore: Expand error detail on screencapture (#25519) 2023-10-04 14:06:22 -04:00
JUST.in DO IT b92957e510 fix(sqllab): Broken query containing 'children' (#25490) 2023-10-04 14:06:01 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dab18250d7 build(deps): bump ws and @types/ws in /superset-websocket (#25508)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 10:27:28 -07:00
Kamil Gabryjelski ff95d0face feat: Implement using Playwright for taking screenshots in reports (#25247) 2023-10-04 06:51:58 +02:00
Hugh A. Miles II 53013395d7 fix: Tags Polish II (#25496) 2023-10-03 20:41:01 -04:00
Beto Dealmeida 3e63c82ecc feat: generic marshmallow error component (#25303) 2023-10-03 11:35:28 -07:00
mapledan dbe0838f8f fix: Unable to sync columns when database or dataset name contains + (#25390) 2023-10-03 11:15:01 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e3244e9056 build(deps-dev): bump @types/node from 20.6.0 to 20.8.2 in /superset-websocket (#25498)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 09:53:11 -07:00
Multazim DeshmukhandSam Firke 7a88ad3c02 docs: define localhost for docker (#25480)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-03 09:37:26 -04:00
Multazim DeshmukhandSam Firke 23996b59a1 docs: update docker compose instructions (#25479)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-03 09:35:28 -04:00
Multazim DeshmukhandSam Firke 789e6b76ae docs: add a FAQ about asset recovery from UI (#25482)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-03 09:35:15 -04:00
Multazim DeshmukhandSam Firke c52c206d05 docs: add https & ldap instructions (#25477)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-10-03 09:33:54 -04:00
Craig Rueda db7f5fed31 chore(async): Initial Refactoring of Global Async Queries (#25466) 2023-10-02 17:22:07 -07:00
John Bodley 36ed617090 fix: Address Mypy issue which is causing CI to fail (#25494) 2023-10-02 14:32:21 -07:00
Yaswanth-Perumalla 0d0a81c0d2 fix(Indian Map Changes): fixed-Indian-map-border (#24927) 2023-09-30 12:17:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8553b06155 build(deps-dev): bump prettier from 3.0.2 to 3.0.3 in /superset-websocket (#25120)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 23:15:57 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6aed5887e5 build(deps-dev): bump @types/jsonwebtoken from 9.0.2 to 9.0.3 in /superset-websocket (#25325)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 23:13:53 -06:00
Sam Firke b33d152a5b docs(FAQ): remove reference to filter box, add Q&A re: usage analytics (#25435) 2023-09-29 23:12:11 -06:00
yousoph e36e0fdf25 chore: Update Explore tooltip copy (#25438) 2023-09-29 23:11:19 -06:00
Jay ZuoandSam Firke a14fcc95e7 chore(misc): Typos in config.py (#25465)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2023-09-29 23:11:10 -06:00
ʈᵃᵢ ddde178e3b fix(sqllab): error with lazy_gettext for tab titles (#25469) 2023-09-29 19:31:20 -07:00
Hugh A. Miles IIandLily Kuang 85251f8cae fix: Tags Page Polish (#25403)
Co-authored-by: Lily Kuang <lily@preset.io>
2023-09-29 22:13:26 -04:00
Kamil Gabryjelski 0cebffd59a fix: Styles not loading because of faulty CSP setting (#25468) 2023-09-29 20:54:32 +02:00
Ville Brofeldt 7eab59af51 fix(mysql): handle string typed decimal results (#24241) 2023-09-29 10:48:08 -07:00
Josh Soref 0735680674 chore(backend): Spelling (#25457)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:36:50 -07:00
Josh Soref 3e0c70d018 chore(misc): Spelling (#25456)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:34:04 -07:00
Josh Soref 041197b6df chore(docs): Spelling (#25453)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:51:14 -04:00
Celalettin Calis b9b557a761 fix(helm chart): set chart appVersion to 3.0.0 (#25373) 2023-09-29 09:19:03 -03:00
Gyuil Han e83a76a586 fix: update the SQLAlchemy model definition at json column for Log table (#25445) 2023-09-29 09:02:44 -03:00
Michael S. Molina 7cf96cd843 fix: Duplicate items when pasting into Select (#25447) 2023-09-28 14:11:58 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1a759ce56d build(deps): bump get-func-name from 2.0.0 to 2.0.2 in /superset-frontend/cypress-base (#25441)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-28 10:58:13 -06:00
Corbin Bullard 11b49a6ceb fix(SqlLab): make icon placement even (#25372) 2023-09-28 15:36:24 +02:00
StepanandJUST.in DO IT a0eeb4d767 fix(nativeFilters): Speed up native filters by removing unnecessary rerenders (#25282)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-09-28 14:37:19 +02:00
JUST.in DO IT ba5e2f634a fix(sqllab): invalid start date (#25437) 2023-09-27 12:23:59 -07:00
Beto Dealmeida f0080f9c55 fix: smarter date formatter (#25404) 2023-09-27 09:52:36 -07:00
JUST.in DO IT 463962a58b fix(sqllab): misplaced limit warning alert (#25306) 2023-09-27 08:25:46 -07:00
Daniel Vaz Gaspar 1716b9f8f6 fix: swagger UI CSP error (#25368) 2023-09-27 08:55:29 +01:00
Beto Dealmeida a4d8f36863 fix: chart import (#25425) 2023-09-26 19:31:34 -07:00
Lily KuangandMichael S. Molina 40ba3c2d57 chore: cryptography version bump (#25276)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-09-26 16:01:01 -07:00
John Bodley 893b45feef fix: Rename on_delete parameter to ondelete (#25424) 2023-09-26 16:00:37 -07:00
Jack 296ff17f19 fix: preventing save button from flickering in SQL Lab (#25106) 2023-09-26 11:41:28 -07:00
52eba11d6a docs: update docker-compose to match latest release (#25332)
Also notes that one needn't build a new image.

Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-09-26 10:16:52 -04:00
Ville Brofeldt f6ce40d246 chore: upgrade node to most recent 16.x (#25362) 2023-09-26 04:00:41 -07:00
Michael S. Molina d76ff39766 fix: Workaround for Cypress ECONNRESET error (#25399) 2023-09-25 17:39:06 -03:00
Aleksey Karpov e1a91e2228 feat(docker): Use docker buildx and Add ARM builds for dockerize and websocket (#25377) 2023-09-25 13:08:21 -07:00
Michael S. Molina 0c083bdc1a feat: Adds Sunburst chart migration logic (#25343) 2023-09-22 09:44:40 -03:00
Hugo Sjöberg 9bd97ef4f2 fix: update helm chart app version (#25361) 2023-09-21 20:11:51 -07:00
Beto DealmeidaandMichael S. Molina 5ebcd2a5f6 fix: datetime with timezone excel export (#25318)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-09-21 13:11:59 -07:00
Michael S. Molina 5b3910db97 chore: Adds 3.0 data to CHANGELOG and UPDATING (#25360) 2023-09-21 13:59:19 -03:00
Zef Lin 16f31f8090 feat(sqllab): extra logging when chart is downloaded (#25345) 2023-09-21 09:43:06 -07:00
Craig Rueda 515452c7e2 chore(async): Making create app configurable (#25346) 2023-09-20 10:04:58 -07:00
Michael S. Molina a971a28a34 fix: DashboardRoles cascade operation (#25349) 2023-09-20 13:08:07 -03:00
JUST.in DO IT 7aaae06c9d fix(sqllab): invalid persisted tab state (#25308) 2023-09-19 15:58:34 -07:00
Michael S. Molina b722a95bab feat: Adds CLI commands to execute viz migrations (#25304) 2023-09-19 14:34:08 -03:00
Jack Fragassi f672d5da5c fix: Improve the reliability of alerts & reports (#25239) 2023-09-19 09:40:13 -07:00
Ravi Kumar a724850c84 docs: jwks_uri addition to OAUTH provider (#24928) 2023-09-19 12:07:48 -04:00
Kris LendonandNav_InverseInfinity 5cc0feb647 feat(helm): Support HPA for supersetNode and supersetWorker (#25280)
Co-authored-by: Nav_InverseInfinity <naveen.damotharan@outlook.com>
2023-09-18 15:16:52 -07:00
Hugh A. Miles II 090ae64dfa feat(tag): fast follow for Tags flatten api + update client with generator + some bug fixes (#25309) 2023-09-18 11:56:08 -07:00
Janhavi Tripurwar 6e799e37f4 docs: add snowflake-sqlalchemy in ./docker/requirements-local.txt (#25312) 2023-09-18 14:54:04 -04:00
Jack Fragassi fba66c6250 fix: Use RLS clause instead of ID for cache key (#25229) 2023-09-18 11:37:35 -07:00
Zef LinandKamil Gabryjelski c8c94825ce fix(chart): Supporting custom SQL as temporal x-axis column with filter (#25126)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2023-09-18 11:30:52 -07:00
Jonathon Batson e11012d426 docs: add ReadyTech to INTHEWILD.md (#25324) 2023-09-18 14:27:01 -04:00
John Bodley d54e827bb9 fix: Add explicit ON DELETE CASCADE for dashboard_roles (#25320) 2023-09-18 09:49:51 -03:00
Ville Brofeldt 4ddd56f788 chore: bump gunicorn to v21 (#25313) 2023-09-15 13:14:00 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 06c0a5bba9 build(deps-dev): bump @types/uuid from 9.0.3 to 9.0.4 in /superset-websocket (#25311)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 09:54:11 -07:00
JUST.in DO IT 52faa2e17d chore(sqllab): Migrate tests to typescript (#25274) 2023-09-15 09:43:45 -07:00
Evan Rusackas 78cbdc3e42 chore: changing one word (disablement -> disabling) (#25291) 2023-09-14 16:01:00 -07:00
StepanandElizabeth Thompson 14c324950a feat(datasource): Checkbox for always filtering main dttm in datasource (#25204)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-09-14 15:57:08 -07:00
Aleksey Karpov 467e062e8e build(docker): bump geckodriver and firefox to latest (#25287) 2023-09-14 14:23:48 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ec61910232 build(deps): bump ws from 8.13.0 to 8.14.1 in /superset-websocket (#25293)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 09:49:54 -07:00
Beto Dealmeida bb002d6147 fix: is_select with UNION (#25290) 2023-09-14 09:05:19 -07:00
Josh Soref e1ddba9c0f docs: rewrite superset docker localhost prose (#25296)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-14 09:31:56 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 426aa777fb build(deps): bump uuid from 9.0.0 to 9.0.1 in /superset-websocket (#25279)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 09:49:00 -07:00
John Bodley 8eff5a75b4 chore: Remove the ability to switch to filter-box chart when DASHBOARD_NATIVE_FILTERS feature is enabled (#25275) 2023-09-12 18:39:38 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a747eaa740 build(deps-dev): bump eslint from 8.48.0 to 8.49.0 in /superset-websocket (#25263)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:46:18 -07:00
Lily Kuang a9512c1eef fix: inability to remove chart filter when dashboard time filter is applied (#25217) 2023-09-12 11:19:21 -03:00
Kamil Gabryjelski 242921bb4c fix: Add line height to metadata bar (#25268) 2023-09-12 10:11:34 -03:00
Hugh A. Miles II 55ac01b675 feat: Tags ListView Page (#24964) 2023-09-12 14:48:07 +02:00
Hugo Sjöberg baf713aad5 fix(dockefile): broken docker image (#25251) 2023-09-11 13:40:49 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 37742c40ca build(deps-dev): bump @types/node from 20.5.7 to 20.6.0 in /superset-websocket (#25253)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 10:00:05 -07:00
John Bodley 83fc553841 refactor: Remove obsolete HiveEngineSpec.fetch_logs method (#20631) 2023-09-11 08:31:18 -07:00
Kamil Gabryjelski ea21e800a7 fix: Currency formatting in Table raw mode (#25248) 2023-09-11 16:48:39 +02:00
Kamil Gabryjelski 894f250229 fix: Don't apply number formatting to the label in Treemap (#25249) 2023-09-11 08:42:24 -03:00
Michael S. Molina 6f4e63162f fix: Clearing the currency format has no effect on the chart (#25238) 2023-09-11 08:26:43 -03:00
Ville Brofeldt 0668d12e3b chore(trino): remove unnecessary index checks (#25211) 2023-09-08 18:15:45 -07:00
Beto Dealmeida 710e111c5e chore(read_csv): remove deprecated argument (#25226) 2023-09-08 12:10:55 -07:00
yousoph 33624289fe fix(docs): Fixing a typo in README.md (#25216) 2023-09-08 12:23:19 -04:00
Michael S. Molina 0e17e4b06f fix: Cypress test to force mouseover (follow-up) (#25223) 2023-09-07 14:17:22 -03:00
Kamil Gabryjelski 09e9cb484b chore: Convert deckgl class components to functional (#25177) 2023-09-07 13:28:09 +02:00
Beto Dealmeida 749274e635 fix: granularity_sqla and GENERIC_CHART_AXES (#25213) 2023-09-06 20:09:15 -07:00
Rob Moore cfda30c81a fix(sqllab): Force trino client async execution (#24859) 2023-09-06 14:20:26 -07:00
Michael S. Molina 47518cb002 fix: Cypress test to force mouseover (#25209) 2023-09-06 16:23:39 -03:00
Beto Dealmeida 2f68010729 fix: is_select (#25189) 2023-09-06 11:54:25 -07:00
Sam Firke 8be8014504 docs(FAQ): add answer re: necessary specs, copy-edit existing answer (#24992) 2023-09-06 14:24:59 -04:00
JUST.in DO IT 2d4de5146b feat(sqllab): Show sql in the current result (#24787) 2023-09-06 09:48:42 -07:00
Elizabeth Thompson a40e9a4d06 chore: back port 2.1.1 doc changes (#25165) 2023-09-06 09:14:32 -07:00
Daniel Vaz Gaspar 251ce2ed2a docs: add CVEs for 2.1.1 (#25206) 2023-09-06 15:39:14 +01:00
Carlos M 78b8e9421e docs: fix wrong type in PREFERRED_DATABASES example (#25200)
Signed-off-by: cmontemuino <1761056+cmontemuino@users.noreply.github.com>
2023-09-06 10:28:07 -04:00
Michael S. Molina e605d6dddf fix: All values being selected in Select (#25202) 2023-09-06 10:37:21 -03:00
Hugh A. Miles II d8496425e2 fix: DML failures in SQL Lab (#25190) 2023-09-06 09:41:36 -03:00
Sandeep Patel d0305445b2 fix: Issue #24493; Resolved report selection menu in chart and dashboard page (#25157) 2023-09-05 11:10:42 -03:00
Lily KuangandMichael S. Molina f2523b26fa fix: Applying Dashboard Time Range Filters to Overwritten Charts (#25156)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-09-01 14:30:37 -07:00
JUST.in DO IT 8b2a408dea fix(sqllab): Invalid start date (#25133) 2023-09-01 11:28:19 -07:00
Michael S. Molina e391a1b49e chore: Add a note about adhoc subqueries in UPDATING.md (#25161) 2023-09-01 14:38:37 -03:00
Michael S. Molina aea916782d fix: Sunburst chart error when secondary metric is null (#25159) 2023-09-01 14:09:45 -03:00
wAVeckx 1f5cec94bd chore: fix broken link to Celery worker docs (#25160) 2023-09-01 12:24:50 -04:00
aehanno 2c4629a77d fix: Fixing untranslated FR strings (#20078) 2023-09-01 10:12:12 -03:00
KSPT-taylorjohn bbfaeb074e fix: Chart series limit doesn't work for some databases (#25150) 2023-08-31 15:05:39 -07:00
John Bodley de9515c294 fix: Handle Python date format for GENERIC_CHART_AXES feature (#25135) 2023-08-31 13:50:34 -07:00
JUST.in DO IT 06bf44a823 fix(sqllab): invalid reducer key name (#25152) 2023-08-31 13:24:08 -07:00
Ethan M LewisandJohn Bodley 321d968504 fix: add format for timestamp in crdb to correctly use times values (#24711)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-31 10:23:32 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 62f9e54c8f build(deps-dev): bump @types/uuid from 9.0.2 to 9.0.3 in /superset-websocket (#25142)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 10:08:15 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0b780d55bb build(deps): bump jsonwebtoken from 9.0.1 to 9.0.2 in /superset-websocket (#25141)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 10:07:59 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 15d6508407 build(deps): bump jsonwebtoken from 9.0.1 to 9.0.2 in /superset-websocket/utils/client-ws-app (#25140)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 10:07:31 -07:00
John Bodley e18294463e docs: Fix typo in UPDATING.md (#25127) 2023-08-31 12:55:51 -04:00
Michael S. Molina 1144ac15c9 fix: Partially reverts #25007 (#25124) 2023-08-31 08:45:50 -03:00
Michael S. Molina 9df1b26654 fix: Bumps Flask Caching to fix RCE vulnerability (#25090) 2023-08-31 08:44:48 -03:00
JUST.in DO IT 846c79ef55 chore: consolidate sqllab store into SPA store (#25088) 2023-08-30 16:09:57 -07:00
Sam Firke eeecd59c9d refactor(frontend): make "Search" box the first filter for charts and datasets (#25129) 2023-08-30 17:34:03 -04:00
Jack 66e2807009 feat: removing renderCard from Tags/index.tsc to remove cardview from Tags ListView (#25105) 2023-08-30 19:35:21 +02:00
Sebastian Liebscher 067bfbf950 chore: move TypedDict from typing_extensions to typing (#25121) 2023-08-30 09:49:45 -07:00
Vitor Avila 46a0a6e08a fix(DB Connection): Update placeholder values for Snowflake connection (#25119) 2023-08-30 14:16:31 +02:00
Michael S. Molina 00550d7c02 fix: Date format when importing international timestamps (#25113) 2023-08-30 08:45:01 -03:00
John BodleyandMichael S. Molina e642361399 docs: Update UPDATING.md regarding potential breaking change to ab_user.email column (#25115)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-08-30 08:42:23 -03:00
JUST.in DO IT 29355577f1 fix(sqllab): error while removing a referenced table (#25114) 2023-08-29 14:38:07 -07:00
Sebastian LiebscherandJohn Bodley e585db85b6 chore: use contextlib.surpress instead of passing on error (#24896)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-29 10:09:01 -06:00
JUST.in DO IT 72150ebadf fix(sqllab): rendering performance regression by resultset (#25091) 2023-08-28 12:27:18 -07:00
Aleksey Karpov e4b54c3c01 feat(docker): refactor docker images (#25089) 2023-08-28 11:07:07 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> da89feeb16 build(deps-dev): bump eslint from 8.47.0 to 8.48.0 in /superset-websocket (#25098)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 09:53:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7d418f3dce build(deps-dev): bump @types/node from 20.5.6 to 20.5.7 in /superset-websocket (#25097)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 09:53:03 -07:00
Jack Fragassi 2b8d8da22a fix: Allow embedded guest user datasource access with dashboard context (#25081) 2023-08-28 09:48:21 -07:00
Jack Fragassi b240b795b5 fix(assets import): Ensure old datasource ids are not referenced in imported charts (#25086) 2023-08-28 09:47:19 -07:00
Michael S. Molina b5bac6c876 fix: Filter names overflow wrap (#25087) 2023-08-28 11:28:16 -03:00
Kamil Gabryjelski 4c4fedc452 chore: Refactor deck.gl plugins to Typescript (#24933) 2023-08-28 13:56:06 +02:00
Hugh A. Miles II fcd045f84a chore: Update docs for docker-compose installation (#24980) 2023-08-28 12:36:19 +02:00
Erich c2a21d2da0 refactor(pinot): The python_date_format for a temporal column was not being passed to get_timestamp_expr (#24942) 2023-08-27 18:46:39 +02:00
Hugh A. Miles II 69fb309ec3 feat: Update Tags CRUD API (#24839) 2023-08-25 21:16:35 +02:00
Zef Lin 5168475826 fix: dataset update permission out of sync (#25043) 2023-08-25 11:34:25 -07:00
Sam Firke da172bf8cf docs(docker-compose): add missing parenthesis (#24771) 2023-08-25 11:55:45 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b3424266cd build(deps-dev): bump @types/node from 20.5.1 to 20.5.6 in /superset-websocket (#25082)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 09:51:01 -07:00
Ville Brofeldt 04bb73cf27 chore(reports): add metrics to report schedule and log prune (#25080) 2023-08-25 09:39:26 -07:00
Jack Fragassi 7402379346 fix(embedded sdk): Remove trailing slash from passed superset domain if there is one (#25020) 2023-08-25 09:24:58 -07:00
JUST.in DO IT 4d9e9a4b1c chore(sqllab): typescript for getInitialState (#25047) 2023-08-24 16:54:06 -07:00
Lily Kuang 6ac906f388 chore: remove CssTemplate and Annotation access from gamma role (#24826) 2023-08-24 16:39:56 -07:00
Michael S. Molina f584c8462b fix: Cross filters initial scope (#25074) 2023-08-24 13:01:45 -03:00
Multazim Deshmukh 8d3340045c build(deps): Bump PyHive (#25030) 2023-08-24 08:43:22 -07:00
Evan Rusackas 63f24ea57e test(cypress): Fail Cypress on Console errors (#24872) 2023-08-24 08:44:35 -06:00
Evan Rusackas 60c2ac3268 feat: adding Scarf pixels to gather telemetry on readme and website (#25065) 2023-08-24 08:44:05 -06:00
Stepan 0d5be8e3f6 fix(table): condition formatting can't formate 0 values (#24008) 2023-08-24 08:01:40 -06:00
Beto Dealmeida 3630d6844c fix: small fixes for the meta DB (#25067) 2023-08-23 14:24:13 -07:00
Rémy DUBOIS 80fcbfab7c fix(cli): import-directory is missing the application context (#21255) 2023-08-23 13:32:57 -06:00
John Bodley adaab3550c fix: Ensure SQLAlchemy sessions are closed (#25031) 2023-08-23 11:57:36 -07:00
Michael S. Molina 0dadf06245 chore: Organizes the files of the ReportModal feature (#25046) 2023-08-23 11:02:25 -03:00
Daniel Vaz Gaspar a9efd4b2e3 fix: dataset safe URL for explore_url (#24686) 2023-08-23 09:31:44 -03:00
Michael S. MolinaandJohn Bodley c92a975e4b fix: Error when using the legacy dataset editor (#25057)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-23 09:10:17 -03:00
John Bodley 60889d27ed fix: Native filter dashboard RBAC aware dataset permission (#25029) 2023-08-22 09:58:43 -07:00
Michael S. Molina 7317d9c0b2 fix: docker-compose non-dev (#25055) 2023-08-22 11:35:10 -03:00
Daniel Vaz Gaspar 6975084ea5 fix: extend user email size (#25053) 2023-08-22 14:52:49 +01:00
Craig Rueda c7a3bf0f4b chore(tests): Adding missing __init__.py files to various test packages (#25045) 2023-08-21 12:39:31 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> eaa86d89e9 build(deps-dev): bump @types/node from 20.5.0 to 20.5.1 in /superset-websocket (#25038)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 09:51:31 -07:00
JUST.in DO IT b339613844 chore(sqllab): Relocate user in SqlLab to root (#25010) 2023-08-21 09:42:31 -07:00
Giulio Talarico 5e56871fd9 docs: fix line break in Apache Druid page (#25034) 2023-08-21 11:07:01 -04:00
Sebastian Liebscher 969cd664cb chore: use os.getenv to simplify superset_config.py (#25016) 2023-08-21 08:45:22 -03:00
Yuval Moshe 66eabc253f fix(mssql): avoid trying to return a resultset for DML queries with not resultset (#24999) 2023-08-21 08:33:26 -03:00
Daniel Vaz Gaspar 357986103b fix: CTE queries with non-SELECT statements (#25014) 2023-08-19 15:49:15 +01:00
Beto Dealmeida 6b660c86a4 feat: a native SQLAlchemy dialect for Superset (#14225) 2023-08-18 12:21:36 -07:00
Beto Dealmeida bbf0aaec5d chore: rename get_iterable (#24994) 2023-08-18 11:59:43 -07:00
Michael S. Molina 0be1754666 fix: Dashboard fullscreen is removing custom URL params (#25028) 2023-08-18 15:07:31 -03:00
John Bodley 3f93755be2 fix: Address regression introduced in #24789 (#25008) 2023-08-18 09:27:34 -07:00
Michael S. Molina 52c7186b56 chore: Pass the dashboard id when requesting filter values (#25025) 2023-08-18 13:19:19 -03:00
Michael S. Molina b428b06217 chore: Removes Saved Query old code (#25007) 2023-08-18 09:40:28 -03:00
Jack Fragassi 258e56285a fix: Don't let users see dashboards only because it's favorited (#24991) 2023-08-17 17:35:37 -07:00
Jack Fragassi 4a59a265fb chore: Update DAOs to use singular deletion method instead of bulk (#24894) 2023-08-17 17:00:33 -07:00
Michael S. Molina 62cbc0c95c fix: Downgrades Prophet to 1.1.1 and Holidays to 0.23 (#25017) 2023-08-17 17:31:40 -03:00
Michael S. Molina 35eb66a322 fix: Date column in Heatmap is displayed as unix timestamp (#25009) 2023-08-17 11:24:40 -03:00
Michael S. Molina 712e1f760c feat: Moves Profile to Single Page App (SPA) (#25001) 2023-08-17 11:01:24 -03:00
Daniel Vaz Gaspar 269c99293f chore: isolate examples database by default (#25003) 2023-08-17 11:50:24 +01:00
JUST.in DO IT 10abb68288 feat(sqllab): Add /sqllab endpoint to the v1 api (#24983) 2023-08-16 16:09:10 -07:00
Michael S. Molina 2eb0a255d9 chore: Removes src/modules top folder (#25005) 2023-08-16 16:59:52 -03:00
Elizabeth Thompson bc1c5c2f84 fix: update permalink schema (#24970) 2023-08-16 09:56:20 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 48fdc8103a build(deps-dev): bump prettier from 3.0.1 to 3.0.2 in /superset-websocket (#24998)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 09:53:05 -07:00
Elizabeth Thompson 2b63577046 fix: Revert "fix(chart): Time Series set showMaxLabel as null for time xAxis (#20627) (#24995) 2023-08-16 09:51:00 -07:00
Ville Brofeldt f94dc49fd0 fix(snowflake): opt-in denormalization of column names (#24982) 2023-08-15 16:32:54 -07:00
0a8881b3c1 chore: modify UPDATING.md for logs table migrations (#24923)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-08-15 16:49:19 -03:00
JUST.in DO IT 155cf54c15 fix(sqllab): scroll position after run current sql (#24965) 2023-08-15 10:52:35 -07:00
Michael S. Molina 025e4d4772 fix: Calendar Heatmap day offset (#24989) 2023-08-15 13:35:35 -03:00
Vitor Avila cacad56172 chore(dashboard import/export): include additional fields to export/import commands (#24941) 2023-08-14 13:50:31 -07:00
John Bodley 0879b9215c chore(dao): Remove redundant convenience methods (#24967) 2023-08-14 12:07:04 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 12f2b0f8e7 build(deps-dev): bump @types/node from 20.4.9 to 20.5.0 in /superset-websocket (#24973)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 09:53:47 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 55eaa25216 build(deps-dev): bump eslint from 8.46.0 to 8.47.0 in /superset-websocket (#24972)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 09:53:31 -07:00
Michael S. Molina be11556799 feat: Adds options to show subtotals in Pivot Table (#24960) 2023-08-14 09:20:32 -03:00
JUST.in DO IT a44c99899a chore(sqllab): Relocate get bootstrap data logic (#24936) 2023-08-11 13:23:07 -07:00
John Bodley ed0d288ccd chore(dao): Replace save/overwrite with create/update respectively (#24467) 2023-08-11 12:55:39 -07:00
Beto Dealmeida a3d72e0ec7 fix(gsheets): add column names on file upload (#24963) 2023-08-11 12:51:21 -07:00
Holger Bruch b54b4e5e9b docs: Add wattbewerb to users list (#24962) 2023-08-11 14:27:58 -03:00
Igor Khrol b96a30e8a4 chore: Add Automattic to the list of users and contributors (#24961) 2023-08-11 14:27:21 -03:00
Michael S. Molina b621ee92c9 fix: Duplicated options in Select when using numerical values (#24906) 2023-08-11 14:22:15 -03:00
Beto Dealmeida a1e32dbfa6 feat: command to test DB engine specs (#24918) 2023-08-11 10:10:49 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7b56c27383 build(deps): bump tough-cookie and @cypress/request in /superset-frontend/cypress-base (#24958)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-11 10:53:03 -06:00
Michael S. Molina 9703490129 fix: Tooltips don't disappear on the Heatmap chart (#24959) 2023-08-11 13:40:45 -03:00
Beto Dealmeida 4bc46003b5 chore: rate limit requests (#24324) 2023-08-11 09:35:31 -07:00
Beto Dealmeida f5ed4072e4 feat(gsheets): file upload (#24921) 2023-08-11 06:35:00 -07:00
Beto Dealmeida 6f24a4e7a8 fix: calls to _get_sqla_engine (#24953) 2023-08-11 12:54:01 +02:00
Beto Dealmeida aca006f38b fix: timezone issue in Pandas 2 (#24955) 2023-08-11 00:25:33 -07:00
Beto Dealmeida 41ca4a00b9 fix: to_datetime in Pandas 2 (#24952) 2023-08-10 19:32:15 -07:00
Rob Moore ce65a3b9cd fix(charts): View in SQL Lab with relevant perm (#24903) 2023-08-10 20:04:07 +03:00
Multazim Deshmukh bcd24936bc fix: remove unused file (#24946) 2023-08-10 08:08:54 -07:00
John BodleyandMichael S. Molina 55014bf58b chore: Add explicit ON DELETE CASCADE for embedded_dashboards (#24939)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-08-10 11:41:14 -03:00
John Bodley 94c595093b chore: Add explicit ON DELETE CASCADE for dashboard_slices (#24938) 2023-08-10 10:56:11 -03:00
Michael S. Molina 284c12697b chore: Removes duplicated featureFlags.ts (#24935) 2023-08-10 10:55:44 -03:00
Tanner Barcelos 764f0f79ca docs: Fixing Superset typo in docker-compose local installation guide (#24920) 2023-08-10 09:34:26 -04:00
Beto Dealmeida 9c54280d85 feat: add MotherDuck DB engine spec (#24934) 2023-08-09 16:42:14 -07:00
John Bodley f6c3f0cbbb fix: Dashboard aware RBAC "Save as" menu item (#24806) 2023-08-09 13:37:52 -07:00
John Bodley 34586648a5 chore: Refine native dashboard cleanup logic (#24864) 2023-08-09 10:42:29 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cdf5652e5f build(deps-dev): bump @types/node from 20.4.8 to 20.4.9 in /superset-websocket (#24924)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 09:56:14 -07:00
John Bodley 5522facdc6 chore: Refactor dashboard security access (#24804) 2023-08-09 09:25:58 -07:00
Michael S. Molina ec9e9a46f2 fix: Tooltip of area chart shows undefined total (#24916) 2023-08-08 18:13:21 -03:00
Giulio TalaricoandMichael S. Molina 81bf2f01e2 docs: fix tip box in "Installing From Scratch" page (#24915)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-08-08 15:12:36 -03:00
JUST.in DO IT 340bfd88ae fix(explore): double resize triggered (#24886) 2023-08-08 10:21:21 -07:00
Gyuil Han eb7c14561e fix(logs): increase json field for logs table (#24911) 2023-08-08 08:46:27 -07:00
Beto Dealmeida 85a7d5cb3e feat: improve SQLite DB engine spec (#24909) 2023-08-07 15:59:56 -07:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Maxime Beauchemin
3b81538e02 build(deps-dev): bump prettier from 2.8.8 to 3.0.1 in /superset-websocket (#24878)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2023-08-07 10:08:41 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 569d07db23 build(deps-dev): bump eslint-config-prettier from 8.10.0 to 9.0.0 in /superset-websocket (#24900)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:55:28 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f7e3b8b9f4 build(deps-dev): bump @types/node from 20.4.7 to 20.4.8 in /superset-websocket (#24901)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 09:52:31 -07:00
Jack Fragassi 07992c11e7 fix: Migration to fix out of sync schema_perm in charts and datasets (#24884) 2023-08-07 09:34:47 -07:00
John Bodley 7397ab36f2 fix: Dashboard aware RBAC dataset permission (#24789) 2023-08-04 11:53:34 -07:00
John Bodley 9f7f2c60d6 fix: revert "fix(embedded): adding logic to check dataset used by filters (#24808) (#24892) 2023-08-04 11:14:57 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8d1fd269e0 build(deps-dev): bump @types/node from 20.4.6 to 20.4.7 in /superset-websocket (#24888)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 10:54:40 -07:00
Elizabeth Thompson d23b20ea75 chore: add talisman env var to config (#24774) 2023-08-04 09:04:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 554ef07eed build(deps-dev): bump @types/node from 20.4.5 to 20.4.6 in /superset-websocket (#24880)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 09:54:00 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 868f55372f build(deps-dev): bump eslint-config-prettier from 8.8.0 to 8.10.0 in /superset-websocket (#24879)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 09:53:35 -07:00
John Bodley 7edcbc974c docs(native-filters): Remove outdated statement (#24873) 2023-08-03 09:51:16 -07:00
Zoynels 031e660506 feat(chart): Added Central Asia countries to countries map (#24870) 2023-08-03 09:49:03 -07:00
JUST.in DO IT 6ff7fae0b0 fix(dataset): resizable dataset layout left column (#24829) 2023-08-03 09:34:33 -07:00
Michael S. Molina aee2695413 fix: Ignores hot update files when generating the manifest (#24871) 2023-08-03 10:20:01 -03:00
JUST.in DO IT 371bffbfea fix(explore): invalid "No Filter" applied (#24876) 2023-08-03 10:17:56 -03:00
John Bodley f05638ba84 fix(annotation): Address regression from #24694 (#24874) 2023-08-03 09:33:03 -03:00
suryadev99andJohn Bodley cfadbeb353 chore: Bump cryptography (#24657)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-02 22:12:56 -07:00
Hugh A. Miles II b71541fb7f fix: validation errors appearing after ssh tunnel switch (#24849) 2023-08-02 17:41:37 -04:00
Michael S. Molina bf1b1a4c46 fix: Explore misleading save action (#24862) 2023-08-02 15:46:03 -03:00
Kamil Gabryjelski f7e76d02b7 feat: Add currencies controls in control panels (#24718) 2023-08-02 19:22:45 +02:00
JUST.in DO IT 1a9c559a8f fix(sqllab): Add docText for long keyword (#24847) 2023-08-02 09:02:57 -07:00
Michael S. Molina 434db0d686 fix: Ignores ResizeObserver errors in development mode (#24868) 2023-08-02 11:41:21 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 44e4fb1090 build(deps-dev): bump eslint from 8.45.0 to 8.46.0 in /superset-websocket (#24842)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 13:48:36 -06:00
JUST.in DO IT 1c5971d3af fix(legacy-chart): corrupted raw chart data (#24850) 2023-08-01 09:49:04 -07:00
Michael S. Molina ea17dd637c fix: Links in tooltips of dashboard chart cards (#24846) 2023-08-01 10:28:10 -03:00
Vitor Avila 7f9b0380e0 fix(embedded): adding logic to check dataset used by filters (#24808) 2023-07-31 14:10:57 -07:00
Sebastian Liebscher 14a27b1ba3 chore(api): clean up API spec (#24838) 2023-07-31 20:03:58 +03:00
EugeneTorap 5f103072b0 fix: Python3.11 (str, Enum) issue (#24803) 2023-07-31 09:04:09 -07:00
Jack Fragassi 77889b29fb fix: Allow chart import to update the dataset an existing chart points to (#24821) 2023-07-28 16:08:03 -07:00
John Bodley caffe3cb1f fix(migration): Ensure cascadeParentIds key exists (#24831) 2023-07-28 13:54:18 -07:00
Stepan 64ced60f62 fix(datasets): give possibility to add dataset with slashes in name (#24796) 2023-07-28 14:33:08 -03:00
Sam Firke e2d5046bb7 docs(Kubernetes): Fix typos, clarify language re: Scarf (#24834) 2023-07-28 10:42:57 -06:00
Michael S. Molina 5bb8e0da89 fix: Removes unnecessary query on filters (#24814) 2023-07-28 10:56:51 -03:00
John Bodley a50c43e0fa fix: Alembic migration head (#24832) 2023-07-28 11:08:31 +01:00
Beto Dealmeida 7cd317fe2e chore: remove get_columns_description duplication (#24819) 2023-07-27 14:39:15 -07:00
Evan Rusackas a1396d00aa docs: Adding a couple links to contributing page (#24817) 2023-07-27 13:27:40 -06:00
Evan Rusackas 7e26dc8c5b docs: fixing stack overflow link (#24820) 2023-07-27 13:27:30 -06:00
Hugh A. Miles II 3b46511439 feat(Tags): Allow users to favorite Tags on CRUD Listview page (#24701) 2023-07-27 13:17:26 -04:00
Kamil Gabryjelski d26ea980ac feat: Add line width unit control in deckgl Polygon and Path (#24755) 2023-07-27 18:41:50 +02:00
Beto Dealmeida ba508a786c fix: pass schema on dataset creation (#24815) 2023-07-26 18:30:05 -07:00
Hugh A. Miles II e5d626c304 feat: add empty state for Tags (#24702) 2023-07-26 20:24:25 -04:00
Michael S. Molina 4b1f1d49d6 fix: Filters alert width (#24801) 2023-07-26 16:30:52 -03:00
JUST.in DO IT 77505173ae fix(sqllab): Replace autocomplete logic by a hook (#24677) 2023-07-26 11:24:28 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 83ad291053 build(deps-dev): bump @types/node from 20.4.4 to 20.4.5 in /superset-websocket (#24809)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 12:06:46 -06:00
Daniel Vaz Gaspar d1eb9ea982 fix: docs invalid client redirect (#24816) 2023-07-26 19:00:21 +01:00
Chris HarrisandEvan Rusackas af4a35741c docs(K8s): Add instructions for loading the examples (#19959)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-07-26 11:49:06 -06:00
Daniel Vaz Gaspar 165afee55a docs: update security policy and add CVE info (#24769) 2023-07-26 14:21:26 +01:00
xavier-GitHub76 a9c4472d25 fix: Department names fixed for CountryMap of France (#23988) 2023-07-25 15:41:53 -03:00
Gyuil Han ff7c1528db fix(dashboard): increase json_metadata field (#24510) 2023-07-25 15:30:43 -03:00
Stepan 761fec2574 fix(chore): switching between languages should be without timeout 60 seconds (#24798) 2023-07-25 15:16:33 -03:00
JUST.in DO IT 4a81284056 fix(sqllab): Replace margin style by gap on query results (#24772) 2023-07-25 10:16:03 -03:00
EugeneTorapandJohn Bodley fc89718d48 chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07:00
Sebastian Liebscher c17accc0b4 chore: bump postgresql in docker-compose and github workflows (#24147) 2023-07-24 11:09:41 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c43674e8f3 build(deps-dev): bump @types/node from 20.4.2 to 20.4.4 in /superset-websocket (#24779)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 11:03:46 -06:00
Michael S. MolinaandJUST.in DO IT 6089b5fdae fix: Select onChange is being fired without explicit selection (#24698)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-07-24 13:03:45 -03:00
Multazim Deshmukh b8a3eeffdb docs: update AWS Athena and Redshift docs (#24751) 2023-07-23 22:34:14 -06:00
Zef Lin 0631a8086c chore(view_api): return application/json as content-type for api/v1/form_data endpoint (#24758) 2023-07-21 16:31:41 -07:00
Sebastian Liebscher e06004292a feat: add pandas performance dependencies (#24768) 2023-07-21 16:18:35 -06:00
Elizabeth Thompson f856ba246e fix: update svgr webpack config to use svg dimensions (#24747) 2023-07-21 14:48:54 -07:00
Beto Dealmeida abb8e28e49 feat: migrate charts on import (#24703) 2023-07-21 09:33:34 -07:00
Evan Rusackas e210da963d chore(docs): Adding link to additional visualization content (#24759) 2023-07-21 10:04:37 -06:00
mattitoo d642288092 docs: Fix STANDARD_ROLES.md for Gamma role permissions on tableschemaview (#24766) 2023-07-21 09:43:08 -06:00
karsten-wagner a80ec15f4c fix(docs): respect no_proxy environment variable (#23816) 2023-07-21 08:59:31 -03:00
Michael S. Molina ac19f58cf6 fix: Tooltip no longer highlights hovered data series (#24756) 2023-07-21 08:57:39 -03:00
Maxime Beauchemin 341b8d41c5 fix: column/metric type icons look too small (#24740) 2023-07-20 17:24:35 -07:00
Maxime Beauchemin 22a0fe555c chore: make control panel sub sections look better (#24736) 2023-07-20 16:33:50 -07:00
Sam Firke 9b6ed315f8 docs(docker-compose): note the risk of running a Docker Postgres volume in production (#24461) 2023-07-20 16:07:13 -06:00
Beto Dealmeida 7675e0db10 fix: search_path in RDS (#24739) 2023-07-20 12:57:48 -07:00
JUST.in DO ITandJustin Park b2831b419e fix(datasets): Replace left panel layout by TableSelector (#24599)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-20 11:59:31 -07:00
Stepan df106aa708 fix(pvt2): migrations from legacy pivot table error when form_data have pieces of pvt2 (#24710) 2023-07-20 15:25:51 -03:00
Sebastian LiebscherandEugeneTorap 91e6f5cb9f chore(deps): bump pandas >=2.0 (#24705)
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-07-20 11:04:17 -07:00
JUST.in DO ITandJustin Park 05e724f3d7 chore(native filters): Expandable filter config modal (#24559)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-20 10:46:13 -07:00
Michael S. Molina 317aa989c2 fix: Dashboard time grain in Table (#24746) 2023-07-20 14:02:52 -03:00
JUST.in DO ITandJohn Bodley 4086514fa5 fix(native filter): clean deleted parent filter ids (#24749)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-20 10:00:44 -07:00
Maxime Beauchemin d1d5ff6f9f chore: make antd table font size same as data table (#24741) 2023-07-20 10:00:15 -07:00
Daniel Vaz Gaspar cb9b865a53 fix: import database engine validation (#24697) 2023-07-20 13:08:07 +01:00
Elizabeth Thompson 1a9724582f chore: turn off talisman for ephemeral environments in ci (#24627) 2023-07-19 14:22:32 -07:00
5878c117f2 feat: use Scarf Gateway for Superset npm downloads (#24433)
Co-authored-by: Arjun Devarajan <arjun.devarajan@scarf.sh>
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
2023-07-19 15:00:45 -06:00
Stepan 2d58dddbdc fix(range-slider): removed localization of metric key (#24716) 2023-07-19 16:48:50 -03:00
John Bodley 5f49e0fdd0 fix(cache): Add cache warmup for non-legacy charts (#24671) 2023-07-19 11:12:36 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 837e3c55ca build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /superset-websocket (#24732)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 10:44:22 -06:00
John Bodley 4c5ada421c fix(druid): Delete obsolete Druid NoSQL slice parameters (#24737) 2023-07-19 07:21:43 -07:00
Arjun Devarajan 2b0ffb01b6 feat: use Scarf Gateway for Superset helm charts/Docker compose downloads (#24432) 2023-07-19 06:16:20 -07:00
Sebastian Liebscher 11bb8c35b0 chore: update deprecated arguments in schema (#24715) 2023-07-18 17:48:13 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b7dcc9f7e3 build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /superset-frontend/cypress-base (#24733)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 17:45:05 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2785b8f11e build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /superset-frontend (#24735)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 17:44:55 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 068864b9ea build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /superset-embedded-sdk (#24734)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 17:44:38 -06:00
John Bodley aa01b51177 chore: Bump pyyaml bounds (#24731) 2023-07-18 14:29:29 -07:00
John Bodley 1b5a6790f0 chore: Remove obsolete legacy visualizations (#24694) 2023-07-18 08:17:52 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9c6d53567c build(deps-dev): bump eslint from 8.44.0 to 8.45.0 in /superset-websocket (#24712)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 10:54:00 -06:00
Lily Kuang 0328dd2704 fix: color collision in dashboard with tabs (#24670) 2023-07-14 12:13:49 -07:00
Vitor Avila 65fb8e10ba fix(dataset-import): support empty strings for extra fields (#24663) 2023-07-13 16:19:00 -07:00
Daniel Vaz Gaspar ca68250adf chore: move deprecated default version to 4.0.0 (#24689) 2023-07-13 22:22:37 +01:00
Beto Dealmeida 9844b15e07 fix: embedded dashboard check (#24690) 2023-07-13 10:33:12 -07:00
John Bodley a3db5844f0 chore: remove fetch explore json (#24669) 2023-07-13 09:18:15 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 146b5c839c build(deps-dev): bump @types/node from 20.4.1 to 20.4.2 in /superset-websocket (#24682)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 10:16:56 -06:00
Michael S. Molina 6e59f11f4c fix: Dashboard time grain in Pivot Table (#24665) 2023-07-13 11:33:16 -03:00
John BodleyandMichael S. Molina a156816064 chore(command): Condense delete/bulk-delete operations (#24607)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-07-12 15:45:29 -07:00
Aarav Borthakur 6ae6fc60f8 docs: Fix typo in Rockset docs (#24674) 2023-07-12 14:23:20 -07:00
Arkadii Yakovets 767afef398 chore: Bump holidays to 0.28 (#24647) 2023-07-12 10:04:10 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6b7b3ab069 build(deps): bump tox from 4.6.3 to 4.6.4 in /requirements (#24613)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 10:36:27 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> abf31ad3dc build(deps-dev): bump @types/node from 20.4.0 to 20.4.1 in /superset-websocket (#24672)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 10:34:33 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8230ac7b4a build(deps-dev): bump @typescript-eslint/parser from 5.61.0 to 5.62.0 in /superset-websocket (#24673)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 10:33:13 -06:00
John Bodley 462418ba82 chore: Bump/relax Flask libs (#24652) 2023-07-11 23:38:31 -07:00
Aarav Borthakur ea968e47cc chore: Update Rockset—switching out rockset for rockset-sqlalchemy (#24649) 2023-07-11 21:36:09 -06:00
Rob Moore 88418fc609 feat(csv-upload): Configurable max filesize (#24618) 2023-07-11 21:35:22 -06:00
JUST.in DO ITandJustin Park 1473d97055 feat(sqllab): add shortcut for run current sql (#24329)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-11 13:19:52 -07:00
John Bodley ae00489779 chore(dao): Add explicit ON DELETE CASCADE for ownership (#24628) 2023-07-11 11:39:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b4d08aecdb build(deps): bump semver from 5.7.1 to 5.7.2 in /superset-frontend (#24653)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 12:27:23 -06:00
JUST.in DO ITandJustin Park ca8c8d2ad3 fix(sqllab): missing column meta on autocomplete (#24611)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-11 11:02:06 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7aa9f35808 build(deps): bump semver from 6.3.0 to 6.3.1 in /superset-websocket (#24654)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:54:59 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 057539037b build(deps): bump semver from 6.3.0 to 6.3.1 in /superset-frontend/cypress-base (#24655)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:52:56 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8c6f5fe1d3 build(deps): bump trim and @superset-ui/core in /superset-frontend/cypress-base (#24656)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:52:20 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2d2a76a8ac build(deps): bump winston from 3.9.0 to 3.10.0 in /superset-websocket (#24659)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:51:34 -06:00
John Bodley cbf39650d0 chore: Re-enable some GitHub action workflows in draft mode (#24626) 2023-07-11 10:50:14 -06:00
Duyet Le 7476f7af73 docs(databases): correct the way of using use environment variables (#24633) 2023-07-11 09:50:01 -07:00
Jack Fragassi 4caf33b41d fix: Chart can be added to dashboard by non-owner via save as option (#24630) 2023-07-11 11:58:29 -04:00
Kamil Gabryjelski 2e4d9f2e2a fix: Ensure config is a dict in cross filters scope migration (#24661) 2023-07-11 17:15:28 +02:00
Kamil Gabryjelski bbffc4c1f8 fix: Incorrect initial global scoping of cross filters (#24642) 2023-07-11 17:14:55 +02:00
Michael S. Molina 0efb88479e fix: Validation of out of scope filters and interaction with Clear All (#24610) 2023-07-11 10:41:45 -03:00
John Bodley 65291a00c6 chore: Drop rouge constraints and tables (#24629) 2023-07-10 20:19:57 -07:00
EugeneTorap 117435f0d8 chore: update UI dev libs and fix warnings & vulnerabilities (#24648) 2023-07-10 20:44:35 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7b957369fc build(deps): bump semver from 5.7.1 to 5.7.2 in /docs (#24651)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:36:36 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fbe49c21a2 build(deps): bump tough-cookie from 4.0.0 to 4.1.3 in /superset-embedded-sdk (#24634)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:36:18 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 294e522c09 build(deps): bump jsonwebtoken from 9.0.0 to 9.0.1 in /superset-websocket (#24614)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 20:35:53 -06:00
Daniel Vaz Gaspar 4881328fbf fix: CSP, bump FAB to 4.3.4 (#24646) 2023-07-10 20:09:50 +01:00
Hugh A. Miles II e6e8276a20 fix: fix extra insert for count on dataset creation (#24625) 2023-07-10 12:55:11 -04:00
Kamil Gabryjelski fe2c14ff3a fix: Ensure metrics is an array in Mixed Chart (#24643) 2023-07-10 18:04:38 +02:00
Daniel Vaz Gaspar b809815436 fix: remove spaces and EOL from nonce attr (#24644) 2023-07-10 16:21:45 +01:00
VED PRAKASH KASHYAP d2489c5ac7 docs(frontend): Fixed typo in command (#23987) 2023-07-10 08:42:29 -06:00
Devon Kinghorn fe9b0bf29b docs: correct databricks pip package name (#23992) 2023-07-10 08:41:29 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5097688e6c build(deps): bump tough-cookie from 4.0.0 to 4.1.3 in /superset-websocket (#24632)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:40:30 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6e2c5e0af4 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.1 to 5.61.0 in /superset-websocket (#24585)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 08:39:39 -06:00
Michael S. Molina c53b249998 fix: Wrong positioning of filter tooltips on scroll (#24617) 2023-07-07 15:33:39 -03:00
Kamil Gabryjelski d74d7eca23 feat: Implement support for currencies in more charts (#24594) 2023-07-07 19:28:13 +02:00
Hugh A. Miles II c573cfcd12 fix: change naming convention for count metric on Dataset creation (#24609) 2023-07-07 13:08:27 -04:00
Gyuil Han a6e749da87 chore: remove underscore from builtin_time_grains label (#24567) 2023-07-07 10:43:49 -03:00
Michael S. Molina 781a20423a fix: Incorrect dependency between filters related feature flags (#24608) 2023-07-07 09:44:33 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 572562719e build(deps-dev): bump eslint from 8.43.0 to 8.44.0 in /superset-websocket (#24576)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 21:46:25 -06:00
Beto Dealmeida 93ba4ade09 fix(report): edit without custom width (#24612) 2023-07-06 19:48:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 333a5a6fef build(deps-dev): bump @types/node from 20.3.2 to 20.4.0 in /superset-websocket (#24601)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:23:04 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3f6920a4ad build(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.61.0 in /superset-websocket (#24584)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:22:17 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ec2007577b build(deps): bump jsonwebtoken from 9.0.0 to 9.0.1 in /superset-websocket/utils/client-ws-app (#24600)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:21:55 -06:00
Antonio Rivero 6657353bca feat(database): Database Filtering via custom configuration (#24580) 2023-07-06 16:48:46 -04:00
Hugh A. Miles II d041648ad4 fix(ssh): Editting Database w/ SSH Tunneling (#24552) 2023-07-06 15:43:55 -04:00
jwilliams-ocient 64d728f80f fix: set max version for pyocient (#24556) 2023-07-06 13:28:03 -03:00
John BodleyandMichael S. Molina 7409289762 chore(dao): Condense delete/bulk-delete operations (#24466)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-07-06 09:21:08 -07:00
Javier Lopez 52ab974bff docs(helm): reference the correct chart (#24570) 2023-07-06 08:13:44 -07:00
Changhoon OhandMichael S. Molina ce96deb331 docs: add notice not to use gevent worker with bigquery datasource (#24564)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-07-06 08:48:04 -03:00
cwegener 7081a0e73d refactor: pkg_resources -> importlib.resources (#24578) 2023-07-05 14:26:07 -07:00
John Bodley 383dac6a5e fix: Bump prophet, re-enable tests, and remedy column eligibility logic (#24129) 2023-07-05 12:33:52 -07:00
JUST.in DO ITandJustin Park 0836000f9f chore(sqllab): Log current local storage usage (#24554)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-07-05 09:33:08 -07:00
Michael S. Molina 04ae259f3d fix: Clicking on a tag in the dashboard and charts lists does not work (#24593) 2023-07-05 12:58:44 -03:00
Ville Brofeldt a4880cabd4 chore(metastore-cache): add codec support (#24586) 2023-07-04 15:55:22 +03:00
Hugh A. Miles II 226c7f807d fix: SSH Tunnel creation with dynamic form (#24196) 2023-07-02 23:48:48 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 946aacc12e build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.0 to 5.60.1 in /superset-websocket (#24523)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-01 22:17:24 -06:00
Michael S. Molina 5bdb774504 fix: Metric is truncated in tooltip (#24555) 2023-06-30 08:18:47 -03:00
Daniel Vaz Gaspar c238d9733a fix: docker compose refusing to start (#24565) 2023-06-30 11:55:13 +01:00
Beto Dealmeida a740c2c06e feat: screenshot reports with custom width (#24549) 2023-06-29 22:52:32 -07:00
Beto Dealmeida aa6870b23c chore: better styling alerts/reports modal (#24558) 2023-06-29 18:45:11 -07:00
Beto Dealmeida be9eb0f3a3 feat: customize screenshot width for alerts/reports (#24547) 2023-06-29 14:32:58 -07:00
JUST.in DO ITandJustin Park 8ba0b81957 fix(sqllab): Add threshold for checking inactive queries (#24536)
Co-authored-by: Justin Park <justinpark@apache.org>
2023-06-29 14:06:12 -07:00
Hugh A. Miles II 19deb9141d feat: add description column to Tags (#24553) 2023-06-29 16:23:48 -04:00
Michael S. Molina 2b1275d8c4 fix: Error when searching for a dashboard in the chart list (#24546) 2023-06-29 17:11:25 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2dfb50b83a build(deps): bump tox from 4.6.1 to 4.6.3 in /requirements (#24452)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 12:07:21 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 89225d3938 build(deps-dev): bump @types/node from 20.3.1 to 20.3.2 in /superset-websocket (#24524)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 12:06:39 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b543756957 build(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.60.1 in /superset-websocket (#24522)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 12:05:56 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0d976765ec build(deps): bump semver from 7.3.8 to 7.5.3 in /superset-websocket/utils/client-ws-app (#24501)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 12:05:19 -07:00
Maxime Beauchemin 6a8f60f9fd chore: deprecate FLASK_ENV and improve conf.ENVIRONMENT_TAG_CONFIG (#24404) 2023-06-29 12:04:32 -07:00
Aleksey KarpovandAleksey Karpov 46159fd190 build(docker): add dockerize image (#24534)
Co-authored-by: Aleksey Karpov <al.karpov@okko.tv>
2023-06-29 12:03:59 -07:00
Evan Rusackas bf9338129a docs: updating images and markdown (#24462) 2023-06-29 12:01:57 -07:00
Kamil Gabryjelski 38df1a873f chore: Un-revert enabling CSP by default (#24543) 2023-06-29 17:38:17 +02:00
Michael S. Molina bb1db9e86f fix: Deque mutated during iteration (#24550) 2023-06-29 12:12:12 -03:00
Beto Dealmeida 66f59e5797 fix: heads (#24548) 2023-06-28 19:08:19 -07:00
John Bodley 75543af550 chore(dao): Add explicit ON DELETE CASCADE when deleting datasets (#24488) 2023-06-28 16:03:25 -07:00
cwegener f1b003f109 refactor: pkg_resources -> importlib.metadata (#24514) 2023-06-28 15:25:50 -07:00
Hans-Georg 1e7ee8c4ad fix(docs): Typo in filter migration. (#24541) 2023-06-28 18:32:54 -03:00
santi-pragma 0d72e63491 fix(translations): typo mistake (translation to Spanish) (#24475) 2023-06-28 18:17:37 -03:00
Nick Stenroos-Dam c81975eed3 fix(permalink): Incorrect component schema reference (#24482) 2023-06-28 18:17:18 -03:00
Jeremy Gillick 71f3fcab74 fix: SQL Lab - correct setting name from DISPLAY_MAX_ROWS to DISPLAY_MAX_ROW (#24519) 2023-06-28 18:13:35 -03:00
Kamil Gabryjelski 83ff4cd86a feat: Implement currencies formatter for saved metrics (#24517) 2023-06-28 20:51:40 +02:00
John Bodley e402c94a9f fix: Use Celery task ETA for alert/report schedule (#24537) 2023-06-28 10:53:13 -07:00
John Bodley 0986423d30 chore: Constrain selenium version (#24538) 2023-06-28 10:52:33 -07:00
Michael S. Molina cdbe4f3fa7 fix: Revert enable strong session protection by default (#24256) (#24545) 2023-06-28 13:35:44 -03:00
Michael S. Molina a90f740a81 fix: Release scripts Python version (#24544) 2023-06-28 11:40:10 -03:00
Kamil Gabryjelski 262b769d19 fix(native-filters): Infinite load when filter with default first value is out of scope in horizontal bar (#24542) 2023-06-28 16:29:29 +02:00
Hugh A. Miles IIandDaniel Vaz Gaspar a846e8a58d feat(tags): move tags from navbar to settings (#24518)
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com>
2023-06-28 02:53:49 -04:00
Hugh A. Miles II 750113441c chore: update d3-colors (#24505) 2023-06-27 15:12:03 -04:00
curious86andaadhikari 3f17945745 fix(charts): big-number display broken in echarts (#24492)
Co-authored-by: aadhikari <aadhikari@apple.com>
2023-06-27 20:59:24 +03:00
Daniel Vaz Gaspar 0ddc0a6738 chore: remove marshmallow-enum dependency and bump FAB (#24499) 2023-06-27 08:37:43 +01:00
Ville Brofeldt 036294a191 fix(sqllab): normalize changedOn timestamp (#24513) 2023-06-26 09:13:55 -07:00
Aleksey Karpov ba3bdc077c build(docker): simplification of assembly to facilitate further support (#24504) 2023-06-24 11:41:57 -07:00
Hugh A. Miles II cd8418496f chore: update ansi-regex (#24503) 2023-06-23 15:06:25 -07:00
JUST.in DO IT e20b69587f chore(sqllab): add extra_json on tabstate (#24489) 2023-06-23 14:31:31 -07:00
John Bodley b9824d687e fix: Native filter dynamic numeric search (#24506) 2023-06-23 14:00:31 -07:00
boenshao e6f7c73f54 build(docker): pin the underlying debain base image (#24497) 2023-06-23 10:23:51 -07:00
Aleksey Karpov 291a10fefe feat(docker): Add support LDAP/AD authorization (#24277) 2023-06-23 09:15:57 -07:00
Michael S. Molina c5b4ecdca5 fix: Total calculation in stacked Timeseries charts (#24477) 2023-06-23 11:57:48 -03:00
JUST.in DO IT 51a34d7d58 chore(sqllab): Remove table metadata from state (#24371) 2023-06-22 15:37:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2a4ef5cccf build(deps-dev): bump eslint from 8.42.0 to 8.43.0 in /superset-websocket (#24443)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 15:54:02 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 45901dafbb build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.60.0 in /superset-websocket (#24454)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 15:53:50 -06:00
Ville Brofeldt ea89949118 fix(oracle): denormalize column names where applicable (#24471) 2023-06-21 22:35:46 +03:00
Kamil Gabryjelski fb08e0ecfc fix: Revert enabling CSP (#24476) 2023-06-21 19:19:15 +02:00
Thiago Rossener d60040dbf7 docs: Add CTA to community calendar subscription (#24474) 2023-06-21 10:47:13 -06:00
John Bodley 652bf6454e fix: Native filter dynamic numeric search (#24418) 2023-06-21 09:45:15 -07:00
John Bodley 92e2ee9d07 chore(dao): Add generic type for better type checking (#24465) 2023-06-21 09:30:07 -07:00
Rob Moore d5f88c18f6 fix(charts): Fix chart load task error handling (#24447) 2023-06-21 15:21:14 +03:00
Lily Kuang 6dba6e32f5 fix: creating a new chart with dashboard time filters but filter can't apply again (#24405) 2023-06-20 14:39:42 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7a3a75ac28 build(deps): bump pre-commit from 3.3.2 to 3.3.3 in /requirements (#24397)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 15:17:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 54b0031389 build(deps-dev): bump @typescript-eslint/parser from 5.59.11 to 5.60.0 in /superset-websocket (#24453)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 15:17:35 -06:00
Jack Fragassi 86ce440833 fix: Revert to old endpoint temporarily to enable sharing saved queries (#24434) 2023-06-20 13:57:08 -04:00
Hugh A. Miles II 93e1db4bd9 fix: save columns reference from sqllab save datasets flow (#24248) 2023-06-20 13:54:19 -04:00
Michael S. Molina fdef9cbc96 fix: Viz migration adjustments - 2 (#24429) 2023-06-20 09:53:13 -07:00
Kamil Gabryjelski c3b5d72f2b chore: Enable CSP by default (#24262) 2023-06-20 17:59:58 +02:00
Jack Fragassi 5af298e1f6 chore: Migrate warm up cache endpoint to api v1 (#23853) 2023-06-20 12:08:29 +01:00
John BodleyandJUST.in DO IT 3e76736874 chore(dao): Organize DAOs according to SIP-92 (#24331)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-06-18 18:32:32 -07:00
Evan RusackasandP M 1bc7d63cab docs: Show clickable link instead of code-formatting (#23835)
Co-authored-by: P M <10617122+pylipp@users.noreply.github.com>
2023-06-18 12:40:34 -06:00
Maxime Beauchemin 79a18d4c70 chore: toning down grayscale on X icon (#24437) 2023-06-18 12:40:16 -06:00
Stuart Yeates 38ff5d38ba fix(translations): regularise the capitalisation of 'CSV' in en localisation (#24440) 2023-06-17 19:33:11 -07:00
John Bodley db65b74e4b chore: Remove obsolete Druid NoSQL REGEX operator (#24415) 2023-06-16 20:26:53 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 884a8b52d6 build(deps): bump tox from 4.6.0 to 4.6.1 in /requirements (#24419)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 17:06:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4d15c65280 build(deps-dev): bump @types/node from 20.2.5 to 20.3.1 in /superset-websocket (#24378)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 17:06:34 -06:00
Maxime Beauchemin b70808d071 chore: cleanup sqlalchemy warnings (#24403) 2023-06-16 15:30:47 -07:00
Elizabeth ThompsonandEvan Rusackas b68de27dc6 fix: force data load on import examples (#24410)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-06-16 12:55:35 -07:00
Maxime Beauchemin 01689b4c94 chore(ci): make eslint and jest run in --quiet mode (#24430) 2023-06-16 12:00:46 -06:00
Ville Brofeldt 20e0036336 fix(sql-lab): remove redundant onChange schema property (#24422) 2023-06-16 17:38:26 +03:00
Daniel Vaz Gaspar d6a61c125a chore: remove deprecated apis /slice_json/ and /annotation_json/ (#24423) 2023-06-16 15:14:46 +01:00
Daniel Vaz Gaspar 62364a4b15 fix: FE call to changed recent_activity endpoint (#24420) 2023-06-16 15:14:32 +01:00
Kamil Gabryjelski 6bb930ef4e fix: deck.gl Geojson path not visible (#24428) 2023-06-16 14:30:52 +02:00
Daniel Vaz Gaspar 23bb1c48a1 chore: remove deprecated apis and ENABLE_BROAD_ACTIVITY_ACCESS (#24400) 2023-06-15 22:11:24 +01:00
Michael S. Molina dc042c6c3d feat: Allows new values for single value filters (#24388) 2023-06-15 13:27:42 -07:00
Thiago Rossener 892de8a232 docs: Restyle documentation landing page and community page (#24393) 2023-06-15 09:57:37 -06:00
Vitali LogvinandVitali Logvin fa82ee1947 feat: add dashboard page full xlsx export (#24287)
Co-authored-by: Vitali Logvin <vitali.logvin@noogadev.com>
2023-06-15 14:43:34 +03:00
Maxime Beauchemin d2b0b8eac5 feat: make data tables support html (#24368) 2023-06-14 15:54:07 -07:00
Alvaro Olmedo RodriguezandAlvaro Olmedo 19a94009b0 fix: Fixes #24391 (Problems with celery beat running with docker when the machine is rebooted suddenly) (#24392)
Co-authored-by: Alvaro Olmedo <alvaro.olmedo@datadope.io>
2023-06-14 14:37:55 -06:00
Nick 17e79ace79 fix(helm): Add fullname prefix to init job (#24221) 2023-06-14 12:29:52 -07:00
John Bodley fcf7cba8fe chore: Remove previously deprecated dataset metrics column from RESTful API (#24401) 2023-06-14 11:52:42 -07:00
Daniel Vaz Gaspar c69634df27 chore: remove deprecated apis on superset, get_or_create_table, sqllab_viz (#24375) 2023-06-14 08:48:29 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 62b4564c94 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.9 to 5.59.11 in /superset-websocket (#24379)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 12:06:07 -06:00
John Bodley 7227df13b9 chore: Update GitHub issue templates (#24310) 2023-06-13 09:56:49 -07:00
Hugh A. Miles II eb05225f0d feat(sshtunnel): add configuration for SSH_TIMEOUT (#24369) 2023-06-13 12:29:40 -04:00
Daniel Vaz Gaspar 1328c56aab fix: FAB CSS on Superset (#24390) 2023-06-13 16:51:21 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 69984e6702 build(deps-dev): bump @typescript-eslint/parser from 5.59.8 to 5.59.11 in /superset-websocket (#24365)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 08:57:25 -06:00
Daniel Vaz Gaspar c8e958fb7e chore: remove deprecated apis stop_query, queries, search_queries (#24360) 2023-06-13 15:56:06 +01:00
Daniel Vaz Gaspar ca478bd5c4 chore: remove deprecated apis copy_dash, save_dash and add_slices (#24353) 2023-06-13 15:08:47 +01:00
Ville Brofeldt c09b8c6ec8 chore: remove user registrations menu for non-admins (#24198) 2023-06-13 14:03:58 +03:00
Daniel Vaz Gaspar 6f145dfe36 chore: remove deprecated apis on superset, testconn, validate_sql_json, schemas_access_for_file_upload, extra_table_metadata (#24354) 2023-06-13 11:03:19 +01:00
Daniel Vaz Gaspar c04bd4c6a7 chore: remove deprecated api /superset/available_domains (#24381) 2023-06-13 10:19:19 +01:00
Daniel Vaz Gaspar 93ba59d868 chore: remove deprecated apis estimate_query_cost, results, sql_json, csv (#24359) 2023-06-13 09:31:16 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ebca20b800 build(deps-dev): bump eslint from 8.41.0 to 8.42.0 in /superset-websocket (#24286)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 20:59:47 -06:00
Maxime Beauchemin dd77aacc51 feat: add a tooltip to clarify metric_name in the DatasetEditor (#24348) 2023-06-12 18:32:15 -07:00
John Bodley 2b364898a5 fix: Address regression introduced in #22853 (#24121) 2023-06-12 15:32:40 -07:00
cleslieandCalum Leslie 6f25275d76 feat: Configurable default row limit for native filters (#24043)
Co-authored-by: Calum Leslie <calum.leslie@skyscanner.net>
2023-06-12 15:47:58 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cd78ccb2c2 build(deps-dev): bump @types/uuid from 9.0.1 to 9.0.2 in /superset-websocket (#24338)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 13:54:00 -06:00
John Bodley e7b27f0778 fix: Ensure "Import Dashboard" menu item adheres to PVM (#24143) 2023-06-12 11:43:28 -07:00
John Bodley a3aacf2527 fix: Address dashboard permission regression in #23586 (#24350) 2023-06-12 11:15:27 -07:00
Kamil Gabryjelski c728cdf501 fix: deck.gl Scatterplot min/max radius (#24363) 2023-06-12 19:51:35 +02:00
Michael S. Molina a7f7f6645d feat: Convert ENABLE_BROAD_ACTIVITY_ACCESS and MENU_HIDE_USER_INFO into feature flags (#24345) 2023-06-12 10:40:22 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 36ff5eb39a build(deps-dev): bump @types/ws from 8.5.4 to 8.5.5 in /superset-websocket (#24337)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 11:39:35 -06:00
Kamil Gabryjelski e4bb4a4771 chore: Disable redux errors (#24362) 2023-06-12 19:13:36 +02:00
Daniel Vaz Gaspar e0253a4b25 chore: remove deprecated api /superset/tables/<int:db_id>/... (#24342) 2023-06-12 15:31:48 +01:00
Daniel Vaz Gaspar 2df699c99c chore: remove deprecated api /superset/filter/... (#24335) 2023-06-12 14:17:23 +01:00
Daniel Vaz Gaspar 3d9c7d4598 chore: remove deprecated api /superset/datasources (#24333) 2023-06-12 13:07:56 +01:00
Rob Moore 6d9df432c1 fix(sqllab): Inefficient SqlaTable query (#24343) (#24344) 2023-06-12 12:14:07 +03:00
John Bodley 0e3f1f638c chore: Remove deprecated ENABLE_ACCESS_REQUEST workflow (#24266) 2023-06-09 18:54:31 -07:00
Michael S. Molina 4e47771df1 fix: Viz migration adjustments - 1 (#24341) 2023-06-09 15:39:23 -03:00
John Bodley 9adb023880 chore(druid): Remove legacy Druid NoSQL logic (#23997) 2023-06-09 15:33:23 -03:00
Michael S. Molina bdb8bbef32 chore: Removes getUiOverrideRegistry (#24330) 2023-06-09 08:35:11 -03:00
mattitoo 65bfe2e21d docs: Add BurdaForward to "In the Wild" and merge "News" and "Entertainment" to "Media & Entertainment" (#24339) 2023-06-09 14:13:14 +03:00
Elizabeth Thompson af8f7253e1 fix: update order of build for testing a release (#24317) 2023-06-08 16:30:39 -07:00
Jack Fragassi e791ba5876 fix: Copy dashboard filters when copying dashboard (#24303) 2023-06-08 15:49:30 -07:00
JUST.in DO IT c4242a3657 chore(sqllab): Remove validation result from state (#24082) 2023-06-08 12:53:16 -07:00
Michael S. Molina 7e626c04cb chore: Deprecates some NVD3 charts in 3.0 (#24322) 2023-06-08 16:34:25 -03:00
Michael S. Molina e5b7f7c9b5 fix: Time shifts with different granularity for ECharts (#24176) 2023-06-08 16:03:37 -03:00
Michael S. Molina e922f0993d feat: Removes the preset-chart-xy plugin (#23943) 2023-06-08 15:42:10 -03:00
Sam Firke bcb145df99 docs: add link to intro with supported database types (#24313) 2023-06-08 11:42:47 -06:00
Michael S. Molina 6ce85921fc feat: Removes the Multiple Line Charts (#23933) 2023-06-08 14:41:58 -03:00
Beto Dealmeida bf91ed98ee fix: DB extension collapse (#24315) 2023-06-08 10:41:37 -07:00
miomiocat fd3effe712 feat: support complex types and use get_columns implementation of starrrocks python client (#24237) 2023-06-08 11:08:37 -06:00
John Bodley 69c2cd5f40 chore: Remove unused sliceCanEdit logic (#24312) 2023-06-08 09:19:39 -07:00
Michael S. Molina f5148ef728 feat: Migrates Dual Line Chart to Mixed Chart (#23910) 2023-06-08 12:31:28 -03:00
Michael S. Molina af24092440 feat: Migrates TreeMap chart (#23741) 2023-06-08 11:27:08 -03:00
Michael S. Molina 522eb97b65 feat: Migrates Pivot Table v1 to v2 (#23712) 2023-06-08 10:13:39 -03:00
Santiago CárdenasandSantiago e13b80aff1 fix(sql-lab): SQL Lab commit connection even if no CTA query is made (#19808)
Co-authored-by: Santiago <s@inkremental.co>
2023-06-07 16:35:23 -06:00
Evan Rusackas 46c2479db2 fix(capitalization): Capitalizing the 'metric' label in Pivot Tables (#24265) 2023-06-07 16:34:52 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 977e50014d build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.8 to 5.59.9 in /superset-websocket (#24299)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 16:34:17 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2757fa5cf1 build(deps): bump tox from 4.5.2 to 4.6.0 in /requirements (#24297)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 16:34:04 -06:00
Ville Brofeldt 5d3c1d2222 chore: reorder k-v migration for 2.1.1 (#24306) 2023-06-07 23:06:02 +03:00
JUST.in DO IT 9c7b8b8c78 fix(dashboard): max call size stack error (#24304) 2023-06-07 09:23:58 -07:00
Michael S. Molina ede6acdb3a chore: Adds #24029 breaking change to UPDATING.md (#24295) 2023-06-06 09:58:35 -07:00
Elizabeth Thompson 8634af0a0f chore: update UPDATING for 2.1.0 (#24294) 2023-06-05 12:56:19 -07:00
Michael S. Molina dd8836bddf fix: Removes file extension from textUtils (#24293) 2023-06-05 15:12:59 -03:00
Michael S. Molina 6a1f365d9b fix: Text utils null value when reading module (#24291) 2023-06-05 13:16:16 -03:00
mattitoo cab34c2dbf docs: Adds new permissions from 2.1.0 and fixes some sql_lab permissions (#24288) 2023-06-05 13:07:14 +01:00
Daniel Vaz Gaspar 8fab3dbff4 fix: db validate parameters permission (#24185) 2023-06-05 13:06:00 +01:00
Evan Rusackas 18d2257a47 chore(build): creating default superset_text.yaml placeholder file (#24250) 2023-06-04 22:37:33 -06:00
Elizabeth Thompson 40fffc396c fix: ensure json is not None (#24280) 2023-06-03 08:19:36 -07:00
Craig Rueda c5ea40fb44 fix(migrations): Fixing cross filter migration (#24279) 2023-06-02 17:23:29 -07:00
Craig Rueda da05f2287a fix(migrations): Fixing cross filter migration (#24279) 2023-06-02 17:23:05 -07:00
Antonio Rivero 1d9a761de5 feat(sqllab): SQLEditor Extension (#24205) 2023-06-01 15:30:26 -04:00
John Bodley a4d5d7c6b9 chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
Evan Rusackas 7d7ce63970 chore(docs): upgrading docusaurus (fixes header links) (#24118) 2023-06-01 12:55:51 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f6e769ae94 build(deps): bump pre-commit from 3.3.1 to 3.3.2 in /requirements (#24110)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 10:12:49 -06:00
Daniel Vaz Gaspar f898c97ba8 fix: enable strong session protection by default (#24256) 2023-06-01 14:01:25 +01:00
amosdoublec 541e461b77 fix(docs): Update databricks.mdx with correct pip package name (#23562) 2023-05-31 13:03:30 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e45be6adac build(deps-dev): bump @typescript-eslint/parser from 5.59.7 to 5.59.8 in /superset-websocket (#24246)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 12:07:26 -06:00
eltimen 6d79ced48e docs: fix broken link in the security page (#24253) 2023-05-31 10:59:49 -06:00
Beto Dealmeida a3bbe35fb0 chore: tests for #24249 (#24251) 2023-05-31 09:23:07 -07:00
Michael S. Molina 5853574b98 fix: Typescript warnings when importing types (#24217) 2023-05-31 12:08:29 -03:00
Evan Rusackas d1c57e0ddb feat(flags): enabling and deprecating a few feature flags (#24232) 2023-05-30 17:12:55 -06:00
Beto Dealmeida 7e70f19b68 fix: dashboard ownership check (#24249) 2023-05-30 12:18:20 -07:00
Nick 9e3875cd9b fix(helm): Use correct default hostnames for postgres and redis (#24222) 2023-05-30 11:53:44 -07:00
John BodleyandMichael S. Molina 674da1b209 chore(native-filters): Ensure consistent error handling (#24206)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-05-30 09:08:38 -07:00
Saish Narvekar 6e7b93eb48 docs: removed extra ` from documentation (#24231) 2023-05-30 09:38:52 -06:00
7b7e8f19dd docs: point the reader to "setup.py" for latest package version (#24235)
Co-authored-by: boenshao <boenshao@berry-ai.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-05-30 09:37:57 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7239721d01 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.7 to 5.59.8 in /superset-websocket (#24245)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:37:20 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 636bdbf00d build(deps-dev): bump @types/node from 20.2.3 to 20.2.5 in /superset-websocket (#24240)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:37:04 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e52ec18717 build(deps): bump winston from 3.8.2 to 3.9.0 in /superset-websocket (#24239)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:36:46 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 953e4cfa9a build(deps): bump tox from 4.5.1 to 4.5.2 in /requirements (#24238)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:36:29 -06:00
Ville Brofeldt 8375baac99 fix(dataset-api): allow undefined schema in post (#24242) 2023-05-30 17:48:54 +03:00
Michael S. Molina f56c851ec8 refactor: Extracts type definitions from ExtensionsRegistry (#24214) 2023-05-30 08:59:25 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 50535e427e build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.6 to 5.59.7 in /superset-websocket (#24184)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 14:04:28 -06:00
Evan Rusackas cc68d626bc fix: removing problematic "formattable" tag (#24207) 2023-05-26 14:04:10 -06:00
Hugh A. Miles II 85b3401be8 fix: Tag link issue from CRUD page (#24223) 2023-05-26 15:40:49 -04:00
Beto Dealmeida 9df8d8dda5 feat: extension hook for DB delete (#24191) 2023-05-25 13:21:55 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f8ec5f280b build(deps-dev): bump eslint from 8.40.0 to 8.41.0 in /superset-websocket (#24167)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 08:38:42 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 218d1c7405 build(deps-dev): bump @typescript-eslint/parser from 5.59.6 to 5.59.7 in /superset-websocket (#24183)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 16:34:42 -06:00
Hugh A. Miles II 8b0c68c0d2 chore(ssh): Allow users to set TUNNEL_TIMEOUT from config (#24202) 2023-05-24 16:25:02 -04:00
Lucas G. de Queirozandlucasqueiroz97 c54eedfdc0 fix(translation): complete portuguese(brazilian) translation (#24181)
Co-authored-by: lucasqueiroz97 <lucas.queiroz@dataway.info>
2023-05-23 15:16:39 -03:00
JUST.in DO IT 779b372d89 chore(sqllab): Remove functionNames from sqlLab state (#24026) 2023-05-23 10:42:00 -07:00
JUST.in DO IT 8e45af43e1 fix(explore): rendering regression on standalone (#24177) 2023-05-23 09:49:04 -07:00
miomiocatandVille Brofeldt f036adbc4f feat: Add StarRocks support (#23209)
Signed-off-by: miomiocat <284487410@qq.com>
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2023-05-23 08:33:27 -06:00
Ville Brofeldt bc0079f2fb fix(plugin-chart-echarts): force min y-tick for log axis with zero (#24186) 2023-05-23 13:25:08 +03:00
EugeneTorapandsebastianliebscher a7f9c66e57 chore: Bump sqlparse to 0.4.4 (#24045)
Co-authored-by: sebastianliebscher <liebscher.sebastian@protonmail.ch>
2023-05-23 10:15:24 +03:00
Hugh A. Miles II 7891cea7f7 fix: always allow tags to be returned via the API (#24060) 2023-05-22 14:09:12 -04:00
Beto Dealmeida c3b96d12de feat: split database information (#24067) 2023-05-22 13:35:58 -04:00
JUST.in DO IT 6a44e0ddd4 fix(sqllab): Table options rendering regression (#24142) 2023-05-22 10:32:45 -07:00
Jack Fragassi 2b236cbbd6 fix: Errors when saving dataset (#24113) 2023-05-22 13:21:30 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 455e23b014 build(deps-dev): bump @types/node from 20.2.0 to 20.2.3 in /superset-websocket (#24168)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 08:52:35 -06:00
Ville Brofeldt 71d0543f28 fix(permalink): migrate to marshmallow codec (#24166) 2023-05-22 13:35:58 +03:00
Daniel Vaz Gaspar 82d4249e17 fix: disable SHOW_STACKTRACE by default (#24137) 2023-05-22 10:00:07 +01:00
Matthew Chiang fc8c537118 feat: Add deck.gl Heatmap Visualization (#23551) 2023-05-22 10:23:07 +03:00
Stepan febc07aec3 fix(table): percentage metric should use verbose map (#24158) 2023-05-21 12:52:23 +03:00
Stepan 09e399ae28 fix(reports): error when creation alert/report with localization (#24159) 2023-05-21 12:52:07 +03:00
Sebastian Liebscher 1583090623 chore(sqllab): remove deprecated PyArrow API (#24135) 2023-05-20 21:57:18 +03:00
Lily Kuang 66594ad647 fix: repeated color in the same chart (#23762) 2023-05-19 14:48:54 -07:00
Rob Moore 6159ced86b fix: handle temporal columns in presto partitions (#24054) 2023-05-19 23:29:42 +03:00
Ville Brofeldt 5424b95138 chore: deprecate rls base related filters (#24128) 2023-05-19 21:55:05 +03:00
John Bodley 8b4222ff9e chore: Refactor command exceptions (#24117) 2023-05-19 09:08:12 -07:00
John Bodley 0496779434 chore: Update QUERY_LOGGER and SQL_QUERY_MUTATOR signatures (#24029) 2023-05-19 06:42:19 -07:00
John Bodley 488ec02e70 chore(report): Use for/else clause (#24107) 2023-05-19 06:41:17 -07:00
John Bodley ba0bb20be5 fix: Revert tox basepython (#24124) 2023-05-19 06:40:38 -07:00
Ville Brofeldt f817c10422 fix(plugin-chart-echarts): normalize temporal string groupbys (#24134) 2023-05-19 16:29:11 +03:00
Vitali LogvinandVitali Logvin d0687d04eb feat: dashboard page xlsx export (#24005)
Co-authored-by: Vitali Logvin <vitali.logvin@noogadev.com>
2023-05-19 11:18:16 +01:00
John Bodley d583ca9ef5 chore: Embrace the walrus operator (#24127) 2023-05-19 00:37:13 -07:00
6b5459121f feat: database extension registry (#23174)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Lily Kuang <lily@preset.io>
2023-05-18 17:00:06 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e856e35c53 build(deps-dev): bump @types/node from 20.1.7 to 20.2.0 in /superset-websocket (#24111)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 16:22:58 -06:00
JUST.in DO IT 515986172f fix(sqllab): Disable Select All on table selector (#24120) 2023-05-18 12:53:13 -07:00
Ville Brofeldt 2222073778 fix(ci): remove username from owner (#24114) 2023-05-18 15:38:14 +03:00
Michael S. Molina df4d16a7ee feat: Make time shifted series colors match the original series (#24048) 2023-05-18 08:40:50 -03:00
ybudweiserandYitzchak Weiser ea5d0cc74e build: helm template to set init job annotations (#23941)
Co-authored-by: Yitzchak Weiser <yweiser@redseal.net>
2023-05-18 11:41:48 +03:00
Hugh A. Miles II 8fb0d6e450 chore: update packages for vanta FE security concerns (#24106) 2023-05-17 20:45:41 -04:00
jwilliams-ocient f0a26fd86a fix(ocient): convert pyocient GIS data types to geoJSON (#23814) 2023-05-17 13:35:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 16bcfa12c8 build(deps-dev): bump @types/node from 20.1.4 to 20.1.7 in /superset-websocket (#24087)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:28:07 -06:00
Ville Brofeldt 7114bba718 chore(thumbnails): change default executor to logged in user (#22801) 2023-05-17 20:32:20 +03:00
Geido 66fb4867dc chore: Remove unnecessary information from response (#24056) 2023-05-17 20:07:47 +03:00
John Bodley 4ef9d25d58 chore: Refactor [Presto|Trino]EngineSpec._partition_query (#23944) 2023-05-17 09:11:55 -07:00
Evan Rusackas 614b0aa7fd chore(docs): Updating DB connection instructions in 1st Dash instruct… (#24081) 2023-05-17 09:58:35 -06:00
Ville Brofeldt 51929255ba chore(reports): change default executor to owner (#22799) 2023-05-17 18:48:28 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 357745f418 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.6 in /superset-websocket (#24073)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 22:03:38 -06:00
de2d7af818 fix(docs): Installation instruction changes (#23867)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-05-16 21:54:35 -06:00
Beto Dealmeida fe903c3dfd chore: add extension for related DB assets on delete (#24050) 2023-05-16 15:41:11 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 61418d2828 build(deps-dev): bump @typescript-eslint/parser from 5.59.2 to 5.59.6 in /superset-websocket (#24074)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 15:56:35 -06:00
curious86andaadhikari e3514054f9 fix(alert modal): set current user as default alert owner during new alert initialization (#24070)
Co-authored-by: aadhikari <aadhikari@apple.com>
2023-05-16 15:55:37 -06:00
Sam Firke 36bcdfec97 chore(docs): tidy up supported DB engines for metadata store (#24080) 2023-05-16 15:54:37 -06:00
Kamil Gabryjelski 4f3fbd354b feat: Cross filters scoping (#24020) 2023-05-16 21:44:05 +02:00
Kiko Barr fa0bf38694 chore(docs): Updated awkward phrase in FAQ, "force" (#24079) 2023-05-16 12:31:19 -06:00
John Bodley 58e1bcde9e chore(trino): Bump Trino version to address an IANA time zone issue (#24069) 2023-05-16 06:54:46 -07:00
John Bodley 2f0caf8a0d fix: Handle python_date_format in ExploreMixin (#24068) 2023-05-16 06:54:12 -07:00
Beto DealmeidaandHugh A. Miles II 78bc0693d4 chore: bump dependencies (#23581)
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2023-05-15 19:06:10 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6baa552950 build(deps): bump vm2 from 3.9.15 to 3.9.18 in /superset-frontend/cypress-base (#24065)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 16:47:41 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 83401a6b16 build(deps): bump vm2 from 3.9.17 to 3.9.18 in /superset-frontend (#24066)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 16:47:19 -06:00
Beto Dealmeida 2938c5dc03 fix: handle python_date_format in ExploreMixin (#24062) 2023-05-15 17:51:14 -04:00
Hugh A. Miles II de96372ba7 chore: add log for ssh tunnel information (#24058) 2023-05-15 10:43:04 -07:00
Evan Rusackas 2f33c477e9 chore(docs): add version for postgres when doing brew install (#24025) 2023-05-15 10:30:13 -06:00
Felix 422e21eb16 fix(plugin-chart-handlebars): Fix TypeError when using handlebars columns raw mode (#23801) 2023-05-15 10:01:31 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 33eb4c6b71 build(deps-dev): bump @types/node from 20.1.2 to 20.1.4 in /superset-websocket (#24052)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 09:48:25 -06:00
EugeneTorapandjustin-park 1670275571 feat: Use AntD table in FilterableTable (#23035)
Co-authored-by: justin-park <justin.park@airbnb.com>
2023-05-12 16:36:35 -03:00
Daniel Vaz Gaspar 97482c57b5 chore: bump werkzeug and Flask (#23965) 2023-05-12 15:01:30 +01:00
Ville Brofeldt f7dd52b8f5 feat: implement time grain in temporal filters (#24035) 2023-05-12 14:41:09 +03:00
EugeneTorap 4a828f57f4 chore: Update mypy and fix stubs issue (#24033) 2023-05-12 08:47:14 +01:00
Beto Dealmeida 7fe0ca12c0 chore: remove duplicates of validate_adhoc_subquery (#24023) 2023-05-11 17:00:06 -07:00
Lily Kuang 479be86596 fix: typing and using enter to select the table on sql lab layout (#24028) 2023-05-11 16:05:58 -07:00
JUST.in DO IT 7a55625243 fix(sqllab): rollback clean comments out (#24009) 2023-05-11 09:41:21 -07:00
Sebastian Liebscher c963416c09 chore: remove deprecated distutils (#24001) 2023-05-11 19:00:04 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c9a0694116 build(deps-dev): bump @types/node from 20.1.1 to 20.1.2 in /superset-websocket (#24017)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 09:59:47 -06:00
VED PRAKASH KASHYAP 4497601ebc feat(chart-controls): Show detailed data type tooltip when hovering type icon (#23970) 2023-05-11 08:27:24 -06:00
Sebastian Liebscher c8beaabab8 test: cover empty AdvancedDataTypes internet_address and internet_port (#23756) 2023-05-11 13:02:21 +03:00
Sebastian Liebscher 0788b5fdcc chore: fix deprecation warnings for SQLALchemy URL (#23770) 2023-05-11 11:20:53 +03:00
Sebastian LiebscherandEugeneTorap e3719a1b07 feat: bump to Python3.9 (#23890)
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-05-10 20:21:56 +03:00
Beto Dealmeida 2a2f8a8e0a chore: mark explore_json as deprecated in 3.0 (#23976) 2023-05-10 09:48:29 -07:00
Kamil Gabryjelski 7757b61c22 chore: Deprecate DND feature flags (#23981) 2023-05-10 17:13:03 +02:00
Michael S. Molina 7fb8b38cdf feat: Allows dynamic type on viz migrations (#23975) 2023-05-10 12:01:43 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 95fbbeb326 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.5 in /superset-websocket (#23984)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 08:55:36 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ce0a857906 build(deps-dev): bump @types/node from 20.1.0 to 20.1.1 in /superset-websocket (#23983)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 08:55:17 -06:00
Evan Rusackas 33da642d26 chore(deps): Add dependency-review action (#23951) 2023-05-10 08:08:30 -06:00
Evan Rusackas 20d439ac01 chore(actions): adding JavaScript to CodeQL config (#23974) 2023-05-10 08:08:21 -06:00
EugeneTorap a35764839b chore: Comment 3.8 PY required CI checks (#24002) 2023-05-10 16:35:26 +03:00
EugeneTorap 543040b304 chore: Bump python libs (#23986) 2023-05-10 13:19:25 +03:00
Sam Firke 48f3db946e docs(feature flags): remove the conflicting entry for DRILL_BY (#23994) 2023-05-09 12:35:41 -06:00
Ville Brofeldt 7a4117097a fix(migration): handle permalink edge cases correctly (#23980) 2023-05-09 15:28:24 +03:00
JUST.in DO IT d96b72d46f chore(sqllab): Refactor react-query by redux-toolkit query (#23760) 2023-05-08 14:25:23 -07:00
John Bodley 2af76fc41f fix: MySQL et al. super calls (#23971) 2023-05-08 14:12:39 -07:00
Antonio Rivero 724fd82919 fix(filters): Stop breaking if translateToSql returns an object (#23715) 2023-05-08 16:03:53 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cf3410ad63 build(deps-dev): bump eslint from 8.39.0 to 8.40.0 in /superset-websocket (#23961)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 13:56:03 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4dc5a922e6 build(deps-dev): bump @types/node from 20.0.0 to 20.1.0 in /superset-websocket (#23962)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 13:55:53 -06:00
Beto Dealmeida 9fd936c18c chore(slack): use recommended method for file upload (#23744) 2023-05-08 12:13:21 -07:00
JUST.in DO IT d23df35087 fix(sqllab): custom url params disappeared (#23952) 2023-05-08 11:55:56 -07:00
Denis Krivenko 9681d85999 chore(helm): Split service templates into separate files (#23923) 2023-05-08 09:15:37 -07:00
Daniel Vaz Gaspar cfc70ea8b0 chore: deprecate /superset/add_slices (#23936) 2023-05-08 09:28:21 +01:00
Evan Rusackas 93789b8bec docs: fixing a broken markdown link about SSH tunneling (#23911) 2023-05-05 17:33:50 -04:00
Daniel Vaz Gaspar 2a63b39f33 chore: add codeQL to CI (#23949) 2023-05-05 19:39:57 +01:00
Daniel Vaz Gaspar 694f93326d fix: methods incorrect type and update deprecated targets (#23935) 2023-05-05 18:57:27 +01:00
JUST.in DO IT 841726d432 fix(sqllab): clean comments within quotes (#23908) 2023-05-05 09:55:45 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> aabab5c456 build(deps-dev): bump @types/node from 18.16.3 to 20.0.0 in /superset-websocket (#23947)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 09:49:15 -06:00
Denis Krivenko 308995f56a chore(helm): Declare missing properties (#23926) 2023-05-05 07:31:37 -07:00
Michael S. MolinaandEvan Rusackas b4371f68b7 feat: Adds a control to set the Secondary Y-axis bounds in Mixed charts (#23917)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-05-05 10:11:54 -03:00
Hugh A. Miles II f3f5d926c1 fix: update migration chart_ds_constraint to have seperate batch op (#23942) 2023-05-04 13:53:43 -07:00
Michael S. Molina b7689fbe53 chore: Deprecates viz.py (#23934) 2023-05-04 15:38:21 -03:00
Hugh A. Miles IIandElizabeth Thompson 3dc4de4216 fix(migration): add log for values unseen in Slice.datasource_type (#23925)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-05-04 09:26:45 -04:00
Ville Brofeldt f1fa1a733d chore(key-value): use json serialization for main resources (#23888) 2023-05-04 08:04:05 +03:00
Michael S. MolinaandVille Brofeldt 10d640e940 feat: Considers GENERIC_CHART_AXES in viz migrations (#23905)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-05-03 18:57:07 -03:00
mattitoo 2e1cf2446c docs: Add description of standard Superset roles (#23795) 2023-05-03 15:31:58 -06:00
Beto Dealmeida ad19cd9fbd fix: timeout should be an integer (#23924) 2023-05-03 13:33:00 -07:00
JUST.in DO IT 842659dbfe refactor: useEffectEvent for efficient deps (#23871) 2023-05-03 11:52:04 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e639cebdd1 build(deps): bump pre-commit from 3.2.2 to 3.3.1 in /requirements (#23913)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 10:41:31 -06:00
Daniel Vaz Gaspar e5f512e348 fix: check sqlalchemy_uri (#23901) 2023-05-03 11:14:03 +01:00
curious86andaadhikari d4b9c18271 fix(sql-editor): Fix run stop button color to improve usability (#23892)
Co-authored-by: aadhikari <aadhikari@apple.com>
2023-05-03 12:06:25 +03:00
Hugh A. Miles II 3528f4140c fix: remove feature flag for tags on Dashboard API for Tags (#23909) 2023-05-02 17:02:42 -04:00
John Bodley a8e02cd851 fix(native-filters): Address spelling mistakes (#23881) 2023-05-02 12:30:30 -06:00
Etienne Baratte a170ae4368 feat: custom d3 number locale (#20075) 2023-05-02 12:29:33 -06:00
Michael S. Molina f2fc4a03dc feat: Changes the Select component to preserve the search value when selecting (#23869) 2023-05-02 09:01:30 -03:00
Sebastian Liebscher 3c381c5361 chore(ci): bump actions (#23895) 2023-05-02 08:59:00 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 50d342c0c9 build(deps-dev): bump @types/jsonwebtoken from 9.0.1 to 9.0.2 in /superset-websocket (#23841)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 22:10:36 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3a1fb9af40 build(deps-dev): bump @typescript-eslint/parser from 5.59.0 to 5.59.2 in /superset-websocket (#23894)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 22:10:17 -06:00
JUST.in DO IT 839bc088f9 fix(chart): scrollbar keep flusing on and off (#23778) 2023-05-01 14:10:44 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 11dbe131d6 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.2 in /superset-websocket (#23891)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 14:33:17 -06:00
Beto Dealmeida 2a1a061a3e fix: handle comments in has_table_query (#23882) 2023-05-01 11:06:54 -07:00
Denis Krivenko a994145e37 chore(helm): Use template comments for the chart license header (#23726) 2023-05-01 10:48:16 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> db9a9cfc62 build(deps-dev): bump @types/node from 18.16.0 to 18.16.3 in /superset-websocket (#23887)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 11:22:07 -06:00
Kamil Gabryjelski 78833bcc30 fix: Native time range filter in legacy charts (#23865) 2023-05-01 09:57:20 -07:00
Hugh A. Miles II ba00dfa584 fix: move dynamic schema out of base Postgres class (#23868) 2023-05-01 11:46:06 -05:00
Gerold BuschandGerold Busch 61d8a0bd12 feat: conditional coloring for big number chart (#23064)
Co-authored-by: Gerold Busch <gerold.busch@valtech.com>
2023-05-01 09:44:46 -06:00
Abhishek-kumar-samsung fd3030fc14 fix: npm run dev-server error resolved (#23702) 2023-04-30 11:13:58 -06:00
Beto Dealmeida 707c626876 fix(dremio): query with alias (#23872) 2023-04-28 15:08:28 -07:00
JUST.in DO IT 594d3e0e0c fix(alerts): flaky test error (#23860) 2023-04-28 08:57:57 -07:00
Kamil Gabryjelski 60046ca1cc chore: Add Cypress tests for drill by (#23849) 2023-04-28 17:33:45 +02:00
Daniel Vaz Gaspar 31d33592ef chore: bump wtforms and add missing flask-limiter (#23680) 2023-04-28 15:31:57 +01:00
EugeneTorap 689bc8ea04 chore: Use nh3 lib instead of bleach (#23862) 2023-04-28 14:36:51 +01:00
EugeneTorap 4a3984e49f chore: Bump polyline to 2.0.0 (#23844) 2023-04-28 14:18:46 +02:00
EugeneTorap dab038c005 chore: Bump redis to 4.5.4 (#23845) 2023-04-28 10:46:56 +02:00
Kamil Gabryjelski 07381834f8 chore: Add logging events for drill by (#23854) 2023-04-28 09:06:57 +02:00
John Bodley 053dca10bd fix(native-filters): Address spelling mistakes (#23832) 2023-04-28 11:21:34 +12:00
John Bodley f3a6754858 fix(tests): Ensure deterministic SELECT ordering for CSV upload tests (#23856) 2023-04-28 10:24:36 +12:00
JUST.in DO IT f5b1711815 fix(chart): chart updates are not retained (#23627) 2023-04-28 10:00:33 +12:00
Craig Rueda 33bb27bc0f fix(ephemerals): Quick fix for ephemeral spin-up (#23857) 2023-04-27 15:51:53 -06:00
Lily Kuang 0bf8907f2f feat: format timestamps in drill by breadcrumbs (#23698) 2023-04-27 09:17:33 -07:00
Kamil Gabryjelski 5f035499ac fix: Preserve filters from previous drillings in drill by (#23831) 2023-04-26 20:07:09 +02:00
Kamil Gabryjelski 109f51bbbd fix: Loading state when cols for drill by are loading (#23830) 2023-04-26 19:36:21 +02:00
Lily Kuang 369aafd9ae feat: add verbose map to get /dataset/ endpoint (#23655) 2023-04-26 10:17:32 -07:00
Hugh A. Miles II fa8f98472c chore: migrate sqllab_viz endpoint to api v1 (#23729) 2023-04-26 10:53:41 -04:00
Kamil Gabryjelski 40ae074ff0 chore: Upgrade Cypress to 10.11.0 (#23813) 2023-04-26 16:17:59 +02:00
Daniel Vaz Gaspar e805dec141 docs: discourage the use of SQLite (#23794) 2023-04-26 14:28:42 +01:00
Michael S. Molina aa2edfc506 chore: Deprecates 3.0 consented feature flags (#23785) 2023-04-26 09:51:46 -03:00
Michael S. Molina 09bd40bf15 fix(revert): Reverts storybook-addon-mock inclusion (#23818) 2023-04-26 08:53:13 -03:00
Arkadii Yakovets ff126542d8 fix(utils): evaluate date parser multiple holiday results correctly (#23685) 2023-04-26 13:59:31 +03:00
Geido 8a88ab3c4b fix: Hide FiltersPanel in standalone mode 3 (#23811) 2023-04-26 11:06:58 +03:00
Beto Dealmeida 314987f32d fix: pivot v2 charts created before GENERIC_CHART_AXES is enabled (#23731) 2023-04-25 19:44:50 -07:00
Satoko e8121b1cd2 docs: Add Superset Overview Video to README (#23820) 2023-04-25 14:46:05 -06:00
Michael S. Molina 6d559559cc fix: Clean up docker-ephemeral-env secrets command (#23819) 2023-04-25 15:43:24 -03:00
Jack Fragassi ae0068692a fix(rls api): Add missing init file (#23817) 2023-04-25 13:01:54 -04:00
Nicolas Charpentier 60c2e7013d docs: cleanup references to apache-superset/superset-ui (#23796) 2023-04-25 09:18:27 -06:00
JUST.in DO IT 7e4be7d1ea fix(sqllab): test failed due to legacy api url (#23805) 2023-04-25 05:58:28 -07:00
Stepan 742c2cd8fb fix(datasource): saving new calculated columns (#23783) 2023-04-24 12:56:30 -07:00
Elizabeth Thompson 71106cfd97 feat: create dtype option for csv upload (#23716) 2023-04-24 12:53:53 -07:00
Diego Medina 4873c0990a chore: Add tests to SQL lab button components (#22916) 2023-04-24 12:17:51 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> baec9ddba7 build(deps-dev): bump @types/node from 18.15.13 to 18.16.0 in /superset-websocket (#23791)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:16:37 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a9d0d70977 build(deps-dev): bump eslint from 8.38.0 to 8.39.0 in /superset-websocket (#23790)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:16:21 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> be5c1b0696 build(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /superset-websocket (#23789)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:16:07 -06:00
Kamil Gabryjelski 039740cdd4 chore: Add DRILL_BY to FEATURE_FLAGS.md (#23798) 2023-04-24 19:10:46 +02:00
Michael S. Molina 90e2b839a3 chore: Deprecates FilterBox (#23784) 2023-04-24 13:54:31 -03:00
Michael S. Molina f7810b6020 feat(revert): Re-introduces the RLS page (#23777) 2023-04-24 13:10:58 -03:00
Michael S. Molina c536d92ade fix: Docker ephemeral env (#23786) 2023-04-24 13:04:47 -03:00
Kamil Gabryjelski d4c0ae34f4 fix: Context menu crashing when there is no dimension in Echarts Series charts (#23797) 2023-04-24 17:42:56 +02:00
Daniel Vaz Gaspar 6ae5388dcf fix: allow db driver distinction on enforced URI params (#23769) 2023-04-23 15:44:21 +01:00
adde66785c feat: Add Ocient support (#22812)
Co-authored-by: jwilliams-ocient <60358443+jwilliams-ocient@users.noreply.github.com>
Co-authored-by: Jordan Williams <jwilliams@ocient.com>
Co-authored-by: rmasters1 <100157128+rmasters1@users.noreply.github.com>
2023-04-22 19:49:32 -06:00
Hugh A. Miles II 669e1802a6 fix: [chart power query] error show when user input column with x-axis (#23776) 2023-04-22 18:57:20 -04:00
John Bodley 4b3e507e8b fix(native-filters): Fix encoding of non-temporal default values (#23779) 2023-04-22 11:48:20 +12:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3193111d98 build(deps-dev): bump @types/node from 18.15.12 to 18.15.13 in /superset-websocket (#23765)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 16:40:01 -06:00
Piyush Khandelwal b92ace46b0 fix(sqllab): Persisting tab state for saved query (#23087) 2023-04-21 12:23:34 -06:00
Evan Rusackas 35f36a20ff chore(e2e): skip the worst offender of flaky tests. (#23772) 2023-04-21 11:48:33 -06:00
Kamil Gabryjelski b734a0f82e feat: Display both queries result in Table mode for Mixed Chart in drill by modal (#23768) 2023-04-21 18:46:02 +02:00
Evan Rusackas 4d97ecec65 chore(feature flags): updating the status of a few flags (#23670) 2023-04-21 10:13:45 -06:00
Kamil Gabryjelski 2f7229cae8 fix: Drill by modal resizing (#23757) 2023-04-21 17:41:31 +02:00
Ville Brofeldt 764c3c95cf fix(mssql): apply top after distinct (#23751) 2023-04-21 17:02:59 +03:00
Kamil Gabryjelski 0b43112873 fix: Further drilling by different groupby fields (#23754) 2023-04-21 08:50:44 +02:00
Sebastian Liebscher b31efbae7c chore: remove RemovedInMarshmallow4 warnings (#23704) 2023-04-21 09:11:46 +03:00
Evan Rusackas 295975d16b chore(actions): Fix for Chromatic action using actions/checkout@v3 (#23759) 2023-04-20 21:47:52 -06:00
Evan Rusackas a3c971cbda chore(docs): copy change submitted through BugHerd (#23725) 2023-04-20 21:47:31 -06:00
John Bodley d0fda60c85 feat(native-filters): Add legacy (filter-box) to native filter migration script (#23269) 2023-04-21 15:12:33 +12:00
JUST.in DO IT 5bec1a65ae refactor(sqllab): Remove tableOptions from redux state (#23488) 2023-04-20 15:55:55 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a09162bb37 build(deps-dev): bump @types/node from 18.15.11 to 18.15.12 in /superset-websocket (#23746)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 14:33:49 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3028d40333 build(deps): bump vm2 from 3.9.15 to 3.9.17 in /superset-frontend (#23753)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 14:33:22 -06:00
Hugh A. Miles II c441a7050d chore: add check constraint to restrict Slice models datasource_type != "table" (#23614) 2023-04-20 12:43:59 -07:00
Michael S. MolinaandJUST.in DO IT 7a6fb86cbb fix: Make sure the DeprecatedSelect label is always a string (#23758)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-04-20 15:37:56 -03:00
Cemre Mengu c9ca17220f fix(cache): coerce schema_cache_timeout to None (#23157) 2023-04-20 12:26:47 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 171d93cee0 build(deps-dev): bump @typescript-eslint/parser from 5.58.0 to 5.59.0 in /superset-websocket (#23718)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 12:25:47 -06:00
Ville Brofeldt 60c9d68403 feat(adhoc-column): add resize option (#23748) 2023-04-20 17:03:18 +03:00
Ville Brofeldt b2b8c3e05b fix(ace-editor): use monospace fonts by default (#23747) 2023-04-20 14:45:43 +03:00
Daniel Vaz Gaspar f80e738196 fix: get or create db with an existing invalid URL (#23737) 2023-04-20 09:50:57 +01:00
Ville Brofeldt 306fb22021 chore(chart-data): add post processing error message to response (#23734) 2023-04-19 18:49:33 +03:00
Jack Fragassi 44557f5a23 chore(api v1): Deprecate datasource/save and datasource/get endpoints (#23678) 2023-04-18 17:51:24 -07:00
Kamil Gabryjelski 818a1d482b feat: Drill by error management (#23724) 2023-04-18 22:42:00 +02:00
Michael S. Molina d6b6d9eae6 feat: Makes "Add to dashboard" in Save chart modal paginated (#23634) 2023-04-18 16:31:09 -03:00
JUST.in DO IT 0c0d2b38a6 fix(sqllab): infinite running state on disconnect (#23669) 2023-04-18 12:26:29 -07:00
Jack Fragassi 8bd432274a chore(api v1): Deprecate superset/override_role_permissions endpoint (#23714) 2023-04-18 11:09:39 -07:00
Jack Fragassi 2a01aa66d5 feat: Add loading state to sqllab save/overwrite dataset modal (#23697) 2023-04-18 10:00:14 -07:00
Denis Krivenko 70f3cc0b27 chore(helm): Reformat helm chart templates (#23681) 2023-04-18 09:37:23 -07:00
Daniel Vaz Gaspar 0ad6c879b3 feat: add enforce URI query params with a specific for MySQL (#23723) 2023-04-18 17:07:37 +01:00
Francisco Muniz de Paula Neto e9b4022787 fix: is_select check for lowercase select with "WITH" clauses (#22370) 2023-04-18 08:59:50 -07:00
Ville Brofeldt 37a78b14be feat(sqllab): add headers when copying results to clipboard (#23720) 2023-04-18 18:56:15 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5a6b777cf8 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.58.0 to 5.59.0 in /superset-websocket (#23719)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 09:15:36 -06:00
JUST.in DO IT c197bf9e6d fix(sqllab): rendering performance regression (#23695) 2023-04-17 09:49:15 -07:00
Jack Fragassi 3d10296f4b fix: Database modal parameter inputs persisting after modal closed and reopened (#23686) 2023-04-17 09:33:29 -07:00
Mike J 810f52b924 feat(helm): update redis version due to critical CVE (HIGH PRIORITY) (#23707) 2023-04-17 07:38:11 -07:00
Michael S. Molina 6234888c69 chore: Removes deprecated feature flags for 3.0 (#23663) 2023-04-17 10:48:05 -03:00
Sam Firke b39edc1002 docs(translations): point broken tutorial link to Internet Archive copy (#23683) 2023-04-14 13:20:09 -06:00
John BodleyandMichael S. Molina 100ccb759c chore(presto): Expose schema and indexes to _partition_query method (#23674)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-04-15 06:24:54 +12:00
Ville Brofeldt cbbcc8d2e1 fix(plugin-chart-echarts): reorder totals and support multimetric sort (#23675) 2023-04-14 20:43:15 +03:00
Josh Soref 47fd73255e fix(ci): Fix GitHub workflow behavior for forks (#23117) 2023-04-14 09:23:00 -06:00
Kamil Gabryjelski da5f7155c6 fix: Further drill by in Pivot Table (#23692) 2023-04-14 15:50:13 +02:00
Michael S. Molina d66e6e6d40 fix: Zero values on Dual Line axis bounds (#23649) 2023-04-14 07:30:16 -03:00
Abhishek-kumar-samsung 240b29220f docs: nvm error while local setup (#23609) 2023-04-13 15:48:46 -06:00
Kenny Kwan 19404bc13e fix: url_params cache miss with global async query (#23641) 2023-04-13 23:35:02 +03:00
Elizabeth Thompson 26250173ab fix: allow for dependencies that could be undefined (#23682) 2023-04-13 12:01:57 -07:00
Kamil Gabryjelski a04e635416 feat: Implement breadcrumbs in Drill By modal (#23664) 2023-04-13 19:15:46 +02:00
yousoph 95d71fff04 chore: Update cross-filter tooltip text (#23654) 2023-04-13 09:52:04 -07:00
Sebastian Liebscher 536b1c4816 fix(docker): optimize docker build by better utilizing build cache (#23624) 2023-04-13 10:31:36 -06:00
Michael S. Molina 04bd528bed chore: Removes the UX_BETA feature flag (#23651) 2023-04-13 10:32:34 -03:00
Michael S. Molina 0974fa1172 chore: Enables GENERIC_CHART_AXES by default (#23652) 2023-04-13 08:55:01 -03:00
JUST.in DO IT 40bf1a550b fix(sqllab): Revert "rendering performance regression (#23653)" (#23671) 2023-04-13 08:23:12 -03:00
John Bodley b35b5a6e05 chore(db_engine_specs): Refactor get_index (#23656) 2023-04-13 09:23:16 +12:00
Hugh A. Miles II 976e33330f fix: presto CI failed test (#23666) 2023-04-12 15:27:53 -04:00
JUST.in DO ITandMichael S. Molina 75021a1eac refactor: introduce redux toolkit (#23460)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-04-12 10:26:32 -07:00
ʈᵃᵢ 350723bff8 fix: update log message for ALERT_REPORTS_NOTIFICATION_DRY_RUN (#23604) 2023-04-12 09:30:28 -06:00
Ville Brofeldt f49702feff feat(plugin-chart-echarts): add x-axis sort to multi series (#23644) 2023-04-12 16:13:41 +03:00
Kamil Gabryjelski 587e7759b1 feat: Support further drill by in the modal (#23615) 2023-04-12 13:43:09 +02:00
Ville Brofeldt c8fa44e9e9 feat(dashboard): make color indices referable (#23657) 2023-04-12 14:27:09 +03:00
JUST.in DO IT a5b6ccc1ec fix(sqllab): rendering performance regression (#23653) 2023-04-11 16:19:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 983acf7103 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.57.1 to 5.58.0 in /superset-websocket (#23642)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 16:52:11 -06:00
Jack Fragassi 61ddfe6972 fix(migration): Only attempt to drop types if they exist (#23650) 2023-04-11 15:04:22 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a6f74f10ad build(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 5.58.0 in /superset-websocket (#23643)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 11:26:55 -06:00
Daniel Vaz Gaspar 825006d906 docs: update CHANGELOG with 2.1.0 (#23646) 2023-04-11 16:37:43 +01:00
Lily Kuang 02275587d1 feat: implement drill by table (#23603) 2023-04-11 07:59:03 -07:00
Michael S. Molina 8bd8276791 fix: Removes Redux state mutations - iteration 3 (#23637) 2023-04-10 19:01:34 -03:00
Evan Rusackas ca408a7159 chore(feature flag): removing unused ENFORCE_DB_ENCRYPTION_UI flag (#23640) 2023-04-10 14:43:36 -06:00
Akshay Kumar Sharma e8f32c4bc4 fix(saved_queries): wrong enum for object_type of saved_query (#23611) 2023-04-10 16:37:16 -04:00
Hugh A. Miles II a41f3ebea3 chore: Refactor ExploreMixin to power both Datasets (SqlaTable) and Query models (#22853) 2023-04-10 16:33:32 -04:00
Hugh A. Miles II d581d698b6 chore: Refactor ExploreMixin to power both Datasets (SqlaTable) and Query models (#22853) 2023-04-10 16:32:52 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b44d20348d build(deps-dev): bump eslint from 8.36.0 to 8.38.0 in /superset-websocket (#23633)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 12:01:11 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ff784a610c build(deps): bump vm2 from 3.9.14 to 3.9.15 in /superset-frontend/cypress-base (#23625)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 12:00:56 -06:00
akashboora b613167636 fix(Gauge echart): displaying column label (#23396) 2023-04-08 15:14:12 +03:00
Cemre Mengu c5f93686d8 docs(contributing): add local vscode config for backend debugging (#19733) 2023-04-07 16:19:15 -06:00
Artem Shumeiko 749c4fd503 fix(localization): localize legacy pivot table (#22677) 2023-04-07 16:16:24 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f31d847774 build(deps): bump vm2 from 3.9.13 to 3.9.15 in /superset-frontend (#23626)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 16:13:22 -06:00
Holger Bruch 389b29fdd8 feat(lang): update messages.po(t) and add missing German translations (#23402) 2023-04-07 15:52:49 -06:00
Antonio Rivero 1f3774da5a fix(charts): Time range filters are not being applied to charts that were overwritten (#23589) 2023-04-07 15:44:47 -04:00
Ville Brofeldt a8230336ff fix(dashboard-rbac): use normal rbac when no roles chosen (#23586) 2023-04-07 09:53:35 +03:00
RekhaZemosoandEvan Rusackas 8f0328006b fix(#23176): adding URL decoding to SQLAlchemy URI (#23421)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-04-06 16:41:17 -06:00
Michael S. Molina 8ef49a5789 fix: Error on Cypress test (#23617) 2023-04-06 18:27:48 -03:00
SamraHanifCareem 4c257d2ddb feat(wrap-text): Wrap text support for specific columns in Grid (#23328) 2023-04-06 14:30:31 -06:00
Mike JandMike Joseph a7f306181e feat(helm): ability to disable helm hooks (#23601)
Co-authored-by: Mike Joseph <mikejoseph@Mikes-MacBook-Pro.local>
2023-04-06 14:30:17 -06:00
Beto Dealmeida 8d14420d14 feat(snowflake): get_catalog_names (#23602) 2023-04-06 12:17:30 -07:00
Michael S. Molina 290920c4fb fix: Disables email reports for unsaved charts (#23588) 2023-04-06 16:00:47 -03:00
John Bodley 83df609782 fix: Ensure verbose mapping exists for SQL Lab Query model (#23597) 2023-04-07 06:34:00 +12:00
Beto Dealmeida e2e0ad5ef5 feat(presto): get_catalog_names (#23599) 2023-04-06 09:27:49 -07:00
Michael S. Molina 739adcb93c fix: Increases the options limit for Annotation Layers (#23613) 2023-04-06 13:04:18 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0b01c934f4 build(deps-dev): bump @typescript-eslint/parser from 5.55.0 to 5.57.1 in /superset-websocket (#23572)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 09:46:03 -06:00
Jack Fragassiandhughhhh 326c0587fe chore: Migrate copy_dash endpoint to api v1 (#23112)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-06 11:32:10 -04:00
Beto Dealmeida f78798149a fix: load examples as anon user (#23600) 2023-04-06 08:23:00 -07:00
Evan Rusackas 4c44dd84d2 chore(deps): bump kind-of dependency (#23596) 2023-04-06 09:21:11 -06:00
Evan Rusackas d193765375 chore(deps): bumps ansi-regex to 5.0.1 (#23595) 2023-04-06 09:20:50 -06:00
Michael S. Molina bccd2670cc feat: Shows user charts by default when editing a dashboard (#23547) 2023-04-06 10:10:37 -03:00
Michael S. Molina 30f210b842 feat: Enables ECharts legend selector (#23590) 2023-04-06 09:36:34 -03:00
Michael S. Molina adcb8cf0ac refactor: Moves CRUD features to src/features (#23482) 2023-04-06 09:23:32 -03:00
Sam FirkeandEvan Rusackas c5eecc7cc2 docs(security): more context around Talisman, note side effect of force_https on Alerts & Reports (#23537)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-04-05 16:43:30 -06:00
Denis Krivenko 56dcf25cf8 feat(helm): Upgrade default Superset version to 2.1.0 (#23594) 2023-04-05 15:18:42 -06:00
Sebastian Liebscher 8f4ed7014d fix(docker-compose): Make worker use correct healthcheck (#23455) (#23587) 2023-04-05 15:18:11 -06:00
Rich Zhao f0237a5b75 fix(translation): correct translation errors for Chinese(zh) (#23129) 2023-04-05 15:17:19 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5530daa0ce build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.55.0 to 5.57.1 in /superset-websocket (#23573)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 14:48:14 -06:00
Jack Fragassi 70344018b6 fix(dash import): Ensure old datasource ids are not referenced in imported charts (#23582) 2023-04-05 13:38:41 -07:00
Beto Dealmeida 7a1aa6387c feat(bigquery): get_catalog_names (#23461) 2023-04-05 13:32:28 -07:00
John Bodley e8cfb31bff fix: Ensure the reporting framework handles charts with no data (#23585) 2023-04-06 07:30:27 +12:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cd498c18ba build(deps-dev): bump @types/node from 18.15.5 to 18.15.11 in /superset-websocket (#23518)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 13:25:47 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3d7a5d282d build(deps): bump pre-commit from 3.2.0 to 3.2.2 in /requirements (#23571)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 13:25:27 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6daca46782 build(deps-dev): bump prettier from 2.8.6 to 2.8.7 in /superset-websocket (#23496)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 13:25:16 -06:00
John Bodley b58d17f4b8 fix(revert): "fix: cache warmup solution non legacy charts. (#23012)" (#23579) 2023-04-06 06:16:34 +12:00
Michael S. Molina 3cff2b0a58 fix: Removes Redux state mutations - iteration 2 (#23535) 2023-04-05 13:49:32 -03:00
Kamil Gabryjelski 117360cd57 feat: Drill by open in Explore (#23575) 2023-04-05 11:20:45 +02:00
Kamil Gabryjelski 9d2f43d312 fix(dashboard): Cross filters badge for cols with verbose names (#23576) 2023-04-04 19:31:00 +02:00
Michael S. Molina 61e71bb455 fix: QueryParamProvider error on backend rendered views (#23567) 2023-04-04 13:28:56 -03:00
Geido 08375ca31a chore: Remove wrong information from the Alerts & Reports docs (#23544) 2023-04-04 18:27:19 +02:00
Hugh A. Miles II a4d4084d08 fix: tags features flag on base models (#23548) 2023-04-04 10:32:24 -04:00
Kamil Gabryjelski d966db61af feat: Add metadata bar to drill by modal (#23542) 2023-04-04 15:50:35 +02:00
Lily Kuang 4452a65095 feat: drill by display chart (#23524) 2023-04-04 13:34:59 +02:00
Miguel Vieira Colombo 95db6c04aa fix: Add default empty array to filter dependencies (#23565) 2023-04-03 23:26:58 +03:00
Michael S. Molina 3bc496040d fix: Filter values are not updating when dependencies are set (#23566) 2023-04-03 17:20:00 -03:00
Diego Medinaandhughhhh cdc7af11bf chore: Migrate /superset/user_slices and /superset/fave_slices to API v1 (#22964)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-03 13:29:02 -04:00
Kamil Gabryjelski 13ffb4b7c2 fix(plugin-chart-table): Include time control (#23533) 2023-04-03 12:31:33 +02:00
JUST.in DO IT bd0609df58 fix(sqllab): undefined issue_codes on query error (#23549) 2023-04-02 11:46:23 -07:00
Geido a18e33b3bc fix: Hide FilterBar for Reports (#23543) 2023-04-01 10:45:50 +02:00
JUST.in DO IT b52efe0599 fix(sqllab): dedupe table_schemas in active_tab (#23514) 2023-03-31 10:20:29 -07:00
Michael S. Molina 1ced7cdbbb fix: Removes Redux state mutations - iteration 1 (#23522) 2023-03-31 14:19:02 -03:00
Ville Brofeldt ee9ef24509 perf(sqla): avoid unnecessary type check on adhoc column (#23491) 2023-03-31 18:18:08 +03:00
Stepan bc2ec044b8 feat(cross-filters): using verbose map in applied cross-filters (#23509) 2023-03-31 11:31:39 +02:00
Stepan 09757dc518 fix: moved alerts and reports default values to config (#22880) 2023-03-31 11:58:59 +03:00
Ville Brofeldt 500d90058f feat: add ability to disable cache (#23439) 2023-03-31 11:41:57 +03:00
Ville Brofeldt f6b5b658e5 chore(welcome): harmonize submenu with other routes (#22803) 2023-03-31 11:34:10 +03:00
akashboora db9ca20737 fix(area chart legacy): tool tip shows actual value rather than y axi… (#23469) 2023-03-31 08:01:53 +03:00
Ville Brofeldt 330e79bc5d ci: disable flaky async test (#23527) 2023-03-31 07:59:49 +03:00
ʈᵃᵢ 068163e2a1 fix(tags): convert postgres enum type to varchar (#23526) 2023-03-30 17:21:18 -07:00
Hugh A. Miles II 81b32d1045 chore: allow logs to show error levels for ssh tunnel (#23536) 2023-03-30 18:23:22 -04:00
Stepan ce3ba67cf6 fix(conditional formatting): controls looses on save (#23137) 2023-03-30 19:10:31 +02:00
Michael S. Molina 63751c6c0f chore: Adds a tooltip to pre-filter in native filters modal (#23481) 2023-03-30 10:30:32 -03:00
ashgorithm 41ad9442c0 fix(word cloud): series label format fixed for custom sql queries (#23517) 2023-03-30 12:04:57 +03:00
Alex Bain de42c11f99 fix(plugin-generator): Addresses linter errors in newly generated Superset plugin (#23513) 2023-03-29 20:57:27 -07:00
Diego Medinaandhughhhh f2be53dd53 chore: Migrate /superset/favstar to API v1 (#23165)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-03-29 16:42:23 -04:00
Lily KuangandKamil Gabryjelski 97b5cdd588 feat: drill by modal (#23458)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2023-03-29 13:13:52 -07:00
Geido 4220d32f3d fix: Dashboard not loading with default first value in filter (#23512) 2023-03-29 18:18:08 +02:00
Kamil Gabryjelski 9fbfd1c1d8 feat: Implement context menu for drill by (#23454) 2023-03-29 15:01:51 +02:00
Akshay Kumar Sharma 542bf25729 fix(dashboards): apply tag filter correctly (#23521) 2023-03-29 15:11:46 +03:00
JUST.in DO IT 5d910aa2e2 fix(plugin-chart-table): Invalid d3Formatter on String column (#23515) 2023-03-28 15:25:35 -07:00
Michael S. Molina 80d1e4ffa3 fix: Preserves selected scopes when toggling between scope types (#23475) 2023-03-28 18:30:24 -03:00
JUST.in DO IT 439d687e1f fix(dashboard): Add remark plugin on markdown (#23502) 2023-03-28 09:32:32 -07:00
Ville Brofeldt 8db5cb18c0 fix(generic-x-axis): skip initial time filter for legacy charts (#23506) 2023-03-28 14:08:52 +03:00
Ville Brofeldt 0cebe8bf18 fix(legacy-plugin-chart-heatmap): fix adhoc column tooltip (#23507) 2023-03-28 14:07:34 +03:00
Alex Bain a3ffc67238 docs: Adds notes to Superset plugin generator about TypeScript errors (#23501) 2023-03-27 18:34:26 -07:00
Michael S. Molina 21578f74b7 chore: Changes the inputs of native filters modal to have the same width (#23477) 2023-03-27 16:52:04 -03:00
DimitriandDimitri GRISARD 0fa421271e feat(helm): add nodeselector and tolerations to init job (#23416)
Co-authored-by: Dimitri GRISARD <dgrisard-externe@bedrockstreaming.com>
2023-03-24 10:26:08 -07:00
Kamil Gabryjelski 4530542ac4 fix: Chart crashing if timeseries_limit_metric is an empty array (#23480) 2023-03-24 12:02:58 +01:00
Kamil GabryjelskiandMichael S. Molina 8c374f391d chore: Dataset specific MetadataBar (#23429)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-03-24 11:03:55 +01:00
Usiel RiedlandUsiel Riedl be2eb3157c perf(postprocessing): improve pivot postprocessing operation (#23465)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2023-03-24 07:53:34 +02:00
JUST.in DO IT d1947f7354 fix(sqllab): throw errors of commented out query (#23378) 2023-03-23 16:06:22 -07:00
Josh Paulinandjosh.paulin 8f846b7ad0 fix: broken helm chart ingress (#23471)
Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
2023-03-23 07:39:22 -07:00
Jonathan GallonandJonathan Gallon a15e833128 fix(chart): add missing toleration for init-job (#23452)
Co-authored-by: Jonathan Gallon <jonathan.gallon@manomano.com>
2023-03-23 07:38:10 -07:00
Rémy DUBOISandVille Brofeldt 07a632891c fix(chart): non existent time grain no longer breaks the application (#23441)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-23 16:36:50 +02:00
Michael S. Molina b0773145d6 feat: Allows reload on default filter value error (#23459) 2023-03-23 08:24:54 -03:00
pankajsoni22 212b7330d6 docs(contributing): How create or change SECRET_KEY (#23420) 2023-03-22 21:21:23 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 88684caba8 build(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0 in /superset-websocket (#23437)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 15:42:14 -06:00
akashboora 832e8fb0ac fix(Pivot Table v2): resolved full width issue (#23393) 2023-03-22 15:36:07 -06:00
JUST.in DO IT ca4dd26648 chore(sqllab): Remove schemaOptions from redux store (#23257) 2023-03-22 15:35:22 -06:00
JUST.in DO IT b1526c14e0 fix(sqllab): dedupe active_tab in tabHistory (#23265) 2023-03-22 15:33:41 -06:00
Govindarajan fae3ad0462 docs(contributing): added note for creating SECRET_KEY (#23417) 2023-03-22 15:33:21 -06:00
Josh Paulinandjosh.paulin 499754a52e fix: Allow setting ingress hosts directly through yaml (#23446)
Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
2023-03-22 15:31:59 -06:00
Beto Dealmeida 8588f81855 feat(DB engine spec): get_catalog_names (#23447) 2023-03-22 13:40:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fb270cbbd5 build(deps-dev): bump @types/node from 18.15.3 to 18.15.5 in /superset-websocket (#23438)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 14:18:10 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9626a0d884 build(deps-dev): bump prettier from 2.8.4 to 2.8.6 in /superset-websocket (#23451)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 14:17:59 -06:00
Kamil Gabryjelski 8ecf0b1c20 feat(echarts): Add x axis sort by to all series charts (#23450) 2023-03-22 10:50:51 +01:00
Beto Dealmeida 45f045def2 fix: prevent ForeignKeyViolation error on delete (#23414) 2023-03-21 15:48:55 -07:00
Beto DealmeidaandMichael S. Molina d01cf4300c fix: schedule query option showing up (#23386)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-03-21 15:26:11 -07:00
Zef Lin 226b60bc4f fix: safe check when computing chart thumbnail (#23432) 2023-03-21 09:13:38 -07:00
Kamil Gabryjelski 7ef06b0a60 chore: Add DRILL_BY feature flag (#23430) 2023-03-20 22:54:20 +01:00
Hugh A. Miles IIandCody Leff 2fa8f989ae chore: Update typing for Table component (#23398)
Co-authored-by: Cody Leff <cody@preset.io>
2023-03-20 13:26:27 -07:00
Beto Dealmeida 65a3a4d908 fix: database dropdown keys (#23433) 2023-03-20 13:06:14 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> aec91850e5 build(deps): bump pre-commit from 3.1.0 to 3.2.0 in /requirements (#23422)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:01:32 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7160dcb054 build(deps-dev): bump eslint from 8.35.0 to 8.36.0 in /superset-websocket (#23342)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:00:20 -06:00
Sam Firke b511d2c624 docs(security): note the need to set TALISMAN_ENABLED = True (#23431) 2023-03-20 13:52:47 -06:00
Elizabeth ThompsonandBeto Dealmeida b021f6e05d feat: add new cache_query_by_user key (#23415)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2023-03-20 12:17:20 -07:00
John BodleyandMichael S. Molina ffc0a81e85 chore(native-filters): Fetch only the required dataset fields (#23303)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-03-21 07:43:39 +13:00
JUST.in DO IT 3277ea83ea feat(sqllab): log error_detail on fetch failed (#23377) 2023-03-20 10:08:27 -07:00
Kamil Gabryjelski b0d83e8c50 feat(echarts): Implement stream graph for Echarts Timeseries (#23410) 2023-03-20 12:56:15 +01:00
Rukshan Ranatunge a5c31b2426 feat(chart): Added SriLanka country map (#23338) 2023-03-18 12:42:22 +02:00
Beto Dealmeida 2c6f581fa6 feat(postgresql): dynamic schema (#23401) 2023-03-17 17:53:42 -07:00
Elizabeth Thompson f4035e096f chore: update releasing process for testing (#23331) 2023-03-17 17:39:37 -07:00
Hugh A. Miles IIandDiego Medina 8fa77adf9a chore: Hugh/migrate estimate query cost to v1 (#23226)
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-17 18:02:25 -06:00
Beto Dealmeida 022213972b fix(dashboard): show_native_filters leftover (#23389) 2023-03-17 16:50:26 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d950eb85d7 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.53.0 to 5.55.0 in /superset-websocket (#23359)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 13:37:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 067c2e35b2 build(deps-dev): bump webpack from 5.52.1 to 5.76.0 in /superset-frontend (#23366)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 13:37:36 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7b1ba673f2 build(deps): bump ws from 8.12.1 to 8.13.0 in /superset-websocket (#23343)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 13:37:08 -06:00
Evan Rusackas 2feb599a0e chore(docs): three typos (#23403) 2023-03-17 13:36:17 -06:00
Beto Dealmeida 42e8d1b498 chore: improve schema security (#23385) 2023-03-17 08:05:50 -07:00
EugeneTorap d4657f6198 fix(docker): multi-architecture image build (#23409) 2023-03-17 07:24:19 -07:00
Geido 2fe695d3cf fix: Select all issue with "Dynamically search all filter values" in FilterBar (#23400) 2023-03-17 13:04:07 +01:00
ʈᵃᵢ e3a7d2014d fix(webdriver): default WEBDRIVER_OPTION_ARGS and update Firefox deps (#23388) 2023-03-16 21:13:05 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e13fa27074 build(deps-dev): bump webpack from 5.64.0 to 5.76.0 in /docs (#23368)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 21:32:40 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 635ac8e8a8 build(deps-dev): bump webpack from 5.67.0 to 5.76.0 in /superset-embedded-sdk (#23367)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 20:55:14 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fe4f9d6232 build(deps-dev): bump @typescript-eslint/parser from 5.54.1 to 5.55.0 in /superset-websocket (#23379)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 20:55:01 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a17028c7de build(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /docs (#23369)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 20:54:40 -06:00
John Bodley ad72cd3171 chore(dashboard): Disable 'Set filter mapping' when appropriate (#23261) 2023-03-17 14:09:52 +13:00
Zef Lin 870bf6d0b9 fix: revert back to use security manager authz for dashboard when get by uuid (#23330) 2023-03-16 15:27:02 +00:00
Ville Brofeldt 0c454c6442 feat(plugin-chart-echarts): add series sorting (#23392) 2023-03-16 16:26:01 +02:00
Geido da3791ad3d fix: Table sorting reset (#23318) 2023-03-15 18:48:03 +01:00
Beto Dealmeida ec6318b379 fix: permission checks on import (#23200) 2023-03-15 08:31:09 -07:00
Geido 24c472a4a3 chore: Add code-owners to Select, MetadataBar and DropdownContainer (#23371) 2023-03-15 14:15:32 +01:00
Hugh A. Miles IIandDiego Medina 9920ab3fd9 chore: Migrate /superset/schemas_access_for_file_upload to v1 (#23227)
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-14 19:21:10 -06:00
Beto Dealmeida 1874f9a3b6 fix: dataset_macro (#23376) 2023-03-14 16:29:12 -07:00
Beto Dealmeida 1b95da7487 fix: table schema permissions (#23356) 2023-03-14 15:18:18 -07:00
John Bodley d2c1fb95ec fix(native-filters): Caching scope (#23314) 2023-03-15 07:55:28 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> df9a5bb6df build(deps-dev): bump @types/node from 18.14.6 to 18.15.3 in /superset-websocket (#23360)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 11:37:16 -06:00
Ville Brofeldt db95a93f43 feat(native-filters): allow cascading from time and numeric filters (#23319) 2023-03-14 17:04:44 +02:00
Kamil Gabryjelski 63513a5873 fix(chart-controls): Error if x_axis_sort and timeseries_limit_metric are included in main metrics (#23365) 2023-03-14 15:50:03 +01:00
Ville Brofeldt b90a11191f fix(safari): remove autocomplete in table select (#23361) 2023-03-14 15:20:33 +02:00
Hugh A. Miles II b820eb8235 chore: Update pre-commit packages (#23173) 2023-03-13 17:05:13 -06:00
JUST.in DO IT 9ae81b7c33 fix(sqllab): empty large query results from localStorage (#23302) 2023-03-14 12:03:19 +13:00
John Bodley d415eed717 fix(examples): Cleanup granularity_sqla column (#23322) 2023-03-14 08:23:12 +13:00
John Bodley e83f4e6f79 fix(trino): Disallow alias to source column (#23324) 2023-03-14 08:23:01 +13:00
JUST.in DO IT 3919ca6060 fix(dashboard): deepmerge htmlSchemaOverrides (#23329) 2023-03-14 08:11:12 +13:00
Geido 82cadccced chore: Remove Cross Filter scoping modal (#23216) 2023-03-13 11:27:03 -07:00
Daniel Vaz Gaspar b99d38dfef fix: dashboard DAO small code improvement (#23348) 2023-03-13 18:03:02 +00:00
Kamil Gabryjelski f3055fcaff feat(dashboard): Change default opacity of icon in FiltersBadge (#23350) 2023-03-13 17:09:15 +01:00
Kamil Gabryjelski 78ee60e227 fix(dashboard): Cross filters with time shifted series (#23347) 2023-03-13 14:32:49 +01:00
Ville Brofeldt a591130e0b fix(trino): normalize non-iso timestamps (#23339) 2023-03-13 14:46:39 +02:00
Elizabeth Thompson a8d5cb89a8 chore: use util test env for init check (#23325) 2023-03-10 16:07:50 -08:00
Kamil Gabryjelski c2b282ac71 feat(dashboard): Refactor FiltersBadge (#23286) 2023-03-10 20:58:24 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6311b40329 build(deps-dev): bump @typescript-eslint/parser from 5.53.0 to 5.54.1 in /superset-websocket (#23294)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 08:21:48 -07:00
Íñigo Álvaro Sáenz 2cf75cc0ce docs(alerts and reports): Update ExecutorType class (#23323) 2023-03-10 10:59:12 +02:00
Daniel Vaz Gaspar 33b758d716 docs: improve API v1 migration documentation (#23298) 2023-03-09 14:19:14 -08:00
Elizabeth Thompson 989fe27a0f chore: log different selenium timeout errors differently (#23290) 2023-03-09 12:55:12 -08:00
Evan Rusackas 57db8f938b feat(docs): adds BugHerd to documentation site. (#23287) 2023-03-09 09:59:12 -07:00
Ville Brofeldt eb3d5602c2 docs: add lost _filters param docs (#23316) 2023-03-09 15:46:21 +02:00
Ville Brofeldt 0a588d11a5 chore: bump docusaurus to latest stable (#23317) 2023-03-09 15:27:48 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 56380027f4 build(deps-dev): bump @types/node from 18.14.1 to 18.14.6 in /superset-websocket (#23281)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 14:21:27 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9df7812e9c build(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.7.0 in /superset-websocket (#23292)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 14:21:10 -07:00
Cameron Gregor dae6a9f701 docs: typo 'admnistrators' in security.mdx (#23166) 2023-03-08 14:19:10 -07:00
Lily Kuang 376ad39576 chore: upgrade @ant-design/icons for react upgrade (#22890) 2023-03-08 14:18:43 -07:00
Geoff Genz e0d976dcca fix(clickhouse): Update to working clickhouse-connect version (#23296) 2023-03-08 11:53:52 -08:00
Kamil Gabryjelski a3d49ca335 fix(dashboard): Infinite load when filter with default first value is out of scope (#23299) 2023-03-08 15:37:23 +01:00
John Bodley ed11123709 chore(dashboard): Cleanup example dashboard filter scopes (#23260) 2023-03-08 12:36:16 +13:00
John Bodley f7e7652270 fix(migration): Address issue in #23228 (#23276) 2023-03-07 20:04:31 +13:00
Kamil Gabryjelski d16512b775 fix(dashboard): Allow selecting text in cells in Table and PivotTable without triggering cross filters (#23283) 2023-03-06 13:42:52 +01:00
Ville Brofeldt 1b139d0748 feat(generic-x-axis): add x sorting on series limit metric (#23274) 2023-03-06 11:50:20 +02:00
Ville Brofeldt 71a9d0d403 fix(plugin-chart-echarts): render horizontal categories from top (#23273) 2023-03-06 11:25:52 +02:00
Kamil GabryjelskiandVille Brofeldt 42980a69a7 fix(dashboard): Charts crashing when cross filter on adhoc column is applied (#23238)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-04 07:57:35 +01:00
Craig Rueda 006f3dd88c chore(cache): Tuning logging in cache manager (#23266) 2023-03-03 10:59:16 -08:00
Elizabeth Thompson 7d8383cbd5 fix: ignore ts warnings from older typescript versions (#23262) 2023-03-02 11:44:26 -08:00
Kamil Gabryjelski 9d0eea9600 fix(dashboard): Missing filter card styles (#23256) 2023-03-02 07:29:23 +01:00
Lily Kuang 1f3eb56688 fix: customize tab on heatmap chart is blank (#23243) 2023-03-01 14:02:12 -08:00
Craig Rueda d3e698eb54 chore(webdriver): Tuning the Webdriver logging a bit (#23255) 2023-03-01 11:46:49 -08:00
Kamil Gabryjelski 2ba9d1b79e fix(dashboard): Cross-filter search icon in filter bar (#23250) 2023-03-01 11:31:13 -08:00
John Bodley 134acba99a chore: Remove the ability to add filter-box charts when DASHBOARD_NATIVE_FILTERS feature is enabled (#23142) 2023-03-02 07:30:42 +13:00
John Bodley 5f0c320415 chore: Deprecate show_native_filters (#23228) 2023-03-02 07:29:51 +13:00
John Bodley 022df93422 fix: Video Game Sales dashboard default filters (#23242) 2023-03-02 07:29:06 +13:00
Michael S. Molina d16eda6e56 refactor: Organizes the pages in their own folder (#23241) 2023-03-01 10:35:22 -05:00
Kamil Gabryjelski 6076457b90 fix(explore): Dashboard filters on adhoc cols not working in Explore (#23239) 2023-03-01 15:45:00 +01:00
Ville Brofeldt 5a099e0762 fix(dao): use explicit id filter (#23246) 2023-03-01 13:32:04 +02:00
Daniel Vaz Gaspar b180319bbf fix: refuse to start with default secret on non debug envs (#23186) 2023-03-01 11:21:12 +00:00
Kamil Gabryjelski 7196e87833 fix(dashboard): Cross-filters not working properly for new dashboards (#23194) 2023-03-01 11:47:15 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> aba6900994 build(deps): bump pip-compile-multi from 2.6.1 to 2.6.2 in /requirements (#23122)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 21:21:47 -07:00
Elizabeth Thompson ae8aa60844 docs: update installation docs to include frontend asset build (#23199) 2023-02-28 16:17:12 -08:00
Kamil Gabryjelski 473a69a704 fix(dashboard): Don't show cross filters checkbox to users without write permissions (#23237) 2023-02-28 20:15:56 +01:00
Hugh A. Miles II 0a7016df2e chore: Add statsd logger for ssh tunneling creation (#23225) 2023-02-28 11:21:40 -05:00
Daniel Vaz GasparandVille Brofeldt b479e93b49 fix: add disallowed query params for engines specs (#23217)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-02-28 12:00:22 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 42db7e562d build(deps): bump pre-commit from 3.0.4 to 3.1.0 in /requirements (#23168)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 12:33:52 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 88167772e9 build(deps): bump ua-parser-js from 0.7.28 to 0.7.33 in /superset-frontend (#22859)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 12:11:30 -07:00
Evan Rusackas 8f972d6875 chore: adding code owners for github actions/workflows (#23201) 2023-02-27 11:48:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 14879d93fb build(deps-dev): bump eslint from 8.34.0 to 8.35.0 in /superset-websocket (#23211)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:51:24 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 62634bd77b build(deps-dev): bump @types/uuid from 9.0.0 to 9.0.1 in /superset-websocket (#23152)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:51:09 -07:00
Daniel Vaz Gaspar 79274eb5bc fix: memoized decorator memory leak (#23139) 2023-02-27 15:59:11 +00:00
Kamil Gabryjelski ad5ee1ce38 fix(dashboard): Page crashing when cross filter applied on adhoc column (#23215) 2023-02-27 15:58:27 +01:00
GeidoandKamil Gabryjelski dcd3e00f39 feat: Cross Filters in FilterBar (#23138)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2023-02-27 12:55:09 +01:00
Vivek Kumar 37766b9527 docs: fix typo (#23207) 2023-02-27 11:04:15 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 64ad70cc8d build(deps): bump express and @applitools/eyes-cypress in /superset-frontend/cypress-base (#22342)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 21:20:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c80d6b1451 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.52.0 to 5.53.0 in /superset-websocket (#23132)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 21:20:31 -07:00
Lyndsi Kay Williams 9f97c7d028 test: Remove test playgrounds (#23203) 2023-02-26 16:02:09 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a9fe40d38b build(deps-dev): bump @types/node from 18.13.0 to 18.14.1 in /superset-websocket (#23180)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 16:01:01 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 718f6877d1 build(deps-dev): bump @typescript-eslint/parser from 5.51.0 to 5.53.0 in /superset-websocket (#23133)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 16:00:28 -07:00
Lyndsi Kay Williams 9e9f9dcae5 fix(docs): Change postgres to postgresql in brew install command (#23202) 2023-02-25 20:34:25 -06:00
Kamil Gabryjelski 7d4aee956e fix(dashboard): Focusing charts and native filters from filters badge (#23190) 2023-02-25 15:56:20 +01:00
EugeneTorap 6a484b1553 fix: Pagination of VirtualTable (#23130) 2023-02-24 21:21:54 -07:00
Hugh A. Miles II cb9bff72d6 fix(ssh-tunnel): add password to from_private_key function (#23175) 2023-02-24 16:05:37 -08:00
Hugh A. Miles II 196e3eac8b fix(sshtunnel): argument params to properly setting server_port (#23196) 2023-02-24 14:32:26 -08:00
Antonio Rivero 218de6e6a4 fix(ssh_tunnel): Display SSHTunnel Switch when editing a DB that was created with the Dynamic Form (#23195) 2023-02-24 14:19:07 -08:00
Lily Kuang a70b7ac3b0 chore: refactor SparklineCell for react 17 and react 18 upgrade (#23145) 2023-02-24 12:49:53 -08:00
Antonio Rivero 3484e8ea7b feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials (#23099) 2023-02-24 09:36:21 -08:00
Ville Brofeldt 967383853c fix(clickhouse): add missing default format (#23192) 2023-02-24 18:55:25 +02:00
Ville Brofeldt d0c54cddb0 fix(clickhouse): add clickhouse connect driver (#23185) 2023-02-24 14:04:12 +02:00
Daniel Vaz Gaspar f0f27a486d fix: bump FAB to 4.3.0 (#23184) 2023-02-24 10:42:07 +00:00
Ville Brofeldt 89576f8a87 fix(rbac): show objects accessible by database access perm (#23118) 2023-02-24 10:45:16 +02:00
mkramer5454 9a4839f45c build: Add helm chart option to deploy sidecars with node and worker (#23160) 2023-02-23 10:04:41 -08:00
John Bodley 6338ea5d42 chore: revert "feat(native_filter_migration): add transition mode (#16992)" (#23144) 2023-02-24 06:22:36 +13:00
Kamil Gabryjelski ee1952e488 feat(dashboard): Add cross filter from context menu (#23141) 2023-02-23 17:05:41 +01:00
EugeneTorap 95eb8d79d0 chore: Bump cryptography to 39.0.1 (#23158) 2023-02-22 16:51:46 +00:00
Kamil Gabryjelski 871cab8cbe feat: Enable cross fitlers in WorldMap and Graph charts (#22886) 2023-02-22 11:42:56 +01:00
Hugh A. Miles IIandBeto Dealmeida a0ca0c04ff chore: Add docs for ssh tunneling (#23131)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2023-02-21 22:23:32 -05:00
Beto Dealmeida fbf10c35a9 feat: return UUID on database creation (#23143) 2023-02-21 17:36:16 -08:00
cccs-RyanKcccs-nikGITHUB_USERNAME <EMAIL>
a40c12d63e feat: Frontend tagging (#20876)
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com>
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Kamil Gabryjelski eb8386e3f0 fix(dashboard): Chart's empty state not centered (#23022) 2023-02-21 16:46:32 +01:00
Daniel Vaz Gaspar 8f8fba2056 fix: gamma sql_json test (#23135) 2023-02-21 15:34:25 +00:00
Daniel Vaz Gaspar d4362a3676 fix: reorganize role permissions (#23096) 2023-02-21 10:19:42 +00:00
Geido c7823e32ff fix: Validate jinja rendered query (#22851) 2023-02-21 11:01:12 +01:00
Ville Brofeldt 5482f78a9c fix(ci): explicity set yaml Loader (#23126) 2023-02-20 16:22:54 +02:00
John Bodley f851e992cf chore(sqla): Address performance tradeoff with eager loading (#23113) 2023-02-18 11:14:31 +13:00
EugeneTorap 22a648755b chore: Remove yarn.lock from the root folder (#23108) 2023-02-18 11:01:01 +13:00
dec6ac49f6 chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-17 10:48:24 -07:00
Daniel Vaz Gaspar 4b03d2553c fix: missing __init__ on module sqllab commands (#23107) 2023-02-17 11:08:14 +00:00
Elizabeth Thompson 7160daecf3 chore: change AlertQueryError to 400 (#23102) 2023-02-16 16:31:16 -08:00
Zef Lin 75495d1601 fix: removing pyproject.toml (#23101) 2023-02-16 16:29:09 -08:00
Elizabeth Thompson 434b445e31 chore: increment statsd as warn (#23041) 2023-02-16 15:43:18 -08:00
kuruvandEvan Rusackas 92b9c06e59 chore: Updating connection URI for MS SQL Server (#22903)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-16 09:41:40 -07:00
tison f4ffed24ba chore: Improve greeting message (#23077) 2023-02-16 08:58:48 -07:00
Changhoon Ohandok9897 21dd1601bf fix: dict bug on QueryContextFactory (#23093)
Co-authored-by: ok9897 <ok9897@krafton.com>
2023-02-16 16:04:39 +02:00
Elizabeth Thompson 4ddf67fc14 chore: move dashboard screenshot standalone logic (#23003) 2023-02-15 14:35:08 -08:00
Lyndsi Kay Williams f6c304437a test: Clean up SelectAsyncControl test warnings (#22969) 2023-02-15 12:10:23 -08:00
Lyndsi Kay Williams b1296a195c test: Convert DatasetList test from jsx to tsx (#22971) 2023-02-15 12:09:43 -08:00
Lyndsi Kay Williams 5b5b534e89 chore: Remove dependency warnings from DatasetList.tsx (#22973) 2023-02-15 12:08:57 -08:00
Lyndsi Kay Williams 861ecf65d4 chore: Remove dependency warnings from SqlEditor/index.jsx (#22974) 2023-02-15 12:08:17 -08:00
Lyndsi Kay Williams 76f7a3fb4e chore: Remove dependency warnings from SqlEditorLeftBar/index.tsx (#22975) 2023-02-15 12:07:56 -08:00
Ville Brofeldt 1324135697 chore(style): make brand icon max width customizable (#23081) 2023-02-15 18:38:09 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a7dac13ded build(deps-dev): bump eslint from 8.33.0 to 8.34.0 in /superset-websocket (#23079)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 08:58:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f46aacae71 build(deps): bump ws from 8.12.0 to 8.12.1 in /superset-websocket (#23080)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 08:58:32 -07:00
Daniel Vaz Gaspar c39cf36d27 fix: css template permissions for gamma role (#23083) 2023-02-15 15:26:02 +00:00
Diego Medina e5a4c78dc7 chore: Migrate /superset/csv/<client_id> to API v1 (#22913) 2023-02-15 10:48:24 +00:00
Jack Fragassi 3fae7dbc34 chore: Migrate get_or_create_table endpoint to api v1 (#22931) 2023-02-15 10:38:51 +00:00
tison 7d7e3e4ade docs: remove duplicate navbar item (#22486)
Signed-off-by: tison <wander4096@gmail.com>
2023-02-15 09:16:27 +02:00
Dheeraj Jaiswal e755b4f417 fix: cache warmup solution non legacy charts. (#23012) 2023-02-14 23:27:32 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0ec1e6e0b4 build(deps-dev): bump @types/node from 18.11.19 to 18.13.0 in /superset-websocket (#23029)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 14:09:05 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c59a77e3ca build(deps-dev): bump prettier from 2.8.3 to 2.8.4 in /superset-websocket (#23030)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 14:08:56 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 50ae48103e build(deps): bump hot-shots from 9.3.0 to 10.0.0 in /superset-websocket (#23031)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 14:08:45 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 52da9fcbe7 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.52.0 in /superset-websocket (#23073)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 14:08:28 -07:00
Rajan GuptaandDASTC\gupta_rajan <rajan.gupta@stengg.com> a307223857 feat(helm): allow persisting nodePort for services (#22713)
Signed-off-by: DASTC\gupta_rajan <rajan.gupta@stengg.com>
Co-authored-by: DASTC\gupta_rajan <rajan.gupta@stengg.com>
2023-02-14 11:55:55 -08:00
Beto Dealmeida 65fffe974b chore: remove db_engines (#22444) 2023-02-13 11:20:38 -08:00
John Bodley f3bdcdc79b chore(datasets): Refactor DatasetDAO update to leverage bulk logic for create, update, and delete operations (#22957) 2023-02-14 06:47:56 +13:00
JUST.in DO IT 4980621902 feat(sqllab): Add event logger (#23040) 2023-02-14 06:47:28 +13:00
Michael S. Molina 49aa9b4ca8 chore: Removes icon warnings from tests (#23054) 2023-02-13 12:31:09 -05:00
JUST.in DO IT d3d59ee0ae fix(sqllab): Invalid schema fetch by deprecated value (#22968) 2023-02-13 09:36:47 -07:00
Artem Shumeiko a7bb14e433 fix(i18n): improve Russian translation (#22939) 2023-02-13 09:34:44 -07:00
Michael S. Molina 17fbb2dbb2 fix: Menu items are not disappearing when deleting a dashboard (#23039) 2023-02-10 13:46:13 -05:00
Michael S. Molina 464ddee4b4 fix: Time Column on Generic X-axis (#23021) 2023-02-10 13:33:07 -05:00
Ville Brofeldt 85f07798bf docs(teradata): fix connection string (#23051) 2023-02-09 21:53:30 -07:00
Cody LeffandMichael S. Molina 684b8888b1 fix(dashboard): Stop updating chart owners for charts removed from dashboard (#21720)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-02-09 12:50:06 -05:00
Michael S. Molina 5e64211bdb fix: Handles disabled options on Select All (#22830) 2023-02-09 08:31:58 -05:00
Antonio Rivero MartinezandLyndsi Kay Williams ddd8d17aa4 fix(ssh_tunnel): Fix bug on database edition for databases with ssh tunnels (#23006)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2023-02-08 14:58:42 -06:00
Daniel Vaz Gaspar 7bb9b810ee fix: dataset import error message (#23025) 2023-02-07 18:21:32 -08:00
Kamil Gabryjelski 98bf878d6e fix(explore): Enable saving metric after changing title (#23020) 2023-02-07 23:23:52 +01:00
Lily Kuang 493181c977 chore: refactor SliceAdder for react 17 and react 18 (#23009) 2023-02-07 13:38:32 -08:00
Cody Leff 183c5f9589 chore(tests): Cypress optimizations to help with fails (#23023) 2023-02-07 12:20:08 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 438cd1c150 build(deps-dev): bump typescript from 4.9.4 to 4.9.5 in /superset-websocket (#22933)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 11:52:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4f590befae build(deps-dev): bump @typescript-eslint/parser from 5.48.1 to 5.51.0 in /superset-websocket (#23013)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 11:52:09 -07:00
Cody Leff 32fac77b5f feat(datasets): Populate Usage tab in Edit Dataset view (#22670) 2023-02-07 10:34:30 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 50f1e2ee29 build(deps-dev): bump @types/node from 18.11.13 to 18.11.19 in /superset-websocket (#22997)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:33:38 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b12bb568ac build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /superset-frontend/cypress-base (#22955)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:33:08 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1a34876e35 build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.6.0 in /superset-websocket (#22767)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:32:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c5b25ebf17 chore(deps): bump ajv and react-jsonschema-form in /superset-frontend (#21809)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:31:56 -07:00
Artem ShumeikoandEvan Rusackas 773d2a54a3 chore: Localization of superset pt. 3 (#22938)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-07 09:21:23 -07:00
JUST.in DO IT a1b7eb3870 fix(sqllab): clean unwanted scrollbar (#22990) 2023-02-07 08:05:09 -07:00
Evan Rusackas ce6dd158a1 chore: updating link to sandbox.js (#23005) 2023-02-07 08:04:03 -07:00
Artem Shumeiko efe6d22d4a fix(dashboard): export & import chart description and certification details (#22471) 2023-02-06 16:30:22 -07:00
Trey Gilliland a2c3ef8130 fix(migrations): Flask-Migrate output is not logged during alembic migrations #17991 (#22991) 2023-02-06 15:29:06 -08:00
alexclavel-ocient 9dfaad772d fix: Make cte_alias a property of db engine spec (#22947) 2023-02-06 14:27:48 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> aa0a07859e build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (#22956)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 14:27:25 -07:00
Kamil Gabryjelski 7d5c86b44c fix(explore): Save button incorrectly disabled when adding new metric with dnd (#23000) 2023-02-06 16:19:02 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2dff0009e9 build(deps): bump pre-commit from 2.20.0 to 3.0.4 in /requirements (#22996)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 11:48:36 -07:00
Daniel Vaz Gaspar 7a0f350028 fix: add new config to allow for specific import data urls (#22942) 2023-02-06 08:17:08 -08:00
Adrian 79114bcd29 docs: added Orange inside the inthewild.md doc (#22986) 2023-02-05 13:25:44 +02:00
John Bodley 5bafb5c950 chore: Fix grammar (#22831) 2023-02-04 19:03:09 +13:00
Antonio Rivero Martinez cf395ac2d8 feat(ssh_tunnel): SSH Tunnel Switch extension (#22967) 2023-02-03 15:34:54 -08:00
Michael S. Molina c9b9b7404a fix: Form data was not being passed to save/update slice (#22989) 2023-02-03 14:04:17 -05:00
EugeneTorap ae155611dc chore: bump python version to 3.8.16 in Dockerfile (#22934) 2023-02-03 10:47:39 -08:00
Sam Firke a299b4789b docs(alerts & reports): clarify nature of "-dev" labeled container images (#22988) 2023-02-03 10:19:11 -08:00
Kamil Gabryjelski 5d550f449a fix(explore): Mark time range dashboard filter with warning icon (#22984) 2023-02-03 12:26:05 -05:00
Michael S. Molina b63ea6386f fix: Prevents last temporal filter removal (#22982) 2023-02-03 10:50:12 -05:00
Kamil Gabryjelski 32d497785a fix(native-filters): Don't include description icon in truncation calc (#22941) 2023-02-03 16:13:59 +01:00
Lyndsi Kay Williams 4970df0a65 test: Clean up QueryList test warnings (#22972) 2023-02-03 07:27:15 -06:00
Lyndsi Kay Williams 39f15b8d95 test: Fix act errors in DatabaseList test (#22970) 2023-02-03 07:25:52 -06:00
tejaskatariya deba0fd7c1 docs: add Caizin to the user list (#22961) 2023-02-03 13:54:47 +02:00
c05871eb37 feat: add tabs to edit dataset page (#22043)
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2023-02-02 19:36:11 -06:00
Cody Leff 4b05a1eddd fix(datasets): Include expression and description in duplicated dataset columns (#22943) 2023-02-02 15:49:30 -08:00
EugeneTorap 56d4bd063c chore: add waitress for win32 platform (#22935) 2023-02-02 11:07:22 -08:00
Josh SorefandJosh Soref 78ede590ee chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
JUST.in DO IT ad1ffbd723 fix(explore): unable to update linked charts (#22896) 2023-02-03 07:07:17 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> deb51090d2 build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /superset-frontend (#22958)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 10:22:29 -07:00
Ville Brofeldt c53c3aa23d chore(superset-ui-chart-controls): refactor pivot and rename operator (#22963) 2023-02-02 17:16:07 +02:00
Kamil Gabryjelski ed7b3533bc fix(explore): Time comparison in Mixed Chart in GENERIC_CHART_AXES not working (#22945) 2023-02-02 14:06:30 +01:00
Ville Brofeldt b35190783c chore(welcome): change default last tab to "all" (#22798) 2023-02-02 14:55:16 +02:00
John Bodley 21a2e7bc91 chore: Bump Flask-AppBuilder constraints (#22927) 2023-02-02 21:00:08 +13:00
Lyndsi Kay Williams e13ebb6134 test: Clean up AdhocFilterOption test warnings (#22915) 2023-02-01 16:37:02 -06:00
Erik Ritter 98f4e90944 fix: Improve performance of CSV download (#22929) 2023-02-01 13:25:50 -08:00
Cody Leff b410dbb5dd fix(datasets): Fix property selection on JSON response (#22944) 2023-02-01 11:58:03 -08:00
Lyndsi Kay Williams 260ac40b23 feat: Enable new dataset creation flow II (#22835) 2023-02-01 09:49:25 -06:00
Michael S. Molina ebed50fd12 fix: Remove button is broken for metrics on Explore (#22940) 2023-02-01 10:33:42 -05:00
Kamil Gabryjelski eaf53dbb27 fix(native-filters): Ensure that time range filter loses focus after closing modal (#22937) 2023-02-01 16:32:49 +01:00
Diego Medina 02cd75be8d chore: Migrate /superset/tables/* to API v1 (#22501) 2023-02-01 12:45:57 +00:00
Denis Krivenko ede18be08e feat(helm): Make Chart.AppVersion default value for image tag (#22854) 2023-02-01 09:19:28 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 08c3c4db36 build(deps-dev): bump eslint from 8.32.0 to 8.33.0 in /superset-websocket (#22902)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 15:46:28 -07:00
Lily Kuang 8dea7e151e chore: upgrade react-router-dom to 5.3.4 (#22878) 2023-01-31 13:09:57 -08:00
Lily Kuang e80f878ab7 chore: upgrade packages for react v17 upgrade (#22914) 2023-01-31 11:08:12 -08:00
Arash Afghahi 16800cc14c fix: fix warning in ssh tunnel (#22912) 2023-01-31 14:06:15 -05:00
Lily Kuang 88119a9930 chore: migrate @vx/responsive to @visx/responsive for react 18 upgrade (#22815) 2023-01-31 10:55:29 -08:00
Cody Leff a35aeb9d6b fix(fab): Fix regression on FAB dropdowns (#22889) 2023-01-31 10:39:43 -08:00
Michael S. Molina e9423c3c87 fix: Time range filter applied on a dashboard is not persisting to the chart explore (#22920) 2023-01-31 12:01:47 -05:00
Michael S. Molina 30abefb519 feat: Adds the ECharts Sunburst chart (#22833) 2023-01-31 11:39:18 -05:00
Ville Brofeldt cd6fc35f60 chore(db_engine_specs): clean up column spec logic and add tests (#22871) 2023-01-31 15:54:07 +02:00
Leo Schick 8466eec228 feat: add pyproject.toml file to project (#20291) 2023-01-31 14:19:05 +02:00
Daniel DraperandDaniel Draper e18bf3f449 fix(dependency): update cryptography import (#22744)
Co-authored-by: Daniel Draper <daniel.draper@understand.ai>
2023-01-31 10:11:26 +00:00
nisheldo 17dfa657f9 chore: skip puppeteer chromium download (#22623) 2023-01-31 10:55:18 +02:00
王一川 b381c20d52 fix(i18n): greatly optimize Chinese translation (#22036) 2023-01-31 14:39:32 +08:00
JUST.in DO IT 19779d7517 fix(sqllab): inconsistent addNewQueryEditor behavior (#21999) 2023-01-30 16:54:03 -07:00
Elizabeth Thompson f2b61fca15 fix: edit pyarrow stringify to better handle emojis and accents (#22881) 2023-01-30 12:29:19 -08:00
Artem Shumeiko c839d0daf5 chore: Localization of superset pt. 2 (#22772) 2023-01-30 09:20:43 -07:00
Diego Medina b94052e438 chore: migrate /sql_json and /results to apiv1 (#22809) 2023-01-30 11:02:34 -05:00
EugeneTorap c9b7507931 fix: bump isort to fix pre-commit CI (#22907) 2023-01-30 16:22:16 +02:00
Jack Fragassi 54f7a248a6 chore: deprecate /superset/filter/... endpoint, migrate to apiv1 (#22882) 2023-01-30 11:02:49 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 7bd2afd724 build(deps): bump underscore from 1.12.0 to 1.12.1 in /superset-frontend (#22892)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 16:10:24 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0e1f682bee build(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#22891)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 12:05:57 -07:00
6cf434e5c1 feat: Add excel export (#22006)
Co-authored-by: Igor Șincariov <igorsinc@pm.me>
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-01-27 11:23:10 -07:00
cleslieandCalum 0706bcfe2a docs: add Skyscanner to users list (#22888)
Co-authored-by: Calum <calum.leslie@skyscanner.net>
2023-01-27 11:21:59 -07:00
Diego Medina 14878a160f chore: Migrate /superset/queries/<last_updated_ms> to API v1 (#22611) 2023-01-27 13:20:56 -05:00
Daniel Vaz Gaspar d00ba15c78 chore: add statsd support to base API and refactor (#22887) 2023-01-27 17:52:08 +00:00
Diego Medina bed10a0e2b chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> (#22496) 2023-01-27 11:50:19 -05:00
Mayur 8226110be8 fix: revert RESTful apis and react view for RLS (#22818) 2023-01-26 18:04:00 -08:00
Antonio Rivero Martinez d6a4a5da79 feat(ssh_tunnel): Add feature flag to SSH Tunnel API (#22805) 2023-01-26 16:53:36 -08:00
JUST.in DO IT 0045816772 fix(sqllab): reverts #22695 (#22861) 2023-01-26 14:15:42 -07:00
Geido 3fd4718ecb fix: Convert TIMESTAMP_* to TIMESTAMP in Snowflake (#22872) 2023-01-26 19:49:44 +01:00
Evan Rusackas 6998f65e1d chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852) 2023-01-26 11:48:41 -07:00
Lily Kuang 446d1779e1 chore: upgrade react-reverse-portal for react upgrade (#22779) 2023-01-26 09:02:25 -08:00
Lily Kuang 6021d6f699 chore: upgrade react-table for react 18 upgrade (#22780) 2023-01-26 09:01:59 -08:00
Lily Kuang 2400179fb0 chore: migrate react-diff-viewer to react-diff-viewer-continued for react 18 upgrade (#22834) 2023-01-26 09:01:31 -08:00
Cemre Mengu f8edcd7ae2 docs(cache): update doc strings (#22865) 2023-01-26 00:18:22 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a2ca24682d build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /docs (#22858)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 00:16:36 -07:00
Josh SorefandJosh Soref 02e5dcbbf2 chore(misc): Spelling (#19678)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-01-25 16:35:08 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8c38878048 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 in /superset-websocket (#22838)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 13:44:11 -07:00
Stepan 5da09bf341 fix(Annotation Layers): Error when render options with renamed columns (#22453) 2023-01-25 21:25:34 +02:00
Hugh A. Miles II 88a5d987da fix(cpq): Add schema to Query.data() payload (#22791) 2023-01-25 20:17:39 +02:00
Geido 9ed2326a20 feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Lyndsi Kay Williams 262c947273 test: Fix act errors in DatabaseModal test (#22846) 2023-01-25 07:36:19 -06:00
Lyndsi Kay Williams ddd5cd3aec test: Fix act errors in DatasourceControl test (#22845) 2023-01-25 07:36:05 -06:00
Jack Fragassi 050cbe938f chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ (#22789) 2023-01-25 09:26:50 +00:00
Beto Dealmeida 6f0fed77cf feat: export/import allow_dml flag (#22806) 2023-01-24 19:16:46 -08:00
Cody Leff 3898368f26 chore(tests): Streamline Cypress login to fix fails/flakes (#22844) 2023-01-24 17:55:31 -07:00
Sam Firke 3e07de7f39 docs(alerts & reports): add, prune, reorganize (#20872) 2023-01-23 22:06:05 -07:00
Evan Rusackas dde1e7cc09 chore(issue templates): discouraging Issues for feature requests (#22617) 2023-01-23 22:05:24 -07:00
Sergey Shevchenko b132451581 feat(helm): Add ability to customize affinity per deployment (#22827) 2023-01-23 15:41:28 -08:00
Lily Kuang 5f823b2777 chore: upgrade react-datetime, react-intersection-observer and react-checkbox-tree (#22585) 2023-01-23 14:36:34 -08:00
JUST.in DO IT 02a3c0d0e6 fix(sqllab): type error on renderBigIntStr (#22813) 2023-01-24 10:44:02 +13:00
Cody Leff 2a30bbce1a chore: Convert direct uses of antd icons to 'Icons' component (#22516) 2023-01-23 14:42:27 -07:00
Beto Dealmeida 3084763eb7 fix: allow CSV upload in Other db (#22807) 2023-01-23 11:50:38 -08:00
Daniel DraperandDaniel Draper 931b01ee85 feat(docker): Build multiple python version images (#22770)
Co-authored-by: Daniel Draper <daniel.draper@understand.ai>
2023-01-23 10:29:41 -08:00
Michael S. Molina d479009e35 fix: Unexpected error on simple filter (#22814) 2023-01-23 10:25:28 -05:00
John Bodley 0b31b2cb87 fix(hive): Regression in #21794 (#22794) 2023-01-21 13:00:36 +13:00
Elizabeth Thompson d091a68909 fix: better logic to extract errors on databricks (#22792) 2023-01-20 15:35:09 -08:00
John Bodley 92cdb8c282 chore: Add explicit bidirectional performant relationships for SQLA model (#22413) 2023-01-21 10:17:56 +13:00
ʈᵃᵢ 858c6e19a0 docs: link docker readme in docker config section (#22796) 2023-01-20 10:19:29 -08:00
JUST.in DO IT 83893f8ff2 chore(dashboard): Log events for download as image (#22793) 2023-01-20 08:59:50 -07:00
b9686fe6fa feat: add ssh tunneling to dynamic form for Database Connection UI (#22689)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Antonio Rivero <antonioriverocode@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2023-01-20 17:41:39 +02:00
Ville Brofeldt 13a186bdc2 chore(logging): add health checks to statsd (#22771) 2023-01-20 13:21:36 +02:00
Michael S. Molina 1fe4a71f5b feat: Adds a separator to Select All option (#22776) 2023-01-19 12:22:57 -05:00
Michael S. Molina af73c59b0a feat: Generic X-axis improvements (#22707) 2023-01-19 12:22:39 -05:00
JUST.in DO IT d591cc8082 fix(sqllab): Invalid schema fetch for deprecated value (#22695) 2023-01-19 10:19:17 -07:00
Ville Brofeldt 577ac81686 chore(ci): fix numpy type errors and revert #22610 (#22782) 2023-01-19 14:53:48 +02:00
Kamil Gabryjelski 39c96d0568 chore: Migrate .less styles to Emotion (#22474) 2023-01-19 09:17:10 +01:00
Artem Shumeiko 5026da50e1 chore(translation): add missing Russian translation, add plural forms (#22415) 2023-01-18 22:14:29 -07:00
Yash Mehta aca2f1b201 chore: adding missing examples in the gallery for some chart types (#22766) 2023-01-18 10:16:40 -07:00
Hugh A. Miles II e6271f0ca7 fix(ssh-tunnel): update fields for open tunnel with private + private key passwords (#22764) 2023-01-18 14:56:36 +02:00
cccs-RyanKandGITHUB_USERNAME <EMAIL> 02c9242d68 feat: Select all for synchronous select (#22084)
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-01-18 07:41:58 -05:00
Antonio Rivero Martinez ad758c0802 feat(ssh_tunnel): Rename allow_ssh_tunneling and change the default value to False (#22723) 2023-01-17 19:11:41 -08:00
Lyndsi Kay Williams c87f654901 feat: Enable new dataset creation flow (#22610) 2023-01-17 20:05:40 -06:00
Lily Kuang e05ac858f4 chore: upgrade react-resize-detector (#22592) 2023-01-17 17:25:34 -08:00
Harshvardhan Singh 0870a0b046 fix: Read MAPBOX_API_KEY from environment (#16926) 2023-01-17 15:54:04 -07:00
Hugh A. Miles II c536f713d6 fix(ssh-tunnel): wrap pkey into StringIO buffer before creating the tunnel (#22763) 2023-01-18 00:52:18 +02:00
Elizabeth Thompson c58dbf8b9c fix: pass in slack error messages properly (#22727) 2023-01-17 13:30:51 -08:00
Lyndsi Kay Williams 08078753b7 fix: Report screenshot cut off on left and right sides (#22614) 2023-01-17 12:08:00 -06:00
Elizabeth Thompson 0a2fc9cdde fix: change order of webdriver timeout checks (#22698) 2023-01-17 10:00:51 -08:00
Daniel Vaz Gaspar edcbf597f5 chore: re add upload tests (#22753) 2023-01-17 17:33:23 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 02d4adfa2e build(deps): bump minimatch from 3.0.4 to 3.1.2 in /superset-embedded-sdk (#22748)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:28:59 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e5fdbf0dff build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.1 to 5.48.2 in /superset-websocket (#22750)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:28:50 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1a7d262c8e build(deps-dev): bump eslint from 8.29.0 to 8.32.0 in /superset-websocket (#22751)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:28:39 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b1239f276c build(deps-dev): bump @types/jsonwebtoken from 8.5.9 to 9.0.1 in /superset-websocket (#22752)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:28:22 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2350e54f54 build(deps): bump minimatch from 3.0.4 to 3.1.2 in /superset-frontend/cypress-base (#22745)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:23:44 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3559bbfcbd build(deps): bump ws and @types/ws in /superset-websocket (#22738)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:23:25 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 18725bd01b build(deps-dev): bump prettier from 2.8.2 to 2.8.3 in /superset-websocket (#22740)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 20:57:59 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ffa015887b build(deps): bump express and @applitools/eyes-storybook in /superset-frontend (#22731)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 20:57:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 25bce881ef build(deps-dev): bump @typescript-eslint/parser from 5.47.0 to 5.48.1 in /superset-websocket (#22739)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 20:57:04 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> cf3d4f720e build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /superset-frontend (#22138)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 20:53:09 -07:00
Stephen LiuandMichael S. Molina b53941fb3e feat(plugin-chart-echarts): supports sunburst chart v2 [WIP] (#21625)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-01-16 16:10:28 -05:00
Michael S. Molina d2a355b2fb feat: Updates button styles of Modal pre-defined functions (#22737) 2023-01-16 12:48:22 -05:00
Daniel Vaz Gaspar 6d37e66cd1 chore: Use redis 7 on tests and pin on local dev and non-dev (#22742) 2023-01-16 15:45:32 +00:00
Diego Medina 3ed288d4ee chore: Migrate /superset/stop_query/ to API v1 (#22624) 2023-01-16 14:07:52 +00:00
Rémy DUBOISandVille Brofeldt 80b31130b4 fix(async-queries): make global async. queries cookie SameSite option configurable (#21185)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2023-01-16 09:52:15 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> eb66590b6a build(deps): bump jsonwebtoken from 8.5.1 to 9.0.0 in /superset-websocket/utils/client-ws-app (#22504)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 22:23:12 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5137d58213 build(deps): bump jsonwebtoken from 8.5.1 to 9.0.0 in /superset-websocket (#22515)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 22:22:33 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3e009bc71e build(deps): bump json5 from 1.0.1 to 1.0.2 in /superset-embedded-sdk (#22575)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 22:21:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 910998a5ed build(deps): bump json5 from 2.1.3 to 2.2.3 in /superset-frontend/cypress-base (#22577)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 15:59:35 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f0d5800810 build(deps): bump json5 from 1.0.1 to 1.0.2 in /superset-frontend (#22578)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 15:51:58 -07:00
Elizabeth Thompson cd1f6d469b fix: remove whitespace from http_path for databricks (#22671) 2023-01-13 14:50:18 -08:00
Reid Beels 85da86dc81 fix(helm): remove config overrides for CSRF (#22716) 2023-01-13 12:04:12 -08:00
Reid Beels f9972ad1ff docs(security): clarify CSP requirements and provide example TALISMAN_CONFIG (#22711) 2023-01-13 14:54:38 -05:00
Michael S. Molina 46794013a0 chore: Adds 1.5.3 release to CHANGELOG.md and UPDATING.md (#22721) 2023-01-13 14:33:44 -05:00
Artem Shumeiko 31e639318b chore(celery): update celery config variables names (#22499) 2023-01-13 16:56:15 +00:00
Paolo Terzi 79b40bb979 docs: add Swile to users list (#22706) 2023-01-13 09:53:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3c5f75d4c2 chore(deps): bump parse-path and lerna in /superset-frontend (#21612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:46:34 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 863adca3b7 chore(deps): bump pre-commit from 2.14.0 to 2.20.0 in /requirements (#20820)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:45:20 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 892c0de454 build(deps): bump winston from 3.3.3 to 3.8.2 in /superset-websocket (#22655)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:44:18 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> bdf391b05f build(deps): bump json5 from 2.2.0 to 2.2.3 in /superset-websocket (#22576)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:43:42 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6d1bf92637 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.48.1 in /superset-websocket (#22656)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:43:06 -07:00
Cody Leff f5c404fc51 fix(explore): Restore missing dataset states (#22693) 2023-01-13 09:42:38 -07:00
Christian DreierandChristian Dreier 91850ebc57 fix: bootstraping frontend (#22720)
Co-authored-by: Christian Dreier <dreier.christian@gmail.com>
2023-01-13 15:04:24 +02:00
itziarmj eed07410c7 docs: add Mainstrat to INTHEWILD.md (#22718) 2023-01-13 13:59:38 +02:00
Reid Beels 90ae7cde93 docs(k8s): add note about database driver dependencies to k8s setup (#22712) 2023-01-13 13:40:10 +02:00
Reid Beels aeb45ea779 docs(k8s): add note about authlib requirement to oauth setup example (#22710) 2023-01-13 09:33:07 +02:00
Reid Beels 8fa7a75a3b docs(caching): Restructure and improve caching docs (#22687) 2023-01-13 08:48:56 +02:00
Lyndsi Kay Williams 2ccdb72830 fix: Spacing in alert modal (#22709) 2023-01-12 21:51:22 -06:00
Hugh A. Miles II 2de19f1d66 feat: Add logging for ssh tunneling test_connection attempts (#22625) 2023-01-12 21:49:35 +00:00
Evan Rusackas a1f1e4fdd4 chore: using bitly to manage expiring Slack invitation links (#22631) 2023-01-12 14:31:19 -07:00
Evan Rusackas ce1fa955bd chore: Swapping main superset images for more current versions (#22668) 2023-01-12 14:30:58 -07:00
EugeneTorap 1a0de496ee chore: Move charts to src/pages folder (#22230) 2023-01-12 15:41:59 -05:00
AAfghahi 5a422b31c5 fix: alert modal bug fix (#22688) 2023-01-12 08:26:18 -05:00
cf00970cde feat(charts): allow query mutator to update queries after splitting original sql (#21645)
Co-authored-by: Akash <Akash.Nallani@bakerhughes.com>
Co-authored-by: anallani <98122184+anallani@users.noreply.github.com>
Co-authored-by: Robert Bean <robert.bean@bakerhughes.com>
Co-authored-by: Akash <anallani@umich.edu>
Co-authored-by: AkashN7 <70606604+AkashN7@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2023-01-12 14:04:03 +02:00
Usiel RiedlandUsiel Riedl d5ecfbb901 fix(embed): fix server error due to breaking change on flask-login (#22462)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2023-01-12 11:48:01 +02:00
Sam Firke 68b0a5993d docs: add city of Ann Arbor to INTHEWILD (#22692) 2023-01-12 10:43:25 +02:00
Lily Kuang 397a984f09 chore(superset-ui): bump superset-ui-chart-controls and plugin-chart-handlebars back to version 0.18.25 (#22694) 2023-01-12 10:04:26 +02:00
Lily Kuang 5d38992024 chore: upgrade react-redux (#22596) 2023-01-11 17:32:40 -06:00
539936522f feat(ssh_tunnel): SQLAlchemy Form UI (#22513)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-11 19:29:52 +00:00
John Bodley 0908fd291b chore: Bump Flask-AppBuilder to 4.2.0 (#22580) 2023-01-11 10:43:19 -07:00
JUST.in DO IT a8f3a4fb6e fix(sqllab): Overflow bigint in json-tree view (#22609) 2023-01-11 10:38:59 -07:00
Ville Brofeldt 7b15e6e3c7 fix(nav): make doc and bug buttons customizable (#22682) 2023-01-11 19:24:18 +02:00
Artem Shumeikoandashumeiko f3696ceef3 chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Diego Medina 44c9cf4de5 chore: Migrate /superset/search_queries to API v1 (#22579) 2023-01-11 09:22:41 -07:00
Byungjin Park (Claud) 1fe0290a60 chore: Add KarrotPay in INTHEWILD.md (#22666) 2023-01-11 09:20:51 -07:00
SamraHanifCareemand“SamraHanifCareem” 8f98c469fd docs: Add Careem to the user's list (#22669)
Co-authored-by: “SamraHanifCareem” <“samra.hanif@careem.com”>
2023-01-11 15:10:15 +02:00
Ville Brofeldt c0aeb2a75a chore(embedded): bump package versions (#22676) 2023-01-11 11:42:46 +02:00
Ville Brofeldt 73e53fab7a fix(bootstrap-data): always check flashes (#22659) 2023-01-10 22:14:51 +02:00
Cemre Mengu 0b22287ad9 feat: make CTA text in Alerts & Reports mails configurable (#19779) 2023-01-10 11:52:54 -07:00
Ville Brofeldt 08f45ef207 fix(viz-gallery): respect denylist in viz gallery (#22658) 2023-01-10 19:08:30 +02:00
Artem Shumeiko 1e3746be21 fix(dockerfile): fix "unhealthy" container state (#22663) 2023-01-10 18:10:46 +02:00
Kamil Gabryjelski 399f6e3ddc feat(dashboard): Display a loading spinner while dashboard is being saved (#22588) 2023-01-10 16:48:51 +01:00
wanghong1314 8bf6d80155 fix: Stop query in SQL Lab with impala engine (#22635) 2023-01-10 16:52:07 +02:00
Mayur 159dcd7e62 feat(RLS): RESTful apis and react view for RLS (#22325) 2023-01-09 13:34:20 -07:00
Lily Kuang 516d56b7e8 chore: upgrade react-window (#22645) 2023-01-09 12:20:46 -08:00
Lily Kuang 8f865ce1ce chore: upgrade use-immer (#22646) 2023-01-09 12:20:20 -08:00
Eric Briscoe 02e8511563 fix(dashboard): Add safety checks to areas that throw runtime errors in dashboard filters (#22648) 2023-01-09 11:40:15 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3ffdad1074 build(deps-dev): bump prettier from 2.4.1 to 2.8.2 in /superset-websocket (#22638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 09:13:19 -07:00
Ville Brofeldt 5b2ca97341 fix(sqllab): remove link to sqllab if missing perms (#22566) 2023-01-09 14:02:36 +02:00
EugeneTorap 30dab3a00a chore: Bump flask libs (#22355) 2023-01-09 10:10:31 +00:00
001100ddf0 feat(db_engine_specs): big query cost estimation (#21325)
Co-authored-by: zamar roura <zamar.roura@cabify.es>
Co-authored-by: Zamar Roura <zamarfazal@gmail.com>
2023-01-09 08:56:19 +02:00
nisheldo 9cfbc22cd2 chore: bump sqloxide to 0.1.30 (#22615) 2023-01-07 19:45:05 +02:00
Evan RusackasandVille Brofeldt 1bc2237768 chore: adjusting Alerts & reports docs to use the latest chromedriver (#22517)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-01-06 16:36:35 -07:00
Elizabeth Thompson 804e89d725 fix: stringify ValueErrors for NaT types (#22628) 2023-01-06 15:15:12 -08:00
Elizabeth Thompson 7591acba54 fix: change type of slack error (#22443) 2023-01-06 17:50:43 -05:00
Eric Briscoe fad873c100 fix(dashboard): Add runtime safety checks and improved tests (#22457) 2023-01-06 14:45:49 -08:00
Hugh A. Miles II d18c7d6128 fix(ssh-tunnel): fix dataset creation flow through modal for DB with tunnel (#22581) 2023-01-06 13:52:05 -05:00
Elizabeth Thompson af34e454be fix: change example comment to match type (#21772) 2023-01-05 15:45:37 -08:00
Christian DreierandChristian Dreier db201804ae fix: adding extraConfig to celery beat deployment (#22586)
Co-authored-by: Christian Dreier <dreier.christian@gmail.com>
2023-01-05 12:56:27 -08:00
Daniel Vaz Gaspar 3761694d72 fix: dashboard get by id or slug access filter (#22358) 2023-01-05 17:10:40 +00:00
Mathieu Herbert d6bce09ac3 feat(helm): add deploymentLabels variable (#22541) 2023-01-05 09:05:54 -08:00
Michael S. Molina 84177cbc75 fix: Talisman configuration (#22591) 2023-01-05 10:37:35 -05:00
Ville Brofeldt 037deb9a1d feat(rbac): add customizable related filters (#22526) 2023-01-05 16:42:08 +02:00
wilfred-wulbou b3529479ab feat(chart): Added Papua New Guinea to countries map (#22589) 2023-01-05 15:52:27 +02:00
Yash Mehta 6e4d6e599b chore: adding missing examples in the gallery for several chart types (#22597) 2023-01-05 11:43:32 +02:00
Craig Rueda 01671b9d1b fix(helm): Fixing up chart and linting (#22590) 2023-01-04 20:43:13 -08:00
Lily Kuang 82b0c23fb2 chore: upgrade react-checkbox-tree (#22583) 2023-01-04 10:50:21 -08:00
Lily Kuang 40dba06094 chore: upgrade react-ace (#22573) 2023-01-04 09:16:01 -08:00
Lily Kuang 11c9c8a00c chore: upgrade interweave (#22572) 2023-01-04 09:15:41 -08:00
Lyndsi Kay Williams cf156f17bb chore: Use visibilityToggle prop to control password input visibility (#22363) 2023-01-03 18:37:07 -06:00
ebaad10d6c feat(ssh-tunnelling): Setup SSH Tunneling Commands for Database Connections (#21912)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-03 17:22:42 -05:00
Ville Brofeldt a7a4561550 fix(explore): support saving undefined time grain (#22565) 2023-01-03 08:53:42 +00:00
Ville Brofeldt 38d02a10b5 fix(cypress): make test chart time range deterministic (#22567) 2023-01-03 07:46:40 +00:00
Ville Brofeldt 7df1d70a95 fix(websocket): bump ts-node to fix startup error (#22563) 2023-01-02 17:11:55 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 734d423ca0 build(deps): bump json5 from 2.2.1 to 2.2.2 in /docs (#22561)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 10:47:50 +00:00
Artem Shumeiko 64496e8c88 fix(localization): pybabel doesn't extract plural forms from frontend (#22507) 2022-12-31 10:46:45 +00:00
Yash Mehta 839ec7ceac fix: adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery (#22523) 2022-12-31 10:26:54 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 86768a6325 build(deps): bump wheel from 0.37.0 to 0.38.1 in /requirements (#22533)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 10:23:43 +00:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> d5bf1f5b37 build(deps): bump fast-json-patch from 3.1.0 to 3.1.1 in /docs (#22557)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 10:18:39 +00:00
Musa Hamadaandmusa.hammadi c2ace8dacb fix(explore): datasource_type typo (#22543)
Co-authored-by: musa.hammadi <musa.hammadi@infostrategic.com>
2022-12-31 10:00:58 +00:00
Hugh A. Miles II 9c0d6c51f1 chore(ssh-tunnel): Refactor establishing raw connection with contextmanger (#22366) 2022-12-29 14:20:45 -05:00
Ville Brofeldt b6d39d194c feat(trino): support early cancellation of queries (#22498) 2022-12-24 06:31:46 +02:00
Daniel Vaz Gaspar 7926a43aed refactor: rename filter_rel_fields to base_related_field_filters (#22508) 2022-12-24 00:39:53 +00:00
John Bodley 9e81c3a119 feat: update time comparison choices (again) (#22458) 2022-12-24 10:13:35 +13:00
EugeneTorap 87617095b9 chore: Bump Pillow to 9.3.0 (#22489) 2022-12-23 17:25:22 +02:00
Hugh A. Miles II 9b26794419 chore: Update dataset_id & dataset_type datasource_id & datasource_type for SPA explore (#22461) 2022-12-22 19:46:00 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> aa55800ca7 build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /superset-embedded-sdk (#22142)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 13:56:50 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b7c55b05c0 build(deps): bump pip-compile-multi from 2.4.1 to 2.6.1 in /requirements (#22216)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 13:56:30 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e8b85778e1 chore(deps-dev): bump @typescript-eslint/parser from 5.45.0 to 5.47.0 in /superset-websocket (#22465)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 13:56:04 -07:00
Eugene Bikkinin a2a578ad9b fix(init): Initialize _jwt_cookie_name in AsyncQueryManager __init__ (#22314) 2022-12-22 13:53:56 -07:00
AAfghahi 5617cb4274 chore: updating changelog and updating (#22479) 2022-12-22 13:53:36 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 20599856d1 build(deps): bump qs from 6.5.2 to 6.5.3 in /superset-frontend/cypress-base (#22340)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 13:50:23 -07:00
Ville Brofeldt 630c129e3e fix(cypress): disable flaky tests (#22512) 2022-12-22 21:25:32 +02:00
StanandStan Houcke 7d8fff87b5 fix(assets api): import replaces dashboard (#22208)
Co-authored-by: Stan Houcke <stan.houcke@skyscanner.net>
2022-12-21 15:36:40 -08:00
Ville Brofeldt b954f8f560 feat(welcome): make examples tab customizable (#22302) 2022-12-21 09:28:41 +02:00
Cody Leff 7a94f3afc6 fix(chart-list): Hide 'Dashboards added to' column. (#22475) 2022-12-20 14:50:18 -08:00
Evan Rusackas c2a20e7b27 chore: adding additional code owners for cypress tests (#22476) 2022-12-20 14:46:56 -08:00
Lyndsi Kay Williams 1bab5b9eba fix: Fixed spacing in alert modal (#22066) 2022-12-20 11:28:01 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0ca5e0e0db build(deps): bump @ant-design/icons from 4.2.2 to 4.8.0 in /superset-frontend (#22158)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 09:57:26 -07:00
Lyndsi Kay Williams 6b20e74442 fix: Create dataset polish/bug fix (#22262) 2022-12-20 11:05:40 -05:00
Cody Leff 7f4e522f1a chore(viz): Rename legacy non-time-series Bar Chart (#22430) 2022-12-20 10:08:30 -05:00
Aleks Vujić b55ef5b514 fix: fix comment in Docker environment files (#22421) 2022-12-20 19:07:27 +05:30
Cody Leff 21b56b2d49 fix(cypress): Fix failing/flaky E2E tests (#22460) 2022-12-20 13:36:42 +01:00
John Bodley 71982ee174 chore: Re-add inheritance of Presto macros for Trino et al. (#22435) 2022-12-20 08:27:20 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 858796b98f chore(deps): bump express from 4.18.1 to 4.18.2 in /superset-websocket/utils/client-ws-app (#21754)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 13:58:34 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f03c04a45a build(deps): bump uuid and @types/uuid in /superset-websocket (#22412)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 13:56:34 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 291d776085 build(deps-dev): bump typescript from 4.2.3 to 4.9.4 in /superset-websocket (#22414)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 13:56:17 -07:00
Daniel Vaz Gaspar 277f8e04e2 fix: remove unsupported REST API search col with dotted notation on c… (#22440) 2022-12-16 12:44:34 +00:00
Reese 2679ee2e46 fix(chart-table): Scrollbar causing header + footer overflow (#21064) 2022-12-15 22:25:20 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 89bb6c024b build(deps): bump qs from 6.5.2 to 6.5.3 in /superset-frontend (#22343)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 21:50:25 -07:00
Beto Dealmeida bdeedaaf80 chore: set Snowflake user agent (#22432) 2022-12-15 17:08:34 -08:00
John Bodley 4f9c2c8165 fix(hive): Fix regression from #21943 (#22431) 2022-12-16 09:28:50 +13:00
Lyndsi Kay Williams fa919f3d8c test: Fix act errors in VizTypeControl test (#22424) 2022-12-15 10:27:07 -06:00
Hiroki Sawano 9f3c43f839 fix(dashboard): Update owners of dashboard list after editing (#22383) 2022-12-15 09:18:08 +02:00
Michael S. Molina bb318cb137 fix: Allow empty CSS in Handlebars (#22422) 2022-12-14 18:41:06 -05:00
Geido ebaa94974b fix: Force configuration for SafeMarkdown component in Handlebars (#22417) 2022-12-14 16:23:34 -05:00
Michiel De Smet 90d79c78d2 fix(trino): Fix Trino timestamp conversion (#21737) 2022-12-14 10:49:14 -07:00
Ville Brofeldt aa0cae9b49 feat(thumbnails): add support for user specific thumbs (#22328) 2022-12-14 15:02:31 +02:00
Ville BrofeldtandVille Brofeldt 1014a327f5 fix(sqla): copy temporal range logic to helper (#22405)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-12-14 09:43:38 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 92fc304099 build(deps): bump loader-utils from 2.0.2 to 2.0.4 in /docs (#22134)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 17:00:58 -07:00
Beto Dealmeida 481b020e9d chore: show database UUID in API (#22411) 2022-12-13 15:55:27 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a748b687d8 chore(deps): bump css-what from 2.1.2 to 2.1.3 in /superset-frontend (#21712)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 16:38:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 72fb270146 build(deps): bump express from 4.17.1 to 4.18.2 in /docs (#22341)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 16:33:39 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e7b034c466 build(deps-dev): bump eslint from 7.32.0 to 8.29.0 in /superset-websocket (#22322)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 16:33:09 -07:00
Rui ZhaoandRui Zhao d1989a4766 fix(report): Capture unexpected errors in report screenshots. Fixes #21653 (#21724)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-12-13 14:31:36 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a235078e48 build(deps-dev): bump @types/node from 18.11.10 to 18.11.13 in /superset-websocket (#22386)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 15:05:53 -07:00
Elizabeth Thompson 608ffcbfb9 fix: make database connection modal ace fields uncontrolled (#22350) 2022-12-12 12:36:41 -08:00
Elizabeth Thompson c3a6327ff0 fix: correct exception level in log and add error message (#22381) 2022-12-12 10:58:58 -08:00
Kamil Gabryjelski 605cfa045a perf: Prevent rerendering and re-querying metadata of filters in horizontal bar (#22389) 2022-12-12 16:07:38 +01:00
Kamil Gabryjelski a5a0cf9ffb feat: Add oneLine mode to AsyncSelect (#22379) 2022-12-12 16:01:29 +01:00
Jan Katins 85c9480791 fix: Update typo in docker-add-drivers.mdx (#21965) 2022-12-10 09:29:21 -05:00
Ville BrofeldtandVille Brofeldt 6b4ab8a03c chore(plugin-chart-echarts): upgrade to echarts 5.4.1 (#22382)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-12-10 13:38:54 +02:00
Elizabeth Thompson 368e7e6b08 fix: make sure that gsheets db connection form loads properly (#22361) 2022-12-09 17:28:15 -08:00
Mikael Schirén 861001251d fix(readme): link target and title (#19576) 2022-12-09 18:51:28 -06:00
xavier-GitHub76 a993c3ca2c fix(translations): French translation (typo fixes) (#21942) 2022-12-09 13:54:39 -07:00
Ville Brofeldt 012d1300c1 chore(viz): rename v1 and v2 charts (#22369) 2022-12-09 22:51:37 +02:00
Cody LeffandHerbert Gainor 3b45ad8b97 feat(dashboard): Add edit button to dashboard native filters filter cards (#22364)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-12-09 15:00:15 +01:00
Alan NingandAlan Ning d41cb66737 fix(snowflake): Allow encrypted_extra field to be imported (#22357)
Co-authored-by: Alan Ning <aning@manifold.ai>
2022-12-08 14:27:30 -05:00
Michael S. Molina 3a442e09bf fix: Button resizing in horizontal filter bar (#22365) 2022-12-08 13:38:56 -05:00
Kamil Gabryjelski de4f50909e fix: Add tooltip to dropdown trigger in horizontal filter bar (#22373) 2022-12-08 18:23:44 +01:00
Michael S. Molina 1edfd7e1e1 fix: DropdownContainer items width calculation (#22371) 2022-12-08 12:03:19 -05:00
Geido f64423a740 fix: Time filter position and click in Horizontal FilterBar (#22338) 2022-12-08 10:58:16 +01:00
Lyndsi Kay Williams 49f1cfc3f9 fix: Change dropdown in Alert/Report modal to use javascript for conditional rendering instead of css (#22360) 2022-12-07 18:24:52 -06:00
Evan Rusackas e1ef9e0bba chore(docs): adding community calendar link to the community page (#22347) 2022-12-07 16:14:09 -07:00
Kamil Gabryjelski da64fa2525 fix: Reordering native filters ignored by filter bar (#22362) 2022-12-07 18:13:37 -05:00
Cemre Mengu 08f2c9b305 refactor(frontend): Make dashboard search box the first filter (#19721) 2022-12-07 15:56:53 -07:00
Antonio Rivero Martinez 60a617eaba fix(bigquery): Properly display errors for BigQuery DBs (#22349) 2022-12-07 13:34:30 -05:00
0dbaaad83d feat(explore-popover): Show disabled 'Save' button in explore popover (#21318)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2022-12-07 12:25:54 -05:00
Cody Leff 2731cbacbf fix: Broken effect in useCSSTextTruncation hook (#22324) 2022-12-07 16:51:30 +02:00
EugeneTorap ff1d29c539 chore: Bump holidays to 0.17.2 (#22354) 2022-12-07 10:17:57 +02:00
Kamil Gabryjelski 3a4131ffc7 fix: Missing spacing in adhoc filters popover (#22346) 2022-12-07 08:37:03 +01:00
EugeneTorap d1294a06e6 chore: Refactor python libs (#22335) 2022-12-07 09:17:21 +02:00
Kamil Gabryjelski d2b76a8b1a fix: Styling fixes for horizontal filter bar (#22337) 2022-12-06 21:04:17 +01:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8afe724e9e build(deps): bump ws and @types/ws in /superset-websocket (#22327)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 09:44:28 -07:00
Lyndsi Kay Williams 4cf40fb286 test: Fix act errors in FixedOrMetricControl test (#22334) 2022-12-06 07:27:02 -06:00
Geido e1ffdb95b1 chore: Add Horizontal FilterBar e2e tests (#22305) 2022-12-06 15:01:31 +02:00
Hugh A. Miles II 2f23a9ceac chore: return 404 instead of 500 for datasource not found (#22333) 2022-12-05 20:41:19 -05:00
Lyndsi Kay Williams 04b7a26365 feat: Flow for tables that already have a dataset (#22136) 2022-12-05 15:43:54 -06:00
Antonio Rivero Martinez 96de314c0c fix(sqllab): Fix autocomplete for SQL Lab (#22329) 2022-12-05 13:15:27 -07:00
AAfghahi 5e1b8170ca fix: add columns back into SQL Lab to Explore Flow (#22320) 2022-12-05 12:17:31 -07:00
Kamil Gabryjelski 2d30e9cbe9 feat: New time range label (#22317) 2022-12-05 19:46:15 +01:00
AAfghahi aafb993ee2 fix: Display Error Messages in DB Connection Modal (#22200) 2022-12-05 10:02:17 -08:00
EugeneTorap f3bf3ec2ed chore: Remove actions prop and refactor code in SQL Lab (#22231) 2022-12-05 12:12:52 +01:00
Kamil Gabryjelski b2d909f529 fix(dashboard): Fix dashboard's left side being cut off (#22319) 2022-12-05 12:03:23 +01:00
Eric Briscoe 92bc641067 fix(dashboard): dashboard actions fail when bad component id exists in children array (#22323) 2022-12-04 19:35:30 -08:00
Michael S. Molina aba3b81e13 fix: DropdownContainer resize algorithm (#22318) 2022-12-04 16:52:27 +02:00
EugeneTorap d881c5df30 chore: Support Python 3.11 (#22217) 2022-12-03 09:25:11 +02:00
Ville Brofeldt 1ad5147016 fix(sqla): use same template processor in all methods (#22280) 2022-12-03 06:19:25 +02:00
Elizabeth Thompson 1c20206057 fix: convert <NA> values to None instead of stringifying (#22321) 2022-12-02 17:15:20 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6d3591cb9e build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.19.0 to 5.45.0 in /superset-websocket (#22309)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 15:36:25 -07:00
Hao Cheng 3df1c99f00 docs: update Flask-Babel links (#22023) 2022-12-02 14:20:58 -07:00
Diego Medina 09bb1cc3b5 fix(alerts): cron picker alignment issues (#22274) 2022-12-02 14:20:38 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 8018982e7b build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /superset-frontend (#22315)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-02 14:13:18 -07:00
Cody Leff 997950ecf5 chore(native-filters): Grid units, type guard, feature flag guard (#22307) 2022-12-02 19:55:03 +01:00
Elizabeth Thompson 5c77f1ad2a feat: add databricks form (#21573) 2022-12-02 10:36:27 -08:00
GeidoandMichael S. Molina df91664217 feat: Programmatically open "more filters" dropdown in Horizontal Filter Bar (#22276)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-12-02 15:03:01 +02:00
EugeneTorap 7bc5f04368 chore: Bump bigquery libs (#21466) 2022-12-02 12:48:36 +02:00
EugeneTorap 93cdcf1d92 docs: Add REDCap Cloud to superset users (#22313) 2022-12-02 12:09:14 +02:00
Diego Medina aa97ba4509 feat: root context provider extension point (#22188) 2022-12-01 13:29:51 -08:00
Kamil Gabryjelski eb6045adfa feat(native-filters): Adjust filter components for horizontal mode (#22273) 2022-12-01 15:41:19 -05:00
Craig Rueda 2bdf22b215 fix(docker): Fixing ws docker push (#22303) 2022-12-01 11:11:04 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 347eec8717 build(deps-dev): bump @types/node from 16.11.6 to 18.11.10 in /superset-websocket (#22297)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:07:03 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 329dd225a9 build(deps-dev): bump @types/cookie from 0.4.1 to 0.5.1 in /superset-websocket (#22296)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:06:22 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3affd4687e build(deps): bump hot-shots from 9.0.0 to 9.3.0 in /superset-websocket (#22295)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:05:42 -07:00
Michael S. Molina 8cf572858c feat: Automatically closes the DropdownContainer when scrolling outside of the component (#22287) 2022-12-01 10:53:52 -05:00
Stephen Liu 309c064cc8 fix(dashboard): chart doesn't resize when tab switch (#22009) 2022-12-01 08:38:23 -05:00
Michael S. Molina ead2834a77 fix: Horizontal filter bar resizing (#22286) 2022-12-01 08:11:22 -05:00
Cody Leff 04e0bb9f36 fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items (#22288) 2022-12-01 12:49:00 +01:00
Michael S. Molina afc10a247b feat: Adds overflow to the DropdownContainer popover (#22250) 2022-12-01 13:24:02 +02:00
Cody Leff ffff3e4bf4 fix(native-filters): Add empty text node before OutPortal (#22289) 2022-12-01 10:56:11 +01:00
Michael S. Molina 3ffe7828a7 feat: Uses new table component in Drill to Detail (#22173) 2022-11-30 15:20:27 -05:00
Bowen e80e10ec06 feat: add risingwave.py in db engine specs (#22123) 2022-11-30 21:13:58 +02:00
BTatlock 32ccb97c9b fix: allow datasource imports on Windows (#22264) 2022-11-30 12:07:49 -07:00
Vincent Picavet 436b790998 docs: Add Oslandia to superset users (#22242) 2022-11-30 11:34:31 -07:00
Beto Dealmeida 5de98c31fd chore: bump clickhouse to 0.4.6 (#22279) 2022-11-30 10:32:46 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6ead8afe28 build(deps-dev): bump @typescript-eslint/parser from 4.19.0 to 5.45.0 in /superset-websocket (#22255)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 11:29:33 -07:00
Antonio Rivero Martinez 2fd0a6146e feat: CSV File Upload form updates (Grouping with Collapse/Expand) (#21992) 2022-11-30 10:03:52 -05:00
Ville Brofeldt b1f8fd4f64 chore(superset-ui): remove deprecated fields from QueryObject (#22272) 2022-11-30 15:54:11 +02:00
Cody Leff 91d19056cf fix(dashboard): Change horizontal filter bar divider truncation logic (#22252) 2022-11-30 14:09:19 +01:00
Cody Leff 4657250bcf chore(dashboard): Fix missing React key errors (#22266) 2022-11-30 07:36:16 -05:00
Cody Leff 969c9634f6 fix(dashboard): Force native filters into vertical orientation when FF off (#22265) 2022-11-29 23:47:48 +02:00
Cody Leff a642d126f8 fix(dashboard): Fix FilterWithDataMask typing and add null check (#22260) 2022-11-29 20:40:09 +02:00
Antonio Rivero Martinez fb3e717573 fix(file_upload): Fix columnar and Excel upload forms (#22249) 2022-11-29 11:27:50 -05:00
Kamil Gabryjelski 389e44e1c5 fix: Apply border radius and fix height for MetadataBar (#22010) 2022-11-29 15:10:18 +01:00
Kamil Gabryjelski 79e7980791 chore: Add a migration that removes filter_bar_orientation from dashboard's json_metadata (#22248) 2022-11-29 15:09:56 +01:00
Cody LeffandKamil Gabryjelski 435926b89e fix(dashboard): Add correct icon, label and badge to horizontal native filters dropdown button (#22211)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-11-28 14:12:57 +01:00
Cody LeffandKamil Gabryjelski 93158ea649 fix(dashboard): Fix hover labels for horizontal overflow native filter dividers (#22210)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-11-28 12:35:13 +01:00
Cody Leff 4b96474d6c fix(dashboard): Fix filter card positioning for horizontal native filters (#22212) 2022-11-28 12:34:50 +01:00
Ville BrofeldtandVille Brofeldt 940a17514f fix(generic-chart-axes): apply time filter on all target column types (#22238)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-28 12:47:55 +02:00
Yongjie Zhao 0fdc520797 fix: the TimePicker overlay the AdhocFilter (#22234) 2022-11-28 17:12:40 +08:00
Yongjie Zhao 22fab5e58c feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
JUST.in DO IT cc2334e58c chore(dashboard): Ignore empty json value for overwrite confirm (#22214) 2022-11-26 19:44:27 +08:00
Mayur a8bc53d805 fix(reports): force data generation in csv reports (#22196) 2022-11-26 13:30:26 +08:00
eba7b3d074 feat: Adds virtualization option to antd based Table component (#22135)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-11-25 10:17:42 -05:00
Kamil Gabryjelski d1e576cbd1 fix(explore): Prevent infinite rerenders when editing dataset (#22219) 2022-11-25 16:00:21 +01:00
maleksan 9578a443ef feat(chart): Added Latvia to countries map (#22220) 2022-11-25 13:37:29 +02:00
Cody LeffandMichael S. Molina 64939f2872 feat: Make filters and dividers display horizontally in horizontal native filters filter bar (#22169)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2022-11-25 12:59:10 +02:00
Yongjie Zhao b2fcdc56c1 refactor: restructure shared-contrls modules (#22224) 2022-11-25 17:45:30 +08:00
Eric Briscoe 1831e8c927 fix: (dashboard) Adds optional chaining to avoid runtime error (#22213) 2022-11-24 18:08:22 +01:00
Yann Jouanique 7408676019 build(docker): Push websocket image (#22181) 2022-11-24 08:10:57 -08:00
Ville BrofeldtandVille Brofeldt 2e650eaebe fix(plugin-chart-echarts): tooltip overflow bug (#22218)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-24 14:11:01 +02:00
Michael S. MolinaandVille Brofeldt 3bc0865d90 fix: Drill to detail blocked by tooltip (#22082)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-23 21:50:06 +02:00
Kamil Gabryjelski 1809d2b957 fix(explore): Value undefined and Unhashable type errors (#22207) 2022-11-23 20:45:10 +01:00
Maxime Beauchemin 888f43c6ad chore: rename 'Change dataset' action to 'Swap dataset' (#22197) 2022-11-23 10:19:59 -08:00
Daniel Vaz Gaspar a77b2d6ebf chore: remove annotation layer FAB CRUD model view (#22178) 2022-11-22 16:19:57 +00:00
kamalkeshavani-aiinside d1567ba06d docs: add AI inside to users list (#22187) 2022-11-22 08:58:31 +02:00
AAfghahi f885a18fec fix: Empty Error Alert Modal (#22186) 2022-11-21 22:18:00 -05:00
Elizabeth Thompson 78a4bd6bb2 fix: don't stringify extraJson in form (#22171) 2022-11-21 12:57:17 -08:00
Ville BrofeldtandVille Brofeldt ac0ff78616 fix: chart id mapping in dashboard api (#22179)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-21 18:30:08 +02:00
Antonio Rivero Martinez 6bb4d87deb feat: CSV File Upload form updates (#21922) 2022-11-21 10:51:18 -05:00
John Bodley f40e6d1054 fix: SQL Lab QuerySource via referrer (#22172) 2022-11-21 07:37:10 -08:00
wrb2 9c52cca95a docs: installing database drivers - trino (#22157) 2022-11-21 15:57:09 +02:00
micsbotandVille Brofeldt 2e5270cdb0 fix(db-migration): new_dataset_models_take_2 error on postgres (#21417)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-21 14:51:57 +02:00
Shubham Sinha cc38400d71 fix: Unhandled exception Str Column Type (#22147) 2022-11-21 12:11:05 +02:00
Michael S. Molina 9a2cb431ce fix: Adds time grain to Pivot Table v2 (#22170) 2022-11-20 10:20:01 -05:00
John Bodley 7e54b88a51 chore: Change get_table_names/get_view_names return type (#22085) 2022-11-18 12:41:21 -08:00
Geido e990690dde fix: Flaky E2E tests (#22152) 2022-11-18 15:55:41 +02:00
Ville Brofeldt c3f9f0bf69 fix(alerts): execute query as report executor (#22167) 2022-11-18 14:22:56 +02:00
GeidoandMichael S. Molina 25114a7b97 feat: Horizontal filter bar states (#22064)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-18 14:15:28 +02:00
Geido 896c832649 fix: Add scrollTopOnPagination property to Table (#22115) 2022-11-18 14:14:22 +02:00
Beto Dealmeida 17c2bd89a6 feat: auto select schema (#22160) 2022-11-17 21:16:52 -08:00
Peng Ren 9cebc1fde9 docs: Add docs for Amazon Dynamodb database driver (#22145) 2022-11-17 20:18:36 -05:00
Geido d352b74ff4 chore: Upgrade antd@4.10.3 (#22007) 2022-11-17 22:48:54 +02:00
Corbin Robb 83d990db4f test(sqllab): Convert tests to RTL for SqlEditor (#22093) 2022-11-17 13:10:13 -05:00
EugeneTorap 394fb2f2d0 fix: slug is empty if filename is non-ASCII (#22118) 2022-11-16 10:53:30 -08:00
EugeneTorap 38a3fbdc33 feat: use a new official CH driver: clickhouse-connect (#22039) 2022-11-16 10:53:15 -08:00
John Bodley 900f7f915e docs: Add potential downtime line item to UPDATING.md (#22130) 2022-11-16 08:08:10 -08:00
John Bodley e8a0a5ee5c fix: Missing applied filters indicator (#22137) 2022-11-16 08:07:42 -08:00
EugeneTorap d76f305343 chore: Use queryEditorId in SqlEditor child components (#21650) 2022-11-16 08:06:20 -05:00
kamalkeshavani-aiinside 2f0d5f16f3 chore(docs): update slack invite url (#22121) 2022-11-15 19:20:39 -05:00
JUST.in DO IT 4f2e264b3f chore(sqllab): Change icon color for running sql (#22050) 2022-11-15 12:33:53 -08:00
Elizabeth Thompson 6f6cb1839e fix: add back database lookup from sip 68 revert (#22129) 2022-11-15 11:57:03 -08:00
Hugh A. Miles II e23efefc46 feat: refactor all get_sqla_engine to use contextmanager in codebase (#21943) 2022-11-15 13:45:14 -05:00
Daniel Vaz Gaspar 06f87e1467 chore: deprecate /superset/datasources/ (#22116) 2022-11-15 15:27:00 +00:00
Peng Ren b32de3dd9e feat: Add a new database driver for Amazon DynamoDB (#22077) 2022-11-14 20:57:04 -08:00
Elizabeth Thompson ce145c676c refactor: use exception status for logging (#21971) 2022-11-14 14:14:24 -08:00
JUST.in DO IT c3f1873c43 fix(sqllab): Add templateParams on kv store (#22013) 2022-11-14 10:46:21 -08:00
Elizabeth Thompson 86d52fcbc4 chore: remove shadow write of new sip 68 dataset models (#21986) 2022-11-14 09:55:53 -08:00
Michael S. Molina 824dc7188b fix: Right click on country map with code filter (#22081) 2022-11-14 08:52:31 -05:00
Daniel Vaz Gaspar ed1f50eab6 refactor: add deprecated decorator for old SupersetView's (#22113) 2022-11-14 13:34:01 +00:00
Daniel Vaz Gaspar 7c6fabb033 chore: deprecate /superset/fetch_datasource_metadata mig to API v1 (#22102) 2022-11-14 08:51:26 +00:00
Yongjie Zhao 5b67e0712d refactor: update documents and rename variables (#22074) 2022-11-11 18:04:56 +08:00
defe5c8ba7 feat: Integrate ant d table component into DatasetPanel (#21948)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-10 18:02:51 -06:00
Daniel Vaz Gaspar 35e0e5bfe6 chore: improve performance on bootstrap permissions (#22083) 2022-11-10 21:47:55 +00:00
Antonio Rivero Martinez 95b4c7b7fe chore(bigquery): Add extra logging for BigQuery exceptions so we can have better insight on exceptions (#22024) 2022-11-09 22:56:08 -05:00
736b53418a feat: create table component based on ant design Table (#21520)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-09 17:33:27 -05:00
John Bodley 9f7bd1e63f fix(presto/trino): Ensure get_table_names only returns real tables (#21794) 2022-11-09 14:30:49 -08:00
waynewenswag 53ed8f2d5a feat(helm): add metadata namespace (#22020) 2022-11-09 10:41:40 -08:00
Beto Dealmeida 4496748cd9 chore: update Druid (#22067) 2022-11-08 15:03:58 -08:00
Corbin Robb cdec09243b test: Fix act errors in DndColumnSelectControl tests (#22068) 2022-11-08 16:24:43 -05:00
JUST.in DO IT ef6b9a97d5 feat(dashboard): confirm overwrite to prevent unintended changes (#21819) 2022-11-08 13:06:19 -08:00
Beto Dealmeida cd1b379bdf fix: accept only JSON credentials (#22040) 2022-11-07 12:42:33 -08:00
Lyndsi Kay Williams 7a52b22237 test: Fix act errors in DndMetricSelect test (#22048) 2022-11-07 12:33:57 -06:00
Michael S. Molina aa48cae6fb chore: Adds RTL tests to DropdownContainer (#22041) 2022-11-07 10:11:28 -05:00
Daniel Vaz Gaspar e33a08693b fix: datasource save, improve data validation (#22038) 2022-11-07 10:33:24 +00:00
Daniel Vaz GasparandMichael S. Molina 358a4ecedd fix: deprecate approve and request_access endpoint (#22022)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-07 08:55:15 +00:00
Jack Fragassi c870fbe9e2 feat: Add 3 new extension points for inserting custom icons (#22027) 2022-11-04 11:53:57 -07:00
Yann Jouanique 9832bbd469 build: Mutli-stage build and slim image for websocket container (#21954) 2022-11-04 09:10:06 -07:00
Michael S. Molina 7d1df3b78d feat: Improves SafeMarkdown HTML sanitization (#21895) 2022-11-04 10:34:02 -04:00
Michael S. Molina b040211970 feat: Adds more customization properties to DropdownContainer (#22031) 2022-11-04 10:20:49 -04:00
Stephen Liu 9b6322b640 fix(native-filters): panels are collapsed when switch native filters (#21976) 2022-11-04 19:10:08 +08:00
JUST.in DO IT 5e1eecb3e7 chore(dataset): enable reload for schema and table (#22032) 2022-11-03 17:59:05 -07:00
John Bodley 6bbf4f8718 fix: JSON serializers (#22029) 2022-11-03 17:29:10 -07:00
Kamil Gabryjelski 68e8b00cde feat(dashboard): Support changing filter bar location (#22004) 2022-11-03 16:50:34 +02:00
Yongjie Zhao d52d72ce64 refactor: Feature flags getter (#22015) 2022-11-03 22:30:22 +08:00
Michael S. Molina 97e3e790a3 feat: Adds the DropdownContainer component (#21974) 2022-11-03 14:53:50 +01:00
Cody Leff 4cbd70db34 fix: Revert shared controls typing change. (#22014) 2022-11-03 11:58:38 +08:00
Lyndsi Kay Williams ba65f66897 fix: Change downloadAsImage to use Superset theme (#22011) 2022-11-02 21:24:10 -05:00
Yongjie Zhao 429f246f7a refactor: clean up codes (#22002) 2022-11-03 00:16:10 +08:00
Geido 4e33235020 chore: Verify edit permission for Horizontal filter bar (#21990) 2022-11-02 12:02:33 +02:00
John Bodley 4a330a3630 chore: Refactor ownership (#21938) 2022-11-02 01:05:31 -07:00
JUST.in DO IT 3a023392e6 fix: invalid float number format by json-bigint (#21996) 2022-11-02 01:04:17 -07:00
Yongjie Zhao a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
AAfghahi 25be9ab4bc fix: bump gecko and mozilla in Dockerfile (#21995) 2022-11-01 18:02:37 -04:00
Maxime Beauchemin 72598a5b2a fix: rename datasource->dataset in error message (#21959) 2022-11-01 21:53:06 +08:00
Ville Brofeldt dc7399540b chore: bubble up more db error messages (#21982) 2022-11-01 07:54:27 +02:00
Geido 5c27aafc0b feat: Selectable dropdown triggered by icon component (#21955) 2022-10-31 19:02:40 +01:00
JUST.in DO IT 3bb9187797 fix: invalid float number format by json-bigint (#21968) 2022-10-31 10:20:43 -07:00
Hugh A. Miles II 7f78778792 refactor: return initial exception and check if it's user error (#21836) 2022-10-31 12:33:01 -04:00
Ville BrofeldtandVille Brofeldt a02a778cc3 feat(reports): execute as other than selenium user (#21931)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-31 14:32:49 +02:00
Daniel Vaz Gaspar c9470cac91 fix: dashboard api cache decorator (#21964) 2022-10-31 10:26:48 +00:00
Stephen Liu 66f166be0f perf(native-filters): reduce the re-rendering of native filter modal (#21781) 2022-10-31 13:35:54 +08:00
Stephen Liu bf001931c8 perf(native-filters): improve native filter modal form performance (#21821) 2022-10-30 23:55:48 +08:00
Richard Gebhardt 3ea8f20f71 fix: bump expected npm version in superset-websocket (#21973)
Signed-off-by: Richard Gebhardt <gebhardtr@redhat.com>
2022-10-30 10:36:50 +02:00
Yann Jouanique ae9a30b37c build(helm): Helm-docs + fix Helm chart release (#21963) 2022-10-29 16:29:54 -07:00
Elizabeth Thompson efefb66c2d chore: bump pyathena and related packages (#21958) 2022-10-28 18:15:15 -07:00
AAfghahi 33fc57854d fix: error_parsing (#21946) 2022-10-28 19:43:37 -04:00
Eric Briscoe d1807db041 fix: Adds logging for SPA route navigation with React router (#21960) 2022-10-28 13:00:45 -07:00
Phillip Kelley-Dotson d3f930a557 fix: add form data for empty state control to save dataset (#21944) 2022-10-28 11:43:42 -07:00
Anthony GainorandHerbert Gainor 7f563cf92d chore: Remove several React app console warnings and errors v2 (#21725)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-28 19:08:10 +08:00
Kamil Gabryjelski 3c7a081281 fix(explore): Small changes in metadata bar copy and tooltip placement (#21952) 2022-10-28 11:40:18 +02:00
AAfghahi 102909e004 fix: small bump to shillelagh (#21953) 2022-10-27 18:08:51 -04:00
Kamil Gabryjelski 9d25453425 fix(explore): Chart save modal displays error instead of failing silently (#21920) 2022-10-27 23:30:59 +02:00
JUST.in DO IT fb8231b50c fix(sqllab): wiped out unsaved changes by delayed actions (#21877) 2022-10-27 13:20:34 -07:00
Yann Jouanique 06da7bf65c feat(helm): Support for flower and websocket containers (#21806) 2022-10-27 13:03:21 -07:00
Geido 7e3e13321b fix: Most common flaky Cypress tests (#21941) 2022-10-27 21:00:36 +03:00
Cody Leff 95b43238a0 fix(dashboard): Remove bar at bottom of dashboard edit sidebar (#21807) 2022-10-27 22:58:00 +08:00
Gabriel Forien 2d5ee4faaa docs(athena): add assuming IAM role with PyAthena (#21951) 2022-10-27 13:18:10 +01:00
edce579047 feat(dashboard): Move dashboard auto refresh intervals options to config (#21924)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-10-27 08:31:49 -03:00
Antonio Rivero Martinez 203b289021 feat(bigquery): Custom message when Service Account doesnt have the correct Roles and Permissions (#21838) 2022-10-26 19:44:09 -04:00
John Bodley 059e53a39f fix: Crash caused by numpy.vectorize (#21936) 2022-10-26 15:06:18 -07:00
JUST.in DO IT 40024064ae fix: BIGINT rendering regression in chartAction (#21937) 2022-10-26 15:04:20 -07:00
Beto Dealmeida a88dfe24c7 fix: check that imports are ZIPs (#21875) 2022-10-26 12:15:46 -07:00
Michael S. Molina 779d9f7533 feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935) 2022-10-26 08:39:10 -03:00
Hugh A. Miles II 7600da8041 feat: create function for get_sqla_engine with context (#21790) 2022-10-25 14:12:48 -04:00
Beto Dealmeida 1388f21ee3 fix: accept old database payload (#21923) 2022-10-25 10:29:29 -07:00
Geido fa67315f5b fix: Default temporal column in Datasource (#21857) 2022-10-25 14:42:11 +03:00
Yongjie Zhao c6c9215a2b fix: time grain key from P0.25Y to P3M (#21919) 2022-10-25 14:41:30 +08:00
AAfghahi 76c865fc56 chore: additional logging in alerts and reports (#21802) 2022-10-24 17:07:21 -04:00
JUST.in DO IT 792820ef48 fix(sqllab): remove set state on component update lifecycle (#21771) 2022-10-24 10:50:30 -07:00
Phillip Kelley-Dotson 88e98d576c fix(sqllab): fix control x to stop query (#21899) 2022-10-24 12:51:22 -04:00
Antonio Rivero Martinez c19708b432 feat(rightmenu): Add Datasets to + Menu and Hide Databases when one has been connected (#21530) 2022-10-24 12:45:23 -04:00
Lyndsi Kay Williams 175ec854b9 feat: Add dataset visuals for when a table is selected (#21893) 2022-10-24 12:43:13 -04:00
Geido a36ab71a27 fix: Ensure data cleanup in Cypress (#21921) 2022-10-24 18:25:36 +03:00
Ville Brofeldt f5977caf44 chore(plugin-chart-echarts): bump ECharts to 5.4.0 (#21916) 2022-10-24 17:09:24 +03:00
Shubham Sinha 7edf1fbdf0 fix(superset): Fixed API for bulk delete of embedded dashboards (#21911) 2022-10-22 12:25:17 +01:00
Michael S. Molina 3da9687328 chore: Improves D2D loading indicator (#21908) 2022-10-21 13:24:57 -03:00
Evan Rusackas 04b017e006 chore: Updating SIP issue template to boost the link, and (hopefully) reduce duplicate-numbered SIP issues. (#21896) 2022-10-21 07:57:13 -06:00
Geido c2834cc14c chore: Remove CROSS_REFERENCES feature flag (#21815) 2022-10-21 15:11:49 +03:00
Geido 2fe68a3633 chore: E2E Dashboards Cross-references (#21805) 2022-10-21 15:10:35 +03:00
Cody Leff 40f82545ab fix(dashboard): Ensure correct positioning of "Drill to detail by" submenu (#21894) 2022-10-21 08:49:31 -03:00
JUST.in DO IT f4a4ab41e0 fix: type of AnnotationLayer (#21878) 2022-10-21 19:11:18 +08:00
Cody Leff e418694150 fix: Mistaken use of BootstrapUser type (#21892) 2022-10-20 18:02:02 -03:00
Usiel RiedlandUsiel Riedl 9a063abb3b feat(explore): add config for default time filter (#21879)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-10-20 20:09:51 +08:00
Michael S. Molina f4da74ce8d feat: Adds a Content Security Policy (CSP) check for production environments (#21874) 2022-10-20 08:45:28 -03:00
GeidoandstephenLYZ b17ef18aae chore: Color consistency E2E tests (#21622)
Co-authored-by: stephenLYZ <750188453@qq.com>
2022-10-20 14:16:29 +03:00
Lyndsi Kay Williams 28c7636c59 fix: Change timer font to monospace (#21876) 2022-10-19 16:53:34 -05:00
Cody Leff 76e57ec651 feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351) 2022-10-19 18:34:46 -03:00
lucapette 54f6fd6a82 fix: docker links (#21797) 2022-10-19 22:24:22 +08:00
Shubham Sinha decb2fb591 feat(datasets): Change in API to create virtual datasets (#21840) 2022-10-19 15:05:21 +01:00
Kamil Gabryjelski cddc361adc feat(explore): Don't discard controls with custom sql when changing datasource (#20934) 2022-10-19 15:29:38 +02:00
Anthony GainorandHerbert Gainor ec20c0104e fix(dashboard): Prevent XSS attack vector (#21822)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-19 09:54:20 -03:00
mapledanandmapledan 7c4102c20e feat(select filter): add CRLF separator for Windows (#21867)
Co-authored-by: mapledan <s1991829@gmail.com>
2022-10-19 08:49:23 -03:00
Yongjie Zhao 9aa804e070 fix: categorical x-axis can't apply the label of column (#21869) 2022-10-19 18:47:02 +08:00
Michael S. Molina 47b1e0ca9d feat: Disables HTML rendering in Toast by default (#21853) 2022-10-19 07:44:50 -03:00
Yongjie Zhao 0a4ecca9f2 fix: custom SQL in the XAxis (#21847) 2022-10-19 11:40:52 +08:00
Lenin b77335494a docs: 414 (#21849) 2022-10-19 09:54:49 +08:00
Andrew df7840c041 chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao f38115489b fix: drilling on the categorical xaxis on the mixed chart (#21845) 2022-10-19 09:08:28 +08:00
Yongjie Zhao f41d0b0cbf fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47:53 +08:00
Geido 383dc29ad1 fix: Allow comma in Number Format (#21817) 2022-10-18 14:28:07 +03:00
Lyndsi Kay Williams 8f4415bc83 fix: Dataset left panel now uses client side search (#21770) 2022-10-17 15:02:33 -05:00
Lyndsi Kay Williams fcb98003a3 fix(sqllab): Fix spacing on Schedule option in SqlEditor dropdown (#21832) 2022-10-17 14:54:45 -05:00
Ville BrofeldtandVille Brofeldt 52d33b05fd chore(sqla): refactor query utils (#21811)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-17 10:40:42 +01:00
Stephen Liu 7a7181a244 feat(color): color consistency enhancements (#21507) 2022-10-17 17:01:20 +08:00
kevin 7ec136fec2 fix(superset-embedded-sdk): Buffer is not defined (#21641) 2022-10-17 09:14:28 +01:00
Hugh A. Miles II 6f2e76bc09 chore: Add USER_CLIENT_ERRORS to stop logging exceptions that are user driven (#21818) 2022-10-15 11:31:31 -04:00
Ville Brofeldt 4c1777f20d fix(alerts): restrict list view and gamma perms (#21765) 2022-10-15 10:03:26 +03:00
Elizabeth Thompson 196c3671e2 refactor: serialize extra json in state (#21523) 2022-10-14 14:55:20 -07:00
Lyndsi Kay WilliamsandAAfghahi df3b5a8305 fix: Dataset creation header is now uneditable and holds proper default values (#21557)
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-10-13 17:17:24 -05:00
John Bodley b1bf25e98c fix(explore): Persist URL params to form-data (#21792) 2022-10-13 14:25:46 -07:00
Phillip Kelley-Dotson f4fa2e1115 chore: add more logging for alerts and reports (#21714) 2022-10-13 15:53:02 -04:00
Eric Briscoe 2258fbf878 fix(CustomFrame): Resolves issue #21731 where date range in explore throws runtime error (#21776) 2022-10-13 09:52:35 -07:00
Hugh A. Miles II e6c44e02cb chore: stop logging "SyntaxError" as exceptions (#21787) 2022-10-13 11:58:02 -04:00
GeidoandKamil Gabryjelski 49b48eeca4 feat: Cross-referenced Dashboards in Chart list (Column + Filter) (#21760)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-10-13 14:50:03 +03:00
Cody Leff d5b4bdeb72 fix(plugin-chart-handlebars): Update webpack/babel config to fix build/runtime warnings/errors (#21779) 2022-10-12 21:32:31 -06:00
John Bodley 3936e9ed5f fix: Fix regression introduced in #20893 (#21743) 2022-10-12 18:31:26 -07:00
John Bodley 88a89c9fd6 fix(migration): Ensure the paginated update is deterministic (#21778) 2022-10-12 17:11:59 -07:00
Michael S. Molina 11d7d6e078 fix: Preserve unknown URL params (#21785) 2022-10-12 15:52:36 -07:00
Elizabeth Thompson 75e6a04269 fix: remove deprecated ETagResponseMixin (#21773) 2022-10-12 10:26:42 -07:00
Yongjie Zhao 8f74e46d45 fix: regression in #21766 (#21782) 2022-10-12 19:28:55 +08:00
Yongjie Zhao 8f61e3c5d9 refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Hugh A. Miles II bd3166b603 chore: cleanup on catalog check for Gsheets (#21738) 2022-10-11 15:19:12 -04:00
Antonio Rivero Martinez 605b6920a6 fix(datasets): Stop showing alert when saving from query (#21442) 2022-10-11 10:24:11 -07:00
Lyndsi Kay Williamsandhughhhh d21e1d799d fix(sqllab): Async queries are now fetched properly (#21698)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2022-10-11 12:21:37 -05:00
Kamil Gabryjelski 406e44bba1 perf(dashboard): Virtualization POC (#21438) 2022-10-11 15:06:00 +02:00
Cody Leff 070b865e32 chore(explore): Add tests for getControlValuesCompatibleWithDatasource (#21744) 2022-10-11 08:31:46 -03:00
Daniel Vaz Gaspar ba3275a4d0 fix: flash message on database data upload forms (#21761) 2022-10-11 08:44:32 +01:00
Stephen Liu db075d4157 chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 (#21748) 2022-10-11 14:47:25 +08:00
JUST.in DO IT d7ee443a13 fix(sqllab): resultset disappeared on switching tabs (#21741) 2022-10-10 10:06:34 -07:00
Daniel Vaz Gaspar 91f0de0c5d fix: database schema selector on import data (#21759) 2022-10-10 17:56:31 +01:00
Shubham Sinha 20b9dc8444 feat(embedded-dashboard): Share Switchboard State for Sending Events from Plugins (#21319) 2022-10-10 16:27:43 +03:00
Mayur d1a6f0ebc4 fix: allow adhoc columns in non-aggregate query (#21729) 2022-10-10 12:08:33 +08:00
Elizabeth Thompson f58227a912 feat: add denylist for db engines (#21486) 2022-10-08 19:45:21 -07:00
Hugh A. Miles II aef6217a80 fix: Gsheets takes 2 clicks to save (#21740) 2022-10-07 19:40:15 -04:00
JUST.in DO IT 0c461497ff chore(sqllab): refactor addQueryEditor for new tab (#21711) 2022-10-07 17:57:39 -03:00
Reese a5ff0949a6 feat(api): Add option to enable sync on import (#20312) 2022-10-07 15:28:38 -03:00
dkrat7 f42516887d chore: Slovenian translation update (#20435) 2022-10-07 15:27:24 -03:00
Martin Morset 1372b0dff5 docs(snowflake): Remove wrong version info for snowflake (#21024) 2022-10-07 15:24:24 -03:00
Jakob Miksch ca3abffb81 docs: wording in template (#21491) 2022-10-07 15:21:39 -03:00
JUST.in DO IT 35d9cb38a8 fix(explore): chart link is broken without localStorage (#21707) 2022-10-07 15:11:04 -03:00
Michael S. Molina 200bed6f7e feat: Shows related dashboards in Explore (#21685) 2022-10-07 12:59:49 -03:00
Michael S. Molina 0ff1e49e3c fix: Null values on Treemap right-click (#21722) 2022-10-07 08:08:10 -03:00
Mayur 61319fd759 feat(sqllab): save query parameters in database (#21682) 2022-10-07 12:49:14 +05:30
Hugh A. Miles II 882bfb67ae fix: gsheets editing with dynamic forms (#21710) 2022-10-06 19:57:12 -07:00
Antonio Rivero Martinez 97273f59f8 fix(database): Handle String errors in DatabaseModal (#21709) 2022-10-06 11:01:22 -07:00
Michael S. Molina eb2a1345a8 fix: Drill to detail formatted val on TableChart (#21719) 2022-10-06 14:45:09 -03:00
041c54e656 build: optimize docker build by better utilizing build cache (#21583)
Co-authored-by: Peng Wang <pwang@williamblair.com>
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2022-10-06 23:08:10 +08:00
Michael S. Molina f1fbaf8244 fix: Pass slice_id in Explore get (#21696) 2022-10-06 08:54:05 -03:00
Michael S. Molina 1cbf066415 feat: Adds the CROSS_REFERENCE feature flag (#21708) 2022-10-06 08:53:51 -03:00
Michael S. Molina 770f68f5b1 fix: Right-click on misconfigured World Map (#21697) 2022-10-06 08:23:40 -03:00
ʈᵃᵢ d6a82187a7 docs(cache): update datasource -> dataset (#21670) 2022-10-06 19:03:53 +08:00
Yongjie Zhao 05648eb489 feat: support None operand in EQUAL operator (#21713) 2022-10-06 16:45:59 +08:00
Hugh A. Miles II 51c54b3c9b fix: add get_column function for Query obj (#21691) 2022-10-05 18:25:44 -04:00
Geido 7b66e0bb34 chore: E2E tests for Drill to Detail supported Charts (#21681) 2022-10-05 19:54:51 +03:00
Ville BrofeldtandVille Brofeldt b6891aaa9f chore(key-value): remove redundant exception logging (#21702)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-05 19:44:42 +03:00
Geido de444d4de6 fix: Race conditions with setupExtensions (#21647) 2022-10-05 12:38:51 +03:00
Victor Arbues ebd75366c0 feat(chart): add feature flag that displays the data pane closes by default (#21649) 2022-10-05 15:34:03 +08:00
JUST.in DO IT 50cb396bf2 fix(sqllab): async query broken due to #21320 (#21667) 2022-10-05 15:23:40 +08:00
PM Extra f3f9f3b1f2 other: Improve health check for docker-compose. (#17320) 2022-10-04 14:37:26 -07:00
Evan RusackasandGeido c248ee56e4 chore: Adding/categorizing missing flags in FEATURE_FLAGS.md (#21474)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2022-10-04 10:44:57 -07:00
Kamil Gabryjelski 2907869c26 feat: Use SPA navigation between AddSlice and Dataset list pages (#21683) 2022-10-04 13:52:21 +02:00
640628952e chore(dep): Unpin slackclient dependency (#21586)
Co-authored-by: Erik Cederstrand <erik@adamatics.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-10-04 14:42:42 +03:00
Kamil Gabryjelski f784455264 fix(native-filters): Range filter max/min default display value (#21680) 2022-10-04 13:26:47 +02:00
Daniel Vaz GasparandVille Brofeldt 3057e4270c feat: deprecate created_slices API endpoint (#21664)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-10-04 09:13:11 +01:00
QLands 5da20f449d fix(migration): Catch DatabaseError to avoid migration crash with MySQL 8.0 (#21679) 2022-10-04 10:07:51 +03:00
Peter Kosztolanyi abc0f19f08 docs: add Wise to users list (#21687) 2022-10-04 09:41:21 +03:00
Elizabeth Thompson e98943e580 refactor: pass all properties to validate_parameters (#21487) 2022-10-03 17:48:54 -07:00
Elizabeth Thompson 4417c6e3e2 chore: add 4xx error codes where applicable (#21627) 2022-10-03 15:19:47 -07:00
Phillip Kelley-Dotson 84c3cf66ea fix: add logging to alerts and reports to find non-triggering issues (#21684) 2022-10-03 13:24:32 -07:00
Hugh A. Miles II 4d0c2ba6ef fix: Allow clickhouse dbs with timestamps to visualize queries (#21446) 2022-10-03 14:22:20 -04:00
Evan Rusackas 4245bc3f38 chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06:00
Anthony GainorandHerbert Gainor 3edc656f20 fix(explore): Dashboard list is unsorted in save modal (#21317)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-03 17:16:35 +03:00
John Bodley 31895f412e chore(tags): Refactor logic to leverage Flask-SQLAlchemy extension (#21459) 2022-10-03 00:07:52 -07:00
JUST.in DO IT 8d1b7ecfde fix(sqllab): perf regression on #21532 refactor (#21632) 2022-10-03 11:00:53 +08:00
JUST.in DO IT 157482955e chore: avoid undefined property on Global type (#21631) 2022-10-03 10:51:55 +08:00
Elizabeth Thompson ef78ec6b30 fix: catch error when masking encrypted extra is none (#21570) 2022-10-02 19:49:01 -07:00
Zamarandzamar roura c1ba3290d9 docs: add organization that uses superset (#21660)
Co-authored-by: zamar roura <zamar.roura@cabify.es>
2022-10-01 17:04:50 -07:00
Stephen Liu 61bd696226 fix(plugin-chart-echarts): boxplot throw error in the dashboard (#21661) 2022-10-01 08:53:29 +08:00
Yongjie Zhao 4c17f0e71e fix: time grain can't be removed in explore (#21644) 2022-09-30 23:15:19 +08:00
1d70079f71 fix(dashboard): Change text and icons in dashboard editmode (#21305)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
Co-authored-by: geido <diegopucci.me@gmail.com>
2022-09-30 17:36:11 +03:00
Stephen Liu 389fa31b89 fix: new welcome new users action (#21662) 2022-09-30 19:36:25 +08:00
Kamil Gabryjelski eeb979c150 chore: Create dashboard with tier 1 and tier 2 charts (#21551) 2022-09-30 14:14:26 +03:00
Michael S. Molina b2a360fa14 fix: Switch tab on drag hover (#21648) 2022-09-30 08:09:05 -03:00
Michael S. Molina 6af35a7d98 fix: Selected tab after save and go to dashboard (#21630) 2022-09-30 08:07:01 -03:00
Bryan Thomas f83af88fc7 feat: Added latin america countries to country map (#21352) 2022-09-30 12:47:01 +03:00
Yongjie Zhao 9dd102f383 refactor: remove useless groupby from QueryObject (#21643) 2022-09-30 11:53:54 +08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f3465f5b22 chore(deps): bump minimist from 0.0.5 to 1.2.6 in /superset-frontend (#21654)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 15:54:28 -06:00
Rui ZhaoandRui Zhao 7f971b4103 fix(report): Fix permission check for set up email report on charts/dashboards. Fixes #21559 (#21561)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-09-29 14:22:32 -07:00
Michael S. Molina 0dda5fe1cf feat: Adds the MetadataBar to the Explore header (#21560) 2022-09-29 14:34:57 -03:00
Mayur 5ea9249059 fix: respect chart cache timeout setting (#21637) 2022-09-29 08:26:19 -06:00
Daniel Vaz Gaspar ab7cfec975 feat: new config to filter specific users from dropdown lists (#21515) 2022-09-29 12:30:07 +01:00
jayakrishnankkandJayakrishnan Karolil b787c3fef4 feat(embedded): +2 functions: getDashboardPermalink, getActiveTabs (#21444)
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2022-09-28 20:03:30 -07:00
Antonio Rivero Martinez 71bf267307 fix(sqllab): SqlEditorLeftBar listening to database changes (#21628) 2022-09-28 19:22:09 -04:00
Stephen Liu ab53d77aba fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539) 2022-09-28 22:10:38 +08:00
Mayur 60bab4269f fix(table-chart): don't color empty cells in table chart with color formatters (#21501) 2022-09-28 16:16:12 +08:00
Yongjie Zhao 93f08e778b feat: explicit distribute columns on BoxPlot and apply time grain (#21593) 2022-09-28 15:32:35 +08:00
Evan Rusackas 23cd5c90cf chore: removing '.git' from web url references in Yeoman generator's package.json (#21611) 2022-09-27 22:29:26 -06:00
EugeneTorap 15c3c34268 chore: refactor AceEditorWrapper to functional component (#21532) 2022-09-27 18:04:34 -06:00
Alexander Likhachev 546cc18475 docs: update installing-superset-using-docker-compose.mdx (#20958) 2022-09-27 18:01:20 -06:00
John Bodley f86e99e89c docs: Removing erroneous FAQ timeout message (#20853) 2022-09-27 18:00:44 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b8c1aa5ff2 chore(deps): bump node-forge and webpack-dev-server in /superset-frontend (#21169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 15:11:42 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2102ba7e4a chore(deps-dev): bump @types/jsonwebtoken from 8.5.5 to 8.5.9 in /superset-websocket (#21602)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 15:09:46 -06:00
Reese e3ddd0bdd5 fix: Dataset duplication fatal error (#21358) 2022-09-27 13:02:37 -07:00
Craig Rueda 18ec294336 fix(tags): Adding __init__ to tags (#21591) 2022-09-27 10:35:20 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c4edcbdb00 chore(deps): bump http-errors from 1.8.0 to 2.0.0 in /superset-websocket/utils/client-ws-app (#20978)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 11:22:21 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9b058bc238 chore(deps): bump cookie from 0.4.1 to 0.5.0 in /superset-websocket (#20983)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 11:08:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> eac74a1234 chore(deps): bump terser from 5.10.0 to 5.14.2 in /superset-embedded-sdk (#20785)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 11:07:18 -06:00
Michael S. Molina bb08c7e7f0 chore: Updates CHANGELOG.md and UPDATING.md with 1.5.2 changes (#21601) 2022-09-27 13:29:04 -03:00
Michael S. Molina bb1cf7f145 refactor: Organizes the Select files (#21589) 2022-09-27 08:38:06 -03:00
Stephen LiuandMichael S. Molina 24412e282d fix(dashboard): dashboard doesn't load properly if it has tabs (#21576)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-09-27 09:25:01 +08:00
JUST.in DO ITandJohn Bodley 2cdd88aa4f chore(dashboard): Add filter_scopes warning message for json metadata editor (#21543)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-09-26 15:05:41 -07:00
Cody Leff 954fc89871 fix(explore): Fix datasource switch for table chart (#21544) 2022-09-26 10:39:28 -07:00
Antonio Rivero Martinez b36bd3f083 fix(databases): GSheets and Clickhouse DBs are not allowed to upload files (#21065) 2022-09-26 10:08:11 -07:00
82bd5a31b8 chore(deps): Unpin sqlparse dependency (#21581)
Co-authored-by: Erik Cederstrand <erik@adamatics.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-09-26 17:41:04 +03:00
Mayur 73429c6b2a fix(dashboard): show correct roles for dashboard access dropdown (#21549) 2022-09-26 11:23:38 -03:00
Yongjie Zhao f4646f8edb feat: adding XAxis to BigNumberTrend (#21577) 2022-09-26 20:14:17 +08:00
Rıza Ç 5d51555c46 docs: Turkey map already added (#21566) 2022-09-25 11:43:32 +08:00
AAfghahiandlyndsiWilliams c4638fa2b9 feat: Dataset Creation Footer Component (#21241)
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2022-09-23 18:40:10 -05:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4913da1511 chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in /superset-frontend (#21565)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 14:11:39 -06:00
JUST.in DO IT e2b77a7543 fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21316) 2022-09-23 14:28:42 -03:00
Michael S. Molina 2ec744da21 feat: Increments charts endpoint with related dashboards (#21518) 2022-09-23 13:21:19 -03:00
Yongjie Zhao d67b04683c feat: support multiple columns with time grain in Table Chart (#21547) 2022-09-23 16:08:35 +08:00
cccs-DustinandVille Brofeldt 2e564897f8 feat: Add dataset tagging to the back-end (#20892)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-09-23 11:01:17 +03:00
Eric Briscoe dc539087c7 chore: Remove chromatic job per PR as it has errors (#21553) 2022-09-22 18:25:45 -03:00
Gabriel Forienandgforien 3f8e9a567a feat(helm): add RollingUpdate parameters (#20931)
Co-authored-by: gforien <gforien.externe@bedrockstreaming.com>
2022-09-22 07:47:12 -07:00
Yongjie Zhao e671d80209 feat: support multiple time columns with time grain in Pivot Table v2 (#21537) 2022-09-22 21:56:10 +08:00
Michael S. Molina bbac67a2dc refactor: Rewrites ColorSchemeControl with Typescript (#21496) 2022-09-22 08:29:02 -03:00
Antonio Rivero Martinez fb835d1437 feat(nav): Update Tabbed Nav on CRUD Pages (#21213) 2022-09-21 15:50:21 -07:00
EugeneTorap cbadb8773f fix: Reset dataset name after saving a new dataset in SQL Lab (#21529) 2022-09-21 22:56:45 +02:00
noctarius aka Christoph Engelbert e438c967c9 fix(docs): added missing timescale.png (#21542)
Signed-off-by: Christoph Engelbert (noctarius) <me@noctarius.com>
2022-09-21 16:07:44 -04:00
Gabriel Forienandgforien 8ee34e175d feat(helm): add annotations on ServiceAccount (#21536)
Co-authored-by: gforien <gforien.externe@bedrockstreaming.com>
2022-09-21 10:39:35 -07:00
LiuBodongandStephen Liu c66205feac fix: pie chart orientation description error (#21514)
Co-authored-by: Stephen Liu <750188453@qq.com>
2022-09-21 21:44:29 +08:00
Yongjie Zhao 4d12e3709e feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519) 2022-09-21 09:41:21 +08:00
Cody Leff 6644a84f79 fix(explore): fix chart save when dashboard deleted (#21497) 2022-09-20 13:49:31 -06:00
EugeneTorap 2224ebecfe chore: refactor SqlEditor to functional component (#21320) 2022-09-20 08:41:14 -05:00
Evan Rusackas 135909f814 feat: Making bar graphs in Table viz from fixed-size divs instead of calculated gradients (#21482) 2022-09-20 07:36:36 -06:00
Yongjie Zhao 737d4dcf0c refactor: refine timestamp expr function (#21510) 2022-09-20 18:51:01 +08:00
Yongjie Zhao 42000823be chore: should return if get a exception in Dashboard edit modal (#21524) 2022-09-20 17:32:28 +08:00
Moriah Kreeger f27e20e30d feat(filters): add onFilterUpdate handler to list view filters (#21443) 2022-09-19 11:42:34 -07:00
Geido 94ed4279c7 fix: Dataset timeout (#21516) 2022-09-19 11:15:54 -07:00
Stephen Liu 94a724e49b perf(word-cloud): reduce render to improve performance (#21504) 2022-09-19 20:08:36 +08:00
EugeneTorap 7d2f07e78f chore: Use slim image in Dockerfile (#21326) 2022-09-19 10:30:17 +01:00
Mayur b29e7e7d9e fix: set correct favicon from config for login and FAB list views (#21498) 2022-09-19 15:24:01 +08:00
forestlzj fdb4702332 fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown list (#21495) 2022-09-19 11:28:49 +08:00
Daniel Vaz Gaspar 7e2e8b8ad9 fix: dataset after insert when db relation does not exist (#21492) 2022-09-17 17:16:18 +01:00
John BodleyandElizabeth Thompson 8c16806f57 fix: Address regression introduced in #21284 (#21470)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-09-16 14:18:03 -07:00
Michael S. Molina b739e27f6d fix: Duplicated numeric values in Select (#21480) 2022-09-16 08:39:27 -03:00
Michael S. Molina 7c3fc67315 refactor: Moves the DeprecatedSelect to its own folder (#21445) 2022-09-16 08:23:28 -03:00
Yongjie Zhao 2d16100dbc refactor: get Axis from a helper function (#21449) 2022-09-16 15:57:45 +08:00
Yongjie Zhao 33509ab7da fix: BigQuery cannot accept Time Grain (#21489) 2022-09-16 15:19:24 +08:00
Cody Leff 324e9979fa fix(explore): Fix generic X-axis time grain disappearing (#21484) 2022-09-16 14:09:17 +08:00
Yongjie Zhao 2dfcba04b0 fix: Time Offset in SQLite and refine logic in Date Type conversion (#21378) 2022-09-16 12:02:22 +08:00
Stephen Liu 1c0bff3dfb fix: revert #21356(able to sort bar on the bar chart V2) (#21481) 2022-09-16 09:06:12 +08:00
cccs-RyanK 4fcc1d952f chore: Extract common select component code (#21094) 2022-09-15 09:57:37 -03:00
Michael S. Molina 2c7323a87d fix: Supports form_data param in old Explore endpoint (#21469) 2022-09-14 18:00:11 -03:00
Cody Leff 2285ebe72e fix(explore): Prevent shared controls from checking feature flags outside React render (#21315) 2022-09-14 20:41:47 +02:00
Mayur 59ca7861c0 fix: dashboard filter value is cleared when 2 similar dashboards opened in succession (#21461) 2022-09-14 08:41:51 -03:00
Yongjie Zhao ae6d2cf18d fix: hide time_grain when x_axis value is undefined (#21464) 2022-09-14 19:03:49 +08:00
Lyndsi Kay Williams 6e8cad3e16 feat: Create dataset header component (#21189) 2022-09-13 19:39:02 -05:00
Lily Kuang 973d870538 chore: remove blank space from users filters (#21346) 2022-09-13 13:59:46 -07:00
Daniel Vaz Gaspar 64d216adb3 fix: permission sqlalchemy events (#21454) 2022-09-13 13:56:59 -07:00
MichaelHintz 3098e657e5 fix(sqllab): Fix cursor alignment in SQL lab editor by avoiding Lucida Console font on Windows (#21380) 2022-09-13 13:03:21 -07:00
Lyndsi Kay Williams 4ad1de3be5 test: Fix act errors in ExploreChartPanel test (#21456) 2022-09-13 13:29:31 -05:00
BogdanandBogdan Kyryliuk 44654e5abc perf: Memoize the common_bootstrap_payload and include user param (#21018) (#21439)
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-09-13 08:52:08 -07:00
John Bodley eac6fdcd29 chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
Stephen Liu 59437ea6e7 feat(plugin-chart-echarts): able to sort bar on the bar chart V2 (#21356) 2022-09-13 23:09:09 +08:00
Ville Brofeldt 05b97fff4d fix(cache): respect default cache timeout on v1 chart data requests (#21441) 2022-09-13 15:56:04 +02:00
Yongjie Zhao eb4ba5b089 fix: should be able to remove selection from X-AXIS control (#21371) 2022-09-13 21:05:07 +08:00
Ville BrofeldtandVille Brofeldt e1e9fda72b fix: remove extras from all adhoc_filters controls (#21450)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-13 15:52:21 +03:00
Michael S. Molina 9c285dafb4 test: Fixes act errors in ErrorMessage tests (#21414) 2022-09-12 12:01:55 -03:00
Geido 8539d4cb67 chore: Cypress runtime enhancements (#21332) 2022-09-12 17:48:36 +03:00
Jesse Yang 1084bde2cc fix(dashboard): JS error when editing charts (#21422) 2022-09-12 07:43:48 -07:00
Stephen Liu d28909d56c fix(explore): disable resize bar when the results area is collapsed (#21366) 2022-09-12 08:37:50 -06:00
Lyndsi Kay Williams cf7c420e01 test: Fix act errors in CustomFrame test (#21427) 2022-09-12 09:39:08 -03:00
Michael S. Molina c16a6dd2f4 test: Fixes act errors in LastUpdated test (#21415) 2022-09-12 09:21:09 -03:00
Stephen Liu 99628d3e84 fix(dashboard): drag preview not working (#21432) 2022-09-12 19:34:28 +08:00
EugeneTorap 7401f15add chore: Bump sqlalchemy-utils to 0.38.3 (#21413) 2022-09-10 11:39:23 +03:00
Lyndsi Kay Williams 210a2b9053 test: Fix act errors in DndFilterSelect test (#21429) 2022-09-09 20:28:46 -05:00
Lyndsi Kay Williams 2c7da649e4 test: Fix act errors in DndColumnSelect test (#21428) 2022-09-09 20:28:21 -05:00
Lyndsi Kay Williams 3819d5154a test: Fix act errors in DatasourceControl test (#21426) 2022-09-09 20:27:50 -05:00
Lyndsi Kay Williams 69d3a336b4 test: Fix act errors in AnnotationLayer test (#21423) 2022-09-09 20:27:21 -05:00
Lyndsi Kay Williams c7c6149f4a test: Fix act errors in CollectionControl test (#21421) 2022-09-09 20:26:31 -05:00
Daniel Vaz Gaspar 094400c308 fix: cached common bootstrap Revert (#21018) (#21419) 2022-09-10 01:02:24 +01:00
Michael S. Molina f1acbaf45d test: Fixes act errors in DatasourceEditor test (#21424) 2022-09-09 19:38:00 -03:00
Michael S. Molina 741d1d78c6 test: Fixes act errors in ReportModal test (#21420) 2022-09-09 18:39:00 -03:00
Michael S. Molina c3527da362 test: Fixes act errors in ListView test (#21418) 2022-09-09 18:25:44 -03:00
Michael S. Molina 5d1afbcfb2 test: Fixes act errors in PopoverSection test (#21416) 2022-09-09 18:20:09 -03:00
Michael S. Molina a5e1811ee4 test: Fixes act errors in ErrorBoundary test (#21412) 2022-09-09 17:59:12 -03:00
Hugh A. Miles II 14cd8a2160 chore: add test for SPA explore endpoints around missing datasets (#21303) 2022-09-09 10:54:39 -07:00
Lyndsi Kay Williams d3f9fbb5f9 test: Fix act errors in DatasourcePanelDragOption test (#21410) 2022-09-09 13:10:59 -03:00
Lyndsi Kay Williams 2f8cc44c5d test: Fix act error in FilterInput test (#21407) 2022-09-09 13:10:41 -03:00
Craig Rueda 9ada541fd9 fix(ui): Quick Fix for app_icon (#21399) 2022-09-09 07:57:19 -07:00
Lyndsi Kay Williams 3197cc6eaa test: Fix act errors in DatasourcePanel test (#21409) 2022-09-09 08:34:50 -03:00
Lyndsi Kay Williams bd1abd3b6e test: Fix act errors in SamplesPane test (#21406) 2022-09-09 08:33:14 -03:00
Lyndsi Kay Williams 295de2d098 test: Fix act errors in ResultsPaneOnDashboard test (#21404) 2022-09-09 08:32:46 -03:00
Lyndsi Kay Williams fdae29b0f0 test: Fix act error in DataTablesPane test (#21403) 2022-09-09 08:32:10 -03:00
Lyndsi Kay Williams d635566c16 test: Fix act errors in ExploreChartHeader test (#21402) 2022-09-09 08:31:33 -03:00
Lyndsi Kay Williams 6fad3f9a35 test: Fix act error in ExportToCVSDropdown test (#21401) 2022-09-09 08:30:46 -03:00
Lyndsi Kay Williams 9318e269b1 test: Fix act error in PropertyModal test (#21400) 2022-09-09 08:30:01 -03:00
Lyndsi Kay Williams 714196e745 test: Fix act errors in ControlPanelsContainer test (#21398) 2022-09-09 08:29:23 -03:00
Lyndsi Kay Williams ac114cae48 test: Fix act errors in ExploreChartPanel test (#21397) 2022-09-09 08:28:47 -03:00
Lyndsi Kay Williams 584f2e63d1 test: Fix act errors in SelectFilterPlugin test (#21396) 2022-09-09 07:44:35 -03:00
Lyndsi Kay Williams a2ea5efe25 test: Fix act errors in LanguagePicker test (#21395) 2022-09-09 07:43:08 -03:00
Eugene Bikkinin ac7dcc3a8d chore(database): raised version of sqlalchemy-kusto (#21370) 2022-09-09 10:55:36 +02:00
LF 9fdd75b923 feat: add snowflake keypair authentication (#21322) 2022-09-09 10:49:04 +02:00
Michael S. Molina 71459a6125 test: Fixes act errors in Toast test (#21393) 2022-09-08 21:34:54 -05:00
Lyndsi Kay Williams ec3b3601d8 test: Fix act errors in Menu test (#21391) 2022-09-08 18:10:19 -05:00
Michael S. Molina feb581046f test: Fixes act errors in RefreshLabel test (#21390) 2022-09-08 18:09:54 -05:00
Michael S. Molina 700079ff5c test: Fixes act errors in ErrorAlert test (#21394) 2022-09-08 18:08:12 -05:00
Lyndsi Kay Williams 08a4cbd27f test: Fix act errors in LeftPanel test (#21383) 2022-09-08 16:50:03 -05:00
Michael S. Molina 9259f6e218 test: Fixes act errors in PageHeaderWithActions test (#21389) 2022-09-08 16:49:15 -05:00
Michael S. Molina a95e1c8a3e test: Fixes act errors in AlteredSliceTag test (#21392) 2022-09-08 16:48:16 -05:00
Michael S. Molina 7938e81f82 test: Fixes act errors in CertifiedBadge test (#21384) 2022-09-08 17:40:19 -03:00
Michael S. Molina 75d5da8898 test: Fixes act errors in Alert test (#21386) 2022-09-08 17:40:06 -03:00
Lyndsi Kay Williams 25188c42e0 test: Fix act errors in SubMenu test (#21387) 2022-09-08 17:39:35 -03:00
Lyndsi Kay Williams 5f9f657805 test: Fix act errors in AddDataset test (#21381) 2022-09-08 13:31:45 -05:00
Michael S. Molina 457b422df9 test: Fixes act errors in IndeterminateCheckbox test (#21374) 2022-09-08 15:02:27 -03:00
Michael S. Molina b08049aff0 test: Fixes act errors in HeaderReportDropdown test (#21376) 2022-09-08 15:02:08 -03:00
Michael S. Molina 834ec7e4d3 test: Fixes act errors in TableView test (#21375) 2022-09-08 13:37:33 -03:00
Michael S. Molina 6de6fe0e43 test: Fixes act errors in TimezoneSelector test (#21377) 2022-09-08 13:37:19 -03:00
Yongjie Zhao b80f659101 fix(big number): time grain control is useless in BigNumber Viz (#21372) 2022-09-08 21:43:26 +08:00
Lyndsi Kay Williams 01c000add6 test: Fix act errors in DatasetLayout test (#21367) 2022-09-08 10:18:53 -03:00
Michael S. Molina 8ebf4ed3ff feat: Adds MetadataBar to Drill to Detail modal (#21343) 2022-09-08 08:49:03 -03:00
Lyndsi Kay Williams 0601b2db99 test: Fix act errors in SqlEditorLeftBar test (#21363) 2022-09-08 07:49:47 -03:00
Lyndsi Kay Williams 994a005444 test: Fix act errors in PopoverDropdown test (#21361) 2022-09-08 07:48:18 -03:00
Lyndsi Kay Williams fd6569e3ed test: Fix act errors in FaveStar test (#21360) 2022-09-08 07:47:43 -03:00
Lyndsi Kay Williams ab82b17af3 test: Fix act errors in DatabaseModal test (#21365) 2022-09-08 07:45:31 -03:00
Lyndsi Kay Williams 3fd0ba7b04 test: Fix act errors in SaveDatasetActionButton test (#21362) 2022-09-08 07:43:16 -03:00
Sam Firke 0112a112bf docs: correct location of existing time grain definition (#21309) 2022-09-08 16:39:14 +08:00
Hugh A. Miles II b302818522 feat: Update nav bar with new data information architecture for SQL Lab + SQL (#21245) 2022-09-07 19:08:46 -07:00
Phillip Kelley-DotsonandLyndsi Kay Williams 8c2719b11c feat: add tableselector to dataset creation page (#21075)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-09-07 13:42:47 -07:00
Yongjie Zhao ce3d38d2e7 feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Cody Leff 875e9f8a04 fix(dashboard): Fix scrolling on "View as table" modal (#21282) 2022-09-07 10:16:16 +08:00
c382d53478 fix: Add locale for DatePicker component (#20063)
Co-authored-by: Kevin Dethelot <kevin.dethelot@kosmos.fr>
Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
2022-09-07 10:10:05 +08:00
Zef Lin 286474c3d8 fix: revert permission refactoring PR (#21313) 2022-09-06 19:18:22 +01:00
Zef Lin 9be4870c7f feat: only show active user for chart/dashboard/datasource owner drop… (#20837) 2022-09-06 19:17:50 +01:00
JUST.in DO IT acd9515353 fix(sqllab): Copy link doesn't apply the unsaved changes (#21311) 2022-09-06 10:44:36 -07:00
EugeneTorap f603295678 chore: refactor ResultSet to functional component (#21186) 2022-09-06 16:55:07 +02:00
d130b4a24f fix: database modal crashed when use SQLAlchemy URI string (#21342)
Co-authored-by: smileydev <47900232+prosdev0107@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-09-06 22:16:33 +08:00
Daniel Vaz Gaspar 29c233fc92 chore: bump FAB to 4.1.4 (#21329) 2022-09-06 10:56:57 +01:00
Stephen Liu a27c7ae7d0 chore: upgrade yeoman-generator to fix security warnings (#21324) 2022-09-06 17:55:55 +08:00
Daniel Vaz Gaspar c3f8417139 fix: disallow users from viewing other user's profile on config (#21302) 2022-09-05 13:32:48 +01:00
Diego Medina b71182f013 chore: refactor ChartHolder to typescript + tests (#20910) 2022-09-05 11:43:53 +02:00
Gerold Busch d994babe75 fix(dashboard): padding between rows within tabs (#21323) 2022-09-05 14:14:37 +08:00
Stephen Liu 79525dfaf2 feat(explore): standardized controls for time pivot chart (#21321) 2022-09-04 09:38:53 +08:00
Paulo Eduardo da Silva 1cc2148538 fix(ViewQuery-Modal): Copy icon is out of box when resize query modal (#21243) 2022-09-03 14:51:46 +08:00
Beto Dealmeida 34a79add04 feat: filter parameters from DB API (#21248) 2022-09-02 11:50:04 -07:00
AAfghahi 99a4f05069 fix: DB connection modal connect bug (#21299) 2022-09-02 12:14:39 -04:00
Michael S. MolinaandGeido fbe980779e feat: Adds a helper text option to the Select component (#21269)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2022-09-02 08:31:37 -03:00
EugeneTorap 60db0bb47e chore: Bump pandas to 1.4.4 (#21285) 2022-09-02 13:05:22 +03:00
Yongjie Zhao f71ee2e7bc fix: flaky test when sync metadata (#21306) 2022-09-02 17:22:49 +08:00
JUST.in DO IT 2d70ef670e feat(sqllab): Make LeftBar width resizable (#21300) 2022-09-01 21:26:20 -07:00
vin01 38782bb98a fix(utils): use getaddrinfo response to support dual-stack port checks (#21043) 2022-09-01 18:28:02 -07:00
vin01 2aa3bb6c00 fix(utils): use getaddrinfo for hostname check to support ipv6 (#21042) 2022-09-01 18:27:50 -07:00
JUST.in DO IT 222f1e7ea8 fix(sqllab): invalid table metadata request (#21304) 2022-09-01 16:35:19 -07:00
JUST.in DO IT 65a11b6f45 refactor: introduce react-query on api resource hook (#21240) 2022-09-01 13:39:34 -07:00
Ville BrofeldtandVille Brofeldt 1aeb8fd6b7 fix(plugin-chart-echarts): show zero value in tooltip (#21296)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-01 20:27:41 +03:00
Kamil Gabryjelski c3a00d43d0 fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294) 2022-09-01 18:07:49 +02:00
Cody Leff 742dbdd0a5 fix: Fix console errors about feature flags when running tests (#21275) 2022-09-01 12:42:07 -03:00
Zef Lin c4b6fc5a6a chore: migrate available_domains to api/v1 (#21173) 2022-09-01 16:38:02 +01:00
Kamil Gabryjelski 076af6003a fix(explore): Incorrect conversion from simple bool filter to custom sql (#21293) 2022-09-01 17:06:42 +02:00
Jae Ik, Leeand이재익 [jileeon] <jileeon@nexon.co.kr> eb805682e2 feat(embedded): provides filter bar visibility setting on embedded dashboard (#21069) (#21070)
Co-authored-by: 이재익 [jileeon] <jileeon@nexon.co.kr>
2022-09-01 09:50:02 -03:00
Michael S. Molina ad34f9d740 chore: update release docs (#21270) 2022-09-01 08:27:12 -03:00
Daniel Vaz Gaspar 9fd752057e feat: adds TLS certificate validation option for SMTP (#21272) 2022-09-01 10:51:34 +01:00
Alex Lauderbaugh 994f327157 chore: Renaming Line Chart to Line Chart v2 (#21278) 2022-09-01 08:16:55 +02:00
nisheldoandNick Sheldon 6d65f806d8 chore: updating thrift (#20776)
Co-authored-by: Nick Sheldon <Nick_Sheldon@cargill.com>
2022-09-01 06:26:00 +03:00
JUST.in DO IT 5233a9027f chore(sqllab): Remove max-width on side panel (#21280) 2022-08-31 17:23:47 -07:00
Joe Li 4b221378cc fix: Revert "#20095 - fix(database): make to display validation error msg when all … (#21277) 2022-08-31 16:56:56 -06:00
AAfghahi a7fe4850ed fix: dataset exists error in save Dataset modal (#21244)
* dataset exists error

* fixed flashing modal
2022-08-31 16:47:39 -04:00
AAfghahi 9c4ae2ab7e fix: bump min version of elastic search (#21274)
* dataset exists error

* change min version of elasticsearch
2022-08-31 12:42:48 -07:00
Daniel Vaz Gaspar 3f2e894af3 fix: dataset name change and permission change (#21161)
* fix: dataset name change and permission change
2022-08-31 18:11:03 +01:00
EugeneTorap 0c87ff783a fix: Table content disappears when switching between tabs (#21251) 2022-08-31 15:46:48 +02:00
Daniel Vaz Gaspar 6223042050 fix: SQLAlchemy coercing subquery warning on RLS (#21257) 2022-08-31 08:16:57 +01:00
JUST.in DO IT 034ee1c3c1 fix(sqllab): unable to create new tabs (#21260) 2022-08-30 13:54:42 -07:00
aehanno 944808a0ce fix: Add french translation missing (#20061) 2022-08-30 22:23:05 +02:00
Lily Kuang 05354a96bf feat: filter with created_by for charts and dashboards (#21199)
* feat: filter with created_by for charts and dashboards

* add tests

* update tests

* update tests
2022-08-30 12:27:38 -07:00
JUST.in DO IT 1aa1864d13 chore: missing IconType on Icons (#21218) 2022-08-30 09:56:05 -07:00
JUST.in DO IT ad6b98c2b7 fix(sqllab): update persistent queryEditor keys (#21246) 2022-08-30 09:46:31 -07:00
Moritz Rathberger 05bdaf2376 feat(helm): Added env variable SERVER_WORKER_AMOUNT (#21236)
* added SERVER_WORKER_AMOUNT

* added more gunicorn variables

* Update values.yaml
2022-08-30 09:38:41 -07:00
Hugh A. Miles II f2d67f75d0 Revert "ok (#21116)" (#21247)
This reverts commit 642a0d7704.
2022-08-30 09:31:34 -07:00
ʈᵃᵢ 04dd8d414d fix(celery cache warmup): add auth and use warm_up_cache endpoint (#21076) 2022-08-30 09:24:24 -07:00
Shubham Sinha b354f2265a fix(dev-server run): Check for environment tag not being undefined (#21232)
* fixed local dev-server run

* removed console log

* removed console log
2022-08-30 14:51:32 +08:00
Stephen Liu 0c43190e04 fix(database-list): hidden upload file button if no permission (#21216) 2022-08-30 10:34:28 +08:00
Beto Dealmeida 8772e2cdb3 fix: improve get_db_engine_spec_for_backend (#21171)
* fix: improve get_db_engine_spec_for_backend

* Fix tests

* Fix docs

* fix lint

* fix fallback

* Fix engine validation

* Fix test
2022-08-29 11:42:42 -07:00
Geido 710a8ce5c0 chore: Minor Applitools enhancements (#21239)
* Enhance logging

* Update conf
2022-08-29 19:38:13 +03:00
GeidoandMichael S. Molina 1d3a805a61 chore: Drill to detail Modal tests (#21148)
* Add DrillDetailModal test

* Add DrillDetailPane tests

* Add TableControls test

* Lint

* Enhance SliceHeaderControls tests

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-08-29 14:22:15 +03:00
Michael S. Molina 77f54585de chore: Keeps context menu in viewport (#21212) 2022-08-29 08:14:22 -03:00
Geido f017f98b88 chore: E2E tests for the Drill to detail modal (#21187)
* Add example ECharts Dashboard

* [WIP] E2E test

* Add echarts interactions

* Lint

* DRY
2022-08-29 11:25:27 +03:00
Đặng Minh Dũng ccb293a083 fix(Trino): create PrestoBaseEngineSpec base class to share common code between Trino and Presto (#21066)
* chore: create `PrestoBaseEngineSpec` class that share common functions between Presto and Trino

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* feat(Trino): support CertificateAuthentication

* chore(Presto): move `get_function_names` to `PrestoBaseEngineSpec`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* chores(Presto): remove `is_readonly_query`

* feat(Trino): implement `extra_table_metadata`

* feat(Trino): specify `User-Agent`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* fix: pylint

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* chores(Presto): move `PrestoBaseEngineSpec` to `presto.py`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* fix(Presto): typing annotations

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-08-29 10:21:28 +03:00
Eric Briscoe 5f76ac9001 fix: Fixes error caused by step id placed in wrong location (#21226)
* Update chromatic PR action to have access to Job outputs

Adjusting to follow docs at: https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs

* Fixes error where step ID was incorrect location
2022-08-28 14:44:54 -07:00
Shubham Sinha d408393ba9 fixed guest role permissions (#21208) 2022-08-28 09:08:41 +02:00
Hugh A. Miles II c61a507e14 fix: add back custom sql filtering with Query as source (#21190) 2022-08-26 19:12:21 -07:00
Eric Briscoe e2ab966910 Update chromatic PR action to have access to Job outputs (#21224)
Adjusting to follow docs at: https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
2022-08-26 16:21:22 -07:00
Eric Briscoe 092460a1f1 Removes if statement causing comment not to run (#21222) 2022-08-26 15:42:26 -07:00
Hugh A. Miles II 653c9f0e7f fix: Update exception for DatasourceNotFound from DatasourceDao.get_datasource() (#21217)
* update exception

* add 404
2022-08-26 15:11:47 -07:00
ReeseandLyndsi Kay Williams 25cc7897b1 feat: Environment tag (#20295)
* Added environment tag and relevant tests

* Reorganize imports

* Prevent errors when config value not set

* Default production tag to be hidden

* Change tag to Label component

* Fix import order

* Allow tag to be colored with theme

* Use theme for tag border radius

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Fix styling

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-08-26 16:08:24 -06:00
Reese 16032ed3e2 feat: Virtual dataset duplication (#20309)
* Inital duplicate functionality

* Fix formatting

* Create dedicated duplicate API

* Make use of new API

* Make use of new api permissions

* Add integration tests for duplicating datasets

* Add licenses

* Fix linting errors

* Change confirm button to 'Duplicate'

* Fix HTTP status code and response

* Add missing import

* Use user id instead of user object

* Remove stray debug print

* Fix sqlite tests

* Specify type of extra

* Add frontend tests

* Add match statement to test
2022-08-26 16:07:56 -06:00
Eric Briscoe f09c4327f8 Splitting into two separate chromatic jobs to reduce conditional logic causing run issues (#21219) 2022-08-26 14:56:19 -07:00
JUST.in DO IT 4e23d62d4f fix(sqllab): missing zero values while copy-to-clipboard (#21153) 2022-08-26 14:28:48 -07:00
Michael S. Molina d41f44fcdf fix: World Map right-click value (#21209) 2022-08-26 15:08:24 -03:00
Cody Leff 0726840fb7 fix(explore): Prevent unnecessary series limit subquery (#21154)
* Prevent series limit when no series limit columns specified.

* Add timeseries check for legacy charts.

* Apply fix to helpers.py.

* Skip Cypress color consistency tests.
2022-08-26 11:16:13 -06:00
Michael S. Molina 68fa4d2665 feat: Adds drill to detail context menu to Table (#21168)
* feat: Adds drill to detail context menu to Table

* Improves context menu positioning

* Fixes Pivot Table typying
2022-08-26 13:35:26 -03:00
yuzutas0 982210ad83 Fix formatting in README.md (#21205) 2022-08-26 12:21:43 -04:00
Michael S. Molina 859b6d2d20 feat: Adds drill to detail context menu to Pivot Table (#21198)
* feat: Adds drill to detail context menu to Pivot Table

* Adds useCallback
2022-08-26 08:23:26 -03:00
Michael S. Molina 1143e17742 fix: Typing of labelMap (#21181)
* fix: Typing of labelMap

* Adjusts val types
2022-08-26 08:22:57 -03:00
Cody Leff 5811262cf2 Add warnings if feature flags are read before initialization. (#21201) 2022-08-25 16:53:18 -06:00
Kamil Gabryjelski 17ad0d80de chore: Add new e2e tests for Explore (#21184)
* chore(explore): Add cypress test for creating chart from dataset list

* Add cypress test for creating chart from sqllab query

* Fix the test for editing dataset in exploer

* Fix lint

* Fix tests
2022-08-25 18:50:31 +02:00
EugeneTorap 994e1f6bdc chore: bump clickhouse-sqlalchemy 0.2.2 (#21195) 2022-08-25 15:35:20 +02:00
Paulo Eduardo da Silva 93557e3a1a removing unnecessary margin for 50% fields (#21167) 2022-08-25 11:48:31 +08:00
Paulo Eduardo da Silva 74e40c2de1 removing bottom margin on CronPicker (#21140) 2022-08-25 11:44:16 +08:00
Anthony GainorandHerbert Gainor da3401a698 fix(database-modal): Show a different placeholder text in Snowflake connection form (#21172)
* Add new Database Modal

When adding a new database and selecting Snowflake, the database and account fields had the same placeholder. This PR adds a placeholder prop so values can be sent dynamically by field

* Call translation function for string literals

Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-08-24 15:37:47 -06:00
smileydevandEvan Rusackas d568999592 fix(database): make to display validation error msg when all cases (#20095)
* fix(database): make to display validation error msg when all cases

* fix(db): make to update the alert error condition

* fix(db): make to add error detail display

* fix(db): make to update error alert display by superset error style guide.

* fix(db): make to style modal header title with h4

* fix(db): make to place see more on bottom instead of top

* fix(db): make to fix shortly

* fix(db): make to fix lint issue

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-08-24 11:29:22 -06:00
Lily Kuang 604e30b3f0 fix: Filter throwing an error on Embedded Dashboard (#21157)
* fix: Filter throwing an error on Embedded Dashboard

* use short_id if storage not available

* avoid infinite loop
2022-08-24 09:38:20 -07:00
JUST.in DO IT 53de94c047 Revert "fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141)" (#21174) 2022-08-23 22:26:05 -07:00
BogdanandBogdan Kyryliuk ed6212a1f9 Reimplement permissions fetching to do it in a single transaction (#21156)
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-23 18:45:39 -07:00
Hugh A. Miles II cda7d70565 feat: print comment for chromatic storybook link (#21170)
* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* working

* plz work

* plzzzzz

* one more time

* one one more time

* this works

* lit

* last one
2022-08-23 19:31:05 -04:00
Eric Briscoe 6a0b7e5598 feat: Add Chromatic publishing to superset-frontend storybook (#21095)
* Work in progress to add Chromatic publishing to superset-fronted storybook

Adds new Github action to publish storybook builds to chromatic
Adjusts configuration to support MDX story format
Updates Alert stories to take advantage of MDX format for example in storybook that will publish to Chromatic
Fixes issue in ListViewCard stories that make the story build fail

* Adjust Chromatic Github action

* Adjust action so Gtihub Secret is read into env

Github secrets are not accessible in conditional blocks so this change moves the access of the github secret into an env variable which is accessible in conditional logic

* Removes unneccesary projectToken from package json

* Using a temp key to debug no access to value from github secret

* Refining skipping if no changes to superset-frontend

* Remove typos from Action component story, consolidate on folder check in Chromatic action

* Fix error in Chromatic action event

* Testing action with pul_request_target

* adjustments to Chromatic action triggers

* lint fix

* Testing if pull_request_target is disabled

* More adjustments to Chromatic action

* UI Change to trigger action

* Change to story text to test action

* update package-lock after merge conflicts from master

* Changes to test chromatic action

* Finalize Chromatic actions, fix lint errors

* Backs out addition of @storybook/addon-docs which is included in addon-essentials

* Lint error in package.json
2022-08-23 16:16:28 -04:00
JUST.in DO IT f77b910e2c perf(sqllab): Rendering perf improvement using immutable state (#20877)
* perf(sqllab): Rendering perf improvement using immutable state

- keep queryEditors immutable during active state
- add unsavedQueryEditor to store all active changes
- refactor each component to subscribe the related unsaved editor state only

* revert ISaveableDatasource type cast

* missing trigger prop

* a default of an empty object and optional operator
2022-08-23 12:17:19 -03:00
Michael S. Molina 4ca4a5c7cb feat: Adds drill to detail context menu to World Map (#21150) 2022-08-23 10:24:55 -03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 51e567ffef chore(deps): bump async from 2.6.3 to 2.6.4 in /superset-frontend (#21062)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 21:02:51 -06:00
Lyndsi Kay WilliamsandAAfghahi 6094274f0b feat: Create dataset blank state (#21058)
* beginning of routing

* elizabeth review

* changed folder layout

* Dataset layout setup

* Fix DatasetLayout test

* Fixed height issue

* Fix link to sqllab

* Fix DatasetPanel test

* Remove arbitrary right panel

* Add empty state SVGs

* Restructure/rename some Dataset files

* Fixed styling issue

* Fix background color

* Fix header border

* Fix empty DatasetPanel styles

* Adjust description rendering in DatasetPanel to fix tests

* Add spaces back to blank dataset description to fix tests

* Fix blank dataset description styles

Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-08-22 18:45:03 -05:00
Cody Leff 52648ecd7f feat(dashboard): Add Drill to Detail modal w/ chart menu + right-click support (#20728)
* Add drill-to-detail modal.

* Include additional filters from dashboard context in request.

* Set page cache size to be approximately equal to memory usage of Samples pane.

* Update getDatasourceSamples signature.

* One-line import/export.

* Fix incorrect argument order in getDatasourceSamples invocation.

* Fix height of modal.

* Disable option in chart menu unless feature flag is set.

* Open modal on right-click.

* Fix double requests on modal open, controls disappearing on filter update.

* Show formattedVal in clearable filter tag.

* Set force=false for all requests.

* Rearrange/refactor DrillDetailPane.

* Reset page index on reload.

* Fix endless re-requests on request failure.

* Fix modal layout issues.
2022-08-22 15:57:18 -07:00
Yao Zhou ca98fd8468 docs: Format the same size of picture for better part of "Supported Databases" document (#21037)
* Fix bug: some word not translate in js.
delete the 'null,' in messages.json,
so that word can be translate in js.

* docs:No code change. Reformat the database logs with size 400*160,modify the aprt of "Supported dabase" in README
2022-08-22 15:29:53 -04:00
Michael S. Molina 0bf4e56dc3 fix: Drill to detail on values with comma (#21151) 2022-08-22 13:52:39 -03:00
Antonio Rivero Martinez bdcc0a9bcf fix(charts): Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series (#21015)
* Mixed TimeSeries:

- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.

* Mixed Time Series:

- Simplify logic for getOverMaxHiddenFormatter

* Mixed Time Series:

- Add tests for new getOverMaxHiddenFormatter util func
2022-08-22 08:55:09 -06:00
Rajakavitha Kodhandapani d44202f03c docs: added timescaledb (#21128) 2022-08-22 22:16:46 +08:00
stevetracvc d79b0bfc74 fix(native filters): groupby filter issue (#21084) 2022-08-22 22:15:33 +08:00
Yongjie Zhao 11bf7b9125 feat: generate label map on the backend (#21124) 2022-08-22 21:00:02 +08:00
Geido 756ed0e36a feat: Add label and tooltip for the color schemes control (#21040)
* Add tooltip

* Remove title

* Add license

* Enhance E2E tests

* Update tests

* Lint and test fixes

* Enhance layout
2022-08-22 10:44:15 +03:00
JUST.in DO IT a1389d3a9f fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141) 2022-08-22 15:43:42 +08:00
Yongjie Zhao fea68ef23c fix: resample method shouldn't be freeform (#21135) 2022-08-22 15:42:46 +08:00
Diego Medina 15b9f83150 chore: support trailing slashes in database api (#21123) 2022-08-22 15:15:04 +08:00
Stephen Liu e70699fb43 fix(plugin-chart-handlebars): order by control not work (#21005) 2022-08-22 15:00:34 +08:00
EugeneTorap 7c0963f6ae chore: refactor FilterableTable to functional component (#21136) 2022-08-22 14:19:36 +08:00
Diego Medina 25c2b7f761 chore(deps): bump jsprim to 1.4.2 (#21104) 2022-08-22 10:55:04 +08:00
John Bodley a27f246eff chore(fab): Expose the TableColumnInlineView extra column listed in the legacy FAB API #21118 (#21142) 2022-08-19 19:57:02 -07:00
AAfghahi 252ceb7045 timestamp bug (#21130) 2022-08-18 18:20:25 -04:00
Hugh A. Miles II 642a0d7704 ok (#21116) 2022-08-18 12:00:14 -04:00
AAfghahi dda1dcf8ee feat: add header_data into emails (#20903)
* test sparkpost

* added logging info

* header function implementation

* added test

* daniel revisions

* daniel revision

* elizabeth review
2022-08-18 10:32:25 -04:00
EugeneTorap fa0be30d49 chore: Dump all babel libs (#21121) 2022-08-18 12:55:21 +02:00
EugeneTorap dcab32676b fix: Use Home page in SPA (#21006)
* fix: Use Welcome page in SPA

* Fix Menu.test.tsx

* Handle not frontend routes
2022-08-18 12:19:15 +02:00
Yongjie Zhao 1afcdfb9fa fix: datetime value should be seconds in sqlite (#21113) 2022-08-18 11:42:58 +08:00
Lyndsi Kay WilliamsandAAfghahi 1ffa5670b3 test: Fix async tests in SaveDatasetModal and complete overwrite screen test (#21020)
* initial push

* SaveDatasetModal test fix

* Remove arbitrary async declarations

Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-08-17 22:35:28 -05:00
John Bodley 3c59a86834 [fab] Add extra to list of columns (#21118) 2022-08-17 18:32:07 -07:00
Kamil Gabryjelski 55304b02cd fix(explore): Filters with custom SQL disappearing (#21114)
* fix(explore): Filters with custom SQL disappearing

* Fix adhoc filter for query b disappearing

* Improve test coverage
2022-08-17 22:15:41 +02:00
Michael S. Molina 151795663b feat: Adds the MetadataBar component (#21090)
* feat: Adds the MetadataBar component

* Addresses comments
2022-08-17 14:39:44 -03:00
Daniel Vaz Gaspar db7e2b2e37 docs: improve encrypted field adapter docs (#21111) 2022-08-17 16:08:32 +01:00
EugeneTorapandVille Brofeldt 76d6a9af91 chore: Support Python 3.10 and bump pandas 1.4 and pyarrow 6 (#21002)
* Bump pandas 1.4 and pyarrow 6

* Use engine="pyarrow" for pd.read_csv()

* Refactoring

* Refactoring

* Refactoring

* Use bytes in pd.read_json()

* Fix test_contribution

* Fix pandas issue when 'arrays' are empty but 'names' contain values

* fix: ValueError: For argument "ascending" expected type bool, received type NoneType.

* Remove engine="pyarrow" and convert bytes to string

* make copy of selected df to fix regression

* Simplify pd.read_json() and pd.read_csv() for example data

Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-08-17 10:36:36 -03:00
Hugh A. Miles II 94e8fd3b35 update makefile with reports and alerts (#21102) 2022-08-16 20:51:49 -04:00
Kamil Gabryjelski 8005b7f8c7 fix(plugin-chart-table): Upgrade old color formats (#21101)
* fix(plugin-chart-table): Upgrade old color formats

* Bug fix

* add comments
2022-08-16 22:05:53 +02:00
EugeneTorap 6f3a555e58 fix(dashboard): Fix scroll behaviour in DashboardBuilderSidepane (#20969) 2022-08-16 19:29:28 +02:00
Kamil Gabryjelski d3684c0937 fix(dashboard): Dashboard header overflowing in edit mode (#21100) 2022-08-16 19:08:29 +02:00
BogdanandBogdan Kyryliuk 495a205dec Memoize the common_bootstrap_payload (#21018)
Try patch

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-16 08:27:12 -07:00
Diego Medina 0c84203053 fix: Unable to sync columns when dataset name has '+' (#21019) 2022-08-16 07:55:27 -06:00
Stephen Liu b303d1e156 fix(plugin-chart-echarts): gauge chart enhancements and fixes (#21007)
* fix(plugin-chart-echarts): gauge chart enhancements and fixes

* fix lint
2022-08-16 07:54:17 -06:00
Stephen Liu 5c2a1f85ff fix(database-modal): 'CTAS & CVAS SCHEMA' getting cut off (#21004) 2022-08-15 22:24:38 -06:00
Moriah Kreeger 83dd85166f feat: add extension point for workspace home page (#21033)
* updates to allow insertion of workspace home sidescroll/table UI

* fix types

* fix User type import

* add welcome message to ui registry

* add extra fields to individual chart/query GET results (for workspace home required info)

* update list view card to support a subtitle

* add id to individual chart fetch

* update chart api test

* another test fix

* fix saved query test

* update extension types + insert point

* fix typing

* fix type name
2022-08-15 12:16:40 -07:00
Erik CederstrandandErik Cederstrand d817a1dc87 chore(deps): unpin holidays dependency version (#21091)
The blocking issue has been fixed upstream

Co-authored-by: Erik Cederstrand <erik@adamatics.com>
2022-08-16 00:51:27 +08:00
Jack Fragassi 394d62ee51 Add embedded docs config details to extensions registry (#21052) 2022-08-12 16:33:21 -07:00
Ville Brofeldt 5113b01031 feat(trino): add query cancellation (#21035) 2022-08-12 07:48:29 +03:00
JUST.in DO IT 2d1ba46844 fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-08-11 12:33:59 -07:00
JUST.in DO IT a8ba544e60 fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032) 2022-08-11 11:28:18 -07:00
Hugh A. Miles IIandBeto Dealmeida e13c5b2b7b fix: take form_data reference for metrics for pivot_v2 table reports (#21029)
* take form_data reference for form_data

* better

* remove comments

* remove comments

* Update superset/charts/post_processing.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* add test

* test

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-08-11 12:08:40 -04:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 42a5375e83 chore(deps): bump ejs from 2.7.4 to 3.1.8 in /superset-frontend (#21046)
Bumps [ejs](https://github.com/mde/ejs) from 2.7.4 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v2.7.4...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:49:36 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 778b6a3ba2 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-frontend (#21047)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:48:31 -06:00
EugeneTorap a2b21b55be fix: Validate required fields in sql_json API (#21003)
* fix: Validate required params for sql_json API

* Test required params in sql_json API

* Refactoring: use marshmallow Schema for validation sql_json API

* Update SqlJsonPayloadSchema

* Update SqlJsonPayloadSchema

* Refactoring

* Refactoring

* Refactoring
2022-08-11 23:37:53 +08:00
Beto Dealmeida 4f1996dba8 fix: add plain postgres alias (#21045) 2022-08-10 18:07:31 -07:00
Elizabeth Thompson 7445eab5a2 add test for tab state (#20949) 2022-08-10 16:45:31 -04:00
Eric BriscoeandElizabeth Thompson ab6ec89f68 fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034)
* [sc-54864] Adds safety check to provide near term fix for Queries not saving

There is an error when casting the columns array to String() for saving queries where the objects in the array are missing the toString method.   This is a near term rapid patch to fix workflow in production which will have a follow up to identify root cause.

* fix typo

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Adjusted chekc to be explicit for undefined instead of truthy

This fixes issue caught by unit test where the if statement was using a truthy check where it should be explicitly checking for value of undefined

* Adds new unit test to get 100% coverage for callApi

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-08-10 10:33:47 -07:00
Yongjie Zhao dfe5a04938 fix: unable to show view as table modal (#21025) 2022-08-10 11:35:06 +08:00
Michael S. Molina 3df8335f87 feat: Adds drill to detail context menu for ECharts visualizations (#20891)
* feat: Adds drill to detail context menu for ECharts visualizations

* Rebases and adds time grain

* Fixes selected gauge values

* Fixes Treemap edge click

* Adds right click to big number trendline

* Address some comments
2022-08-09 17:02:31 -03:00
Evan Rusackas 0042ade66f fix: making crossFilter.chartsInScope optional (#21030) 2022-08-09 12:21:40 -06:00
BogdanandBogdan Kyryliuk 17b58037f8 perf: Implement model specific lookups by id to improve performance (#20974)
* Implement model specific lookups by id to improve performance

* Address comments e.g. better variable names and test cleanup

* commit after cleanup

* even better name and test cleanup via rollback

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-09 09:59:31 -07:00
Michael S. Molina 6650076228 fix: forwardRef warnings in selects (#20970) 2022-08-09 09:00:12 -03:00
JUST.in DO IT 9114175db2 fix(plugin-echart-timeseries: legend trancated on show extra controls (#21017) 2022-08-09 16:12:00 +08:00
Geido 03764e6ae8 chore: Audit E2E tests for color schemes in Dashboard and Explore (#20807)
* Update properties tests

* Update selectors

* Verify charts changing colors

* Test shared and label colors

* Update dashboard edit test

* Enhance viz tests

* Remove chart ids

* Update color
2022-08-09 07:49:46 +03:00
Jesse Yang 58245dd7f7 fix(sqllab): result set min-height (#21016) 2022-08-08 20:52:52 -07:00
554ed6495e feat(helm): add liveness and readiness for deployment webserver (#20567)
* feat(helm): add liveness and readiness for deployment webserver

* feat(helm): add example in values

* feat(helm): move config probes under supersetNode

* feat(helm): bump chart.yaml

* fix(helm): remove default values in template and use values.yaml

* fix(git): bump chart verison

* fix(json):  update the schema to get CI passing

* fix(helm): correct path for values readiness

Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>

Co-authored-by: Jeremy PLANCKEEL <jplanckeel.externe@bedrockstreaming.com>
Co-authored-by: Craig Rueda <craig@craigrueda.com>
Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>
2022-08-08 14:28:36 -07:00
Jesse Yang 2c8867e4e4 chore(db-migration): ensure query_context is MediumText before viz migration (#20936) 2022-08-08 13:30:46 -07:00
Beto Dealmeida bb3871ddaf feat: per-db add metrics (#20990)
* feat: per-db add metrics

* Add unit tests
2022-08-08 12:07:16 -07:00
AAfghahi 846529a500 easy fix (#20999) 2022-08-08 12:31:08 -04:00
Yongjie Zhao 802b69f97b feat: supports mulitple filters in samples endpoint (#21008) 2022-08-08 22:42:14 +08:00
Phillip Kelley-Dotson e214e1ace6 chore: update text for dbconn modal (#20773)
* chore: update text for dbconn modal

* fix text and close opts for adddataset modal

* update loading state, add state change for cta btns, and styling

* remove space
2022-08-05 15:01:04 -07:00
Elizabeth Thompson 463406ff09 fix: save dataset and repopulate state (#20965)
* save dataset and repopulate state

* disable dashboard button if dataset is missing

* fix error message

* fix tests
2022-08-05 14:32:49 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 95fdc08e78 chore(deps): bump express in /superset-websocket/utils/client-ws-app (#20979)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.1)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 13:06:34 -06:00
AAfghahi f89ba0c7c1 beginning the reducer (#20945) 2022-08-05 11:53:55 -04:00
Kamil Gabryjelski 9350bbafee fix(explore): Replace url search params only if current page is Explore (#20972)
* fix(explore): Replace url search params only if current page is Explore

* Add unit test
2022-08-05 16:59:52 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 499a28f599 chore(deps): bump debug in /superset-websocket/utils/client-ws-app (#20980)
Bumps [debug](https://github.com/debug-js/debug) from 4.3.2 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.2...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 08:13:03 -06:00
Hugh A. Miles II be4fbaf951 fix: for series limit comparison on explore with chart = Query (#20989)
* oops

* 1 more
2022-08-04 21:37:45 -04:00
John Bodley eec6e577e6 [requirements] Bumping trino-python-client (#20976) 2022-08-04 17:13:41 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 774756dac9 chore(deps): bump cookie-parser (#20982)
Bumps [cookie-parser](https://github.com/expressjs/cookie-parser) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/expressjs/cookie-parser/releases)
- [Changelog](https://github.com/expressjs/cookie-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/cookie-parser/compare/1.4.5...1.4.6)

---
updated-dependencies:
- dependency-name: cookie-parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 16:46:47 -06:00
Sam Faber-Manning 226712d831 feat: add 'dashboard.nav.right' extension to registry (#20835)
* add 'dashboard.nav.right' extension to registry

* add test
2022-08-04 15:24:34 -07:00
AAfghahiandHugh A. Miles II e3508232ab fix: series limit solution for source is query (#20977)
* fix

* save

* integrate type casting for engiines

* fix orderby on column types

* fixes

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2022-08-04 15:52:38 -04:00
Lyndsi Kay Williams d42cf4e4c9 fix: Columns not passing properly from SQL Lab to Explore (#20975)
* debugging columns

* Clean up code

* Fix test
2022-08-04 14:59:50 -04:00
Evan Rusackas 755f654cc6 chore: make dependabot upgrade package.json + add more package.json files (#20920)
* chore: make dependabot upgrade package.json, and add more package.json files to the mix.

* trailing newline
2022-08-04 11:52:01 -06:00
Phillip Kelley-Dotson fa416fa130 fix: remove extra line for link (#20959)
* fix: remove extra line for link

* add space
2022-08-04 13:29:07 -04:00
Hugh A. Miles II 6e5036d87f fix: add timegrains to data payload (#20938)
* add timegrains to data payload

* fix

* opps

* save

* integrate type casting for engiines

* add perm object

* change how wwe raise_for_access

* fix orderby on column types

* linting
2022-08-04 13:26:49 -04:00
AAfghahi eb5369f2a6 fix: No back button in save dataset modal (#20964)
* back button fix

* fixed test
2022-08-03 21:29:11 -04:00
Beto Dealmeida 7e501cd816 fix: BigQuery get_parameters_from_uri (#20966) 2022-08-03 17:27:40 -07:00
Lily Kuang c33af83823 chore: always get dashboard_id on dashboard API get endpoint (#20894)
* chore: always get dashboard_id on dashboard API get endpoint

* lint

* pylint

* fix pylint

* lint
2022-08-03 17:20:20 -07:00
Kamil Gabryjelski e4fc5564ce fix: Explore scrolled down when navigating from dashboard (#20962) 2022-08-03 21:55:52 +02:00
Lily Kuang 655646d35b feat(embedded-SDK): enable CSV download (#20416)
* feat(embedded-sdk): enable CSV download

* lint
2022-08-03 10:59:18 -07:00
Antonio Rivero Martinez aa53c10312 Big Number Viz: (#20946)
- When the value is zero we still render the percent change and suffix if present
2022-08-03 23:12:56 +08:00
EugeneTorap 96a63bcbfe fix: Use SPA Dataset link in Chart and Dashboard (#20941)
* Use SPA Dataset link in Chart and Dashboard

* Validate datasourceUrl

* Show datasourceName when datasourceUrl is undefined
2022-08-03 09:09:33 +02:00
Beto Dealmeida bce32af19b chore: unpin snowflake (#20948) 2022-08-02 21:17:06 -07:00
Elizabeth Thompson fb5f8cacaf skip row if created_at_fk is null (#20939) 2022-08-02 15:49:32 -07:00
Jesse Yang 7e836e9b04 test: autouse app_context in unit tests (#20911) 2022-08-02 15:42:50 -07:00
Lyndsi Kay Williams c06d5eb70c fix(sqllab): Fix tab state (#20947)
* Fix tab state

* Update sql_lab.py
2022-08-02 17:08:59 -05:00
Jesse Yang ac585821d8 fix(sqllab): tracking url and error alert padding (#20937) 2022-08-02 14:55:41 -07:00
Stephen Liu 7beda3bbdb chore: change Sort-by and Sort-Descending controls for Bar Chart v2 (#20868) 2022-08-02 14:36:21 -06:00
Antonio Rivero Martinez 9362e27ce2 fix(chart): Time Series set showMaxLabel as null for time xAxis (#20627)
* Time Series Chart:

-Apache echarts has this option as false by default for time axis, so we need to override it for our charts so it's uto determined and not fixed to hidden.
- Add AxisType enum so we stop comparing agains raw strings when checking xAxis type

* Time Series Chart:

- set the showMaxLabel option directly without using merge

* Time Series Chart:

 - Rename the property to showMaxLabel as it was originally
2022-08-02 14:35:41 -06:00
Antonio Rivero Martinez e2206a7151 Annotations: (#20720)
- Fix scrollbar when removing annotations
2022-08-02 14:31:48 -06:00
Diego Medina fe581a3640 fix: adjust timeseries grid right offset to match the rest (#20933) 2022-08-02 14:19:49 -06:00
Diego Medina 6ce027d2f8 fix(import): error with disable_data_preview field (#20932) 2022-08-02 14:16:45 -06:00
Diego Medina dd353ca86a feat: Add resize drag handle to Dataset SQL fields (#20670)
* feat: Add resize drag handle to Dataset SQL fields

* PR comments
2022-08-02 14:13:14 -06:00
Diego Medina 9291ad5d4c fix: Change dataset name affect data access role set to this dataset (#20574) 2022-08-02 14:06:53 -06:00
Daniel Vaz Gaspar bfd2a3d79f fix: database permissions on update and delete (avoid orphaned perms) (#20081)
* fix: database permissions on update and delete (avoid orphaned perms)

* fix event transaction

* fix test

* fix lint

* update datasource access permissions

* add tests

* fix import

* fix tests

* update slice and dataset perms also

* fix lint

* fix tests

* fix lint

* fix lint

* add test for edge case, small refactor

* add test for edge case, small refactor

* improve code

* fix lint
2022-08-02 18:28:46 +01:00
Elizabeth Thompson 34ad80c642 add cypress codeowners to e2e tests (#20921) 2022-08-01 17:35:35 -07:00
AAfghahiandLyndsi Kay Williams 460b213057 feat: Creating dataset/add route (#20869)
* beginning of routing

* elizabeth review

* changed folder layout

* Update superset-frontend/src/views/CRUD/data/dataset/DatasetPage/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Update superset-frontend/src/views/CRUD/data/dataset/DatasetPage/RightPanel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-08-01 16:59:40 -04:00
Lyndsi Kay Williams 8a04536f9d feat(SqlLab): Change Save Dataset Button to Split Save Query Button IV (#20852)
* Moving entire split save btn PR

* Addressed review comments

* Remove arbitrary div from ErrorBoundary in Chart

* Added accidentally removed comment

* Fix act errors in SaveQuery tests

* Fix SaveDatasetActionButton test

* SaveDatasetModal test almost working

* SaveDatasetModal tests all passing

* Clean SaveDatasetModal test

* Fix create chart button and SaveDatasetModal text in SQL Lab

* Fix untitled dataset name on SaveDatasetModal in explore

* Fix styling on split save button
2022-08-01 14:36:34 -05:00
Hugh A. Miles II 3a11856ecb Update Makefile (#20922) 2022-08-01 14:06:58 -04:00
Gabriel ForienandGabriel Forien 8e0f16fade feat(helm): support different replicaCount (#20883)
* feat(helm): bump chart version

* feat(helm): add separate replicaCount for superset node / worker

* docs: update documentation

* ref(helm): add replicaCount with condition

* ref(helm): edit condition

* ref(helm): enclose replica with if/else

* ref(helm): remove specific replicaCount in values

* revert: "docs: update documentation"

This reverts commit 6ab95a71a2.

* fix(helm): fix typo

* ref(helm): replace condition with default value

* ref(helm): replace replicaCount with per-component replicaCount

Co-authored-by: Gabriel Forien <gforien.externe@bedrockstreaming.com>
2022-08-01 09:03:10 -07:00
Kamil Gabryjelski 6ec164e6a9 feat: Use SPA navigation from datasets list to Explore (#20890)
* feat: Use SPA navigation from datasets list to Explore

* fix lint

* Fix lint

* Fix type

* Make external links work without protocols

* add comment
2022-08-01 16:45:07 +02:00
Kamil Gabryjelski 90e2d82a38 fix(dashboard): Incorrect scopes of cross filters (#20927) 2022-08-01 13:39:42 +02:00
Hugh A. Miles II bc435e08d0 fix: overwrite update override columns on PUT /dataset (#20862)
* update override columns

* save

* fix overwrite with session.flush

* write test

* write test

* layup

* address concerns

* address concerns
2022-07-29 21:51:35 -04:00
Hugh A. Miles II 67e3dc7c7b hide modal after overwrite (#20924) 2022-07-29 19:18:11 -04:00
Eric Briscoe 1a8c28db3d Fixes issue where type query datasource had incorrect time controls when datasource type was 'query' (#20923) 2022-07-29 18:14:03 -04:00
0d8889dc9c fix: Save dataset + chart when Chart source is Query (#20880)
* feat: save dataset savemodal

* fix lint

* add comments

* enable chart power query

* clean up

* added test

* fix overwrite

* add proper error messaging for save datasetModal

* lint

* fix ts lint

* fix

* Disables Save button while network call is in progress, removing second Chart saved toast message

* change naming

* err

* Update superset-frontend/src/explore/components/SaveModal.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Update SaveModal.tsx

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-07-29 17:30:28 -04:00
Elizabeth ThompsonandBeto Dealmeida 4d29d16b64 fix: make a new entrypoint for deprecated postgres dialect (#20895)
* make a new entrypoint for deprecated postgres dialect

* Update setup.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-07-29 13:03:41 -07:00
Geido 06d05394c2 chore: Add Applitools logo to the docs homepage (#20917)
* Add Applitools logo

* Remove space
2022-07-29 20:29:47 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> adf1f5cccf chore(deps): bump terser from 4.6.3 to 4.8.1 in /superset-frontend (#20787)
Bumps [terser](https://github.com/terser/terser) from 4.6.3 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 10:48:15 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> de84186200 chore(deps): bump tox from 3.24.1 to 3.25.1 in /requirements (#20822)
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.1 to 3.25.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.24.1...3.25.1)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 10:47:23 -06:00
Jesse Yang 5ae0e83b8a fix(sqllab): hide tracking url when fetching (#20905) 2022-07-29 08:47:53 -07:00
Jesse Yang e739ff5076 feat: allow more HTML tags in report description (#20908) 2022-07-29 08:27:39 -07:00
Cody Leff e7acb1a79d chore(explore): update Explore icons and icon colors (#20612)
* Update Explore icons and icon colors.

* Change shade of blue and make blue only appear when fields have never been filled in.

* Fix Cypress test.

* Update non-error validation color from blue to yellow.

* Unpack ternary.

* Replace direct AntD imports with our Icons component.
2022-07-29 09:05:15 -06:00
Cody Leff 90460f1333 Unskip Cypress test. (#20915) 2022-07-29 11:38:04 -03:00
John Bodley 8d0d778d1a chore(mypy): enable warn_unused_ignores (#20884) 2022-07-29 00:47:53 -07:00
John Bodley 50d2e5a15d fix: Address performance regression introduced in #11785 (#20893) 2022-07-28 22:56:39 -07:00
Just[in]Do it! 3f124d9d67 fix(plugin-chart-pivot-table): Invalid Formats Date Fields (#20909)
When a custom date field value converted in a string format, some aggregators truncated to the first four digits.
 This is caused by the parseFloat function which converts to first matched number rather than NaN(Not-A-Number) value.
 This commit replaces the parseFloat by Number wrapper to handle this case correctly.
2022-07-28 22:56:08 -07:00
Cody Leff d50784dd80 feat(dashboard): Add thumbnails to dashboard edit draggable chart list (#20528)
* Add chart thumbnails to dashboard edit draggable charts.

* Reorganize hierarchy and add tests.

* Incorporate review suggestions.

* Update design and add tooltips.

* Fix missing thumbnails.

* Fix tests.

* Fix moving viz type label.

* Convert AddSliceCard to TS, update hierarchy.
2022-07-28 10:46:13 -06:00
cccs-RyanK fe91974163 chore: Remove unecessary code from async and sync select components (#20690)
* Created AsyncSelect Component
Changed files to reference AsyncSelect if needed

* modified import of AsyncSelect, removed async tests and prefixes from select tests

* fixed various import and lint warnings

* fixing lint errors

* fixed frontend test errors

* fixed alertreportmodel tests

* removed accidental import

* fixed lint errors

* updated async select

* removed code from select component

* fixed select test

* fixed async label value and select initial values

* cleaned up async test

* fixed lint errors

* minor fixes to sync select component

* removed unecessary variables and fixed linting

* fixed npm test errors

* fixed linting issues

* fixed showSearch and storybook

* fixed linting
2022-07-28 10:09:37 -03:00
Yongjie Zhao 718bc3062e fix: invalid metric should raise an exception (#20882) 2022-07-28 08:15:43 +08:00
Diego Medina 383313b105 fix(sql lab): Syntax errors should return with 422 status (#20491)
* fix(sql lab): Syntax errors should return with 422 status

* refactor
2022-07-27 12:41:17 -06:00
Diego Medina 8b354b4b69 fix: Published Dashboard without charts don't show up for non admin users (#20638) 2022-07-27 12:40:59 -06:00
ab415fddd9 chore: adding Bazaar Technologies to Superset Users (#20669)
* adding Bazaar Technologies to Superset Users

At Bazaar, we are working to digitize Pakistan's retail sector. Superset is the  main BI tool that powers the Bazaar Analytics Platform (aka Buraq). Buraq handles petabytes of data from a diverse set of data stores from Hive, S3 Lakes, RDS and Redshift. Superset  allows us to make our business critical dashboards, that drives real time insights and data driven decisions to helping us to provide best in class customer experience.

* Update RESOURCES/INTHEWILD.md

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update INTHEWILD.md

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Srini Kadamati <skadamat@gmail.com>
2022-07-27 12:38:15 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c77ea1bb6a chore(deps): bump terser from 5.9.0 to 5.14.2 in /docs (#20786)
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 12:37:29 -06:00
Antonio Rivero Martinez 07ce33d142 Reports: (#20753)
- dashboardInfo might be an empty object, in which case we must use the chart info instead so the resourceId is not undefined
2022-07-27 12:33:13 -06:00
Antonio Rivero Martinez 234c44626d TableChart: (#20833)
- Handle resize properly when only the scrollbar is changing so it doesn't get stuck into an infinite loop.
2022-07-27 12:32:34 -06:00
Antonio Rivero Martinez 99085d583d fix(viz): Header scrolling for Time Table in dashboard (#20874)
* TimeTable:

- Increase the z-index so the sparkline doesn't overlap when scrolling in the dashboard

* Time TAble:

- Remove testing label
2022-07-27 12:24:47 -06:00
Jesse Yang 77db0651d8 feat(sql lab): display presto and trino tracking url (#20799) 2022-07-26 20:20:08 -07:00
Hugh A. Miles II 35184b2994 fix: create property for schema_perm for Query (#20871)
* create property for schema_perm

* update references
2022-07-26 21:18:59 -04:00
Elizabeth Thompson cd578d2865 add having_druid back into the schema (#20879) 2022-07-26 17:54:46 -07:00
John Bodley d327437462 refactor: Improve performance regression introduced in #20473 (#20810)
* refactor: Improve performance regression introduced in #20473

* Update dao.py
2022-07-26 17:47:15 -07:00
Jesse Yang 4d192e6e4d feat(report): capture dashboard reports in specific states (#20552) 2022-07-26 17:01:56 -07:00
Srini KadamatiandElizabeth Thompson 1b577d15c1 chore: updated resources with newer blogs and events (#20858)
* chore: updated resources with newer blogs and events

* incorporated feedback and added missing link to 2.0 release notes

* Update README.md

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-07-26 15:46:11 -04:00
2f3e11db66 feat: blankstate metrics columns (#20755)
* add POC ExploreMixin

* Working POC
> columns are loading into page

* Created/tested query dataset dropdown

* Add isValidDatasourceType to @superset-ui/core and hide query dropdown

* Visual updates to explore datasource panel

* Temporarily make Query icon visible

* Remove Query icon visibility

* Removed isValidDatasourceType check

* Added Query preview Modal from DatasourceControl if the data source type is Query [41493]

Initial commit to add ability for the a Query Preview Modal to be available when the data source type is Query and not Dataset
Converted ModalTrigger to a functional TypeScript component

* > fix integration point with frontend
> allow for all records to be displayed
> fix select with all columns queries
> filters are now working

* Adjusts conditional logic approach to be extensible for additional types from DatasourceTypes options

* refactor

* set field for sql

* Fixes issue where Missing query parameters error was showing in datasourcePanel

* add query_language

* fix ds main_dttm

* Fixes issue where menu.tsx was blocking access to redux debugging for SqlLab and Explore

* Fixes issue where database id was not available to save query as dataset, adds default metric when chart source is query

* oops

* fix pre-commit to 50 errors now

* fix circuliar dep

* Disables showing Metrics section in DatasourcePanel when Query is the datasource

A follow on separate effort will enable having a default Count metric when Query is the datasource type

* adds condition to use query.columns if query.results is not present enable saving query as a dataset

* down to 26 now

* patch for pre-commit

* one more pre-commit

* added explore_json error

* added error messages

* add for metrics

* add text for columns

* add model open/close method

* add propogation and methods

* change link to span

* lint fix

* Fixes frontend lint and TypeScript errors unit test fixes will be next commit

* Aditional TypeScript error fix

* Fixes unit test failure

* fix some types

* added frontend piece

* fix type

* Fixes bad import caused by merge from master and removes duplicate showSaveDatasetModal check

* Fixes for DartasourceControl Test Suite

* Fix lint error

* Fixes unit test issues due to array instead of a component being passed to modal footer

* Fixes unit test failure for DatasourceControl and simplifies getDatasourceTitle based on PR comment

* fix ts

* pylint

* core_test fix

* Fixes line error post merge from master

* fixed from master

* fixed from master

* Fixes issue where Overwrite dataset does not work due to userid error

SPA refractor changed Redux structure that is used when in explore (which is now within SPA).  user object is at the root of the store now for anything under SPA.

* Resolves TypeScript errors with changes made for SPA merging in and changes needed for overwriting dataset from SaveDatasetModal

* fix: top right panel view query functionality

* remove unneeded code from core.py

* working samples endpoint for query

* add owner check

* update FE for it

* handle columns are dict vs object

* fix exceptions

* fix fe lint

* fix test

* add tab_name to payload

* Enables use of tab name from Query

* fix cypress test

* save columns on execution

* fix frontend build test

* remove parathesis around columns

* changing column types

* fixing samples that has literal_columns

* address comments

* add changes

* fix path

* fix merge

* fix types

* remove console

* add type

* fix linting

* update to enum

* fix test

* remove explore from buttons

* fix logic

* fix logic

* oops

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-07-26 14:32:30 -04:00
Jesse Yang 6e6d4e3169 test: suppress unnecessary fab and sqla logs (#20870) 2022-07-26 10:36:24 -07:00
John BodleyandJohn Bodley e1094e2198 fix: Add migration to add created_by_fk as explicit owner for charts and datasets (#20617)
* fix: Add migration to add created_by_fk as owner

* Update 2022-07-05_15-48_409c7b420ab0_add_created_by_fk_as_owner.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-26 10:22:19 -07:00
Geido a69f016bca chore: Feature flag for embedding charts (#20804)
* Add EMBEDDABLE_CHARTS feature flag

* Pretty

* Update test
2022-07-26 17:55:44 +03:00
Yongjie Zhao cb9ae38361 fix: switch form_data between different datasource (#20867) 2022-07-26 22:13:17 +08:00
Geido 76f573a4ea chore: Ignore Applitools by default when running Cypress tests (#20789)
* Exclude applitools by default

* Remove unnecessary check

* Trim
2022-07-26 16:57:45 +03:00
Srini Kadamati ce1974176f docs: fix alt image issue (#20856) 2022-07-26 08:25:27 -04:00
Kamil Gabryjelski 46deb79f50 fix: Fix chart title truncating when Chrome is zoomed out (#20847) 2022-07-26 10:21:17 +02:00
Yongjie Zhao 55a89dfac9 feat: a simple LRUCache in frontend (#20842) 2022-07-26 15:02:10 +08:00
Kamil Gabryjelski 5c2c2e8040 feat(explore): UX changes in fast viz switcher (#20848)
* feat(explore): UX changes in fast viz switcher

* Fix test
2022-07-26 08:44:17 +02:00
Diego Medina 5d107b86ab fix: explore warnings cleanup (#20864) 2022-07-26 13:28:50 +08:00
GeidoandKamil Gabryjelski 6b0c3032b2 chore: Update color scheme when deleted or changed (#20589)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fallback to default color scheme

* Fix dashboard id autofill

* Fix lint

* Fix test

* Fix hydrate action

* Update dashboard colors

* Add color scheme domain

* Add check for default scheme

* Make me pretty

* Clean up

* Nit

* Clean up

* Pretty

* Fix missing sequential

* Lint

* Enhance test

* Lint

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-25 18:50:49 -04:00
Hugh A. Miles II 3de641c3ae change buttons to be only save and overwrite (#20851) 2022-07-25 18:18:17 -04:00
Christian Dreier 3f943ffadb fix: adding extraConfig to worker deployment #20828 (#20829)
* #20828 adding extraConfig to worker deployment

* fixed missing condition in volume declaration

* bumped chart version
2022-07-25 15:07:23 -07:00
Beto Dealmeida 672266ca58 fix: add complex type to pydruid (#20834)
* fix: add complex type to pydruid

* Kick jobs
2022-07-25 14:49:44 -07:00
Srini Kadamati c4564a91dc chore: add databricks logo (#20849)
* chore: add databricks logo

* added databricks logo to Readme
2022-07-25 16:05:50 -04:00
Kamil Gabryjelski e3c6380258 chore: Change Button background color from primary.dark1 to primary.base (#20846) 2022-07-25 18:02:14 +02:00
John Bodley 8bfc9b76a6 fix: Use cache_manager.cache rather than cache_manager.data_cache for caching table metadata (#20726) 2022-07-25 08:54:59 -07:00
John Bodley 7a1aa79c52 fix: Ensure consistent rollback logic (#20811) 2022-07-25 08:18:53 -07:00
Kamil Gabryjelski 0945d4a2f4 feat: Pass dashboard context to explore through local storage (#20743)
* feat: Pass dashboard context to explore through local storage

* Remove console log

* Remove unused local storage keys

* Fix lint

* Fix link

* Fix UT

* fix lint

* fix prettier

* Fix bug

* Fix bug with some sample dashboards

* Roll back unnecessary change

* style fix

* Add comments

* Fix lint

* Address code review comments

* Fix
2022-07-25 16:44:43 +02:00
Yongjie Zhao 644148b37d chore: add SAMPLES_ROW_LIMIT in frontend conf (#20841) 2022-07-25 15:21:16 +08:00
Stephen Liu 9bf7ed58cd fix(plugin-chart-echarts): bar chart overflow (#20805) 2022-07-23 14:20:00 +08:00
Stephen Liu 557cf4b739 fix(dashboard): add toast if JSON metadata is invalid (#20823) 2022-07-23 14:14:28 +08:00
Yongjie Zhao 3fb5c79d77 fix: invalid dataset schema (#20826) 2022-07-23 08:34:15 +08:00
rizacavus 4ffa3c22d1 feat: Add Türkiye Map to Country Map (#20801) 2022-07-23 08:33:56 +08:00
Hugh A. Miles II 2263a76f4d remove eleement reference (#20830) 2022-07-22 13:56:33 -04:00
Hugh A. Miles II 2c010974e8 fix: Timeseries visualization with Chart Source = Query (#20795)
* fix timmeseries

* update other references

* fix

* fix linting
2022-07-22 13:30:24 -04:00
AAfghahi 7495cdbfe0 feat: Create Chart onClick Functionality (#20809)
* explore results button

* addresing hugh comments

* changed datatype to query

* addresing eric comments
2022-07-22 12:53:01 -04:00
Diego Medina 6e0ddcf848 fix: [explore][mixed time series chart] when user change size of view query window, query B part will disappear (#20750) 2022-07-22 20:39:13 +08:00
Yongjie Zhao f011abae2b feat: the samples endpoint supports filters and pagination (#20683) 2022-07-22 20:14:42 +08:00
nisheldo 39545352d2 chore: update Pillow to 9.1.1 (#20775) 2022-07-22 17:44:07 +08:00
Diego Medina 51869f32ac Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819) 2022-07-22 17:05:37 +08:00
Evan Rusackas fe9eb58ede chore: bumps the handlebars plugin package version to match the family. (#20813) 2022-07-22 15:18:45 +08:00
Diego Medina 279ab954b1 fix: chart empty state & result panel when multiple queries are executed display incorrectly (#20816) 2022-07-22 14:58:42 +08:00
Michael S. Molina 34278c2d56 fix: Redirects old Explore URLs to the new one (#20812) 2022-07-21 22:26:29 -06:00
Kamil Gabryjelski af1bddffad fix(explore): Adhoc columns don't display correctly (#20802)
* fix(explore): Adhoc columns have empty labels

* Add unit test

* Address comments
2022-07-21 21:11:49 +02:00
Yongjie Zhao 922b4b8d1d fix: unexpected commit causes pytest failure (#20780) 2022-07-21 09:16:44 +08:00
Michael S. Molina 3311128c5e fix: Reverts #20749 and #20645 (#20796)
* Revert "fix: Error when saving datasource from Explore (#20749)"

This reverts commit 92f3621c75.

* Revert "refactor: Unify shared datasources reducers and actions (#20645)"

This reverts commit 2a705406e1.
2022-07-20 17:03:19 -03:00
Hugh A. Miles II 84b852c457 fix: properly set owners to Sqlatable.owners_data inside payload (#20794)
* properly set owners_data for sqlatabl

* fix test
2022-07-20 14:56:08 -04:00
John Bodley 5a04a28518 refactor: Blossom metric fields for dataset API column selection (#20732) 2022-07-20 10:01:32 -07:00
Just[in]Do it! 1debacaaca feat(dashboard): Make FilterBar width resizable (#20778)
* Add Resizable panel in DashboardBuilder to adjust the width for FiltersPanel
* store the adjusted width for individual dashboard in localStorage to memorize the state
* migrate DashboardBuilder test code by testing-library and jest
2022-07-20 09:56:55 -07:00
Beto Dealmeida 2c5201fa4b fix: Databricks views showing up as tables (#20674) 2022-07-20 09:31:42 -07:00
Stephen Liu d90b973235 fix(plugin-chart-echarts): layout broken when resizing (#20783)
* fix(plugin-chart-echarts): layout broken when resizing

* use useLayoutEffect
2022-07-20 09:40:39 -06:00
Stephen LiuandEvan Rusackas d925b0c883 fix(heatmap): add detail descriptions for heatmap 'normalize across' (#20566)
* fix(heatmap): change 'Normalize Across' to 'Color Based On' and add some label

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-07-20 09:39:22 -06:00
Beto Dealmeida 2a4c7cfb2a chore: add user agent to Databricks requests (#20660) 2022-07-20 08:17:52 -07:00
Hugh A. Miles II 81bd4968d0 fix: set allow filter_select for Query objects in Explore (#20754)
* set allow filter select

* add small comment

* add better logic

* remove condition and reference it in backend
2022-07-20 09:08:02 -04:00
Yongjie Zhao 9c7bcfcead fix: core coverage and add a coverage step in workflow (#20784)
* fix: core coverage

* add step in workflow
2022-07-20 08:56:03 -03:00
Cody Leff 5ed85f59a1 Fix missing metadata. (#20684) 2022-07-20 07:31:21 -03:00
Yongjie Zhao bb5b8e4c4f chore: add coverage command in package.json (#20769) 2022-07-20 18:30:30 +08:00
Jesse Yang a64cdec8c2 fix(db): set slices.query_context to MEDIUMTEXT for mysql (#20779) 2022-07-19 18:12:44 -07:00
Phillip Kelley-Dotson 1d9d505a6e fix: datasourcedao datasource not found error (#20725)
* first fix

* remove prints

* run pc

* fix linter

* commit
2022-07-19 13:45:46 -07:00
Cody LeffandMichael S. Molina 84d4302628 fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
John Bodley e1fd90697c fix(csv): Do not coerce persisted data integer columns to float (#20760)
* Replace pd.DataFrame.from_records with pd.DataFrame

* Remove unused code

* Update core.py

* Update core.py

* Update csv.py

* Update core.py
2022-07-19 09:52:47 -07:00
John Bodley 8c0ac9017f fix: Presto _show_columns return type (#20757) 2022-07-19 09:52:22 -07:00
Jesse Yang e2d3ea831a fix(db): use paginated_update for area chart migration (#20761) 2022-07-19 07:20:46 -07:00
Diego Medina 115ab700df fix(sql lab): MultiSelector component render twice (#20706)
* fix(sql lab): MultiSelector component render twice

* filter null/undefined tables
2022-07-19 08:33:15 -03:00
Beto Dealmeida e60083b45b chore: upgrade SQLAlchemy to 1.4 (#19890)
* chore: upgrade SQLAlchemy

* Convert integration test to unit test

* Fix SQLite

* Update method names/docstrings

* Skip test

* Fix SQLite
2022-07-18 15:21:38 -07:00
Craig Rueda 90600d1883 Fixing broken node build (#20727) 2022-07-18 15:19:54 -07:00
Hugh A. Miles II 1101922178 fix change dataset (#20751) 2022-07-18 14:23:11 -04:00
Michael S. Molina 92f3621c75 fix: Error when saving datasource from Explore (#20749) 2022-07-18 14:35:19 -03:00
Hugh A. Miles II 510c1c4817 fix: set reference to columns properly for sqllab -> explore (#20747)
* set reference to columns properly

* fix logic
2022-07-18 12:32:31 -04:00
Yongjie Zhao 5990ea639e fix: getting default value in run-server.sh (#20736) 2022-07-18 23:00:27 +08:00
Ernesto Ruiz 776d211dae docs: add Platzi.com to users list (#20705)
Add Platzi to INTHEWILD.md
2022-07-17 15:29:24 -04:00
Multazim DeshmukhandMultazim Deshmukh 883241070f fix: make max-requests and max-requests-jitter adjustable (#20733)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-07-17 20:59:16 +08:00
Elizabeth Thompson bbaa4cc65d use existing row when id is found (#20661) 2022-07-16 00:00:39 -07:00
Hugh A. Miles II e5e8867394 feat: Visualize SqlLab.Query model data in Explore 📈 (#20281) 2022-07-15 19:34:02 -04:00
Beto Dealmeida c70d102b73 fix: logger message (#20714) 2022-07-15 07:51:59 -07:00
Michael S. Molina 4495868b44 fix: Fixes the instructions to publish to PyPi (#20710) 2022-07-15 08:38:56 -03:00
John BodleyandJohn Bodley a6abcd9ea8 fix: Address regression in main_dttm_col for non-dnd (#20712)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-14 23:51:03 -07:00
Jesse Yang 08d2d37dbc chore: add apache header for 2.0 changelog (#20713) 2022-07-15 10:18:42 +08:00
John Bodley 5285f3d640 Update api.py (#20711) 2022-07-14 18:51:24 -07:00
Jesse Yang 2cb4fd31f1 refactor(test): add login_as_admin in global conftest (#20703) 2022-07-14 18:10:31 -07:00
Srini KadamatiandStephen Liu 5beb1aa2f5 docs: WIP release notes for 2.0 (#20490)
* WIP: release notes for 2.0

* draft of 2.0 release notes

* tidied up formatting

* cleaned up anchors

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

* Update RELEASING/release-notes-2-0/README.md

Co-authored-by: Stephen Liu <750188453@qq.com>

Co-authored-by: Stephen Liu <750188453@qq.com>
2022-07-14 15:51:46 -04:00
Michael S. Molina c362c0ed11 chore: Updates CHANGELOG.md and UPDATING.md with 2.0.0 changes (#20709) 2022-07-14 16:09:33 -03:00
Yongjie Zhao 6b0bb80a6d fix: columns are lost when dashboard to explore (#20699) 2022-07-14 15:43:33 +08:00
Diego Medina 558201c865 fix: "Refresh Dashboard" only refreshes active tab (#20688) 2022-07-14 11:52:36 +08:00
GuinsooLab e1ade31987 Update intro.mdx (#20557)
duplicate
2022-07-13 21:02:31 -04:00
Daniel Vaz Gaspar e6b0141c67 fix(releases): docker build on M1 npm run build fails (#20700) 2022-07-13 23:53:31 +01:00
vladik-hbinov 41125a4b83 Added pyodbc (#20598) 2022-07-13 16:13:41 -04:00
Lionel GUILLAUD 415b50cc4c Update elasticsearch.mdx (#20695)
Configuration to get rid of "urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)"
2022-07-13 16:07:04 -04:00
Antonio Rivero Martinez 5510af36cc Save Dataset Modal: (#20691)
- Stop clearing the selected dataset after overwritting so users can overwrite as many times as they see fit
- There's a new AsyncSelect we should use now
2022-07-13 12:12:28 -06:00
Michael S. Molina 2a705406e1 refactor: Unify shared datasources reducers and actions (#20645)
* refactor: Unify shared datasources reducers and actions

* Removes column_types

* Adjusts hydrateExplore

* Revert "Removes column_types"

This reverts commit 096bbf7826.

* Fixes test
2022-07-13 13:03:36 -03:00
Michael S. Molina ec2eb3ddf8 refactor: Renders addSlice in SPA (#20675)
* refactor: Renders addSlice in SPA

* Removes unused imports

* Fixes test imports

* Removes unnecessary imports
2022-07-13 08:50:58 -03:00
Stephen Liu acdb271422 fix(line-chart): Formula Annotations on Line Charts are broken (#20687) 2022-07-13 16:42:11 +08:00
Stephen Liu bd6037ef50 fix(treemap-v2): color scheme not work when there is only one dimension (#20671) 2022-07-13 16:06:44 +08:00
Diego Medina effa7d9f58 fix(dashboard): Native filter on the dashboard with multiple tabs is displayed as out of scope (#20693) 2022-07-13 16:03:23 +08:00
Usiel RiedlandUsiel Riedl 19247cc92a Fixes datatable crash when dimension is empty (#20680)
Fixes #20679

Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-07-13 14:54:33 +08:00
Cody Leff b1020e3062 chore(explore): Update chart save to use API endpoints (#20498)
* Update SaveModal to use v1 API instead of POST /explore.

* Refactor SaveModal tests and remove obsolete ones.

* Fix redirect to /explore on save.

* Add toasts (but they don't work).

* Move logic inside try block, clarify unary-plus use.

* Add tests.

* Fix owners bug in updateSlice, enable navigation to dashboard w/o reload.

* Fix toasts.

* Fix translated strings.

* Fix unintended removal from dashboard bug.

* Fix native filters bug.

* Don't refresh Explore page after saving

* Use JSON payload shorthand.

* Prevent current dashboards being overwritten on viz type change.
2022-07-13 06:36:31 +02:00
Jesse Yang c3ac61271a feat(dashboard): make permalink deterministic (#20632) 2022-07-12 16:33:18 -07:00
Kamil Gabryjelski 5317462b49 Revert "feat: Reuse Dashboard redux data in Explore (#20668)" (#20689)
This reverts commit ff5b4bc0e4.
2022-07-12 16:48:08 -03:00
Kamil Gabryjelski ff5b4bc0e4 feat: Reuse Dashboard redux data in Explore (#20668) 2022-07-12 19:17:25 +02:00
Phillip Kelley-Dotson c795dc23b9 feat: have user go to explore after dataset creation (#19965)
* feat: have user go to explore after dataset creation

* change flow to create chart

* fix lint

* update with suggestions and add store for toasts

* fix ts

* fix test

* lint
2022-07-12 09:11:31 -07:00
Yongjie Zhao 8d4994a899 fix: superset-ui/core code coverage (#20676) 2022-07-12 13:34:27 +08:00
wiktor2200 d4b59ff1ea chore(docs): custom and built-in event logging class at the same time (#20098)
* chore: custom and built-in event logging class at the same time

* fix whitespaces

* Update Event Logging docs
2022-07-12 08:30:44 +03:00
Yongjie Zhao 7f918a4ec0 fix: annotation broken (#20651)
* fix: annotation broken

* fix UT

* add annotation data to mixed timeseries chart
2022-07-11 16:23:57 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6ee9be203a chore(deps-dev): bump jsdom from 16.4.0 to 20.0.0 in /superset-frontend (#20649)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:46 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9484600b9a chore(deps): bump moment from 2.29.2 to 2.29.4 in /superset-frontend (#20644)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:22 -06:00
Milosz Bednarzak ae306d6d1f feat(HelmChart): Add securityContext on pod level (#20666)
* feat(HelmChart): securityContext - container level

* build(helmchart): bump chart to 0.6.5
2022-07-11 08:30:17 -07:00
wiktor2200 0a316a8ed3 chore(docs): feature flags setting is misleading in docs (#20622) 2022-07-11 08:43:13 -03:00
Diego Medina c29261b63d fix: X Axis should be called Y Axis when using the Bar Chart V2 on Horizontal mode (#20659) 2022-07-09 12:36:16 +08:00
John Bodley 542fdb23bb docs: Remove unnecessary line item (#20657) 2022-07-09 10:02:25 +08:00
Elizabeth Thompson c2be54c335 fix: pandas bug when data is blank on post-processing (#20629)
* fix pandas bug when data is blank on post-processing

* account for multiple queries when data is blank
2022-07-08 16:33:53 -07:00
Jack Fragassi dfab521f50 fix(embedded): Ensure guest token is passed to log endpoint (#20647)
* Pass guest token to sendBeacon

* Add tests
2022-07-08 15:17:01 -07:00
Phillip Kelley-Dotson e1a918f141 fix: enable admin to edit dataset in explore (#20613)
* add conditional

* add test

* fix lint
2022-07-08 11:22:45 -07:00
AAfghahi 0ce0c6e1eb chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql

* removing having_druid

* addressing comments, linting

* fixed all tests

* addressing comments

* redirected to ui-core TimeGranularity type

* query form metric linting

* fixed broken chart type

* implementing feedback
2022-07-08 17:57:03 +02:00
Evan RusackasandVille Brofeldt 9856d88c03 feat(handlebars plugin): adding handlebars helpers for common math operations (#20648)
* feat(plugin-chart-handlebars): add common helpers

* add import

* add declare module

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-07-08 08:10:29 -06:00
Yongjie Zhao 4e6e87f62e feat: Area viz migration (#20359) 2022-07-08 19:56:03 +08:00
Antonio Rivero Martinez e33164024a Database Modal: (#20637)
- Since our DatabaseConnectionForm is wrapped in a AntD Form, we need to ensure our custom design is applied in the upload input instead of AntD default one for file input type=file.
2022-07-07 14:49:56 -06:00
cccs-RyanK 1109fe5fb7 chore: Split Select component into Async and Sync components (#20466)
* Created AsyncSelect Component
Changed files to reference AsyncSelect if needed

* modified import of AsyncSelect, removed async tests and prefixes from select tests

* fixed various import and lint warnings

* fixing lint errors

* fixed frontend test errors

* fixed alertreportmodel tests

* removed accidental import

* fixed lint errors

* updated async select
2022-07-07 15:51:37 -03:00
वेणु गोपालandʈᵃᵢ 6132d78efb docs: add WikiMedia Foundation to users list (#20578)
* Add WikiMedia to INTHEWILD.md

* docs: add WikiMedia Foundation to users list

Co-authored-by: ʈᵃᵢ <tai@apache.org>

Co-authored-by: ʈᵃᵢ <tai@apache.org>
2022-07-07 12:45:41 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ae8c9319a6 chore(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#20643)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:41:59 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 30c1631350 chore(deps): bump got in /superset-frontend/cypress-base (#20469)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:35:13 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c91c5643c4 chore(deps): bump parse-url from 6.0.0 to 6.0.2 in /superset-frontend (#20614)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:12:31 -06:00
John BodleyandJohn Bodley f0ca158989 fix: Refactor ownership checks and ensure consistency (#20499)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-07 11:04:27 -07:00
Smart-Codi e7b965a3b2 fix: Bad date type in email text report for table chart (#20119)
* fix bad date type in email text report for table chart

* fix test, pylint issue

* add test case for date type
2022-07-07 11:31:50 -06:00
Smart-Codi 962252030b fix: Add database search in available charts on dashboard. (#19244)
* add database search

* resolve lint issue

* add test for sliceEntities actions

* fix lint issue

* add licence into test

* fix pipeline broken

* fix sort by recent

* resolve comment
2022-07-07 11:24:47 -06:00
Daniel Vaz Gaspar 4bfa622d02 fix: migration revisions from #19532 (#20641) 2022-07-07 15:33:11 +01:00
Daniel Vaz Gaspar 3b4924f0b0 docs: small fixes for OAuth (#20640) 2022-07-07 15:01:36 +01:00
Yongjie Zhao 7626c31372 feat: TreeMap migration (#20346) 2022-07-07 19:37:18 +08:00
Kamil Gabryjelski de4f7db57e feat(dashboard): Transition to Explore with React Router (#20606)
* feat(dashboard): Use react-router for transition to Explore + cmd click to open in new tab

* Update tooltip

* Add a feature flag

* Update edit chart onclick event

* Fix lint

* Fix tests

* Change feature flag name

* Add tooltip to Edit chart
2022-07-07 11:52:03 +02:00
Yongjie Zhao 34e1336bca fix: controls validator glitch (#20623) 2022-07-07 17:21:14 +08:00
Eugene Bikkinin d16f274991 feat(database): Add user_id and dttm composite index to Log model. (#19532)
* feat: Added user_id and dttm composite index to Log model.

* fix: Refactored migration to a general view.

* fix: Changed down revision.

* fix: Formatted with black.

* fix: Removed odd Index import.
2022-07-06 22:24:44 -06:00
stevetracvc 7e504ff680 feat: truncate long values in table viz, a per-column setting (#19383)
* feat: truncate long values, a per-column setting

* fix: lint

* fix: removed width for column control

* fix: removed truncate option for time, bool, and numeric columns

* prevent extra div if not truncating
2022-07-06 22:16:48 -06:00
Diego Medina ac01a1b02f chore: Set table viz default row limit to 1000 (#20475) 2022-07-06 22:09:23 -06:00
Yongjie Zhao 414cc99ca2 fix: datetime.data in series (#20618) 2022-07-07 09:33:44 +08:00
smileydev c992ff3be4 fix(import): Show the error message with db install guide when exist the importing db issue (#20573)
* fix(import): make to update the error display when importing resurce

* fix(import): make to update the error message
2022-07-06 13:51:42 -06:00
David Aaron Suddjian db088e9e2f chore: rename "uiOverrideRegistry" -> "extensionsRegistry" (#20628)
* uiOverrideRegistry -> extensionsRegistry

* better comments

* missed a spot

* missed another spot

* url
2022-07-06 11:35:19 -07:00
Reese f9109583ce fix: Allow dataset owners to explore their datasets (#20382)
* fix: Allow dataset owners to explore their datasets

* Re-order imports

* Give owners security manager permissions to their datasets

* Update test suite

* Add SqlaTable to is_owner types

* Add owners to datasource mock

* Fix VSCode import error

* Fix merge error
2022-07-06 11:27:50 -03:00
Daniel Vaz Gaspar b39a3d8f78 docs: fix link for Apache Superset source code (#20620) 2022-07-06 13:49:39 +01:00
Daniel Vaz Gaspar 183871b002 chore: bump FAB to 4.1.3 (#20621) 2022-07-06 12:55:24 +01:00
Daniel Vaz Gaspar f38dd1d42d feat: add hooks on set_perm for new data permissions (#20600)
* feat: add hooks on set_perm for new data permissions

* fix lint
2022-07-06 09:54:18 +01:00
Rui ZhaoandRui Zhao 818962cc89 fix(embedded): Retry when executing alert queries to avoid sending transient errors to users as alert failure notifications (#20419)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-07-05 13:23:05 -07:00
Michael S. MolinaandKamil Gabryjelski 662bab1e6d feat: Renders Explore in SPA (#20572)
* feat: Renders Explore in SPA

* Adds permalink support

* Replaces navigation from Welcome page

* Fix initializing feature flags

* Remove redundant import

* Adds saveSlice workaround

* Fixes paths

* Fixes lint error

* Fixes tests

* Fix url to explore from Datasets view

* Fix explore page height

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03:00
Milosz Bednarzak 1a806687fc feat(HelmChart): Configurable securityContext in Pods (#20509)
* feat(Helm Chart): add customizable securityContext

* build(Helm Chart): bump Chart to 0.6.4

* feat(Helm Chart): add support for securityContext
2022-07-05 12:14:35 -07:00
John BodleyandJohn Bodley 94b3d2f0f0 refactor: Deprecate ensure_user_is_set in favor of override_user (#20502)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:57:40 -07:00
John BodleyandJohn Bodley ad308fbde2 chore(rls): Remove passing global username (#20344)
* chore(rls): Remove passing global username

* Update manager.py

* Update manager.py

* Update manager.py

* Update manager.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:51:24 -07:00
Daniel Vaz Gaspar 92bf1b8ef6 fix: welcome page user authentication check (#20605) 2022-07-05 17:04:47 +01:00
Phillip Kelley-Dotson 9da7c1f7b8 feat: hack db connection modal ctabtns (#20017)
* add flow for dbconnmodal to datasetmodal

* fix bug

* second part

* fix dataset to sql lab

* fix lint

* more lint

* add key value

* fix type

* add new styling

* remove undefined from types
2022-07-05 08:56:12 -07:00
Rahul Raj 4137fe03a0 fix(schedule-query): getUISchema function called in SchemaForm component (#20256)
* Revert "Superset - Release and Improvements (12-05-2022)"

* merging conflic changes

* Revert "Revert "Superset - Release and Improvements (12-05-2022)""

This reverts commit 6d18661e03.

* fixed breaking changes

* sync with master

* fixed breaking flows

* fixed getUISchema function call

* added default placeholder and updated docs

* fixed format and comments

* changed flag to configuration

* fix: indentation of SCHEDULED_QUERIES dict

* fix: changed intendation for SCHEDULED_QUERIES

* fix: updated docs for SCHEDULED_QUERIES

* fix: replaced button to menu item for SCHEDULED_QUERIES

* fix: updated docs for SCHEDULED_QUERIES

* fix: trailing whitespace
2022-07-05 14:16:37 +02:00
Yongjie Zhao 59491f5396 chore: rename drop missing columns to show empty columns (#20602) 2022-07-05 16:09:16 +08:00
Yongjie Zhao 309327dcbd feat: drop missing columns control (#20586) 2022-07-04 18:08:12 +08:00
Stephen Liu c0a00fd302 feat(deck.gl): add color range for deck.gl 3D (#19520) 2022-07-04 11:54:04 +08:00
Antonio Rivero Martinez 8a57a71bed fix(sql lab): Save Dataset Modal Autocomplete should display list when overwritting (#20512)
* Save Dataset Modal:

- Use our Select component as substitute of the Autocomplete one so options are loaded initially without the user having to trigger a search and we are mosre consistent with the rest of the app
- Changing datasetId to lowercase so when custom props get into the DOM we don't get warning related to invalid formatting
- We extracted the dropdown out of the radio because it causes invalid click handling when an option is selected
- Updated tests

* Save Dataset Modal:

- Update missing test for DatasourceControl

* Save Dataset Modal:

- Remove conditional from load options function since only guest users dont have userId, and if that is the case they wont reach this part of the application

* Save Dataset Modal:

- Remove unused comment

* Save Dataset Modal:

- Add getPopupContainer as prop for Select component

* Save Dataset Modal:

- Add tests for our new getPopupContainer prop in Select component. So if passed it gets called.

* Save Dataset Modal:

- use lowercased property when calling post form data

* Save Dataset Modal:

- Update tests so there is no need to define a null returning func

* Save Dataset Modal:

- Including getPopupContainer from PickedSelectProps instead
- Updating definition in SelectFilterPlugin
2022-07-01 14:40:13 -06:00
Lily KuangandDavid Aaron Suddjian 2389871556 feat: add extension point to the top of welcome page (#20575)
* welcome top extension

* show database modal

* add test

* Delete lines.svg

* rename to banner

* remove lines

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-07-01 12:21:13 -07:00
David Aaron Suddjian 7f70de30fb one action, one file (#20554) 2022-07-01 11:18:04 -07:00
nisheldo 7275805e95 chore: updating python docker image to 3.8.13 (#20550) 2022-07-01 11:16:17 -07:00
Yongjie Zhao b870a21eaa refactor: remove unused flatten function (#20582) 2022-07-01 19:17:55 +08:00
Yongjie Zhao 290b89c7b4 feat: apply standardized form data to deckgl (#20579) 2022-07-01 14:51:59 +08:00
Cody Leff b99482dfb1 Try making skipped Cypress test less flaky and un-skip. (#20568) 2022-06-30 16:30:32 -06:00
Evan Rusackas ac8e502228 fix: Respecting max/min opacities, and adding tests. (#20555)
* Respecting max/min opacities, and adding tests.

* revising tests

* Adding missing test case for maximum coverage :)

* removing unnecessary logic and test

* adding another unit test for (hopefully) full coverage.

* no more ternary operator

* New approach with Math.min  - take THAT codecov.

* one more stab at making codecov happy... ignoring the file next.

* lint fixes
2022-06-30 16:09:03 -06:00
Evan Rusackas f5f8ddec3e Revert "feat(plugin-chart-echarts): Support stacking negative and positive values (#20408)" (#20571)
This reverts commit c959d92dd1.
2022-06-30 13:52:43 -06:00
Kamil Gabryjelski b30f6a5db1 chore(explore): Get Explore data from endpoint instead of bootstrap_data (#20519)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fix dashboard id autofill

* Fix lint

* Fix test
2022-06-30 21:06:51 +02:00
Sam Faber-Manning f2af81b1c7 feat: add extension point to the right side of the menu bar (#20514)
* add setupExtensions

* add 'navbar.right' extension to registry

* add test for navbar.right extension point

* rename MenuRight -> RightMenu

* lint
2022-06-30 11:43:20 -06:00
Cody Leff edb1383bf8 chore(dashboard): Resolve form_data vs. formData in dashboard redux state 2022-06-30 18:49:18 +08:00
Stephen Liu 932e304ffb fix(database-modal): forms in database modal will be effected by external form values (#20487) 2022-06-30 16:21:33 +08:00
Stephen Liu 24a53c38c6 fix(big-number): big number gets cut off on a Dashboard (#20488) 2022-06-30 16:19:38 +08:00
90d486a643 fix: SQL Lab cancel query in Redshift database connection does not wo… (#16326)
* fix: SQL Lab cancel query in Redshift database connection does not work #16325


Co-authored-by: Venkata Krishnan Somasundaram <venkata_cred@Venkatas-MacBook-Pro.local>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-06-29 11:12:59 -07:00
Jesse Yang cadd259788 feat: save active tabs in dashboard permalink (#19983) 2022-06-29 09:43:52 -07:00
Diego Medina c5d3678a31 fix: Unable to download the Dashboard as image in case there's an image added through Markdown (#20362)
* fix: Unable to download the Dashboard as image in case there's an image added through Markdown

* licence
2022-06-30 00:22:49 +08:00
Michael S. Molina cb3cd41dcd fix: Removes psycopg2 as a required dependency (#20543)
* fix: Removes psycopg2 as a required dependency

* Disables lint warning
2022-06-29 09:22:13 -03:00
Michael S. Molina 4eb2a6f4a3 chore: Updates metrics and columns font-size (#20526) 2022-06-29 08:05:00 -03:00
Yongjie Zhao de524bc59f feat: apply standardized form data to tier 2 charts (#20530) 2022-06-29 16:27:31 +08:00
Yongjie Zhao 927d066f70 chore: move isAdhocColumn from controls to core (#20529)
* chore: move isAdhocColumn to superset-ui/core

* ut
2022-06-29 13:09:44 +08:00
Antonio Rivero Martinez 850f5fa136 fix(database-modal): Refresh Data when importing (#20523)
* Database Modal:

- Add missing invocation to onDatabaseAdd after importing DB from file
- Add keys to our IconButtons

* Database Modal:

- Reduce if clause so it's more concise
2022-06-28 16:13:09 -06:00
Alex Lauderbaugh 93fbfe9d28 Updated copy in chart drop down to "View as table" (#20486) 2022-06-28 14:49:13 -06:00
Kamil Gabryjelski e12ee59b13 feat(explore): Apply denormalization to tier 2 charts form data (#20524)
* feat(explore): Denormalize form data in Calendar Heatmap

* feat(explore): Denormalize form data in Bubble

* feat(explore): Denormalize form data in Chord

* Dimensions -> Dimension for single selection

* feat(explore): Denormalize form data in Country Map

* feat(explore): Denormalize form data in Heatmap

* feat(explore): Denormalize form data in Histogram

* feat(explore): Denormalize form data in Handlebars

* feat(explore): Denormalize form data in Percent Change

* Use new standardized form data interface
2022-06-28 20:21:36 +02:00
Yongjie Zhao c348a095b9 refactor(standardized form data): refine interface and improve code smells (#20518) 2022-06-28 21:09:42 +08:00
smileydev 23e62d3782 fix(db): Show the only db install guide when the db is already installed and error is existed while importing file. (#20442)
* fix(db): make to show the db error msg when db installed and error is exist

* fix(db): make to replace dbinstall str into showDbInstallInstructions
2022-06-28 20:53:02 +08:00
Saint 364bb7c639 chore: added new translations to the spanish language (#20427)
* Added new translations for Spanish Language - Specifically on the visualizations of Time-Series

* Chore: Added more translations to the Time-Series visualizations
2022-06-28 20:34:14 +08:00
Cody Leff 280b4be449 feat(vizgallery): Double-click viz type to submit form (#20513)
* Make double-clicking on viz type submit the form.

* Add tests.
2022-06-28 09:27:04 -03:00
Michael S. Molina 480ee38917 chore: Updates control panels font size in Explore (#20510) 2022-06-28 09:16:59 -03:00
Susurandkai.he01 c4d2238a16 feat: add Spark Sql DB engine spec and support Spark 3.x (#20462)
* add apache spark3

* add Spark DB engine spec

* rebase secret key

* modify License error

* rebase databricks

* modify code style

* black code style

Co-authored-by: kai.he01 <kai.he01@idiaoyan.com>
2022-06-27 15:50:35 -07:00
Elizabeth Thompson ddcef70fbd change permissions on action (#20496) 2022-06-27 15:22:43 -07:00
John BodleyandJohn Bodley f29cde2269 refactor: Minor optimization for updating DatasetDAO columns and metrics (#20473)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-25 14:31:04 -07:00
John BodleyandJohn Bodley 3483446c28 refactor: Cleanup user get_id/get_user_id (#20492)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-24 17:57:04 -07:00
Daniel Vaz Gaspar c56e37cda2 fix: bump FAB to 4.1.2 (#20483) 2022-06-24 19:13:48 +01:00
DiegoandDiego Martin bcc51400bd docs(contribute): update compatible Python versions in local environment setup instructions (#20260)
* Remove incompatible Python 3.7 from local env setup docs

* Ensure Python 3.8 or 3.9

Co-authored-by: Diego Martin <diego.martin@indigitall.com>
2022-06-24 10:59:59 -07:00
Multazim DeshmukhandMultazim Deshmukh 5a2abfab65 fix: correction from mmsql to mssql in setup.py (#20493)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-06-24 10:43:16 -07:00
Yongjie Zhao bbbe102887 feat(standardized form data): keep all columns and metrics (#20377) 2022-06-24 21:46:25 +08:00
Kamil Gabryjelski c7f1c7d5bd chore: Restructure explore redux state (#20448)
* chore: Restructure explore redux state

* fixes

* fix tests

* add new tests

* Fix type

* Address comments

* Fix bug

* Fix import

* Add new test

* Move unsaved chart id to a constant

* Add todo
2022-06-24 15:26:07 +02:00
Michael S. Molina 20163361b9 feat: Adds the /explore endpoint to the v1 API (#20399)
* feat: Adds the /explore endpoint to the v1 API

* Fixes pylint errors

* Fixes tests

* Changes the tests logic

* Removes ABC reference

* Improves indentation

* Addresses review comments

* Rebases code

* Improves dataset and slice assertions

* Fixes tests

* Removes schema and table name assertions

* Removes fixed IDs

* Fixes datasource ID
2022-06-24 08:23:30 -03:00
Elizabeth Thompson 44f0b511dd remove autoflush for queries during dual write (#20460) 2022-06-23 14:50:30 -07:00
John BodleyandJohn Bodley 661ab35bd0 fix: Re-add filter-box time granularity/column (#20485)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-23 12:42:40 -07:00
Daniel Vaz Gaspar b33c23ef25 fix: migration revision order (#20484) 2022-06-23 18:42:35 +01:00
Stephen Liu aa4068048a fix(docs): prevent some symbols from being copied with (#20480) 2022-06-23 13:11:42 -04:00
stevetracvc a45d011e74 fix: issue with sorting by multiple columns in a table (#19920)
Recent commit to sort alphanumeric columns via case insensitive
comparison broke the multi-column sort option. React-table only sorts
by the second (or third...) column if the first column matches.
Since the alphanumeric sort only returned -1 or 1, it never would move
to the subsequent columns when the earlier column values matched.
2022-06-23 08:39:46 -03:00
John BodleyandJohn Bodley f5cb23e0a3 fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL (#20385)
* fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL

* Update 2022-06-14_15-28_e09b4ae78457_resize_key_value_blob.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-23 08:38:33 -03:00
Diego Medina 4dc30441b7 fix: alert & reports active toggle optimistic update (#20402) 2022-06-23 08:33:54 -03:00
Michael S. Molina a169b60712 fix: Changes the return type of get_permissions to be JSON friendly (#20472)
* fix: Changes the return type of get_permissions to be JSON friendly

* Removes dangling comma

* Removes unused import

* Fixes typing errors
2022-06-22 15:28:59 -06:00
AAfghahi 2c16be42e1 async queries limit bug (#20468) 2022-06-22 16:21:34 -04:00
Eric Briscoe 9f9aae49c9 chore: Convert QueryAutoRefresh to TypeScript functional React component [sc-48362] (#20179)
* git commit -m 'Convert QueryAutoRefresh to functional component [sc-48362]'

* addressing PR comments [sc-48362]

Removes unneeded props and state tracking of offline, adds finally block to simplify clearing pending request, simplifies value comparison in array by using includes in place of indexOf

* Address PR comment to use enum for QueryState [sc-48362]

Original implementation had string literals used in multiple places representing Query.state value options.  This commit creates a formal TypeScript enum for QueryState so we can remove string literals and ensure better consistency

* Address PR comments for object type validation [sc-48362]

This commit resolves an issue why the TypeScript typing for queryList was marked as a Query[] but was actually a Dictionary (associative array) or Queries.  A new type QueryDictionary has been added and the QueryAutoRefresh code was adjusted to use QueryDictionary instead of Query[] in appropriate places as well as unit tests.  Commit also removes QueryAutoRefreshContainer by making the once component using QueryAutoRefresh (which is already redux connected) pass the needed values on props.  this simplifies the code base and reduce files that need unit testing while keeping QueryAutoRefresh out of needing a redux connection directly.

* Addresses PR comment to add QueryState.SCHEDULED to runningQueryStateList [sc-48362]

In previous implementation 'scheduled' was not included int he list of Query States.  Further investigation shows it should be added to as a running state.

* Fix prettier lint error [sc-48362]

* Adjust unit tests for props update hoisting callbacks out of actions wrapper object [sc-48362]

* Update with changes from master [sc-48362]

Merges in updates from master and resolves conflicts from relocation of some of the Query TypeScript definitions into core

* Removes logic setting user offline and relying on results panel error message [sc-48362]

* Fixes bad import after some TypeScript definitions were relocated to core [sc-48362]

* Fixes TypeScript errors [sc-48362]
2022-06-22 13:20:02 -07:00
cccs-Dustin daded10992 feat(SQL Lab): Make SQL Lab explore use the default viz from the config file (#20056)
* Modified SQL Lab so it uses the default viz to explore a new dataset with

* Added a comment to the config file

* Remove trailing whitespace

* [CLDN-1312] Removed the 'viz_type' variable so that when it is undefinded in the back-end, it gets set to the default viz

* [CLDN-1312] Only sets the 'all_columns' variable if the default viz type is a 'table'

* Will only pop 'selectedColumns' out of 'form_data' if it is present

* [CLDN-1312] Updated files so that the default viz is now being used again in SQL Lab Explore
2022-06-22 11:33:44 -06:00
Elizabeth Thompson b66a617ed9 remove label for new user (#20429) 2022-06-22 10:21:53 -07:00
Kyuhyun Byun(Bien) cf4f05efbc docs(featureflags): add GENERIC_CHART_AXES flag (#20446)
* doc(featureflags): add GENERIC_CHART_AXES flag

* move GENERIC_CHART_AXES into testing stage
2022-06-22 09:14:24 -04:00
smileydev a833674a8d fix(home): Show home page tabs as pills instead of links (#20257)
* fix(home): make to update the css style of links

* fix(home): make to fix lint issue

* fix(home): make to remove underline when tab is active

* fix(homes): make to fix the issue of tab

* fix(home): make to move styles to a tag
2022-06-21 17:44:48 -06:00
Michael S. Molina ca526e63c8 feat: Adds support for clearing the Select cache (#20397)
* feat: Adds support for clearing the Select cache

* Fixes lint errors
2022-06-21 15:13:37 -03:00
Cody LeffandMichael S. Molina 44c5e2879b chore(newchart): update chart creation dataset selection help text, styles (#20369)
* Update dataset selection help text.

* Update 'Create a new chart' flow styles.

* Add support for linking directly to Create Dataset modal via URL hash.

* Add support for linking directly to Create Dataset modal via URL hash.

* Update dataset help text to not include spaces in translated strings and only include an 'Add dataset' link when user has permission to add dataset.

* Clean up test file

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-06-21 14:01:43 -03:00
Beto Dealmeida f3b289d3c3 fix: ensure column name in description is string (#20340)
* fix: ensure column name in description is string

* Add unit test
2022-06-21 10:10:46 -03:00
Diego Medina 5afeba34bd fix(viz): BigQuery time grain 'minute'/'second' throws an error (#20350) 2022-06-21 10:06:52 -03:00
smileydev 1ae935379f fix(chart & table): make to prevent dates from wrapping (#20384) 2022-06-21 09:58:50 -03:00
Yongjie Zhao 9fad26fa19 fix: suppress translation warning in jest (#20404) 2022-06-21 20:38:58 +08:00
Yongjie Zhao 8bbbd6f03f fix: should raise exception when apply a categorical axis (#20451) 2022-06-21 20:37:51 +08:00
Diego Medina 93774d1860 fix: table viz sort icon bottom aligned (#20447) 2022-06-21 09:10:37 -03:00
Daniel Vaz Gaspar ba4ba0267e fix: RLS new db migration downgrade fails on SQLite (#20449) 2022-06-21 13:07:23 +01:00
Hugh A. Miles IIandPhillip Kelley-Dotson e3e37cb68f chore: switching out ConnectorRegistry references for DatasourceDAO (#20380)
* rename and move dao file

* Update dao.py

* add cachekey

* Update __init__.py

* change reference in query context test

* add utils ref

* more ref changes

* add helpers

* add todo in dashboard.py

* add cachekey

* circular import error in dar.py

* push rest of refs

* fix linting

* fix more linting

* update enum

* remove references for connector registry

* big reafctor

* take value

* fix

* test to see if removing value works

* delete connectregistry

* address concerns

* address comments

* fix merge conflicts

* address concern II

* address concern II

* fix test

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-06-21 13:22:39 +02:00
Yongjie Zhao c79b0d62d0 refactor: create echarts query section (#20445) 2022-06-21 11:38:07 +08:00
Samira El Aabidi 68af5980ea feat(chart): Enable caching per user when user impersonation is enabled (#20114)
* add username to extra cache keys when impersonation is enabled.

* don't put effective_user in extra_cache_key

* get_impersonation_key method in engine_spec class  to construct an impersonation key

* pass datasource when creating query objects

* adding an impersonation key when construction cache key

* add feature flag to control caching per user

* revert changes

* make precommit and pylint happy

* pass a User instance

* remove unnecessary import
2022-06-20 18:14:08 -07:00
Sam FirkeandJohn Bodley b7eb235440 style(typo): occured -> occurred (#20116)
* Occured -> Occurred

* Occured -> Occurred

* Occured -> Occurred

* Occured - > Occurred

* Update FallbackComponent.tsx

* Update FallbackComponent.tsx

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-06-20 08:49:45 -07:00
Yongjie Zhao 111affdb02 chore: move xaxis to superset-ui (#20438) 2022-06-20 22:36:27 +08:00
Daniel Vaz Gaspar 60eb1094a4 feat: add name, description and non null tables to RLS (#20432)
* feat: add name, description and non null tables to RLS

* add validation

* add and fix tests

* fix sqlite migration

* improve default value for name
2022-06-20 13:52:05 +01:00
John Bodley 8b0bee5e8b [fbprophet] Fix frequencies (#20326) 2022-06-19 21:53:09 -07:00
Simon ThelinandJohn Bodley 8b7262fa90 fix(20428): Address-Presto/Trino-Poll-Issue-Refactor (#20434)
* fix(20428)-Address-Presto/Trino-Poll-Issue-Refacto
r

Update linter

* Update to only use BaseEngineSpec handle_cursor

* Fix CI

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-06-19 16:28:59 -07:00
Diego Medina c2f01a676c fix(dashboard): new created chart did not have high lighted effect when using the permalink of chart share in dashboard (#20411) 2022-06-19 08:17:06 -06:00
Lily KuangandDavid Aaron Suddjian ab9f72f1a1 fix(embedded): CSV download for chart (#20261)
* move postForm to superset client

* lint

* fix lint

* fix type

* update tests

* add tests

* add test for form submit

* add test for request form

* lint

* fix test

* fix tests

* more tests

* more tests

* test

* lint

* more test for postForm

* lint

* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* update tests

* remove useless test

* make test cover happy

* make test cover happy

* make test cover happy

* make codecov happy

* make codecov happy

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-06-17 20:01:08 -07:00
Lily Kuang f53018c7c5 feat(embedded): enforce allow domains (#20251)
* feat(embedded): enforce allow domains

* check referrer in view

* remove frontend check
2022-06-17 12:57:51 -07:00
Cody Leff 9f74fb7a84 Skip flaky Cypress test. (#20417) 2022-06-17 10:24:58 -06:00
Neeraj-2307 a807290e3d docs: Added details to Druid connection string (#20264)
* Added details to Druid connection string 

While linking Superset to Druid the correct connection string is very important however in the docs it is not well explained , so I added a little description to it

* Update druid.mdx
2022-06-17 10:55:41 -04:00
jiAngandMichael S. Molina f6f93aad37 fix(cosmetic): cannot find m-r-10 class in superset.less (#20276)
* fix(cosmetic): cannot find m-r-10 class in superset.less

* fix: remove .m-r-10 class and use emotion instead

* Update superset-frontend/src/components/Datasource/CollectionTable.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/components/Datasource/DatasourceEditor.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-06-17 08:54:27 -03:00
Stephen Liu fa7f144a68 fix: rm eslint-plugin-translation-vars engine requirement (#20420) 2022-06-17 14:29:57 +08:00
Stephen Liu b32288fddf fix(bar-chart-v2): remove marker from bar chart V2 (#20409) 2022-06-17 10:52:26 +08:00
mohittt8 41bbf62e58 fix(presto): use correct timespec for presto (#20333) 2022-06-16 16:43:17 -07:00
Beto Dealmeida 998624b1a5 feat: allow setting db UUID (#20412)
* WIP

* feat: allow passing UUID when creating a DB

* Test

* Fix field
2022-06-16 15:53:59 -07:00
Elizabeth Thompson 12436e47c9 fix key error on permalink fetch for old permalinks (#20414) 2022-06-16 15:51:17 -07:00
Cody Leff fadf0ec5ad Update documentation on updating documentation. (#20400) 2022-06-16 15:05:37 -06:00
Smart-Codi a8a6b732e9 adding extra metrics after chart configuration (#20410) 2022-06-16 12:55:14 -06:00
Cody Leff 467d8ef89e docs: add Matomo tracking to docs (#20398)
* Apply Prettier formatting.

* Add Matomo script to Docusaurus config.

* Add Apache license to Matomo script.
2022-06-16 10:18:59 -06:00
chuancy 11d94ce56c Chinese translation and English translation do not match (#20405) 2022-06-16 11:27:53 -03:00
Kamil Gabryjelski c959d92dd1 feat(plugin-chart-echarts): Support stacking negative and positive values (#20408) 2022-06-16 13:58:58 +02:00
Stephen Liu 1665403484 fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work (#20396)
* fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work

* fix: test
2022-06-16 12:22:09 +08:00
Elizabeth Thompson ccba5b2f69 chore: add action to welcome new users (#20401)
* add action to welcome new users

* fix typo
2022-06-15 16:27:55 -07:00
Reese 498987a1a0 Prevent dataset edit modal closing on click-away in edit mode (#20278) 2022-06-15 14:28:13 -06:00
Atticus White 1882c6d5cc Remove cache warming documentation (#20269)
The cache warming strategies perform unauthorized `GET` requests that are redirected to the login page #9597
2022-06-15 12:38:30 -07:00
Michael S. Molina d6f9fb5af1 chore: Removes unused vars (#20194)
* chore: Removes unused vars

* Fixes lint

* Disables no-unused-vars for the operators
2022-06-15 11:01:45 -03:00
Yongjie Zhao 0a50a9b380 feat: setting limit value when Pie chart switches (#20392) 2022-06-15 21:49:00 +08:00
Yongjie Zhao 7c252d7524 feat: adding truncate metric control on timeseries charts (#20373) 2022-06-15 20:55:10 +08:00
smileydev df8bb46ee2 fix(fonts): Show the all the A's in our workspace correctly, not funky (#20361)
* fix(fonts): make to fix the issue of broking the Inter font char A

* fix(css & fonts): make to install from npmjs.org
2022-06-15 00:28:54 -06:00
Diego Medina 3fe53f735e fix: Unable to export multiple Dashboards with the same name (#20383) 2022-06-15 00:27:24 -06:00
Diego Medina ead10401e7 fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (#20363)
* fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button

* PR comments
2022-06-14 17:47:37 -06:00
Phillip Kelley-Dotson 160e674b90 fix: update connection modal to use existing catalog (#20372)
* fix: update connection modal to use existing catalog

* remove console
2022-06-14 15:10:01 -04:00
Kamil Gabryjelski 86f146e217 feat(explore): Implement viz switcher redesign (#20248)
* add icons

* Implement fast viz switcher component

* Remove unnecessary keys from ControlsPanelContainer

* Rename icons

* Add unit tests

* Add licenses

* Fix test

* Change BigNumberWithTrendline to BigNumber

* fix test

* fix test

* Add currently rendered viz tile

* Move View all charts to the right side

* Add license

* Fix imports

* Fix e2e test
2022-06-14 15:20:54 +02:00
John BodleyandJohn Bodley c3fdd52697 fix(VERSIONED_EXPORTS): Ensure dashboards and charts adher to the VERSIONED_EXPORTS feature flag (#20368)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-13 18:39:15 -07:00
Elizabeth Thompson 5a137820d0 fix: catch some potential errors on dual write (#20351)
* catch some potential errors on dual write

* fix test for sqlite
2022-06-13 17:30:13 -07:00
Diego Medina e1532f63ac fix: query execution time is not fully displayed in bubble icon (#20364) 2022-06-13 14:30:00 -06:00
Smart-Codi ee06d3d113 Fix typo issue in Error handling message (#20365) 2022-06-13 14:29:18 -06:00
Elizabeth Thompson c6b1523db5 add breaking change information about form_data datasource_type (#20321) 2022-06-13 11:48:22 -07:00
Michael S. Molina cb2ffa530f chore: Removes no-use-before-define warnings (#20298) 2022-06-13 07:44:34 -03:00
Diego Medina 8345eb4644 fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (#19967)
* fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button

* include onDatabaseAdd on successful import
2022-06-12 22:21:30 +08:00
Multazim DeshmukhandMultazim Deshmukh 86368dd406 fix(docker): Make Gunicorn Keepalive Adjustable (#20348)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-06-10 13:04:39 -07:00
Reese 11b33de61b feat(api): Added "kind" to dataset/<pk> endpoint (#20113) 2022-06-10 13:03:48 -07:00
Josh Paulinandjosh.paulin 1918dc0455 fix: Add serviceAccountName to celerybeat pods. (#19670)
Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
2022-06-10 13:03:13 -07:00
Lyndsi Kay Williams c842c9e2d8 feat(explore): Dataset Panel Options when Source = Query II (#20299)
* Created/tested query dataset dropdown

* Add isValidDatasourceType to @superset-ui/core and hide query dropdown

* Removed isValidDatasourceType check

* Remove the rest of isValidDatasourceType check
2022-06-10 09:55:52 -07:00
Cody Leff d0165b617b chore(dashboard): update Edit Dashboard side panel tabs (#20337)
* Reorder Dashboard Edit tabs and rename 'Components' tab to 'Layout Elements'.

* Add tests for BuilderComponentPane.

* Fix Cypress tests, capitalization, test nesting.
2022-06-10 12:57:32 -03:00
Michael S. MolinaandYongjie Zhao 72e5e57a6c chore: Updates the final steps of the release README (#20318)
* chore: Updates the final steps of the release README

* Apply suggestions from code review

Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>

Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>
2022-06-10 08:58:24 -03:00
Beto Dealmeida ec331e683e feat: Databricks native driver (#20320) 2022-06-09 15:34:49 -07:00
Stephen Liu 07b4a7159d fix(chart): chart gets cut off on the dashboard (#20315)
* fix(chart): chart gets cut off on the dashboard

* add some failsafe

* address comment
2022-06-09 22:59:58 +08:00
Kamil Gabryjelski 354a89950c feat(explore): Denormalize form data in echarts, world map and nvd3 bar and line charts (#20313)
* feat(explore): Apply denormalize form data function to echarts and world map

* Denormalize form data in mixed timeseries

* Add dist bar chart
2022-06-09 11:54:09 +02:00
Yongjie Zhao d04357c47b fix: superset-ui/core codes coverage (#20324) 2022-06-09 17:43:42 +08:00
Yongjie Zhao fd129873ce feat: multiple results pane on explore and dashboard (#20277) 2022-06-09 09:11:34 +08:00
smileydev 1e5cacda8f fix(explore): make to fix the issue of explore error broken when see more/less (#20282) 2022-06-08 17:00:08 -06:00
Diego Medina 5bfc95e79e feat: When editing the label/title in the Metrics popover, hitting Enter should save what you've typed (#19898)
* feature: When editing the label/title in the Metrics popover, hitting Enter should save what you've typed

* Apply emotion templating to input/input labels
2022-06-08 16:52:53 -06:00
Stephen Liu eab0009101 feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 (#16493)
* feat(echarts): [feature-parity] support extra control

* add extra control for plugin

* refactor: extract ExtraControl

* fix: lint

* fix some problems
2022-06-09 00:59:10 +08:00
Michael S. Molina 0238492df7 docs: Updates CHANGELOG.md with 1.5.1 fixes (#20307) 2022-06-08 13:32:58 -03:00
Hugh A. Miles II b6c11f2b97 fix: Alpha are unable to perform a second modification to a Dataset when in Explore (#20296)
* handle payload coming back from save

* address concerns
2022-06-08 16:24:36 +02:00
Étienne Boisseau-Sierra 80be1ce657 docs: Detail how to use Jinja parameters (#20308)
We expand the example to show how to use the `from_dttm` and `to_dttm`
Jinja parameters in logic blocks (e.g. `{% if … %}`) and underline when
to use the double braces and when not to.

All this because, well, *one* could lost quite an extensive amount of
time figuring this all out (-_-")

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2022-06-08 10:08:37 -04:00
Reese a57ed76e72 Fix faulty datetime parser regex (#20290) 2022-06-08 22:02:58 +08:00
Stephen Liu 9f02ff656d fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer doesn't work as expected (#19761)
* fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer does't work

* fix: lint

* fix: test
2022-06-08 17:06:24 +08:00
Yongjie Zhao 8e46ae5c6a chore: superset-ui/core code coverage (#20304) 2022-06-08 16:54:30 +08:00
Joe LiandAAfghahi d3670f1472 chore(deps): pinning pyjwt to 2.4.0 (#20297)
* pinning pyjwt to 2.4.0

* Updating the max version based on PR comments

* Update setup.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-06-07 21:34:00 -04:00
Lyndsi Kay Williams ba0c37d3df feat(explore): Frontend implementation of dataset creation from infobox (#19855)
* Frontend implementation of create dataset from infobox

* Fixed sl_dataset type

* Fix test

* Fixed sl_dataset type (forgot to save)

* RTL testing

* Adjusted styling/text on infobox and save dataset modal

* Appease lint

* Make infobox invisible and fix tests

* Remove unnecessary placeholder

* Move types to sql lab

* Moved logic into save dataset modal

* Change DatasourceMeta type to Dataset

* Add ExploreDatasource union type to save dataset modal

* Get user info from redux inside save dataset modal

* Addressed comments

* Adjusting to new query type

* Fixed save dataset in explore and union type

* Added testing

* Defined d for queries

* Remove dataset from SaveDatasetModal

* Clarify useSelector parameter

* Fix dndControls union type

* Fix shared-controls union type

* Fix controlPanel union type

* Move ExploreRootState to explore type file

* Remove unnecessary testing playground

* Move datasource type check in DatasourcePanel to a function

* Make all sqllab Query imports reference @superset-ui/core Query type

* Deconstruct query props in ResultSet

* Fix union type in /legacy-plugin-chart-heatmap/src/controlPanel

* Change SaveDatasetModal tests to RTL

* Cleaned datasourceTypeCheck

* Fix infobox styling

* Fix SaveDatasetModal test

* Fix query fixture in sqllab and Query type in SaveDatasetModal test

* Fix Query type and make test query fixture

* Added columns to Query type, separated results property, created QueryResponse union type, and fixed all types affected

* Fixed a couple missed broken types

* Added ExploreDatasource to SqlLab type file

* Removed unneeded Query import from DatasourcePanel

* Address PR comments

* Fix columnChoices

* Fix all incorrect column property checks

* Fix logic on dndGroupByControl

* Dry up savedMetrics type check

* Fixed TIME_COLUMN_OPTION

* Dried savedMetrics type check even further

* Change savedMetricsTypeCheck to defineSavedMetrics

* Change datasourceTypeCheck to isValidDatasourceType

* Fix Query path in groupByControl

* dnd_granularity_sqla now sorts Query types with is_dttm at the top

* Fixed/cleaned query sort

* Add sortedQueryColumns and proper optional chaining to granularity_sqla

* Move testQuery to core-ui, add test coverage for Queries in columnChoices

* Moved DEFAULT_METRICS to core-ui and wrote a test for defineSavedMetrics

* Add license and clean dataset test object

* Change DatasourceType.Dataset to dataset
2022-06-07 15:03:45 -05:00
Craig Rueda d1c24f81f2 chore(migrations): Renaming migration files so that they're easier to keep track of (#20284)
* Renaming migration files so that they're easier to keep track of

* Fixing broken import

* Fixing broken import again

* Fixing broken tests
2022-06-07 10:30:09 -07:00
Joe LiandArash b650a1d47c chore(deps): bump numpy 1.22.1 and PyJWT to 2.4.0 (#20287)
* setting numpy 1.22.1 and PyJWT to 2.4.0

* requirements.txt

Co-authored-by: Arash <arash.afghahi@gmail.com>
2022-06-07 10:09:41 -06:00
Yongjie Zhao 27c3ef1ed5 chore: remove unused codes for samples (#20272) 2022-06-07 21:54:15 +08:00
Michael S. Molina b110581b96 chore: Adjust release emails (#20289) 2022-06-07 10:09:36 -03:00
Rui ZhaoandRui Zhao 2a45be3996 fix(embedded): Referecing local variable response before initialization (#20263)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-06-06 14:05:47 -07:00
Phillip Kelley-Dotson 6f0d53eed8 feat: add modfied col and timezone info to schedule col (#20165)
* feat: add modfied and timezone to to schedule col

* test if test works

* udpate test

* fix test
2022-06-06 09:41:06 -07:00
Maxime Beauchemin df00f0e7ab docs: facelift the docs (#20180)
* docs: facelift the docs

* lint

* license headers
2022-06-06 09:01:21 -06:00
AAfghahi c131f025f8 chore: add event logger to reports/alerts CRUD (#20249)
* add event logger to report CRUD

* added assert metric to tests

* added unique name to action

* testing

* with inline log context
2022-06-06 16:13:22 +02:00
Ensky 77e326fd95 Fixes #20155 (#20273) 2022-06-06 07:57:54 -03:00
Stephen Liu 5425504231 fix(codecov): improve core code coverage (#20274) 2022-06-06 17:21:23 +08:00
Yongjie Zhao 41f33a38bc feat: showing results pane in dashboard (#20144) 2022-06-05 23:18:42 +08:00
Yongjie Zhao 7faf874c1b feat: derived metrics use different line style (#20242) 2022-06-05 21:17:31 +08:00
Yongjie Zhao dd4b581fb5 feat: standardized form_data (#20010) 2022-06-05 21:05:01 +08:00
John BodleyandJohn Bodley b08e21efd9 [requirements] Resolve rebase conflicts (#20152)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 15:27:35 -07:00
Smart-Codi 80974033c0 fix database import with cancel_query.. extra field (#20187) 2022-06-03 12:51:06 -06:00
Elizabeth ThompsonandBeto Dealmeida f270e49c4b chore: use exc_info to pass errors to log warnings (#20252)
* use exc_info to pass errors to log warnings

* Update superset/views/base.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/views/base.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-06-03 11:41:24 -07:00
John BodleyandJohn Bodley 2a1dcaf09b chore(requirements): Cleanup of requirement inputs (#20154)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 08:35:50 -07:00
jiAng 5c02ab7aaf fix(cosmetic): Fix Datasource Modal Out Of Box (#20237) 2022-06-03 07:58:32 -06:00
Stephen Liu 80b5578680 feat(superset-ui-core): add feature flag for the analogous colors (#19987)
* feat(superset-ui-core): add feature flag for the color analogous generator

* fix: test
2022-06-03 21:32:32 +08:00
Stephen LiuandEvan Rusackas 766f737728 feat(world-map): support color by metric or country column (#19881)
* feat(world-map): support color by metric or country column

* fix lint

* Update superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/components/RadioButtonControl.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-world-map/src/controlPanel.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-world-map/src/controlPanel.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-06-03 21:31:22 +08:00
Diego Medina 0e38c686c6 fix: Support the Clipboard API in modern browsers (#20058)
* fix: Support the Clipboard API in modern browsers

* fix tests

* PR comment

* Improvements
2022-06-03 19:34:00 +08:00
Diego Medina 92057858c2 fix(sql lab): View result button is not showing consistently (#20164) 2022-06-02 22:53:59 -06:00
Yongjie Zhao a020f75a97 refactor: decouple DataTableControl (#20226) 2022-06-03 09:52:58 +08:00
Elizabeth Thompson 32bb1ce3ff feat!: pass datasource_type and datasource_id to form_data (#19981)
* pass datasource_type and datasource_id to form_data

* add datasource_type to delete command

* add datasource_type to delete command

* fix old keys implementation

* add more tests
2022-06-02 16:48:16 -07:00
Cedric Gampert a813528958 fix(charts list): do not trigger ListViewError exception for anonymous users #18210 (#20171) 2022-06-03 00:02:45 +08:00
Karri Niemelä bd71e75b0d Docs: Add beans to users list (#20243) 2022-06-02 09:38:17 -04:00
Michael S. Molina 90459495ff docs: Updates release scripts and docs (#20231)
* chore: Updates release scripts and docs

* Adds default receiver
2022-06-02 10:07:57 -03:00
Ilyas d4f320f2a0 fix: exporting CSV can't apply pagination #17861 (#20178) 2022-06-02 12:42:51 +08:00
Eric Briscoe e5f26313a5 Fixes issue where results panel height was incorrect [sc-49045] (#20204)
This commit fixes a dynamic height assignment issue where the SQL Editor results panel would be clipped offscreen and user could not see bottom of results, the height got assigned to zero after toggling online, then offline, and height would be calculated wrong if the result set rows returned message above the results table was long enough for a line wrap.
2022-06-02 10:01:14 +08:00
Diego Medina 8638f59b4c fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics (#20235)
* fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics

* add test
2022-06-02 10:00:04 +08:00
Beto Dealmeida 05a138a191 feat: query datasets from SQL Lab (#15241)
* feat: Jinja2 macro for querying datasets

* Add docs

* Address comments
2022-06-01 15:18:40 -07:00
Smart-Codi 74c5479926 fix: datatype tracking issue on virtual dataset (#20088)
* Fix datatype tracking issue on virtual dataset

* fix pytest issue on postgresql
2022-06-01 13:43:11 -06:00
Yongjie Zhao 3d5ae6226b fix: dashbaord unable to refresh (#20220) 2022-06-01 20:37:19 +08:00
Yongjie Zhao 1530c34792 fix: failed samples should throw exception (#20228) 2022-06-01 18:24:01 +08:00
Hugh A. Miles II 9432c62ec1 fix: move columns to datasource object for bootstrap data (#20203)
* move columns to datasource

* address concerns
2022-05-31 23:37:49 +02:00
AAfghahi e07ee6c764 chore: bumping min version of shillelagh (#20196)
* bumping min version of shillelagh

* ran pip-compile-multi
2022-05-31 13:10:25 -04:00
John BodleyandJohn Bodley 97ce920d49 fix(csv): Ensure df_to_escaped_csv handles NULL (#20151)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-31 09:56:25 -07:00
Kamil Gabryjelski 3e3fbccdcb feat(explore): Fill dashboard name when adding new chart from dashboard view (#20129)
* feat(explore): Fill dashboard name when adding new chart from dashboard view

* Update import paths

* Update test

* Fix test
2022-05-31 18:11:02 +02:00
Stephen Liu 9646591d24 fix(legacy-plugin-chart-sunburst): linear color scheme not work when secondary metric is provided (#20221) 2022-05-31 23:37:24 +08:00
Michael S. Molina 834dcef993 chore: Moves date utils to utils folder (#20192) 2022-05-31 12:21:58 -03:00
Stephen Liu ad72ea53a1 fix(legacy-plugin-chart-sunburst): chart broken when secondary metric is remove (#20223) 2022-05-31 21:18:49 +08:00
Kamil Gabryjelski 0ee1f492a7 feat(explore): Add empty state to annotations (#20160)
* feat(explore): Add empty state to annotations

* Set line height for small empty state description

* Simplify code
2022-05-31 14:30:06 +02:00
Evan Rusackas c8fe518a7b fix(cosmetic): Limiting modal height (#20147)
* more changes that didn't make it into the last commit somehow.

* Allow modals to be short, but reach a max height and scroll

* now with template literals
2022-05-27 10:51:03 -06:00
Ville Brofeldt 0d2e42229e docs: update release instructions (#20210) 2022-05-27 16:09:12 +03:00
Diego Medina 653cf773f7 fix(sql lab): SQL Lab Compile Query Delay (#20206) 2022-05-27 09:42:01 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 75e0fc25eb chore(deps): bump swagger-ui-react from 4.1.2 to 4.1.3 in /docs (#20205)
Bumps [swagger-ui-react](https://github.com/swagger-api/swagger-ui) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: swagger-ui-react
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-27 09:01:33 +03:00
Hugh A. Miles II 7a2eb8b602 add columns for bootstrap_data (#20134) 2022-05-26 11:26:11 -04:00
Daniel Vaz Gaspar 77ccec50cc feat: add statsd metrics for notifications (#20158)
* feat: add statsd metrics for notifications

* fix import

* fix lint

* add decorator arg for custom prefix

* add tests
2022-05-26 15:43:05 +01:00
Dan Roscigno e56bcd36bd Update clickhouse.mdx (#20195)
ClickHouse is camel case.
2022-05-26 10:37:03 -04:00
Yongjie Zhao e140b7aa87 fix: unable to set destroyOnClose on ModalTrigger (#20201) 2022-05-26 22:27:12 +08:00
Ville Brofeldt 64c4226817 fix(temporary-cache): when user is anonymous (#20181)
* fix(temporary-cache): fail on anonymous user

* make exceptions generic

* fix test

* remove redundant bool return

* fix unit tests
2022-05-26 14:45:20 +03:00
Yongjie Zhao e9007e3c2c refactor: decouple DataTablesPane (#20109) 2022-05-26 18:59:54 +08:00
Ramunas Balukonis 694f75d376 fix: "Week Staring Monday" time grain for BigQuery (#20091)
* Week Staring From Monday added for BQ

* lint fix
2022-05-26 12:31:32 +03:00
smileydev 95b28fc134 fix(db): make to allow to show/hide the password when only creating (#20186) 2022-05-26 11:18:17 +08:00
Nicola Coretti ac4158e903 Update dependencies for exasol feature flag (#20127)
Updating the sqlalchemy-exasol package will fix #20105 .
2022-05-25 18:01:46 -07:00
Phillip Kelley-Dotson 0501ad25e8 fix: always create parameter json field (#19899)
* fix: always create parameter json field

* ensure validation for empty catalog

* check engine instead of name

* put validation in be

* fix test

* fix test

* remove test
2022-05-25 14:23:25 -07:00
Michael S. Molina 73443cea2f refactor: Removes embedded/index.tsx warnings (#20193) 2022-05-25 17:42:54 -03:00
Moritz Rathberger 259e03ee12 feat(Helm Chart): Support resource limits and requests for each component (#20052) 2022-05-25 08:49:56 -07:00
Aleksei Lissitsin 4674de1e86 fix typo in secutiry.mdx (#20185) 2022-05-25 15:45:16 +03:00
Geido 3a4176a8d5 chore: Implement global header in Dashboard (#20146)
* Add gloal header

* Reimplement report dropdown

* Update unit tests

* Clean up

* Clean up

* Remove unused import

* Update Cypress

* Update Cypress save dashboard test

* Fix spacing
2022-05-25 12:56:19 +02:00
Yongjie Zhao 40abb44ba1 feat: add samples endpoint (#20170) 2022-05-25 18:18:58 +08:00
Diego Medina 365acee663 fix: avoid while cycle in computeMaxFontSize for big Number run forever when css rule applied (#20173) 2022-05-25 18:04:04 +08:00
cccs-tom b0c6935f06 fix: Allow dataset owners to see their datasets (#20135) 2022-05-25 09:58:15 +01:00
stevetracvc 7e9b85f76c feat: add drag and drop column rearrangement for table viz (#19381) 2022-05-24 19:10:57 -07:00
Kamil Gabryjelski ce547f4098 chore: Disable flaky assert in reports cypress test (#20174)
* chore: Disable flaky assert in reports cypress test

* Disable flaky assert in alerts cypress test
2022-05-24 14:04:39 -07:00
Stephen Liu ce01ce9e2f fix(css): transparent linear gradient not working in safari (#20086)
* fix(css): transparent linear gradient not working in safari

* use emotion-rgba instead
2022-05-24 13:50:01 +08:00
Hugh A. Miles II f8ea7788a9 feat: Add Certified filter to Datasets (#20136) 2022-05-23 17:58:15 -04:00
AAfghahi b96e20a2f4 change button name (#20163) 2022-05-23 15:44:10 -04:00
Diego Medina 22b7496d2e fix: string aggregation is incorrect in PivotTableV2 (#19102)
* fix: string aggregation is incorrect in PivotTableV2

* cleanup

* fix

* updates
2022-05-23 12:39:18 -06:00
Kamil Gabryjelski b746e6f844 feat(dashboard): Chart title click redirects to Explore (#20111) 2022-05-23 13:18:08 +02:00
Yongjie Zhao d7e3ac306f chore: filter undefined operators (#20157) 2022-05-23 18:24:32 +08:00
smileydev 56e96950c1 fix(chart & heatmap): make to fix that y label is rendering out of bounds (#20011) 2022-05-20 12:54:42 -06:00
Ville Brofeldt e766f8cb57 fix(explore): handle null control sections (#20142)
* fix(explore): handle null control sections

* fix type and add null to test fixture
2022-05-20 19:07:53 +03:00
Ville Brofeldt 0bcc21bc45 chore(data-table): make formatted dttm the default (#20140)
fix test
2022-05-20 15:39:10 +03:00
Daniel Vaz Gaspar d8117f7e37 fix: advanced data type API spec and permission name (#20128)
* fix: advanced data type API spec and permission name

* fix openAPI spec

* fix query schema

* fix query schema

* fix query schema
2022-05-20 10:08:27 +01:00
Daniel Vaz Gaspar b9a98aae79 fix: None dataset and schema permissions (#20108)
* fix: None dataset and schema permissions

* fix pylint

* add migration and test

* fix migration
2022-05-20 09:40:10 +01:00
Ville Brofeldt e2f11d3680 fix(presto,trino): use correct literal dttm separator (#20123)
* fix(presto,trino): use correct literal dttm separator

* remove redundant tests
2022-05-19 20:42:31 +03:00
Ville Brofeldt d5c5e58583 feat(plugin-chart-echarts): add support for generic axis to mixed chart (#20097)
* feat(plugin-chart-echarts): add support for generic axis to mixed chart

* fix tests + add new tests

* address review comments

* simplify control panel

* fix types and tests
2022-05-19 13:51:52 +03:00
Kamil Gabryjelski b2a7fadba9 feat(dashboard): Add create chart button in dashboard edit mode (#20126) 2022-05-19 12:27:16 +02:00
Ville Brofeldt 0b3d3dd4ca fix(generic-chart-axes): set x-axis if unset and ff is enabled (#20107)
* fix(generic-chart-axes): set x-axis if unset and ff is enabled

* simplify

* simplify

* continue cleanup

* yet more cleanup
2022-05-19 13:21:25 +03:00
Hugh A. Miles II 660af409a4 feat: Save column data into json_metadata for all Query executions (#20059)
* add save_metadata function to QueryDAO

* use set_extra_json_key

* added test

* Update queries_test.py

* fix pylint

* add to session

* add to session

* refactor

* forgot the return
2022-05-18 13:11:14 -04:00
Ville Brofeldt 1d410eb763 chore: fix INTHEWILD sort order and indentation (#20104) 2022-05-19 00:04:07 +08:00
Geido 1fe30f1f0e Add tnum property to tables (#20093) 2022-05-18 16:26:29 +02:00
Flávio Codeço Coelho 27cccd105b Update INTHEWILD.md (#20103)
Added `The GRAPH Network`
2022-05-18 09:58:56 +03:00
Krishna Gopal 63702c48ab fix: add primary button loading state to modals (#20018) 2022-05-17 17:58:53 -07:00
Diego Medina 1e46902602 chore: Update aiohttp to 3.8.1 (#20102) 2022-05-17 17:15:29 -04:00
Smart-Codi 6244728256 fix: Add cypress test for report page direct link issue (#20099)
* add cypress test for report page direct link issue

* add licence
2022-05-17 11:38:54 -06:00
Phillip Kelley-Dotson 5111011de9 fix: dbmodal test connection error timeout (#20068)
* fix: check for connect on ping

* clean up merge

* fix merge

* precommit
2022-05-17 10:04:52 -07:00
Kamil Gabryjelski 9cdaa28042 Revert "feat(explore): Show confirmation modal if user exits Explore without saving changes (#19993)" (#20092)
This reverts commit ca9766c109.
2022-05-17 14:56:31 +02:00
AAfghahi e69f6292c2 chore: Set limit for a query in execute_sql_statement (#20066)
* test for query limit

* fixed tests
2022-05-16 17:56:46 -04:00
smileydev 55aef4db3c fix(chart & alert): make to show metrics properly (#19939)
* fix(chart & alert): make to show metrics properly

* fix(chart & alert): make to remove duplicate metrics

* fix(chart & alert): make to restore metrics control alert slice

* fix(chart & alert): make to fix lint issue
2022-05-16 14:22:47 -06:00
Beto Dealmeida 4126c365c5 chore: fix typo in importexport/api.py (#20085) 2022-05-16 10:08:01 -07:00
ddc01ea781 feat(business-types): initial implementation of SIP-78 (#18794)
* add BUSINESS_TYPE_ADDONS to config with example callback

* Removing uneeded whitespace

* [Work in progress] Modifying cidr function to allow for  single ip and adding port outline

* Added test REST endpoint, added some more ports

I've thrown in a test.py script as well that will try to connect to the
business_type endpoint.

* Moving code from config.py into the business api

Very simple api is exposed that will allow someone to call a checkport
endpoint and get back a response.

* Removing commented out bits.

* Adding fucntion dict back to the config

* Moving business_type endpoint to charts

* Adding schema for get endpoint

* Removing imports, updating docstring, fixing typo

Just some small changes as described in the title.  I've updated the
test.py as well so it functions with the endpoint changes.

* Adding translation dict

* Fixing ops

* Adding check for list

* Modifying changes to add quotes where needed

Also changed BusinessTypeResponse to resp.

* Adding in some code to call the filter config

If a column starts with "cidr_" it will call the code in config.py to
try to translate the filter.  Nothing is changed in the JSON being
executed, just some information is dumped to console.

* Porting Ryan's changes

* Adding migration script (as per Ryan's PR)

* Fixing typo

* Prettier fixes

* [CLDN-1043] Adding rough version of filter changes for business types

* fix down migration

* Fixing bugs after merge

* adding functionality to appy filters in back end

* Fixing linting issues

* fix down revision

* Changing conversion callback to handle multiple values at once

* Adding string representation of values

* Code cleanup plus fixing debouce to only be called once for each entry

* Removing non needed logginh

* Changing operator list to use sting values

* Using text value operators

* Removing clear operator call

* Moving business type endpoints

* fix down revision

* Adding port functions

* update migration

* fix bad rebase and add ff

* implement validator

* dont add invalid values to response

* [CLDN-1205] Added a new exception type for a business type translation error. Added the error message in the display_value field within the business type response. Modified the IP and Port business types to populate the error message field in the response if an error occurs

* [CLDN-1205] Added meaningful error message for port translation errors

* Removing status field from businesstype Response and adding in error message

* [CLDN-1205] Added check to make sure the port business type is within the valid range of ports, if it is not, it will populate the error message

* [CLDN-1205] Fixed the if statement that checks to see if the string_value is in the valid range of port numbers. It did not corrently verify this before now.

* [CLDN-1205] Fixed an error where it was trying to use string_value in <= statements. I just casted string_value to an integer if it is numeric, which allows <= operators to be used on it

* [CLDN-1207] Added unit tests for the cidr_func and port_translation_func functions which are located in /superset/config.py

* [CLDN-1207] removed the assertRaises line as it does not work with the cidr_func and port_translation_func functions

* [CLDN-1207] Added the skeleton of the test_cidr_translate_filter_func unit test, still need to update what the expected response from the function will be.

* [CLDN-1207] Added the remainder of the back-end unit tests for the business types

* [CLDN-1207] Fixed the syntax error which caused the test_cidr_translate_filter_func_NOT_IN_double unit test to fail

* [CLDN-1207] Removed the logging that was added for debugging purposes

* [CLDN-1207] Formatted the commands_tests.py file to make it nicer to look at/read through

* [CLDN-1207] Fixed the code so that it conformed to the pylint requirements (i.e., pylint no longer complains about the code in commands_tests.py)

* [CLDN-1207] Modified some of the docstrings so they made better use of the 100 character per line, line limit

* [CLDN-1207] Added the beginnings of the unit tests for the
business types API

* [CLDN-1207] Added a comment to the top of the commands_tests.py file explaining how to run the unit tests. This prevents the next person who tries to run them from having to waste time trying the different forms of testing that Superset supports (e.g., pytest, tox, etc.)

* [CLDN-1207] Added a grammar fix to the comments describing how to run the unit tests

* [CLDN-1207] Modified the description of the business_type API endpoints as they did not represent what the API was actually doing

* [CLDN-1207] Added further instructions on how to run the unit tests that are within the business_type/api_tests.py file

* add request validation

* disable request if business type missing

* [CLDN-1207] Unit tests for the business type API are now working, however, they need to be modified to make use of @mock as we don't want to have to run the server to be able to run the unit tests

* Removing businesss types deffinitons from config

* Adding select to only show valid business types

* Fixed Enzyme tests

* Added scalfolding for selecting filter dropdown

* Adding intigration tests

* fix revision

* fix typos and unnecessary requests

* break out useBusinessTypes

* Added front-end RTL unit tests for the business type API endpoint

* Fixed error from unit tests

* Added a unit test to ensure the operator list is updated after a business type API response is received

* Removing elect compoenet for business types

* Adding feature flag and allowing saving when no business type present

* fixing useEffect hooks

* Adding feature flag to model

* Changing behavior such that an empty string returns a default response

* add form validation

* Modified comments in unit test as command to run test has changed

* Modified comments in unit test as filename to run test has changed

* Modified the api_tests.py file to conform to the linting requirements

* Changed the name of one of the tests to reflect what the test is actually testing

* Added cypress back to the package.json

* Added informative comments

* Updated comments in files as well as removed imports which were not being used

* Changes made by npm run prettier

* Fixed spelling mistakes

* Updated models.py to remove placeholder comments used in development

* Added feature flag mocking in unit test

* Fixing open api failure

* Fixing business types to pass unit tests

* Reverting unsafe connections back to false

* Removing print statement

* Adding business tpye to export test

* setting default feature flag to false for business type

* Reverting pre commit

* Reverting pre commit and running pre commit

* Reverting pre commit and running pre commit

* Fixing formatting

* Adding license

* Fixing Linting

* Protecting api enpoints

* updating model

* Fixing code path when business type exists

* Linting

* Linting

* Fixing linting

* Fixing spelling

* Fixing schemas

* Fixing app import

* fixing item render

* Added RTL test to make sure business type operator list is updated after API response

* Fixing linting

* fix migration

* Changing unit tests

* Fixing import and DB migration after rebase

* Renaming to advanced types

* Fixing Linting

* More renaming

* Removing uneeded change

* Fixing linting and test errors

* Removing unused imports

* linting

* Adding more detailed name for migration

* Moving files to plugins

* more renaming

* Fixing schema name

* Disabling feature flag that should not be enabled by default

* Adding extra cehck

* NameChange

* formatting

* Fixing equals check

* Moveing all advanced type classes and types to one file, and converting tests to functional

* Adding advanced type to test and fix linitng

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Dan Parent <daniel.parent@cse-cst.gc.ca>
Co-authored-by: GITHUB_USERNAME <EMAIL>
Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com>
2022-05-16 17:58:21 +03:00
Geido 265013101a Change copy (#20032) 2022-05-16 16:26:28 +02:00
9854d2d0e8 feat(plugin-chart-echarts): support horizontal bar chart (#19918)
* feat(plugin-chart-echarts): support horizontal bar chart

* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* improve controlpanel

* default value

* fix ut

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-05-16 21:48:36 +08:00
Ville Brofeldt d5802f7896 fix(generic-axes): apply contribution before flatten (#20077) 2022-05-16 16:26:31 +03:00
Geido 67d4318784 chore: Fix and enhance Applitools workflows (#20071)
* Enhance workflow

* Fix failing workflow

* Enhance storybook with cached-dependencies
2022-05-16 14:26:38 +02:00
Ville Brofeldt 4435e53901 fix(dataset): handle missing sqla uri in migration (#20073) 2022-05-16 10:17:28 +03:00
85315460cb fix: Athena timestamp literal format (#19970)
* Fix Athena timestamp literal format

related: [#19969]

* Update test_athena.py

Update test

* Update athena.py

* Resolving CI/CD

* lint

Co-authored-by: Thinh Nguyen Duc <thinhnd.it@tripi.vn>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-05-16 09:50:20 +03:00
smileydev 1c3c3ae2ea fix(CRUD): make to fix the dancing when crud view is on hover (#20051)
* fix(CRUD): make to fix the dancing when crud view is on hover

* fix(CRUD): make to restore font size property
2022-05-15 21:51:57 -06:00
smileydev f43dbc0dfd fix(chart & gallery): make to add mixed time-series into recommended charts (#20064) 2022-05-14 11:20:49 +08:00
Jesse Yang 6139057dcf test: make tabbed dashboard a little more complex (#19966) 2022-05-13 17:31:23 -07:00
Diego Medina c6dd7fedbd fix: The dynamic form to connect to Snowflake DB is not returning any errors (#20013)
* fix: The dynamic form to connect to Snowflake DB is not returning any errors

* PR comment
2022-05-13 12:50:11 -06:00
Diego Medina dbc653d442 feat: Explore popovers should close on escape (#19902)
* feat: Explore popovers should close on escape

* review comments
2022-05-13 12:28:39 -06:00
Kamil Gabryjelski 3043a54bfc feat(dashboard): Rearrange items in chart header controls dropdown (#20049)
* feat(dashboard): Rearrange items in chart header controls dropdown

* Fix download as image and tests
2022-05-13 19:07:19 +02:00
Hugh A. Miles II 21c5b26fc8 feat(sip-68): Add DatasourceDAO class to manage querying different datasources easier (#20030)
* restart

* update with enums

* address concerns

* remove any
2022-05-13 12:28:57 -04:00
Kamil Gabryjelski 0f68deedf1 perf(plugin-chart-table): Add memoization to avoid rerenders (#19976)
* perf(plugin-chart-table): Add memoization to avoid rerenders

* Fix typing
2022-05-13 18:10:48 +02:00
Stephen Liu 35e6e2709c fix(plugin-chart-echarts): tooltip of big number truncated at then bottom (#20029) 2022-05-13 22:51:42 +08:00
Stephen Liu e625c03cd5 feat(viz-gallery): add search weight for viz-name (#19581) 2022-05-13 22:51:01 +08:00
Kamil Gabryjelski 1cd002e801 chore: Create a generic header component for Explore and Dashboard (#20044)
* chore: Create a generic header component for Explore and Dashboard

* Add tests

* Fix undefined error

* Remove duplicate code

* Fix cypress test
2022-05-13 15:36:18 +02:00
Ville Brofeldt b53daa91ec fix(plugin-chart-echarts): support adhoc x-axis (#20055)
* fix(plugin-chart-echarts): support adhoc x-axis

* simplify code
2022-05-13 16:29:51 +03:00
Ville Brofeldt 4f77824e55 docs: add changelog and updating entries for 1.5.0 (#20046) 2022-05-13 13:16:04 +03:00
John BodleyandJohn Bodley 89a844a40f fix(reports): Clear last value when state is WORKING (#19941)
* fix(reports): Clear last value when state is WORKING

* Update cbe71abde154_fix_report_schedule_and_log.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-12 21:54:23 -07:00
John BodleyandJohn Bodley 449d08b25e fix: Refactor SQL username logic (#19914)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-12 21:03:05 -07:00
Michael S. Molina fff9ad05d4 fix: Fixes Tabs style (#20050) 2022-05-12 16:49:51 -03:00
Jesse Yang 99830703b1 chore: add doc link for db migration conflict warning (#19962) 2022-05-12 11:37:43 -07:00
Michael S. Molina a051d91493 chore: Changes the no-literal-colors lint rule to throw errors instead of warnings (#20034) 2022-05-12 15:07:56 -03:00
Beto Dealmeida f2881e5bbd feat: RLS for SQL Lab (#19999)
* feat: RLS for SQL Lab

* Small fixes

* Pass username to security manager

* Update docstrings

* Add tests

* Remove type from docstring
2022-05-12 11:03:01 -07:00
smileydev ded9122ceb fix(homepage): make to show indicator when tab is choosen (#20048) 2022-05-12 11:17:49 -06:00
Geido ee178f47e1 Run Applitools + Cypress nightly (#20031) 2022-05-12 15:59:55 +02:00
Michael S. Molina c4c714fffb chore: Removes hard-coded colors from the plugins - iteration 2 (#20006)
* chore: Removes hard-coded colors from the plugins - iteration 2

* Fixes lint errors
2022-05-12 10:12:17 -03:00
Kamil Gabryjelski ca9766c109 feat(explore): Show confirmation modal if user exits Explore without saving changes (#19993)
* feat(explore): Show confirmation modal if user exits Explore without saving changes

* Fix calling cleanup func unnecessarily

* Fix comparing AdhocMetric instance with JSON object

* Replace sliceFormData with the initial form data
2022-05-12 12:24:29 +02:00
smileydev 26c81a70e7 fix(chart & filters): make to padding between textarea and buttons (#20026)
* fix(chart & filters): make to padding between textarea and buttons

* fix(chart & filters): make to change static pixel to them.gridUnit

* fix(chart & filters): make to fix lint issue
2022-05-12 15:54:21 +08:00
Evan Rusackas 60188ef654 feat(css): adds chartId-based class to dashboard chart holder (#19873)
* feat: adds `chartId`-based class to dashboard chart holder

* Adding comment to denote the purpose of the class in the code.
2022-05-11 15:44:37 -06:00
3e36d4a0a1 fix(embedded): third party cookies (#20019)
* debugging

* logging

* add comment

* remove logging

* Update superset-frontend/packages/superset-ui-core/src/connection/callApi/callApi.ts

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-05-11 14:42:46 -07:00
Smart-Codi 9cf9f97a0c fix: Direct link issue on report/list (#20033) 2022-05-11 13:21:40 -06:00
fd611d7653 refactor: Refactor reports for Charts and Dashboards (#19130)
* bumping shillelagh

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Arash/new state report (#16987)

* code dry (#16358)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor(reports): Arash/refactor reports (#16855)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* report pickup

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor(reports):  Arash/again refactor reports (#16872)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* it is still not working

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* next changes

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor: Reports code clean 10-29 (#17424)

* Add delete functionality

* Report schema restructure progress

* Fix lint

* Removed console.log

* fix(Explore): Remove changes to the properties on cancel (#17184)

* Remove on close

* Fix lint

* Add tests

* fix(dashboard): don't show report modal for anonymous user (#17106)

* Added sunburst echart

* fix(dashboard):Hide reports modal for anonymous users

* Address comments

* Make prettier happy

Co-authored-by: Mayur <mayurp@kpmg.com>

* fix(explore): Metric control breaks when saved metric deleted from dataset (#17503)

* Add functionality is now working (#17578)

* Preset io ch28954 refactor reports (#19129)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Arash/new state report (#16987)

* code dry (#16358)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor(reports): Arash/refactor reports (#16855)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* report pickup

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor(reports):  Arash/again refactor reports (#16872)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* it is still not working

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* next changes

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor: Reports code clean 10-29 (#17424)

* Add delete functionality

* Report schema restructure progress

* Fix lint

* Removed console.log

* fix(Explore): Remove changes to the properties on cancel (#17184)

* Remove on close

* Fix lint

* Add tests

* fix(dashboard): don't show report modal for anonymous user (#17106)

* Added sunburst echart

* fix(dashboard):Hide reports modal for anonymous users

* Address comments

* Make prettier happy

Co-authored-by: Mayur <mayurp@kpmg.com>

* fix(explore): Metric control breaks when saved metric deleted from dataset (#17503)

* Add functionality is now working (#17578)

* refactoring reports

* ready for review

* added testing

* removed user reducer

* elizabeth suggestions

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Mayur <mayurnewase111@gmail.com>
Co-authored-by: Mayur <mayurp@kpmg.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* deleted additional folder

* fixing tests

* all but styling

* bumping shillelagh

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Arash/new state report (#16987)

* code dry (#16358)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor(reports): Arash/refactor reports (#16855)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* report pickup

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor(reports):  Arash/again refactor reports (#16872)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* it is still not working

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* next changes

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor: Reports code clean 10-29 (#17424)

* Add delete functionality

* Report schema restructure progress

* Fix lint

* Removed console.log

* fix(Explore): Remove changes to the properties on cancel (#17184)

* Remove on close

* Fix lint

* Add tests

* fix(dashboard): don't show report modal for anonymous user (#17106)

* Added sunburst echart

* fix(dashboard):Hide reports modal for anonymous users

* Address comments

* Make prettier happy

Co-authored-by: Mayur <mayurp@kpmg.com>

* fix(explore): Metric control breaks when saved metric deleted from dataset (#17503)

* Add functionality is now working (#17578)

* Preset io ch28954 refactor reports (#19129)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Arash/new state report (#16987)

* code dry (#16358)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor(reports): Arash/refactor reports (#16855)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* report pickup

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor(reports):  Arash/again refactor reports (#16872)

* pexdax refactor (#16333)

* refactor progress (#16339)

* fix: Header Actions test refactor (#16336)

* fixed tests

* Update index.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* code dry (#16358)

* Fetch bug fixed (#16376)

* continued refactoring (#16377)

* refactor: Reports - ReportModal (#16622)

* refactoring progress

* removed consoles

* Working, but with 2 fetches

* it is still not working

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* next changes

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* refactor: Reports code clean 10-29 (#17424)

* Add delete functionality

* Report schema restructure progress

* Fix lint

* Removed console.log

* fix(Explore): Remove changes to the properties on cancel (#17184)

* Remove on close

* Fix lint

* Add tests

* fix(dashboard): don't show report modal for anonymous user (#17106)

* Added sunburst echart

* fix(dashboard):Hide reports modal for anonymous users

* Address comments

* Make prettier happy

Co-authored-by: Mayur <mayurp@kpmg.com>

* fix(explore): Metric control breaks when saved metric deleted from dataset (#17503)

* Add functionality is now working (#17578)

* refactoring reports

* ready for review

* added testing

* removed user reducer

* elizabeth suggestions

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Mayur <mayurnewase111@gmail.com>
Co-authored-by: Mayur <mayurp@kpmg.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* deleted additional folder

* fixing tests

* all but styling

* fixed tests

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
Co-authored-by: Mayur <mayurnewase111@gmail.com>
Co-authored-by: Mayur <mayurp@kpmg.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-05-11 14:19:51 -04:00
Michael S. Molina 8bb8b7f612 chore: Removes hard-coded colors - iteration 3 (#20016) 2022-05-11 15:02:13 -03:00
Étienne Boisseau-Sierra 3a379af1e7 docs: Detail front-end development instructions (#19870)
* chore: Beautify CONTRIBUTING

Automatically done using the Markdown-All-In-One extension for VSCode:
https://open-vsx.org/extension/yzhang/markdown-all-in-one

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* docs: Detail front-end development instructions

Based on the silly error that led to [this
discussion](https://apache-superset.slack.com/archives/C014LS99C1K/p1650969237848999),
we clarify that when modifying the front-end locally, one should access
the Webpack dev servers, rather than Flask directly, to see the latest
changes take effect.

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* docs: Underline typical workflow

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2022-05-11 10:07:48 -06:00
thinhnd2104 eea06795f1 docs: Add config for running on a WSGI HTTP server (#19971)
* Add config for running on a WSGI HTTP server

Add example `--worker-connections` to improve gevent performance.

* Update configuring-superset.mdx
2022-05-11 09:04:42 -07:00
Etienne Baratte 2e31021ecd fix: fix word cloud randomness (#19977) 2022-05-11 22:56:09 +08:00
Michael S. Molina a7e3d6b964 chore: Upgrades Storybook from 6.4.19 to 6.4.22 (#20008) 2022-05-11 10:09:03 -03:00
Diego Medina cede148d46 fix: native filter truncation rerendering loop on hover (#20021) 2022-05-11 09:37:43 +02:00
Diego Medina cc026e9fec fix: URI form is blank when trying to connect from sql lab (#20004) 2022-05-11 08:57:11 +08:00
Zef Lin 7b7de9592b feat: deprecate /superset/testconn and migrate to api v1 (#20002)
* feat: deprecate /superset/testconn and migrate to api v1

* bring back core_tests
2022-05-10 21:26:25 +01:00
Daniel Vaz Gaspar 87a4379d0a feat: deprecate /superset/validate_sql_json migrate to api v1 (#19935)
* feat: deprecate /superset/validate_sql_json migrate to api v1

* use new error handling

* migrate SQLLAb frontend and add tests

* debug test

* debug test

* fix frontend test on sqllab

* fix tests

* fix frontend test on sqllab

* fix tests

* fix tests

* fix tests

* fix tests
2022-05-10 21:25:39 +01:00
Smart-Codi 9376940282 fix: Table chart column config issue (#19841)
* Fix table chart column config issue

* resolve comment
2022-05-10 14:22:48 -06:00
Luis CasillasandEvan Rusackas 35db7fb6c5 fix: Making chart update more truthful (#19877)
* Update index.jsx

* Update superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/index.jsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/index.jsx

Fixing case

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-05-10 14:20:56 -06:00
Hugh A. Miles II 1f0daa9a5a add new enums for datasource types (#20015) 2022-05-10 14:31:36 -04:00
Jakob Miksch bba40d7856 Typo (#20009) 2022-05-10 10:12:03 -04:00
Geido 62e1c34ffb Use pull_request_target (#19996) 2022-05-09 17:58:09 +02:00
Michael S. Molina b7cff8335b chore: Removes hard-coded colors from the plugins - iteration 1 (#19923)
* chore: Removes hard-coded colors from the plugins - iteration 1

* Fixes lint errors

* Fixes tests
2022-05-09 10:44:13 -03:00
Geido d0b8b1e97d feat: Applitools Cypress workflow (#19956)
* WIP

* Attempt Github Actions integration

* Add completion notification to workflow

* Update env

* Add new line

* Add license

* Fix whitespaces

* Fix Yaml indentation

* Fix afterEach

* Add initial tests

* Update config

* Use test secret

* Clean up

* Add batchName

* Disable logs - add secret

* Create separate workflow

* Clean up

* Update workflow

* Exclude applitools tests

* Update jobs name

* Run applitools tests separetely

* Fix path pattern

* Run once

* Add more initial tests

* Enhance tests

* Add dashboard edit mode test

* Move env

* Exclude applitools from sqllab test run

* Attempt pull_request_target

* Catch Applitools failures

* Clean up tests

* Add test step

* Add test step

* Remove step

* Fix SqlLab test

* Update CURL request

* Fix Yaml

* Add empty data to batch completion
2022-05-09 15:42:20 +02:00
Geido c3ba86ecc5 feat: Run Applitools on public Storybook (#19852)
* Test storybook workflow

* Add test workflow

* Fix eof

* Update workflow

* Install apt dependencies

* Schedule nightly

* Enhance workflow

* Add secret Applitools key

* Update config

* Add batchName
2022-05-09 14:17:22 +02:00
Ville Brofeldt f144de4ee2 Revert "chore(deps): bump d3-svg-legend in /superset-frontend (#19846)" (#19972)
This reverts commit 528a9cd7c7.
2022-05-06 13:11:41 +03:00
Diego Medina 7b5ba39029 fix: Fix auto-reversion of label/title in the Metrics popover (#19889) 2022-05-05 22:30:33 -06:00
Smart-Codi 0eb519c70b add cy test for downloading chart as image (#19963) 2022-05-05 17:39:14 -06:00
Jesse Yang 54bfd8375a chore: convert URLShortLinkButton to typescript (#19954) 2022-05-05 13:36:37 -07:00
Luis Casillas 7c3fd06fd6 style approach (#19903) 2022-05-05 14:29:09 -06:00
AAfghahi 2e2053f72f filename for attached images (#19929) 2022-05-05 13:27:52 -04:00
Jesse Yang 7b88ec7e25 refactor(ReportModal): simplify state reducer and improve error handling (#19942) 2022-05-05 10:06:40 -07:00
Đặng Minh Dũng 58e65ad5bb feat: switch from sqlalchemy-trino to trino python client (#19957) 2022-05-05 09:43:31 -07:00
smileydev 902ac05372 fix(chart & table): make to allow highlight in case of numeric column (#19938)
* fix(chart & table): make to allow highlight in case of numeric column

* fix(chart & table): make to use emitFilter directly

* fix(chart & table): make to use styled component instead of inline style
2022-05-04 14:20:57 -06:00
Elizabeth Thompson 060b5c0e17 chore: remove druid datasource from the config (#19770)
* remove druid datasource from the config

* remove config related references to DruidDatasource

* Update __init__.py

* Update __init__.py

* Update manager.py

* remove config related references to DruidDatasource

* raise if instance type is not valid
2022-05-04 12:48:48 -07:00
cccs-Dustin 7d3437a98e Modified the markdown component so that the inner column's handle's mouse target is larger (#19839) 2022-05-04 12:29:49 -07:00
Marco Vito Moscaritolo 06b7dea34a Fix broken link for DouroECI (#19911) 2022-05-04 13:52:09 -04:00
John Bodley fdf48c63f1 fix(hive): Workaround for Python 3.9 s3 transfer issue (#19887)
* fix(hive): Workaround for Python 3.9 s3 transfer issue

* Update hive.py
2022-05-04 08:14:40 -07:00
Daniel Vaz Gaspar 4fdf230a56 feat: deprecate /superset/extra_table_metadata migrate to api v1 (#19921)
* feat: deprecate /superset/extra_table_metadata migrate to api v1

* use can_read to table_extra_metadata

* troubleshoot sqlite

* fix test

* fix test

* fix test

* fix frontend test on sqllab
2022-05-04 14:55:52 +01:00
Michael S. Molina e9032e95ec chore: Adds theme object to chart properties (#19951) 2022-05-04 09:55:22 -03:00
Daniel Vaz Gaspar 5dd3ea154b fix: OpenAPI docs small fixes (#19936) 2022-05-04 09:59:16 +01:00
Yeachan Park 8b72354654 fix(sqllab/charts): casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp (#18873)
* fix casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp from sqllab and charts

* Add unittests

* Lint changes and parameter variable rename

* Fix linting
2022-05-04 09:47:12 +03:00
Yongjie Zhao 24e4ab6a1f fix: can not correctly set force in store (#19932)
* fix: can not correctly set force in store

* fix ut
2022-05-03 14:37:36 -06:00
David Aaron SuddjianandLily Kuang 7f8279b4b3 chore: get embedded user with roles and permissions (#19813)
* feat: get user roles endpoint

* add tests

* fix test

* get user with permission and roles with full user

* frontend

* type juggling

* the hash slinging slasher

* user reducer and action

* make it happy

* result

* lint

Co-authored-by: Lily Kuang <lily@preset.io>
2022-05-03 12:58:06 -07:00
Michael S. Molina 7657e42cff chore: Adds a storybook to FilterableTable (#19897) 2022-05-03 15:08:10 -03:00
Craig Rueda e1f53f2a2c Improving logging around failed scheduled reports (#19924) 2022-05-03 09:16:00 -07:00
Beto Dealmeida 90130e4b4f feat: simplify SQLite time grain (#19745) 2022-05-03 07:13:33 -07:00
Ville Brofeldt 99f1f9ec61 fix(sqla): replace custom dttm type with literal_column (#19917) 2022-05-03 07:19:36 +03:00
Beto Dealmeida 1ebdaac487 fix: memoize primitives (#19930) 2022-05-02 14:50:56 -07:00
smileydev 7b3d0f040b feat(chart & legend): make to enable show legend by default (#19927) 2022-05-02 14:37:11 -06:00
Beto Dealmeida 8b6e582211 fix (dataset): DAO update (#19926) 2022-05-02 11:52:57 -07:00
Luis Casillas 1fa841ee29 Revert "fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)" (#19906)
This reverts commit 6d5d03e592.
2022-05-02 11:45:43 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6bd025d8d2 chore(deps): bump react-virtualized-auto-sizer in /superset-frontend (#19916)
Bumps [react-virtualized-auto-sizer](https://github.com/bvaughn/react-virtualized-auto-sizer) from 1.0.2 to 1.0.6.
- [Release notes](https://github.com/bvaughn/react-virtualized-auto-sizer/releases)
- [Commits](https://github.com/bvaughn/react-virtualized-auto-sizer/commits)

---
updated-dependencies:
- dependency-name: react-virtualized-auto-sizer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 11:24:49 -06:00
code-review-doctor 50dc7af583 Fix issue probably-meant-fstring found at https://codereview.doctor (#19826) 2022-05-02 09:24:48 -07:00
smileydev 741033e87d fix(column-header-tooltip): make that hide the tooltip when the cloum… (#18988)
* fix(column-header-tooltip): make that hide the tooltip when the cloumn header is turncated

* fix(column-header-tooltip): fix lint

* fix(column-header-tooltip): make to dynamic tooltip header in FilterTable

* fix(column-header-tooltip): make to fix the lint issue

* fix(column-header-tooltip): make to remove the tooltip option

* fix(column-header-tooltip): make to add test and storybook for dynamic tooltip

* fix(column-header-tooltip): make to fix lint
2022-05-02 10:11:27 -06:00
Daniel Vaz Gaspar 85b0ef8526 feat: deprecate old API on core superset fave_dashboards (#19754)
* feat: deprecate old API on core superset fave_dashboards

* fix js lint

* remove unused type
2022-05-02 16:24:48 +01:00
Beto Dealmeida aff10a7fad feat: simplify memoized_func (#19905) 2022-04-29 15:55:58 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5f3e73c5a3 chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 in /docs (#19888)
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:21:27 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> b975eeee87 chore(deps-dev): bump eslint-plugin-prettier in /superset-frontend (#19894)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.1...v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:20:53 -06:00
Hugh A. Miles II 8b15b68979 fix: Alpha should not be able to edit datasets that they don't own (#19854)
* fix api for checking owners

* fix styles for disabling

* fix styles for disabling

* fix lint

* fix lint

* add owners key

* plzz

* remove

* update test

* add tooltip

* add type

* fix test

* fix user reference

* lit

* fix test

* work
2022-04-29 14:21:05 -07:00
AAfghahi ada1575177 added gtag (#19602) 2022-04-29 17:06:46 -04:00
Smart-Codi 36d45d9b98 fix: chart import error with virtual dataset (#19782)
* fix: chart import error with virtual dataset

* remove unnecessary comment

* resolve comment
2022-04-29 12:40:22 -06:00
Smart-Codi 7cfd892bb9 fix: Set fixed maxWidth of the cron schedule modal (#19485)
* fix: Set fixed maxWidth of the cron schedule modal

* resolve comment

* resolve comment
2022-04-29 12:32:54 -06:00
Smart-Codi c2999fdc22 fix: Chart download as image issue (#19885) 2022-04-29 12:23:54 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9328053521 chore(deps-dev): bump @storybook/client-api in /superset-frontend (#19878)
Bumps [@storybook/client-api](https://github.com/storybookjs/storybook/tree/HEAD/lib/client-api) from 6.4.19 to 6.4.22.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.4.22/lib/client-api)

---
updated-dependencies:
- dependency-name: "@storybook/client-api"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 15:57:48 -06:00
smileydev ea6753d27d fix(allow-db-explore): make to check the allow virtual table explore option by default (#19883)
* fix(db & explore): make to check the allow-db-explore option by default

* fix(db-explore): make to remove console.log
2022-04-28 12:52:33 -07:00
Jinghuayao ad1338fb47 test(native filter): refactor and add new test (#19821)
* refactor and add new test

* fix lint

* fix fail test

* fix front end error

* fix frontend error

* fix fail test for front end check

* add native filter helper

* more changes

* seperated test for different state

* seperated tests by initail state

* fix failure

* one more fix

* enable test
2022-04-28 09:41:22 -07:00
btx f198f9f007 fix(helm): fix postgresql values (#19835)
Signed-off-by: Benjamin Texier <benjamin.texier@outlook.com>
2022-04-28 09:38:12 -07:00
Stephen Liu 11562971fb fix(plugin-chart-echarts): [feature parity] annotation line chart color not working (#19758) 2022-04-28 19:10:58 +03:00
Ville Brofeldt d5ea537b0e fix(plugin-chart-handlebars): fix overflow, debounce and control reset (#19879)
* fix(plugin-chart-handlebars): fix overflow

* add debounce, fix reset controls

* fix deps

* remove redundant code

* improve examples

* add last missing resetOnHides

* fix test

* use isPlainObject
2022-04-28 16:38:23 +03:00
Geido 1d50665da0 Remove font-size hacky usage (#19613) 2022-04-28 11:38:17 +02:00
Geido 0e68e42b7c Remove hacky font-sizes (#19616) 2022-04-28 11:38:04 +02:00
Geido ed1309e6bd fix: Dates alignment in Table viz (#19668)
* Fix dates alignment

* Add package lock changes

* Update package-lock

* Clean up
2022-04-28 11:37:49 +02:00
Ville Brofeldt 3d2fec9604 chore: fix explore pills (#19866)
* chore: fix explore pills

* fix tests

* address comments

* add test and remove redundant div

* switch to dark text
2022-04-28 10:28:47 +03:00
Diego Medina e4fca89217 fix: Cannot re-order metrics by drag and drop (#19876)
* fix: cannot-re-order-metrics-by-drag-and-drop

* add tests
2022-04-27 20:37:12 -06:00
Hugh A. Miles II 481ccfe0a6 chore: Update aiohttp>=3.7.4 in requirements (#19872)
* update

* lets see
2022-04-27 15:58:14 -07:00
Hugh A. Miles II 3e3a4be6b5 Update setup.py (#19874) 2022-04-27 14:58:08 -07:00
smileydev 59ee029088 feature(filter): make to hide sort filter when time range (#19871) 2022-04-27 14:07:59 -06:00
smileydev 4a835a4299 fix(dashboard-css): make to load saved css template (#19840)
* fix(dashboard-css): make to load saved css template

* fix(dashboard-css): make to update state css with componentDidMount

* fix(dashobard-css): make to inject custom css after updateCss

* fix(dashboard-css): make to add RTL for custom css

* fix(dashboard-css): make to fix lint issue
2022-04-27 10:57:15 -06:00
Yongjie Zhao f5e9f0eb3b feat: add Advanced Analytics into mixed time series chart (#19851) 2022-04-27 23:36:19 +08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 795da71751 chore(deps): bump react-syntax-highlighter in /superset-frontend (#19864)
Bumps [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) from 15.4.5 to 15.5.0.
- [Release notes](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases)
- [Changelog](https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/react-syntax-highlighter/react-syntax-highlighter/compare/v15.4.5...15.5.0)

---
updated-dependencies:
- dependency-name: react-syntax-highlighter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 08:19:34 -06:00
Stephen Liu f9d28a1072 chore: add eslint custom plugin to prevent translation variables (#19828) 2022-04-27 17:44:13 +08:00
Erik Ritter ad878b07e4 fix: Dashboard report creation error handling (#19859) 2022-04-26 21:52:58 -07:00
Erik Ritter 768e4b7a54 fix: Update eslint error message to reflect location of antd components (#19857) 2022-04-26 21:12:43 -07:00
Diego Medina e3dbe8d8af fix: Query execution time is displayed as invalid date (#19605)
* fix: Query execution time is displayed as invalid date

* PR comment

* Fix test

* unify response

* lint
2022-04-27 11:22:50 +08:00
Smart-Codi 60e06c1692 feat: Update ShortKey for stop query running in SqlLab editor (#19692)
* feat: Update shortkey for stop query running in sqllab editor

* resolve comment

* fix invalid import useMemo
2022-04-26 21:12:47 -06:00
smileydev 1d043e53d0 fix(db & connection): make to show/hide the password when only creating db connection (#19694)
* fix(db & connection): make to show/hide the password when only creating db connection

* fix(db & connection): make to fix unit test of Database Modal
2022-04-26 16:26:07 -06:00
Diego Medina d65b77ec7d fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options (#19778)
* fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options

* fix package.json

* fix lint
2022-04-26 16:25:40 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dc0f09586f chore(deps): bump react-split from 2.0.9 to 2.0.14 in /superset-frontend (#19845)
Bumps [react-split](https://github.com/nathancahill/split) from 2.0.9 to 2.0.14.
- [Release notes](https://github.com/nathancahill/split/releases)
- [Changelog](https://github.com/nathancahill/split/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nathancahill/split/commits)

---
updated-dependencies:
- dependency-name: react-split
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:20:38 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 528a9cd7c7 chore(deps): bump d3-svg-legend in /superset-frontend (#19846)
Bumps [d3-svg-legend](https://github.com/susielu/d3-legend) from 1.13.0 to 2.25.6.
- [Release notes](https://github.com/susielu/d3-legend/releases)
- [Commits](https://github.com/susielu/d3-legend/compare/v1.13.0...v2.25.6)

---
updated-dependencies:
- dependency-name: d3-svg-legend
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:20:19 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5877470aee chore(deps-dev): bump eslint-plugin-jsx-a11y in /superset-frontend (#19847)
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.4.1 to 6.5.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.4.1...v6.5.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:19:40 -06:00
Diego Medina 7645eac31f fix: Regression on Data and Alerts & Reports Headers (#19850) 2022-04-26 14:08:07 -06:00
Josh SorefandJosh Soref bebb10e495 chore(frontend-tests): Spelling (#19853)
* spelling: against

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: been

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: charts

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: clicking

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: columns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: duplicate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: especially

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: extensions

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: fields

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: filter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: label

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: labeled

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: nativefilter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: registry

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: render

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: resizable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: response

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: transform

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: unfortunately

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: until

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: virtual

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: wrapper

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 10:35:01 -07:00
Josh SorefandJosh Soref c32c505742 chore(docs): Spelling (#19675)
* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: aggregate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: avoid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: blacklist

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cached

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: discontinue

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: exhaustive

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: from

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hybrid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: implicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interim

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: introduced

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: logstash

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metadata

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: password

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recommended

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: redshift

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: refactored

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: referencing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sqlite

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: thumbnails

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: undoes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: very

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 13:17:15 -03:00
Yongjie Zhao 25e572a56e fix: count(distinct column_name) in metrics (#19842) 2022-04-26 20:03:55 +08:00
JeremyandVille Brofeldt e632b82395 feat: Adds plugin-chart-handlebars (#17903)
* adds: plugin chart handlebars

* adds: handlebars plugin to main presets

* update: npm install

* chore: lint

* adds: dateFormat handlebars helper

* deletes: unused props

* chore: linting plugin-chart-handlebars

* docs: chart-plugin-handlebars

* adds: moment to peer deps

* update: use error handling

* update: inline config, adds renderTrigger

* update: inline config, adds renderTrigger

* camelCase controls

* (plugins-chart-handlebars) adds: missing props

Adds missing propeties in test formData

* (plugin-chart-handlebars) fixes test

* (plugin-handlebars-chart) use numbers for size

* (feature-handlebars-chart) fix viz_type

* (plugin-handlebars-chart) revert

revert the viz_type change. it was in the wrong place.

* fix test and add license headers

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-26 14:34:28 +03:00
Ville Brofeldt 2dafff12ef fix(explore): ignore temporary controls in altered pill (#19843) 2022-04-26 11:58:47 +03:00
Jesse Yang ae384111c1 docs: updated links for country map scripts (#19823) 2022-04-25 13:01:41 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 28742e5474 chore(deps-dev): bump babel-loader in /superset-frontend (#19829)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.4...v8.2.5)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 12:27:21 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 69aeff911b chore(deps): bump react-hot-loader in /superset-frontend (#19830)
Bumps [react-hot-loader](https://github.com/gaearon/react-hot-loader) from 4.12.20 to 4.13.0.
- [Release notes](https://github.com/gaearon/react-hot-loader/releases)
- [Changelog](https://github.com/gaearon/react-hot-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gaearon/react-hot-loader/compare/v4.12.20...v4.13.0)

---
updated-dependencies:
- dependency-name: react-hot-loader
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 12:26:59 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 523bd8b79c chore(deps-dev): bump babel-loader in /superset-frontend (#19403)
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.4.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.4)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:52 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fbedfa3838 chore(deps): bump moment from 2.29.1 to 2.29.2 in /superset-frontend (#19637)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:26 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f8f057d7be chore(deps): bump async in /superset-frontend/cypress-base (#19681)
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 22:53:04 -06:00
Diego Medina 800ced5e25 fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448) 2022-04-22 15:23:30 -06:00
Diego Medina 3f0413b8cb fix: Cypress tests reliability improvements (#19800) 2022-04-22 14:57:25 -06:00
Smart-Codi 4dc19345d8 fix: Show full long number in text email report for table chart. (#19575)
* fix lint issue

* resolve comment

* fix pipeline broken issue

* resolve pipeline broken issue
2022-04-22 14:55:00 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 5a3031d35f chore(deps): bump async from 3.2.0 to 3.2.3 in /superset-websocket (#19680)
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 14:51:37 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 0cc2d71d1a chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /superset-frontend (#19020)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 14:51:10 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e98199d43d chore(deps): bump @types/d3-time in /superset-frontend (#17978)
Bumps [@types/d3-time](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/d3-time) from 1.1.1 to 3.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/d3-time)

---
updated-dependencies:
- dependency-name: "@types/d3-time"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 14:50:43 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 461286df11 chore(deps): bump async from 2.6.3 to 2.6.4 in /docs (#19727)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 13:54:08 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> c5d6beab1d chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-websocket (#19551)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 13:52:41 -06:00
Ville Brofeldt a1bd5b283c fix(key_value): use longblob on mysql (#19805)
* fix(key_value): use longblob on mysql

* set length
2022-04-22 13:12:29 +03:00
smileydev 3ccfa564d7 fix(dashboard): make to filter the correct certified or non-certified… (#19429)
* fix(dashboard): make to filter the correct certified or non-certified dashboards

* fix(dashboard): make to fix python lint issue
2022-04-21 14:59:01 -06:00
Phillip Kelley-Dotson ad715429f9 chore: simplify error messaging in database modal (#19165)
* testing for dbconn modal error message

* remove consoles and error alert mapping

* lint fix

* update url message

* add modal fix

* update comments

* fix err msg bugs

* fix pylint

* fix line

* fix tests

* fix assertions
2022-04-21 12:44:21 -07:00
Jesse Yang fa680369ea fix(SIP-68): handle empty table name during migration (#19793) 2022-04-21 10:49:25 -07:00
Kamil Gabryjelski 12bc30e2c7 Fix display of column config in table chart (#19806) 2022-04-21 19:08:04 +02:00
Daniel Vaz GasparandVille Brofeldt 3db4a1cb80 chore: bump postgres from 10 to 14 (#19790)
* chore: bump postgres from 10 to 14

* update helm chart

* adding docs

* fix docs

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* improve docs

* improve docs

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-21 10:16:00 +01:00
Yongjie Zhao 108a2a4eaf fix: lost renameOperator in mixed timeseries chart (#19802) 2022-04-21 15:20:09 +08:00
John Bodley 1dabebb015 chore: Update UPDATING.md (#19480)
* Update UPDATING.md

* Update UPDATING.md
2022-04-21 10:34:28 +12:00
1b55778427 fix(sql_lab): Add custom timestamp type for literal casting for presto timestamps (#13082)
* Add custom timestamp type for literal casting for presto timestamps

* Remove typo in comment

* Use process_bind_params as in sqla docs

* Uncommit local superset config

* Add DATE literal casting

* Fix lint errors and change var name

* Get rid of col_type and whitespace

* Fix linting

* Fix arg type

* Fix isort lint error

* ran black and isort locally..

* accidentally removed EOF

* Dont need eof

* Use newer string formatting style from comments

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>

* Trigger notification

* Trigger notification

Co-authored-by: Kenny Kwan <kennykwan@salesforce.com>
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-04-21 10:01:24 +12:00
David Aaron Suddjian c763baf09e add missing init files (#19797) 2022-04-20 14:26:38 -07:00
Diego Medina 4513cc4758 fix: trap SQLAlchemy common exceptions & throw 422 error instead (#19672) 2022-04-20 15:03:02 -06:00
smileydev dfbaba97c6 fix(chart & explore): Show labels for SliderControl (#19765)
* fix(chart & explore): make to show label of slidercontrol

* fix(chart & explore): make to update SliderControl props

* fix(chart & explore): make to fix lint
2022-04-20 13:58:25 -06:00
Diego Medina 7f22edfd06 fix: remove & reimplement the tests for AlertReportCronScheduler component (#19288) 2022-04-20 13:51:09 -06:00
serenajiang 5e468f7a4c fix(world-map): remove categorical color option (#19781) 2022-04-20 09:36:28 -07:00
Kamil Gabryjelski fcc8080ff3 fix(plugin-chart-table): Resetting controls when switching query mode (#19792) 2022-04-20 17:25:31 +02:00
Cemre Mengu 9c20299039 fix(migrations): sl_columns is_temporal mapping (#19786) 2022-04-20 07:31:40 -07:00
Stephen Liu e3a54aa3c1 feat(explore): improve UI in the control panel (#19748)
* feat(explore): improve section header of control panel

* fix checkbox control color and radio button color
2022-04-20 15:06:33 +02:00
Yongjie Zhao 4f997cd9ac chore: fix grammar error (#19740) 2022-04-20 21:02:14 +08:00
Yongjie Zhao 3c28cd4625 feat: add renameOperator (#19776) 2022-04-20 19:48:12 +08:00
Daniel Vaz Gaspar f06db796b5 fix: small cleanup for created by me dashboards API (#19755) 2022-04-20 12:11:38 +01:00
Todd Papaioannou 22a92ed722 Remove broken link to gallery (#19784) 2022-04-20 10:04:20 +03:00
Cedric GampertandVille Brofeldt 5134c63ae2 fix: dashboard standalone class not added when parameter set (#16619)
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-20 10:03:59 +03:00
Diego Medina dfba9ea596 fix: SQL Lab UI Error: Objects are not valid as a React child (#19783) 2022-04-20 09:18:46 +03:00
Jesse Yang 231716cb50 perf: refactor SIP-68 db migrations with INSERT SELECT FROM (#19421) 2022-04-19 18:58:18 -07:00
Diego Medina 1c5d3b73df fix: dashboard top level tabs edit (#19722) 2022-04-19 16:57:30 -06:00
Ville Brofeldt e061955fd0 fix(dashboard): copy permalink to dashboard chart (#19772)
* fix(dashboard): copy permalink to dashboard chart

* lint

* address comments
2022-04-19 22:34:41 +03:00
Hugh A. Miles II a6f46013d9 feat: 10/15/30 min grain to Pinot (#19724)
* add new grains to pinot

* update test
2022-04-19 11:16:48 -07:00
Hugh A. Miles II 7e92340c70 fix: Fix migration for removing time_range_endpoints 3 (#19767)
* fix migration

* so dumb

* update test

* add code change

* retest
2022-04-19 09:49:50 -07:00
Jesse Yang 4ba62cad95 chore(build): upgrade less-loader (#19703) 2022-04-19 09:18:16 -07:00
Kamil Gabryjelski 3663a33f14 fix(explore): Double divider if no permissions for adding reports (#19777) 2022-04-19 17:47:35 +02:00
Kamil Gabryjelski 6f4480a06c feat(explore): Replace overlay with alert banner when chart controls change (#19696)
* Rename explore alert

* Rename refreshOverlayVisible to chartIsStale

* Implement banners

* Add tests

* Add clickable text to empty state

* Fix viz type switching

* styling changes

* Fixes after rebasing

* Code review fixes

* Fix bug

* Fix redundant refreshing
2022-04-19 14:57:06 +02:00
Kamil Gabryjelski 594523e895 feat(explore): Implement data panel redesign (#19751)
* feat(explore): Redesign of data panel

* Auto calculate chart panel height and width

* Add tests

* Fix e2e tests

* Increase collapsed data panel height
2022-04-19 10:10:40 +02:00
smileydev 34323f9b5f fix(explore): make to show the null value as N/A in view result (#19603)
* fix(explore): make to show the null value as N/A in view result

* fix(explore): make to remove console

* fix(explore): make to remove console in Cell

* fix(explore): make to translate N/A
2022-04-18 19:26:15 -06:00
smileydev a2d34ec4b8 fix(import): Add the error alert on failed database import (#19673)
* fix(import): make to add the error alert

* fix(import): make to add licence

* fix(import): make to create ErrorAlert component and use errorMessage spelling
2022-04-18 17:43:24 -06:00
Diego Medina a05ff5e598 fix: alert/report created by filter inconsistency with table display (#19518)
* fix: alert/report created by filter inconsistency with table display

* Match column order to dashboard list
2022-04-18 17:41:07 -06:00
Ville Brofeldt cf5145918b fix(permalink): remove memoize on get salt func (#19749) 2022-04-18 14:26:21 +03:00
AAfghahi 57157c8b15 fix: remove expose (#19700)
* bumping shillelagh

* remove expose
2022-04-16 22:02:23 -07:00
David Aaron Suddjian ae70212df3 fix: deactivate embedding on a dashboard (#19626)
* fix tests

* commit it properly

* unnecessary commit, correct type in docstring

* unused import
2022-04-15 16:15:27 -07:00
Phillip Kelley-DotsonandMichael S. Molina 06ec88eb99 feat: add empty states to sqlab editor and select (#19598)
* feat: add empty states to sqlab editor and select

* add suggestions and test

* update type

* lint fix and add suggestions

* fix typo

* run lint

* remove unused code

* fix test

* remove redux for propagation and other suggestions

* add t

* lint

* fix text and remove code

* ts and fix t in p

* fix spelling

* remove unused prop

* add fn to prop change state

* remove unused code

* remove unused types

* update code and test

* fix lint

* fix ts

* update ts

* add type export and fix test

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* remove handlerror and unused code

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-15 15:09:07 -07:00
Diego Medina 154f1ea8c9 fix: Dashboard Edit View Tab Headers Hidden when Dashboard Name is Long (#19472) 2022-04-15 12:58:32 -06:00
Diego Medina 8d4a52c9d0 fix(sql lab): add quotes when autocompleting table names with spaces in the editor (#19311) 2022-04-15 12:55:04 -06:00
Diego Medina bbe0af348b fix(sql lab): Selecting edit on a query from query history doesn't update the SQL Editor properly (#19290) 2022-04-15 12:49:32 -06:00
Luis Casillas 56381f4ee8 fix: sql lab ctrl t behaved differently from clicking (#19420)
* initial approach

To have consistent behaviour when creating a new tab with ctrl+t

* consistent behaviour when creating tabs

* fixed bug and added tests

* updates to pass checks
2022-04-15 12:28:40 -06:00
Geido b8e595413f fix: Redirect to full url on 401 (#19357)
* Redirect to full url

* Redirect to full url

* Update test
2022-04-15 20:15:30 +02:00
Michael S. Molina 82c47f32a0 chore: Updates the Select codeowners (#19736) 2022-04-15 14:37:52 -03:00
Hugh A. Miles II 86642025ba fix: Removetime_range_endpoints from query context object pt 2 (#19728) 2022-04-15 13:17:05 -04:00
Kamil Gabryjelski b7759e6fd1 chore: Clean redundant dependency from useMemo dep array (#19732) 2022-04-15 14:56:34 +02:00
Cemre Mengu ce77d55396 docs(install): ubuntu default-libmysqlclient-dev (#19715)
add `default-libmysqlclient-dev` to required OS dependencies for ubuntu
2022-04-15 14:51:32 +03:00
smileydev c320c295dc fix(dnd&column): make to fix the blank state issue when only one column select (#19651) 2022-04-15 13:43:25 +02:00
Smart-Codi 94075983f8 feat: Remove legacy sql alchemy db connection link from G Sheet connection (#19450)
* feat: Remove legacy sql alchemy db connection link from G Sheet connection

* resolve comment
2022-04-14 14:34:15 -06:00
AAfghahi 158852d074 bumping shillelagh (#19726) 2022-04-14 16:02:02 -04:00
Smart-Codi ac2c66ccf6 fix: Line Chart Annotation Info Update (#19001)
* fix Line Chart Annotation Info Updage

* wrap annotation text with transation

* resolve comment
2022-04-14 10:46:32 -07:00
Evan Rusackas 34008f78c9 feat: Enabling source maps full time (#19710) 2022-04-14 09:08:11 -07:00
Michael S. Molina 7bc9123fe5 fix: Filter dependencies are not being applied in default values (#19698) 2022-04-14 12:58:34 -03:00
David Aaron Suddjian 4927685c30 feat: UI override registry (#19671)
* typed registry

* remove unintentional change

* lint

* fix
2022-04-14 08:44:26 -07:00
Yongjie Zhao 9425dd2cac fix: drop the first level of MultiIndex (#19716) 2022-04-14 23:40:38 +08:00
Ville Brofeldt 2b17ce2bd0 fix: create virtual table with exotic type (#19714)
* fix: create virtual table with exotic type

* fix test
2022-04-14 17:52:37 +03:00
Jesse Yang 32a9265cc0 fix(nav): infinite redirect and upload dataset nav permissions (#19708) 2022-04-13 23:29:56 -07:00
Beto Dealmeida 8865656e06 chore: fix typo (#19699) 2022-04-13 17:08:39 -07:00
smileydev 5fc0651aab fix(data-upload): make to change err message (#19430) 2022-04-13 12:24:13 -07:00
smileydev 68ed39bcd3 fix(alert & report): make to fix the issue when recreate report (#19419) 2022-04-13 11:02:33 -06:00
Smart-Codi 94e06c2b6a fix: Reset sorting bar issue in Barchart (#19371)
* fix: Reset sorting bar issue in Barchart

* improving performance

* fix lint error
2022-04-13 11:00:15 -06:00
Beto Dealmeida 8e326af3e6 chore: upgrade Pillow (#19674) 2022-04-13 09:47:20 -07:00
Diego Medina d4e7c65f6a fix(sql lab): replace the output column in the query history table (#19370)
* fix(sql lab): replace the output column in the query history table

* improvements
2022-04-13 10:22:03 -06:00
Kamil Gabryjelski b81982d8f3 feat(explore): More explicit labels of adhoc filter operators (#19691) 2022-04-13 18:20:38 +02:00
Diego Medina 6d5d03e592 fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (#19362)
* fix(sql lab): display the 'View Results' button in the history tab when running sync queries

* pr comment
2022-04-13 10:20:32 -06:00
Kamil Gabryjelski c8304a2821 feat(explore): Redesign of Run/Save buttons (#19558)
* feat(explore): Move save button to header, run button to bottom of control panel

* Make the tabs sticky

* Add error icon to Data tab

* Show message when creating chart and all controls are filled correctly

* Add tests and storybook

* Fix tests

* Disable save button when control have errors

* Fix types

* Apply code review comments

* Replace styled with css

* Remove unused import
2022-04-13 16:58:39 +02:00
Diego Medina 32239b04aa fix: improve the alerts & reports modal layout on small screens (#19294) 2022-04-13 08:45:38 -06:00
Diego Medina 26a0f05759 fix(sql lab): table selector should display all the selected tables (#19257)
* fix: table Selector should clear once selected

* Multi select

* Add tests

* refactor

* PR comments
2022-04-13 08:42:12 -06:00
Kamil Gabryjelski de9fb2109d chore(explore): Change labels "Group by"/"Series" to "Dimensions" (#19647) 2022-04-13 15:16:03 +02:00
Ville Brofeldt 2ba484fe43 fix: login button does not render (#19685)
* fix: login button does not render

* add type guard
2022-04-13 16:04:04 +03:00
Stephen Liu 059cb4ec25 fix(plugin-chart-echarts): xAxis scale is not correct when setting quarter time grain (#19686) 2022-04-13 20:48:13 +08:00
Kamil Gabryjelski ee85466f2e fix(dashboard): Fix BigNumber causing dashboard to crash when overflowing (#19688)
* fix(dashboard): fix(plugin-chart-echarts): Fix BigNumber causing dashboard to crash when overflowing

* Add tooltips for truncated titles

* Fix type
2022-04-13 14:22:46 +02:00
Kamil Gabryjelski 4a5dddf52d fix(explore): Change copy of cross filters checkbox (#19646) 2022-04-13 13:19:02 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6e8e29ce53 chore(deps): bump urijs from 1.19.8 to 1.19.11 in /superset-frontend (#19679)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.8...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:23:58 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 01cb6c684b chore(deps): bump moment from 2.29.1 to 2.29.2 in /docs (#19638)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:23:31 -06:00
Srini Kadamati 2f41ed0940 1. Removed duplicate security vulnerability issue template. 2. Modified feature request template to encourage people to post in Discussions instead (#19617) 2022-04-12 19:31:35 -04:00
Lily Kuang 224769bd45 feat(embedded): API get embedded dashboard config by uuid (#19650)
* feat(embedded): get embedded dashboard config by uuid

* add tests and validation

* remove accidentally commit

* fix tests
2022-04-12 15:14:08 -07:00
Geido 59dda1fa05 fix: Navbar styles and Welcome page text (#19586)
* Enhance navbar styles

* Clean up style
2022-04-12 18:41:00 +03:00
Geido 6a3220f905 Remove TwoTone icons (#19666) 2022-04-12 17:33:12 +03:00
Geido 7b0b029318 chore: Remove wrong usage of font-size in ExploreViewContainer (#19614)
* Remove hacky usage of font-size

* Update font
2022-04-12 16:10:58 +03:00
Ville Brofeldt 87d47987b7 fix(sql-lab): do not replace undefined schema with empty object (#19664) 2022-04-12 15:13:03 +03:00
Ville Brofeldt 3a231f6b87 fix(database-api): allow search for all columns (#19662) 2022-04-12 13:50:57 +03:00
Yongjie Zhao d7dd4119d4 fix: time comparision (#19659) 2022-04-12 18:19:22 +08:00
Beto Dealmeida 5c63df522a fix: allow_browser_login in import/export API (#19656) 2022-04-11 22:29:06 -07:00
Diego Medina 955413539b fix: Table Autosizing Has Unnecessary Scroll Bars (#19628) 2022-04-11 15:20:41 -06:00
smileydev d8b9e72682 make to change the getBreakPoints of polygon chart (#19573) 2022-04-11 15:20:20 -06:00
AAfghahiandElizabeth Thompson 4bf4d58423 fix: update Permissions for right nav (#19051)
* draft pr

* finished styling

* add filter

* added testing

* added tests

* added permissions tests

* Empty-Commit

* new test

* Update superset-frontend/src/views/components/MenuRight.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* revisions

* added to CRUD view

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-04-11 16:50:59 -04:00
Geido d693f4e970 Update font-sizes (#19593) 2022-04-11 16:46:06 +03:00
Geido 5d418b21a3 Remove font-size hacky usage (#19611) 2022-04-11 16:45:52 +03:00
Geido d1e17646e2 Remove hacky usage of font-size (#19615) 2022-04-11 16:45:25 +03:00
Geido 03a80d5d2f chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes

* Remove hacky font-size SavedQueryPreviewModal
2022-04-11 16:45:09 +03:00
Stephen Liu d49fd01ff3 feat(CRUD): add new empty state (#19310)
* feat(CRUD): add new empty state

* fix ci

* add svg license
2022-04-11 12:04:45 +02:00
Ville Brofeldt f21ba68a30 chore: clean up dynamic translation strings (#19641) 2022-04-11 13:02:20 +03:00
Stephen Liu a6bf041edd feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart (#19622) 2022-04-11 13:56:45 +08:00
Jesse Yang b45f89b954 refactor: consistent migration tests organization (#19635) 2022-04-09 07:50:52 -07:00
Jesse Yang ce2bd98442 test: freeze time for dashboard export test (#19634) 2022-04-09 07:49:39 -07:00
Jesse Yang a975af3e9e chore: clean up unused imports in db migration scripts (#19630) 2022-04-09 07:48:59 -07:00
Jesse Yang 738bd04b4f fix(test): make test_clean_requests_after_schema_grant more idempotent (#19625) 2022-04-09 07:48:37 -07:00
Ville Brofeldt 9a9e3b6e3b test(jinja): refactor to functional tests (#19606) 2022-04-08 20:32:38 +03:00
Lyndsi Kay Williams d52e3867ac feat: Move Database Import option into DB Connection modal (#19314)
* rebase

* more progress

* Fix unintended changes

* DB import goes to step 3

* debugging

* DB list refreshing properly

* import screens flowing properly

* Code cleanup

* Fixed back button on import flow

* Remove import db tooltip test

* Fix test

* Password field resets properly

* Changed import modal state dictators and removed unneeded comment

* Removed unneeded param pass and corrected modal spelling

* Fixed typos

* Changed file to fileList

* Clarified import footer comment

* Cleaned passwordNeededField and confirmOverwriteField state checks

* debugging

* Import state flow fixed

* Removed unneeded importModal check in unreachable area

* Fixed import db footer behavior when pressing back on step 2

* Import db button now at 14px

* Removed animation from import db button

* Fixed doble-loading successToast

* Fixed errored import behavior

* Updated import password check info box text

* Connect button disables while importing db is loading

* Connect button disables while overwrite confirmation is still needed

* Connect button disables while password confirmation is still needed

* Removed gray line under upload filename

* Hide trashcan icon on import filename

* Modal scroll behavior fixed for importing filename

* Changed errored to failed

* RTL testing for db import
2022-04-08 10:03:40 -07:00
Ville Brofeldt 1ad82af058 fix(select): render when empty multiselect (#19612)
* fix(select): render when empty multiselect

* disable flaky test
2022-04-08 16:40:14 +03:00
Geido 16f193c813 Catch colors when theme top level (#19571) 2022-04-08 15:20:23 +03:00
Yongjie Zhao 761d5c4208 chore: cleanup as unknown conversion (#19587) 2022-04-08 17:32:29 +08:00
Daniel Vaz GasparandVille Brofeldt d6d2777ada feat: deprecate old API and create new API for dashes created by me (#19434)
* feat: deprecate old API and create new API for dashes created by me

* add tests

* fix previous test

* fix test and lint

* fix sqlite test

* fix lint

* fix lint

* lint

* fix tests

* fix tests

* use dashboards get list instead

* clean unnecessary marshmallow schema

* Update superset/views/core.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-08 09:05:22 +01:00
Zimo Li 8da2c9b96a Fix spelling: following (#19594) 2022-04-07 21:02:22 -07:00
Phillip Kelley-Dotson 44e3103fc9 feat: add success toast to alerts and reports (#19482)
* feat: add success toast to alerts and reports

* remove console

* add suggestions
2022-04-07 18:45:35 -07:00
Michael S. Molina d511e4fbc4 refactor: Removes the CSS files from the Horizon plugin (#19562)
* refactor: Removes the CSS files from the Horizon plugin

* Removes the CSS file

* Uses font-size from the theme
2022-04-07 18:47:41 -03:00
Michael S. Molina f91f83d011 refactor: Removes the CSS files from the Paired T-Test plugin (#19563)
* refactor: Removes the CSS files from the Paired T Test plugin

* Adjusts some colors
2022-04-07 11:51:22 -03:00
Michael S. Molina 38fbca10e3 refactor: Removes the CSS files from the Parallel Coordinates plugin (#19539)
* refactor: Removes the CSS files from the Parallel Coordinates plugin

* Adds test

* Fixes indentation
2022-04-07 11:51:08 -03:00
Michael S. Molina 97850a80c8 refactor: Removes the CSS files from the Partition plugin (#19521)
* refactor: Removes the CSS files from the Partition plugin

* Fixes bullet

* Always use the color of the partitions
2022-04-07 11:50:51 -03:00
Michael S. Molina 06dee825a4 chore: Removes hard-coded colors from legacy-plugin-chart-sankey (#19493)
* chore: Removes hard-coded colors from legacy-plugin-chart-sankey

* Gets opacity from the theme
2022-04-07 11:50:31 -03:00
Beto Dealmeida 83c3779a6c feat: add a where_in filter for Jinja2 (#19574) 2022-04-07 07:27:23 -07:00
Geido 6d5771af34 chore: Remove FilterBox.less (#19462)
* Remove FilterBox less

* Fix test

* Add theme top level

* Use styledMount
2022-04-07 17:17:50 +03:00
Geido e8f3e8a24e chore: Remove crud.less from Datasource (#19438)
* Remove crud less

* Remove unused classname

* Remove unused import

* Add theme top level
2022-04-07 15:18:01 +03:00
GeidoandMichael S. Molina e5bab00cb9 chore: Enhance ReactChord style with theme vars (#19517)
* Enhance style with theme vars

* Update superset-frontend/plugins/legacy-plugin-chart-chord/src/ReactChord.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-07 15:17:40 +03:00
Ville Brofeldt 0d331f5bd8 chore: remove redundant adodbapi warning (#19557) 2022-04-07 14:30:36 +03:00
Ville Brofeldt d9343a4639 fix(dataset): handle missing python_type gracefully (#19553)
* fix(dataset): handle missing python_type gracefully

* refactor TEMPORAL_TYPES
2022-04-07 14:30:11 +03:00
Ville Brofeldt 34b55765c4 fix(sqla): apply jinja to metrics (#19565) 2022-04-07 14:04:51 +03:00
Ville Brofeldt db2135109a fix(dataset): avoid crash if database missing (#19582) 2022-04-07 13:43:17 +03:00
Ville Brofeldt 1c1beb653a docs: release notes for 1.5 (#19530)
* docs: release notes for 1.5

* rephrase and remove secret key from 1.4

* address review comments
2022-04-07 12:52:20 +03:00
Elizabeth Thompson aa419b8119 fix: check type of url before performing string actions (#19569)
* ensure url is a string

* return url if param is a url
2022-04-06 17:32:10 -07:00
Beto Dealmeida 6136942759 fix: sqloxide optional (#19570) 2022-04-06 16:11:38 -07:00
Elizabeth Thompson 444b4f5832 merge multiple db heads (#19577) 2022-04-06 15:14:39 -07:00
Diego Medina 350f21d9d3 fix: cannot delete a database if team member has SQL editor tab that uses that db (#19243)
* fix: update sql lab models constraints to support db deletion

* update with master

* solve db migration conflict

* fix tests
2022-04-06 08:46:21 -07:00
GeidoandMichael S. Molina 73e93911ac chore: Remove TimeTable.less (#19463)
* Remove TimeTable less

* Remove className

* Update superset-frontend/src/visualizations/TimeTable/TimeTable.jsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-04-06 18:43:25 +03:00
Smart-Codi f6d550b7fc fix: weight tooltip issue (#19397)
* fix: weight tooltip issue

* remove console
2022-04-06 09:28:24 -06:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 4680580c40 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-embedded-sdk (#19550)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 18:20:02 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fff9dc1181 chore(deps): bump node-forge from 1.2.1 to 1.3.1 in /docs (#19566)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 18:16:02 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f9534b25c7 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#19552)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:26 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> f29d92867c chore(deps): bump minimist in /superset-frontend/cypress-base (#19549)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:11 +03:00
Diego Medina c6c9188a24 fix(sql lab): increase the size of the action icons in the history tab (#19313) 2022-04-06 08:21:07 -06:00
Fatos Morina 1cd8b41061 Remove too many "to"s (#19559) 2022-04-06 09:27:09 -04:00
Stephen Liu 0e29871493 fix(explore): clean data when hidding control (#19039) 2022-04-06 20:25:32 +08:00
Yongjie Zhao 2daa071633 fix: big number with trendline can't calculate cumsum (#19542) 2022-04-06 19:23:01 +08:00
Michael S. Molina c4baa826d5 refactor: Removes the CSS files from the Country Map plugin (#19538) 2022-04-06 07:39:16 -03:00
Michael S. Molina 356a03833b chore: Removes hard-coded opacity and spacing from BigNumber (#19536) 2022-04-06 07:38:33 -03:00
Michael S. Molina 6fa99d6b07 refactor: Removes the CSS files from the Sankey Loop plugin (#19494)
* refactor: Removes the CSS files from the Sankey Loop plugin

* Gets opacity from the theme
2022-04-06 07:37:56 -03:00
Ville Brofeldt 2d81c4c79f fix(sqllab): null database with backend persistence (#19548) 2022-04-06 12:32:41 +03:00
Geido 2de5e6fac4 chore: Remove Legacy Force Directed viz plugin (#19492)
* Add theme vars

* Remove plugin
2022-04-06 11:51:51 +03:00
Ville Brofeldt e1ef2baad7 fix(migrations): reorder skipped 1.4 migrations (#19543) 2022-04-06 10:47:12 +03:00
Smart-Codi 156ac7dd79 fix: Error Message is cut off in alerts & reports log page (#19444) 2022-04-05 23:19:45 -06:00
Diego Medina 0363e55b81 fix: adaptive formatting typo in explore dropdowns (#19312) 2022-04-05 23:06:09 -06:00
Kamil Gabryjelski bb96029c9d fix(explore): Chart header icon paddings (#19534) 2022-04-06 06:50:16 +02:00
Diego Medina c5b0dc3ea6 fix: native filter dropdown not attached to parent node (#19399) 2022-04-05 22:11:56 -06:00
Smart-Codi e118b4d733 fix: Dashboard import holding issue (#19112)
* fix dashboard import holding issue

* resolve comment
2022-04-05 21:43:47 -06:00
Beto Dealmeida 1b4d8ddf71 chore: blacklist unsafe functions (#19537) 2022-04-05 14:55:30 -07:00
AAfghahi 3f7b768c5b depreciated api endpoint (#19524) 2022-04-05 17:32:16 -04:00
Smart-Codi a88fa8910d fix: Clean up custom css when dashboard unmounted (#19342)
* clean up custom css when dashboard unmounted

* resolve comment
2022-04-05 15:20:31 -06:00
Diego Medina 634693b270 fix: Dynamic form to connect to Snowflake DB is not displaying authentication errors (#19491)
* fix: Dynamic form to connect to Snowflake DB is not displaying authentication errors

* pr comments
2022-04-05 13:11:33 -06:00
Geido 1521ab3b6f chore(Explore): Change text when saving a chart in a new dashboard (#19467)
* Change text when new dashboard

* Test buttons behavior
2022-04-05 22:05:05 +03:00
Craig Rueda f64d654de3 chore(database): Creating helper make_url_safe to wrap potential errors (#19526)
* Creating helper make_url_safe to wrap potential errors

* Fixing imports

* Fixing imports again

* Adding comment

* Linting

* Fixing test

* Fixing test again...

* Fixing import
2022-04-05 11:17:30 -07:00
Geido a59718b094 Remove Control less (#19415) 2022-04-05 20:05:09 +03:00
Geido e391a83947 Remove unused less (#19413) 2022-04-05 20:04:47 +03:00
Kamil Gabryjelski 03d3eaacaf feat(explore): Move timer, row counter and cached pills to chart container (#19458)
* feat(explore): Move timer, row counter and cached pills to chart container

* Hide pills in standalone mode

* Take pills out of chart-container
2022-04-05 18:03:23 +02:00
Roman PridybailoandRoman Pridybailo cccec9a6ab fix: Correct Ukraine map (#19528)
* Crimea

* Update ukraine.geojson

Co-authored-by: Roman Pridybailo <rp@vaix.ai>
2022-04-05 18:46:12 +03:00
Kamil Gabryjelski 602afbaa31 feat(explore): Move chart header to top of the page (#19529)
* Move chart header to top of the page

* Implement truncating and dynamic input

* fix typing

* Prevent cmd+z undoing changes when not in edit mode

* Fix tests, add missing types

* Show changed title in altered
2022-04-05 15:20:29 +02:00
Ville Brofeldt 1eef923b31 chore: postpone timerange endpoint removal (#19513) 2022-04-05 10:10:29 +03:00
Inclusive Coding Botandinclusive-coding-bot 5861bd399f chore: Switch to gender neutral terms (#19460)
* Switch to gender neutral terms

* Update countries.md

Co-authored-by: inclusive-coding-bot <inclusive-coding-bot@github.com>
2022-04-04 20:17:34 -04:00
Phillip Kelley-Dotson 79abd23f48 fix: add back view for report reload error (#19522)
* fix: add back view for report reload error

* remove print

* run black
2022-04-04 15:31:53 -07:00
Hugh A. Miles II c2fae82fa6 fix key reference (#19519) 2022-04-04 14:19:46 -04:00
Michael S. Molina 82a653f64b refactor: Removes the CSS files from the Treemap plugin (#19486) 2022-04-04 13:46:46 -03:00
Michael S. Molina 47308024a3 refactor: Removes the CSS files from the Sunburst plugin (#19488) 2022-04-04 13:46:34 -03:00
Geido 4b922873ae Add theme color (#19490) 2022-04-04 17:19:54 +03:00
Geido 7914296d8a chore: Remove FilterbaleTableStyles.less (#19442)
* Remove FilterbaleTablesStyles less

* Add theme top level
2022-04-04 17:11:22 +03:00
Geido b601db7809 chore: Remove StyledQueryButton.less (#19441)
* Remove StyledQueryButton less

* Remove unused className
2022-04-04 17:10:20 +03:00
Ville Brofeldt 0de03c4b34 chore(releasing): use node 16 for testing and remove redundant updating note (#19505)
* chore(releasing): use node 16 for testing

* remove note about required cache
2022-04-04 13:40:39 +03:00
dudasaron b8891acf4a fix(dashboard list): do not show favorite star for anonymous users #18210 (#19409)
* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors
2022-04-04 10:38:44 +03:00
smileydev 5db36ec81c fix(sqllab): make to hide the delete button of most recent query history (#19358) 2022-04-03 19:59:38 -06:00
Jesse Yang ea708162a5 feat(CI): clean up Python tests output (#19489) 2022-04-03 16:27:43 -07:00
Kamil Gabryjelski 60dcd651f4 feat(explore): SQL popover in datasource panel (#19308)
* feat(explore): SQL popover in datasource panel

* Fix acequire not defined

* Rebase and fix tests

* Disable highlighting gutter

* Use ace-build acequire instead of brace
2022-04-03 13:26:56 +02:00
Jesse Yang 90dbe8d340 perf: speed up db migration for deprecating time_range_endpoints (#19495) 2022-04-01 16:44:41 -07:00
Michael S. Molina 5fed10dae2 refactor: Removes the CSS files from the Rose plugin (#19473) 2022-04-01 13:13:43 -03:00
Michael S. Molina 7594a02d42 chore: Removes hard-coded colors from legacy-plugin-chart-world-map (#19466) 2022-04-01 13:13:33 -03:00
Michael S. Molina 8cd03181ac refactor: Removes the CSS files from the DeckGL plugin (#19465) 2022-04-01 13:13:16 -03:00
Stephen Liu 90c9daea08 feat(color): support analogous colors to prevent color conflict (#19325)
* feat(color): support analogous colors

* fix test

* fix range

* add some comment
2022-04-01 18:42:30 +03:00
Geido 08aca83f6c chore: Remove index.less from showSavedQuery (#19440)
* Remove index less

* Revert change
2022-04-01 17:57:36 +03:00
Kamil Gabryjelski fc8cb22376 feat(dashboard): Implement empty states for empty tabs (#19408)
* feat(dashboard): Implement empty states in empty tabs

* Change button to in text link

* Add edit dashboard button to dashboard empty state

* Add tests

* Fix test
2022-04-01 15:23:00 +02:00
Ville Brofeldt 11bf0d09cb chore(plugin-chart-echarts): upgrade echarts 5.3.2 (#19481) 2022-04-01 13:05:03 +03:00
Yongjie Zhao a2e921bd03 fix: flaky test for dashboard changed on (#19483) 2022-04-01 16:47:56 +08:00
Yongjie Zhao d954c3df86 fix: can't sync temporal flag on virtual table (#19366) 2022-04-01 16:40:50 +08:00
Ville Brofeldt d684ad073d fix: request samples with default row limit (#19456)
* fix: request samples with default row limit

* lodashLint

* fix cypress test
2022-04-01 11:32:36 +03:00
Jinghuayao 2a75e4c3c3 test(native filter): add new test for dependent filter (#19392)
* add new test for dependent filter
2022-04-01 01:06:48 -07:00
Diego Medina eab9388f7c feat(sql lab): enable ACE editor search in SQL editors (#19328) 2022-03-31 16:05:00 -07:00
David Aaron Suddjian ab3770667c chore!: remove ROW_LEVEL_SECURITY feature flag (permanently enable) (#19230)
* permanently turn on rls feature flag

* unused imports

* docs

* docs

* unused import
2022-03-31 14:05:17 -07:00
serenajiang 7f85da6e5b fix: handle null params in #18936 migration (#19474) 2022-03-31 12:47:02 -07:00
Beto Dealmeida 6828624f61 feat: improve adhoc SQL validation (#19454)
* feat: improve adhoc SQL validation

* Small changes

* Add more unit tests
2022-03-31 11:55:19 -07:00
Kamil Gabryjelski 1a1322d3d9 feat(explore): Move chart actions into dropdown (#19446)
* feat(explore): Move chart actions to a dropdown menu

* Fix tests and add some new ones

* Add background color to embed code button

* Fix cypress tests

* Move copy permalink to actions menu

* Remove unused function

* Move share by email above embed code

* Fix test

* Fix test

* Fix test

* Fix test

* Fix test
2022-03-31 20:41:15 +02:00
James Turton 85e330e94b fix(drill): specify an SA URL parm of impersonation_target for drill+sadrill (#19252)
* Update drill+sadrill to specify an SA URL parm of "impersonation_target".

Sqlalchemy-drill is being updated to support impersonation with the
drill+sadrill driver, where previously it did not.  The way that callers
should specify impersonation matches that for the drill+jdbc driver in that
a SA URL parameter of impersonation_target should be set to the username
of the user to be impersonated, while the stadard SA username and password
should be those of the proxy user.

* Remove lint.

* Address review comments.

* Use idiomatic pytest to test for a raised exception.

* Fix import statement order in drill.py.
2022-03-31 19:42:27 +03:00
Michael S. Molina ac6b2f2d93 refactor: Removes the CSS files from the Heatmap plugin (#19417)
* refactor: Removes the CSS files from the Heatmap plugin

* Adds peer dependencies
2022-03-31 13:32:20 -03:00
Michael S. Molina 13467beb53 refactor: Removes the CSS files from the Calendar Heatmap plugin (#19436) 2022-03-31 13:31:20 -03:00
Michael S. Molina 31095a523d chore: Removes plugin-chart-pivot-table hard-coded colors (#19439) 2022-03-31 13:30:36 -03:00
Michael S. Molina 47abad8673 chore: Removes hard-coded colors from legacy-preset-chart-nvd3 (#19443) 2022-03-31 13:29:54 -03:00
smileydev 6d89ffbcb7 fix(dashboard): make to show the correct owned objects (#19372)
* fix(dashboard): make to show the correct owned objects

* fix(dashboard): make to filter is reusable

* fix(homepage): make sure the type Array<Filters>

* fix(homepage): make to display dashboard correctly by owners
2022-03-31 17:10:21 +03:00
Yongjie Zhao 6b136c2bc9 fix: can't save dataset modal (#19452) 2022-03-31 16:29:52 +08:00
129063d544 fix: Removetime_range_endpoints from query context object (#19423)
* template for remove time_range_endpoints from query context

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>

* fix reference

* fix column reference

* fix

* Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-03-30 17:26:10 -07:00
David Aaron Suddjian 8e29ec5a66 feat: Embedded dashboard configuration (#19364)
* embedded dashboard model

* embedded dashboard endpoints

* DRY up using the with_dashboard decorator elsewhere

* wip

* check feature flags and permissions

* wip

* sdk

* urls

* dao option for id column

* got it working

* Update superset/embedded/view.py

* use the curator check

* put back old endpoint, for now

* allow access by either embedded.uuid or dashboard.id

* keep the old endpoint around, for the time being

* openapi

* lint

* lint

* lint

* test stuff

* lint, test

* typo

* Update superset-frontend/src/embedded/index.tsx

* Update superset-frontend/src/embedded/index.tsx

* fix tests

* bump sdk
2022-03-30 12:34:05 -07:00
Ville Brofeldt a4c261d72c docs: add 1.4.2 changelog entries (#19411) 2022-03-30 19:31:51 +03:00
Michael S. Molina 193744842b chore: Disables no literal colors for the theme configuration (#19437) 2022-03-30 11:57:21 -03:00
Daniel Vaz Gaspar 2451937097 fix: missing init on importexport pkg (#19435) 2022-03-30 15:43:08 +01:00
Daniel Vaz Gaspar fa35109bf2 fix: add missing init on python pkg key_value (#19428)
* fix: add missing init on python pkg key_value

* fix lint issues

* fix lint issues
2022-03-30 12:46:42 +01:00
Srini Kadamati a8e7624eb5 chore: attempt to force docs deploy (#19424) 2022-03-30 10:13:09 +03:00
Beto Dealmeida 63b5e2e4fa perf: improve perf in SIP-68 migration (#19416)
* chore: improve perf in SIP-68 migration

* Small fixes

* Create tables referenced in SQL

* Update logic in SqlaTable as well

* Fix unit tests
2022-03-29 22:33:15 -07:00
Phillip Kelley-Dotson 0968f86584 chore: remove deprecated config keys and endpoints code 2.0 (#19361)
* remove depracted keys and associated methods

* remove api methods and tablemodel views

* remove deprecated api and unsued vars

* reremove schedules

* readd code

* fix pylint

* run black

* remove test

* core select start test

* add suggested changes
2022-03-29 13:23:05 -07:00
Srini Kadamati 9d71f33d62 chore: update slack invite url (#19412)
* chore: update slack invite url

* small fix in CoC
2022-03-29 15:13:15 -04:00
Kamil Gabryjelski a076ae6d99 feat(explore): UI changes in dataset panel on Explore page (#19394)
* feat(explore): Implement new design for dataset panel

* Fixes

* Replace drag handle in dashboard builder

* Add missing types

* Type fix

* Fix tests

* Fix non-dnd version

* Fix test

* Replace margin with height
2022-03-29 21:11:08 +02:00
Ville Brofeldt a619cb4ea9 chore: upgrade black (#19410) 2022-03-29 20:03:09 +03:00
Michael S. Molina 816a2c3e1e chore: Removes direct theme imports (#19368) 2022-03-29 10:15:07 -03:00
Beto Dealmeida d304849b46 feat: disable edits on external assets (#19344)
* feat: disable edits on external assets

* Update tests
2022-03-28 16:32:57 -07:00
Evan Rusackas b689ac2d11 chore: bump storybook to 6.4.19, migrating config, and linting storybook config (#19245)
* chore: bump storybook to 6.4.19 and reconfigure accordingly

* now linting the storybook directory, since it gets validated by CI

* linting 
2022-03-28 14:02:47 -03:00
Yongjie Zhao a39dd4493e feat: linear imputation in Resample (#19393) 2022-03-28 22:30:45 +08:00
GeidoandMichael S. Molina 6b9113a17b chore: Eslint custom plugin to warn about hex and literal colors (#19239)
* wip

* Add eslint custom plugin

* Refactor

* Clean up

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Refactor

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Clean up

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-28 16:11:34 +03:00
Sujith Kumar SandVille Brofeldt d46a550774 docs: Correcting the document font size (#19390)
* Correcting with doc font size

Correcting with doc font size

* Correcting with doc font size

Correcting with doc font size

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-03-28 11:04:04 +03:00
Stephen Liu 6f5778273e chore: add type checking in plugin test directory (#19387) 2022-03-28 10:20:06 +08:00
smileydev 5ae7e54999 fix(database): make to allow the expose db as default in sqlalchemy form db (#19337) 2022-03-25 15:47:14 -06:00
Phillip Kelley-Dotson 394c9a19fd chore: remove old alerts and configs keys (#19261)
* remove templates

* remove models and more templates

* remove view

* remove tasks

* remove views

* remove schedule models

* remove views, init files config code

* remove supersetapp init code

* remove tests and clean up pylint errors

* remove unused import

* pylint

* run black

* remove deprecate notice
2022-03-25 13:25:44 -07:00
Jean-Louis Queguiner 2b53578ad7 Fix add-driver-docker in Readme (#19321) 2022-03-25 11:18:19 -04:00
Ville Brofeldt 02308a6f78 fix(caching): support metastore cache for non-required caches (#19369)
* fix(caching): support metastore cache for non-required caches

* lint
2022-03-25 16:19:35 +02:00
Ville Brofeldt 6141a9aa4a chore: add support for npm8 (#19365) 2022-03-25 11:07:30 +02:00
Kamil Gabryjelski 45c28c8046 feat(explore): Dataset panel option tooltips (#19259)
* feat(explore): Add description to column/metric tooltips in dataset panel

* Fix tests

* Address code review comments
2022-03-25 07:55:11 +01:00
smileydev 446358642f fix(explore-sqllab): make that Timestamp column keep the Is temporal flagged when overwriting (#19010) 2022-03-24 18:20:39 -06:00
Yongjie Zhao e15573d445 fix: number format should editable when AA in time comparison (#19351) 2022-03-25 07:58:53 +08:00
smileydev cb0357005e fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart (#19122)
* fix(report-add): make to add error toast message when already attached report is added again into dashboard or chart

* fix(export-add): make to setup the default error message

* fix(report-add): make to allow the errorMessage undefined in LabeledErrorBoundInput component
2022-03-24 17:18:34 -06:00
Smart-Codi 8947eb9680 fix: Remove gap from SQLLab results bottom (#19138)
* Remove gap from SQLLab results bottom

* resolve comment
2022-03-24 16:53:43 -06:00
Geido a2bb91243a Fix NoAuthorizationError (#19355) 2022-03-25 00:02:54 +02:00
Ville Brofeldt f4b71abb22 feat: introduce hashids permalink keys (#19324)
* feat: introduce hashids permalink keys

* implement dashboard permalinks

* remove shorturl notice from UPDATING.md

* lint

* fix test

* introduce KeyValueResource

* make filterState optional

* fix test

* fix resource names
2022-03-24 21:53:09 +02:00
KasiaandKasia Zajac dc769a9a34 fix: Adaptive formatting spelling (#19359)
Co-authored-by: Kasia Zajac <kasiazajac@Kasias-MacBook-Pro-2.local>
2022-03-24 20:51:06 +01:00
Beto Dealmeida c7f9060a2f feat: import external management columns (#19315)
* feat: import flags

* Add tests
2022-03-24 10:41:22 -07:00
Ville Brofeldt 3313530f4d docs: update lock + general cleanup (#19350)
* docs: update lock file

* remove redundant npm lock file

* add missing peer deps

* fix TODO and bump antd

* fix API spec script
2022-03-24 15:43:30 +02:00
Daniel Vaz Gaspar f37fc1a7f0 chore: bump majors on celery and Flask (#19168)
* chore: bump celery, Flask, flask-jwt-extended, pyJWT

* fix pyJWT breaking change

* fix pyJWT breaking change 2

* test

* fixed test

* fixed test

* fixed test

* revert since mypy won't pick the correct signature

* lint 1

* fix test

* fix test

* docs and celery config migration

* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES

* update docs for new celery config keys

* downgrade celery to 5.2.2

* ref FAB to final 4.0.0 release

* remove conflict left over
2022-03-24 09:16:53 +00:00
Erik Ritter 2af2d00e85 fix: typo on doc string (#19346) 2022-03-24 09:15:56 +00:00
202e34a259 feat: add duckdb as DataSource - Fixes #14563 (#19317)
* + duckdb support

needs the forked version of [duckdb-engine](https://github.com/alitrack/duckdb_engine)

* Update duckdb.py

update  _time_grain_expressions

* removed superfluous get_all_datasource_names def in duckdb engine spec

* added exception handling for duckdb single-threaded RuntimeError

* fixed linter blips and other stylistic cleanup in duckdb.py

* one last round of linter tweaks in test_connection.py for duckdb support

Co-authored-by: Steven Lee <admin@alitrack.com>
Co-authored-by: Richard Whaling <richardwhaling@Richards-MacBook-Pro.local>
2022-03-24 15:07:57 +08:00
Beto Dealmeida 9766726b26 feat: external management flags in CRUD (#19318) 2022-03-23 15:38:33 -07:00
Michael S. Molina 65c204b288 fix: Null values on Explore filter (#19341) 2022-03-23 17:23:57 -04:00
Norman Hooper 3340f05dd3 Use three backticks for code blocks (#19331) 2022-03-23 17:20:08 -04:00
NDandAndreas Burner 7ba06ee944 Correcting some typos (#19338)
Co-authored-by: Andreas Burner <andreas.burner@smartstream-stp.com>
2022-03-23 17:19:32 -04:00
Lily Kuang 0ad692511e fix(embedded): download chart as image (#19339) 2022-03-23 14:04:07 -07:00
Kamil Gabryjelski a08f83bc60 fix(dashboard): Chart stuck in loading state when when datasets request and chart request fail (#19327) 2022-03-23 15:43:32 +01:00
smileydev 468c5ca29a fix(explore): make to convert null to N/A in view results (#19316)
* fix(explore): make to convert null to N/A in view results

* fix(explore): make to null formatter move before timeFormatter
2022-03-23 08:02:52 -06:00
Diego Medina 9e58916d93 fix: regression on Select component when handling null values (#19326) 2022-03-23 10:31:38 -03:00
Stephen Liu b0397beb8e chore: add type checking in package tests directory (#19320) 2022-03-23 18:57:35 +08:00
Sujith Kumar S 54c521ba77 docs: SECRET_KEY Rotation Documentation (#19233)
* SECRET_KEY Rotation

Additional documentation for SECRET_KEY rotation and SECRET_KEY setting up.

* Bumped the helm chart version to 0.5.11

Bumped the helm chart version for the new changes.

* Removed the default secret key value from the configuration docs.

Removed the default secret key value from the configuration docs.
2022-03-23 10:14:46 +00:00
Daniel Vaz Gaspar 87e36d6abb chore: bump FAB to 3.4.5 (#19323) 2022-03-23 10:13:16 +00:00
Daniel Vaz Gaspar ff6ee3766c ci: add more code owners to helm chart source (#19322) 2022-03-23 10:12:44 +00:00
Ville Brofeldt b7ecb14230 fix(dashboard): fix default filter bar visibility + add docs (#18741)
* fix(dashboard): fix default filter tab visibility + add tests

* fix types

* lint

* rename docs + add double bang to length
2022-03-23 08:55:03 +02:00
Yongjie Zhao 375c03e084 feat(advanced analysis): support MultiIndex column in post processing stage (#19116) 2022-03-23 13:46:28 +08:00
AAfghahi 6083545e86 docusearch (#19289) 2022-03-22 17:27:41 -04:00
Evan Rusackas e45235e482 chore: fixing a pluralization typo (#19295) 2022-03-22 14:44:03 -06:00
Geido d10a3d8bba fix: Logo resizing on page load (#19307)
* fix resizing logo

* Refactor
2022-03-22 19:34:49 +02:00
Ville Brofeldt 7ca10fb770 fix(cache): only warn about fallback cache for non-debug mode (#19305) 2022-03-22 18:34:41 +02:00
Beto Dealmeida b05e7dbf2a feat: API for asset sync (#19220)
* feat: API for asset sync

* Add unit tests.

* Improve tests

* Move files

* Add more tests
2022-03-22 08:29:24 -07:00
Michael S. Molina d3ce398448 fix: Don't allow duplicated tag values in the Select (#19283)
* fix: Don't allow duplicated tag values in the Select

* Addresses comments and adds test
2022-03-22 09:05:22 -03:00
Kamil Gabryjelski a8a48af7fa chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages

* Make html tags themable

* Set bold font weight to 600, add medium font weight to theme

* Replace hard coded font weights with theme variables

* Change some font weight light elements to normal

* Fix tests

* Fix bug in pivot table

* Address code review comments
2022-03-22 09:36:15 +01:00
David Aaron Suddjian 35b8a72dae Update ToastPresenter.tsx (#19296) 2022-03-22 10:10:43 +02:00
David Aaron Suddjian f9feb1b7f3 allow overriding the guest token PyJWT instance (#19293) 2022-03-21 15:51:39 -07:00
Diego Medina 4669b6ce11 fix: most Recently Selected Table Should Appear at the Top of the List on the Left Panel (#19258) 2022-03-21 15:58:23 -06:00
smileydev 29cba2b00c fix(dashboard): make to show the correct owned objects (#19223)
* fix(dashboard): make to show the correct owned objects

* fix(dashboard): make to filter is reusable

* fix(homepage): make sure the type Array<Filters>
2022-03-21 15:51:10 -06:00
Diego Medina 54f1b35161 chore: add missing keys to components inside lists (#19161) 2022-03-21 15:47:48 -06:00
Phillip Kelley-Dotson d771ddbb94 feat: allow uploads in crud view (#18953)
* feat: allow uploads in crud view

* fix merge conflict and fix ts

* fix import

* fix tests

* fix lint

* remove unused var

* fix underline flash and alignment

* fix offset

* fix icon alignment

* fix labels and css issues

* make drowdown primary all the time

* make global

* fix lables

* add upload perms to utils

* remove unused code

* add suggested changes

* update menuright
2022-03-21 13:01:36 -07:00
9ae51f7a48 chore: Remove logo forced width (#19049)
* Remove logo forced width

* improve styling

* improve paddings

* Update UPDATING.md

* Fixes a typo

* Add fixed height

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-03-21 19:51:20 +02:00
Ville Brofeldt 72b9a7fa5b feat(key-value): add superset metastore cache (#19232) 2022-03-21 19:46:56 +02:00
John BodleyandJohn Bodley 82a6811e7e fix(presto/trino): Add TIME/TIMESTAMP WITH TIME ZONE (#19263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-22 06:33:38 +13:00
David Aaron Suddjian 96a123f553 feat: SupersetClient config to override 401 behavior (#19144)
* wip

* feat: make 401 responses configurable in SupersetClient

* sort

* guest unauthorized handler

* add toast container to embedded app

* add option for toast presenter to go at the top

* remove confusing comms logging

* lint

* Update superset-frontend/src/embedded/index.tsx

* type correction
2022-03-21 10:19:21 -07:00
Elizabeth Thompson 88029e21b6 fix dataset update table (#19269) 2022-03-21 09:43:51 -07:00
PApostol c07a707eab Various docstring fixes (#18221) 2022-03-21 13:01:57 -03:00
Daniel Vaz Gaspar af91a13670 chore: remove PUBLIC_ROLE_LIKE_GAMMA deprecated config key (#19274) 2022-03-21 14:57:38 +00:00
prassanna-helixsense-com d215cbcdc8 Update README.md (#19270) 2022-03-21 09:44:29 -04:00
Daniel Vaz Gaspar 783168e13f chore: remove deprecated celery cli (#19273)
* chore: remove deprecated celery cli

* remove configs and UPDATING
2022-03-21 13:09:38 +00:00
Stephen Liu dc575080d7 feat: improve color consistency (save all labels) (#19038) 2022-03-21 15:20:04 +08:00
Elizabeth ThompsonandBeto Dealmeida e1d0b83885 chore: update updating with druid no sql deprecation (#19262)
* update updating with druid no sql deprecation

* Update UPDATING.md

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-03-20 21:31:44 -07:00
Elizabeth Thompson d645579cdd chore!: update mutator to take kwargs (#19083)
* update mutator to take kwargs

* update updating.md

* lint

* test that the database name is properly passed in to the mutator
2022-03-18 16:01:27 -07:00
Ville Brofeldt f341025d80 feat: add support for comments in adhoc clauses (#19248)
* feat: add support for comments in adhoc clauses

* sanitize remaining freeform clauses

* sanitize adhoc having in frontend

* address review comment
2022-03-18 15:08:06 -07:00
David Aaron Suddjian 97abc28a1f chore!: remove ENABLE_REACT_CRUD_VIEWS feature flag (permanently enable) (#19231)
* remove ENABLE_REACT_CRUD_VIEWS feature flag

* docs

* deal with problematic tests

* empty test suite

* skip test

* test conditions changed

* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
Diego Medina 4f0074a4ae fix: custom SQL in Sort By Breaks Bar Chart (#19069) 2022-03-18 13:17:12 -06:00
Grace Guo d41f9b23a4 chore(superset 2.0): remove front-end deprecated code (#19241) 2022-03-18 11:23:00 -07:00
smileydev b888341090 fix(chart-crud): make to update Viz type Filter label to Chart type (#19140) 2022-03-18 11:57:34 -06:00
50902d51f5 fix: allow subquery in ad-hoc SQL (WIP) (#19242)
* allow adhoc subquery

* add config for allow ad hoc subquery

* default to true allow adhoc subquery

* fix test

* Update superset/errors.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/connectors/sqla/utils.py

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* rename and add doc string

* fix for big query test

* Update superset/connectors/sqla/utils.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Apply suggestions from code review

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* add test

* update validate adhoc subquery

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-03-18 10:04:55 -07:00
Elizabeth Thompson 48a12ade8c update changelog and updating files from 1.4.1 (#18648) 2022-03-18 08:27:57 -07:00
smileydev e7355b9610 fix(explore comma): make that the comma can be added by removing it from token separators… (#18926)
* make that the comma can be added by removing it from token separators in select component.

* fix(explore comma): add the allowTokenSeperators props into Select

* fix(explore comma): make to allow to customize the token separators in Select.

* fix(explore comma): make to add the unit test and story book.

* fix(explore comma): make to fix the lint

* fix(explore comma): make to fix the spell  & add tokenSeparatprs props to PickedSelectProps

* Update Select.tsx

* fix(explore comma): make to run lint fix
2022-03-18 11:39:26 -03:00
Venu Vardhan Reddy Tekula 2a89da2ef1 docs: fix broken links in the documentation (#19235) 2022-03-18 09:42:14 -04:00
Stephen Liu 10eb6c77a4 chore: use order_desc shared control consistently (#19172) 2022-03-18 21:28:47 +08:00
Yongjie Zhao b5e9fad11a fix: adhoc column in legacy chart (#19234) 2022-03-18 14:05:30 +08:00
Jesse Yang f6291545fb chore: turn on SQLLAB_BACKEND_PERSISTENCE by default (#19107)
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default

* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
Diego Medina aa5c80bda6 fix(sql lab): deleting the last saved query or the last executed from history (#19225)
* fix: fix issue when deleting the last saved query or the last executed query

* merge migration
2022-03-17 15:01:18 -06:00
Beto Dealmeida 51061f0d67 feat: import/export assets commands (#19217)
* feat: import/export assets commands

* Add overwrite test

* Fix tests
2022-03-17 10:51:17 -07:00
Jesse Yang 92cd0a18e6 chore: upgrade mypy (#19227) 2022-03-17 10:35:53 -07:00
AAfghahi c345029fbc chore!: turn on Versioned Export in config.py (#19142)
* turning off versioned export

* deleted two tests that required version export false

* added tests

* test suggestions
2022-03-17 13:32:50 -04:00
Kamil Gabryjelski 6593a727f2 chore: Update UPDATING.md with info about flipping dnd feature flag (#19108) 2022-03-17 11:19:29 -06:00
Diego MedinaandMichael S. Molina 19fcd03c89 fix: allow to select <NULL> in a native filter single mode (#19076)
* fix: allow to select <NULL> in a native filter single mode

* fix lint issue

* Update superset-frontend/src/components/Select/utils.ts

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* fix

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-17 14:05:32 -03:00
smileydev d099f5ed4a fix(select): make to consider the case sensitive in case of d3 format selector (#19159) 2022-03-17 10:04:03 -07:00
Hugh A. Miles II 3230415e22 remove config (#19146) 2022-03-17 09:19:11 -07:00
Craig Rueda 4b34817b19 feat(ui): Adding manifest prefix config (#19141)
* Adding manifest prefix config

* Fixing broken tests

* Fixing import

* Adding prefix for remaining assets

* Changing static prefix strategy

* Fixing DST test

* Fixing up formatting

* Fixing up async_query_manager.py types
2022-03-17 08:58:48 -07:00
cccs-Dustin 02ef9ca4cd feat(sqllab): Add a configuration option to disable data preview (#19104) 2022-03-17 15:22:57 +02:00
Diego Medina cfb967f430 feat: scroll to bottom when adding a new native filter and the page is filled (#19053)
* feat: Scroll to bottom when adding a new native filter and the page is filled

* Add test
2022-03-16 20:47:15 -06:00
Diego Medina 0277ebc225 fix: Popovers in Explore not attached to the fields they are triggered by (#19139)
* fix: Popovers in Explore not attached to the fields they are triggered by

* fix

* PR comment

* remove unused import
2022-03-16 20:46:52 -06:00
Diego Medina 3b427b2029 fix: auto-complete of tables and names are not working in SQL lab (#19152) 2022-03-16 20:46:06 -06:00
Yongjie Zhao e4c9a0d8ae fix: time filter should be [start, end) (#19166) 2022-03-17 10:02:50 +08:00
Beto Dealmeida a4848a2f46 chore: refactor import command (#19216) 2022-03-16 18:01:31 -07:00
Ville Brofeldt b7a0559aaf feat: add permalink to dashboard and explore (#19078)
* rename key_value to temporary_cache

* add migration

* create new key_value package

* add commands

* lots of new stuff

* fix schema reference

* remove redundant filter state from bootstrap data

* add missing license headers

* fix pylint

* fix dashboard permalink access

* use valid json mocks for filter state tests

* fix temporary cache tests

* add anchors to dashboard state

* lint

* fix util test

* fix url shortlink button tests

* remove legacy shortner

* remove unused imports

* fix js tests

* fix test

* add native filter state to anchor link

* add UPDATING.md section

* address comments

* address comments

* lint

* fix test

* add utils tests + other test stubs

* add key_value integration tests

* add filter box state to permalink state

* fully support persisting url parameters

* lint, add redirects and a few integration tests

* fix test + clean up trailing comma

* fix anchor bug

* change value to LargeBinary to support persisting binary values

* fix urlParams type and simplify urlencode

* lint

* add optional entry expiration

* fix incorrect chart id + add test
2022-03-17 01:15:52 +02:00
Beto Dealmeida d01fdad1d8 feat: add export_related flag (#19215)
* feat: add export_related flag

* Fix lint
2022-03-16 16:03:06 -07:00
Hugh A. Miles II fc8721800b fix: Revert "refactor: converted QueryAutoRefresh to functional component … (#19226)
* Revert "refactor: converted QueryAutoRefresh to functional component (#18179)"

This reverts commit f497c1900e.

* lint
2022-03-16 15:57:35 -07:00
Jesse Yang 8d53db1db6 test: fix TimezoneSelector tests on daylight saving time (#19156) 2022-03-16 14:47:41 -07:00
Hugh A. Miles II 181ecf4509 fix: Logic for showing extension in Global Nav (#19158)
* fix logic for checking extensions

* add specific types

* fix lint
2022-03-16 14:39:08 -07:00
Lyndsi Kay Williams bb618a47ff fix(sqllab): Updated blank states for query results and query history (#19111)
* Empty states updated on result tab and query history tab

* Testing on query history blank state

* Testing on result tab with empty state

* Forgot to remove a comment

* Corrected empty state image size and centered with drag bar

* Centered blank states vertically
2022-03-16 14:09:19 -05:00
David Aaron Suddjian 3d66912d89 fix: clean up chart metadata config (#19143)
* fix: clean up chart metadata config

* missed a spot

* missed another spot

* fix failing time-specific test

* can't call translation functions here

* Revert "fix failing time-specific test"

This reverts commit 3eeb8ab9cc.

* skip problematic test

* extra import
2022-03-16 09:59:56 -07:00
smileydev 30c97ad5bf fix(dashboard-css): make to stay custom css when reload (#19084)
* fix(dashboard-css): make to stay custome css when reload

* fix(dashboard-css): make to add injectCustomCSS into HeaderActionsDropdown.test.tsx
2022-03-15 23:10:55 -06:00
smileydev 8e7af79aa9 fix(dbs-dropdown): make to allow the search in supported db dropdown (#19125) 2022-03-15 23:09:56 -06:00
Diego Medina 74910f99d8 fix(dashboard): scrolling table viz overlaps next chart (#19121) 2022-03-15 23:01:21 -06:00
Jinghuayao 981f09b5db test(native filter): add new native filter test (#19115)
* add new native filter test
2022-03-15 08:16:06 -07:00
John BodleyandJohn Bodley e3e03d202d chore: Deprecate Python 3.7 (#19017)
* chore: Deprecate Python 3.7 and add support for Python 3.10

* Update local-backend.mdx

* Update UPDATING.md

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-15 06:29:18 +13:00
David Aaron Suddjian 54b60ded8e chore(embedded): refresh the guest token (#19132)
* refresh the guest token

* put back the date logic

* version

* fix time hijinks

* test

* Update superset-embedded-sdk/src/guestTokenRefresh.ts
2022-03-14 09:32:25 -07:00
Evan Rusackas 76b4a14d30 chore(config): Migrating ENABLE_JAVASCRIPT_CONTROLS from app config to a feature flag (#19113)
* first pass migrating config to ff

* nixing a console log from testing

* adding an entry to `UPDATING.md`

* linting 

* Adding ENABLE_JAVASCRIPT_CONTROLS to FEATURE_FLAGS.md

* no longer in need of state!

* Turning the flag back off

* linting... le sigh

* and more linting...
2022-03-14 08:54:02 -06:00
Beto Dealmeida 8234395466 feat: helper functions for RLS (#19055)
* feat: helper functions for RLS

* Add function to inject RLS

* Add UNION tests

* Add tests for schema

* Add more tests; cleanup

* has_table_query via tree traversal

* Wrap existing predicate in parenthesis

* Clean up logic

* Improve table matching
2022-03-11 14:47:11 -08:00
Hugh A. Miles II c337491d0e fix: Add perm for showing DBC-UI in Global Nav (#19023)
* add perm for global db add

* fix permissions

* missing roles params
2022-03-11 13:37:26 -08:00
Jesse Yang ae13d8313b feat(select): keep options order when in single mode (#19085) 2022-03-11 13:01:38 -08:00
Lily Kuang 124cb0dc66 feat(embedded): add optional dashboard ui configuration (#19031)
* feat: add optional dashboard ui configuration

* change all flags to boolean

* update README and lint
2022-03-11 12:37:47 -08:00
Stephen LiuandEvan Rusackas 7524e1e3c8 feat(viz-gallery): add 'feature' tag and fuzzy search weighting (#18662)
* feat(viz-gallery): add 'feature' tag and fuzzy search weighting

* add search weight

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* some improvements

* take metadata out

* use chartLabel enum to unify

* add test chart

* fix cache

* Resolving TS Lint issue

* Appeasing the linter

* Removing one example implementation

* Removing another example label implementation

* Removing the third example label implementation

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-03-11 01:49:10 -07:00
Jesse Yang 3a78165d13 refactor(TimezoneSelector): simplify override logics and tests (#19090) 2022-03-10 18:09:20 -08:00
smileydev 158396fb6c fix(dashobard-edge-cutting): make to be not cut without Filter (#19080) 2022-03-10 16:15:51 -07:00
Lily Kuang 27268169e4 fix: cache key with guest token rls (#19110)
* add guest rls clause to cache key

* lint

* pylint

* add app back
2022-03-10 13:49:47 -08:00
7vikpeculiar a37a4ed35f Modified alerts and reports docs for clarity (#19091) 2022-03-10 10:39:15 -05:00
Kamil Gabryjelski 70081a698f fix(dashboard): Empty states overflowing small chart containers (#19095)
* fix(dashboard): Empty states overflowing small chart containers

* Fix test
2022-03-10 15:54:07 +01:00
Kamil Gabryjelski b8091e33a9 perf(dashboard): Send chart requests before native filter requests (#19077) 2022-03-10 13:37:02 +01:00
smileydev c79ee56884 fix(plugin-chart-echarts): make to allow the custome of x & y axis title margin i… (#18947)
* fix(chartviz): make to allow the custome of x & y axis title margin in  chart

* fix(chartviz): add eslint radix error in chart.js

* fix(chartviz): change the transformProps in chart plugin & creat helper.

* fix(chartviz): lint fix & chart.js back

* fix(plugin-chart-echarts): make to allow the custom margin of X & y axis in BoxPlot & Mixedtimeseries charts

* fix(plugin-chart-echarts): make to change changeNumber to changeInteger

* fix(plugin-chart-echarts): make to add license & change file name
2022-03-10 12:59:07 +01:00
Ville Brofeldt 999c2c6826 fix(dashboard): import handle missing excluded charts (#19088) 2022-03-10 12:59:29 +02:00
Smart-Codi bc6aad0a88 fix: Show Totals error with sort and group by together (#19072) 2022-03-09 21:35:29 -07:00
Smart-Codi e97cdba092 fix database import error (#19037) 2022-03-09 21:23:13 -07:00
Hugh A. Miles II a21d8a0bf4 fix autocomplete (#19047) 2022-03-09 19:07:22 -08:00
Diego Medina 0e0beceac1 fix: Pivot Table Conditional Formatting Doesn't Show All Options (#19071)
* fix: Pivot Table Conditional Formatting Doesn't Show All Options

* PR comments

* PR comments
2022-03-09 15:04:04 -07:00
smileydev 62ad574c24 fix(allow-db-explore): make that the set the allow-db-explore option (#19030) 2022-03-09 14:59:57 -07:00
Kamil Gabryjelski 3c1fb944c1 perf(dashboard): Improve performance of complex dashboards (#19064)
* perf(dashboard): Improve performance of filter indicators

* Improve perf of cross filters

* Rename old function

* Fix undefined

* fix type

* fix tests

* fix undefined

* Address code review comments

* Address code review comments
2022-03-09 22:39:58 +01:00
smileydev 220c46131e fix(altered-modal): make specified text fields wrap in table (#18822)
* fix(altered-modal): make all text fields wrap

* fix(altered-modal): limit the wrap text in particular column

* fix(altered-modal): make to update the unit test

* fix(altered-modal): make to fix the type of columnsForWrapText

* fix(alerted-modal): make to fix the type of columnsForWrapTest with string type
2022-03-09 12:43:16 -07:00
Diego Medina fd757c4aa4 fix: enable find text browser functionality inside SQL Lab editor (#19061) 2022-03-09 12:27:10 -07:00
Diego Medina bd76648e4e fix: show the total row count in the SQL Lab Query History tab when limited by DISPLAY_MAX_ROW (#19054) 2022-03-09 12:19:18 -07:00
Geido f53f86f796 Control sortby based on series limit (#18950) 2022-03-09 20:12:45 +02:00
Michael S. Molina 79a7a5d1b1 fix: Select clear and loading icons overlap (#19070) 2022-03-09 10:03:30 -03:00
Michael S. Molina fd154f7ba6 fix: Dataset search when creating a chart (#19065) 2022-03-09 09:25:43 -03:00
Elizabeth Thompson c143b37128 chore: log multiple errors (#14064)
* log all errors from db create

* return unique set of errors

* sort set for exceptions list

* run black
2022-03-08 17:31:19 -08:00
Grace GuoandJesse Yang d539fc217a fix(time-series table): display null values in time-series table and sortable (#19024)
* fix: display null values in time-series table and sortable

* add unit test

* fix unit test

* Add sortNumericValues with different nan treatment

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2022-03-08 17:03:49 -08:00
Phillip Kelley-Dotson bb17decb06 fix: ensure validation for db modal for googlesheets (#19018)
* fix: ensure validation for db modal for googlesheets

* chain async function
2022-03-08 16:21:12 -08:00
Srini Kadamati 7af26a0492 docs: renamed yugabyte to yugabytedb (#19068)
* docs: renamed yugabyte to yugabytedb

* fixed redirect error

* pass that test!
2022-03-08 17:29:22 -05:00
Diego Medina aa0ec717a2 Add previous line hotkey to SQL editor for macOS (#19052) 2022-03-08 14:26:36 -07:00
Thomas Desrosiers 03b2b06e90 fix: Update time grain expressions for Spark >= 3.x (#18690)
* Fix the time grain expressions for Spark >= 2.3.0

Spark removed date format string 'u' in Spark 3.0. Switch to using date_trunc which has been around since 2.3

* Review: Pull out time_grain_expressoins into its own thing
2022-03-08 13:21:13 -08:00
Kamil Gabryjelski f9c7405e0e chore(explore): Set Drag&Drop feature flags to True by default (#19046)
* chore(explore): Set Drag&Drop feature flags to True by default

* fix tests
2022-03-08 18:50:51 +01:00
Phillip Kelley-Dotson 4d96393faf fix: remove unnecessary divider (#19048)
* fix: remove unnecessary divider

* remove console
2022-03-08 09:49:48 -08:00
Jesse Yang c75f233109 feat(select): sort exact and startsWith match to first (#18856) 2022-03-08 07:08:40 -08:00
Michael S. Molina 04a36d5c92 chore: Moves Chart to the components folder (#19029) 2022-03-08 08:57:29 -03:00
chanyou0311 2cc5678dfc Install and use vm-browserify for sandboxedEval (#19059) 2022-03-08 13:27:41 +02:00
Alex Rothberg e89f0abf95 docs(building): link frontend asset instructions correctly (#19050) 2022-03-07 12:39:39 -08:00
Erik Ritter 002bd6ed0a fix: improve cypress flakiness (#19044) 2022-03-07 09:24:54 -08:00
Ville Brofeldt 1b7d056126 chore(plugin-chart-echarts): bump echarts 5.3.1 (#19041) 2022-03-07 14:29:16 +02:00
pablo-guerraandpablo.guerra-at-026399402087 44675037bd chore: adding Dutch language translations (NL) (#18965)
* added NL translations

* added Dutch to config

* fixed end of line on .po file

Co-authored-by: pablo.guerra-at-026399402087 <pablo.guerra@026399402087>
2022-03-07 14:27:05 +02:00
Michael S. Molina 71b8d31e77 chore: Moves CRUD components to the Datasource component (#19032)
* chore: Moves CRUD components to the Datasource component

* Fixes imports

* Fixes less import
2022-03-07 09:02:18 -03:00
Stephen Liu c32eaf47e5 fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month (#19043)
* fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month

* use start frequency.
2022-03-07 11:29:34 +02:00
Duc Le Tu b2ee13f6f8 Update impala.mdx (#19040) 2022-03-07 09:45:44 +02:00
Karthikeyan Singaravelan 864bafc655 chore: Fix deprecated unittest aliases. (#19042) 2022-03-07 09:38:19 +02:00
Hugh A. Miles II 8c52fe3476 feat: Allow users to bust cache in report dashboard + alerts charts + alert dashboards (#18795)
* wip

* add force cahce bypass option to alerts

* remove default for alerts to bypass cache

* save for now

* save for now

* fix

* commenting out for now

* fix linting

* remove link

* add back force id test

* add frontend test

* address
2022-03-04 12:30:40 -08:00
Michael S. Molina 329855170e refactor: Deletes the common/components folder (#18999) 2022-03-04 14:19:14 -03:00
Kamil Gabryjelski 9f834e8317 fix(plugin-chart-echarts): Apply temporary filters to Query B in explore (#18998)
* fix(explore): Extra filters not applied to query b in mixed timeseries

* Add return type

* Apply review comment

* Fix non-dnd filters
2022-03-04 17:48:41 +01:00
cccs-Dustin 5a5ff99c37 fix(SQL Editor): names new query tabs correctly (#18951)
* Added in code changes that now properly increment the Untitled Query SQL Lab tab names. All that is left is to add tests to make sure that the function works correctly

* Updated the code so that it adds to the untitled_query_numbers variable only if the character after the string 'Untitled Query ' is a number. This prevents any issues when trying to get the maximum value in the list.

* Refactored part of the mapping code, to make it shorter and easier to read/understand

* Fixed issues in the code that were causing some of the CI tests to fail

* Made code changes based on comments within the PR. Also added a unit test to make sure that the newQueryEditor function in the TabbedSqlEditors component works as intended

* Fixed the failing cypress test in tabs.test.js
2022-03-04 18:28:30 +02:00
Michael S. MolinaandKamil Gabryjelski 06e1e4285e feat: Adds support to multiple dependencies to the native filters (#18793)
* chore(native-filters): Remove cascading popovers from filter bar

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-03-04 13:06:10 -03:00
Phillip Kelley-Dotson 299b5dc644 chore: change case for upload selection (#19021)
* chore: change case for upload selection

* fix label
2022-03-03 19:47:47 -08:00
Beto Dealmeida 50bb86d666 fix: remove unneeded complexity in migration (#19022) 2022-03-03 16:56:38 -08:00
AAfghahi 77063cc814 updating.md (#19016) 2022-03-03 16:25:48 -05:00
smileydev 6fe2431676 fix(nested-tab-available): make the another tabs into one tabs available (#18877)
* fix(nested-tab-available): make the another tabs into one tabs available

* fix(netsted-tab): remove code of disable nested tab
2022-03-03 13:22:49 -07:00
John BodleyandJohn Bodley 26486d01c1 chore: Remove legacy SIP-15 interim logic/flags (#18936)
* chore: Remove legacy SIP-15 logic

* Update ab9a9d86e695_deprecate_time_range_endpoints.py

* Update UPDATING.md

* Update UPDATING.md

* Update UPDATING.md

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-04 09:15:36 +13:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 6becd38e7f chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (#19019)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 12:53:29 -07:00
Jesse Yang 5a8eb09afb feat: remove loading indicator when typing in select (#18799) 2022-03-03 09:40:49 -08:00
Beto Dealmeida be88cb9ba0 feat: show user email in dashboard API (#19004)
* Feat: show user email in dashboard API

* Fix test
2022-03-02 17:02:26 -08:00
John BodleyandJohn Bodley 19eb73b316 fix(sqllab): Replace stringified 'null' schema column values with NULL (#18992)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-03 07:12:52 +13:00
Ville Brofeldt a04f1d4c87 chore(cache): default to SimpleCache in debug mode (#18976)
* chore(cache): default to SimpleCache in debug mode

* lint

* clean up type

* use util

* fix integration test cache configs

* remove util from cache manager

* remove trailing comma

* fix more tests

* fix truthiness check

* fix tests and improve deprecation notice

* fix default cache threshold

* move debug check to cache_manager

* remove separate getter

* update docs

* remove default cache config
2022-03-02 19:38:34 +02:00
Ville Brofeldt bd63a1bd98 fix(chart): deprecate persisting url_params (#18960)
* fix(chart): deprecate peristing url_params

* remove duplicated backend logic

* use omitBy

* simplify omit
2022-03-02 07:44:36 +02:00
AAfghahi 150fd0dfd3 added datasource legacy editor flag (#18970) 2022-03-01 12:47:25 -05:00
Craig Rueda 5fc7adb55b fix(packages): Fixing users packages (#18973)
* Fixing users packages

* Linting me() fn

* Fixing tests / moving packages

* Fixing imports
2022-03-01 09:47:13 -08:00
Srini KadamatiandSrinivasa Kadamati 563cce1e29 docs: renamed yugabytedb to yugabyte as per request by Yugabyte team (#18983)
Co-authored-by: Srinivasa Kadamati <srinik@Srinivasas-MacBook-Air.local>
2022-03-01 12:19:33 -05:00
Brian NguyenandJosue Lugaro f497c1900e refactor: converted QueryAutoRefresh to functional component (#18179)
* converted file to functional component

* refactor: convert class component to functional component

* refactor: convert class component to functional"

* Working on converting the shouldCheckForQueries test to RTL

* Working on converting first test to RTL

* Working on first test for queryAutoRefresh

* Finished Tests, pushing for review

* Cleaned up comments and console logs

Co-authored-by: Josue Lugaro <josuelugaro15@gmail.com>
2022-03-01 08:59:31 -08:00
Ville Brofeldt 834686a3d9 bump and harmonize urijs and xss (#18922) 2022-03-01 18:38:29 +02:00
Kamil Gabryjelski ec746c2a10 chore(native-filters): Add unit tests for filter cards (#18967)
* chore(native-filters): Add unit tests for filter cards

* Fix test
2022-03-01 17:33:09 +01:00
smileydev ca93d63bbb fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away (#18892)
* fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away

* fix(tooltip-not-dissapeared): change css props instead of sytles props
2022-03-01 08:05:11 -07:00
smileydev 37752cea9b fix(external-link): change the external link in creating chart dashboard (#18982) 2022-03-01 16:16:48 +02:00
Kamil Gabryjelski 2072225a86 fix(native-filters): Default value not shown in native filters (#18963)
* fix(native-filters): Default value not shown in native filters

* Reuse stringified datamask
2022-03-01 11:43:57 +01:00
Stephen Liu c4e3c45b3c fix(plugin-chart-echarts): fix customize margin (#18958) 2022-02-28 23:53:53 -07:00
Grace Guo 7e336d1230 fix: add/find owners from report/alert modal (#18971) 2022-02-28 15:15:15 -08:00
John Bodley 85f0715644 chore(security): Remove obsolete FAB metric_access permission (#16860)
* Update manager.py

* Update manager.py

* Update manager.py

* Update manager.py
2022-03-01 08:35:55 +13:00
serenajiang 760dab9abd feat(TimeTableViz): sort by first metric (#18896) 2022-02-28 10:26:24 -08:00
Geido eafe0cfc6f fix(Explore): Pivot table V2 sort by failure with D&D enabled (#18835)
* wip

* Add tests and clean up

* Clean up

* Remove unused import
2022-02-28 18:56:13 +02:00
Kamil Gabryjelski c56dc8eace feat(legacy-preset-chart-deckgl): Add ,.1f and ,.2f value formats to deckgl charts (#18945)
* Add ,.1f and ,.2f value formats to deckgl charts

* Remove duplicated code
2022-02-28 14:07:55 +01:00
GaryNg 4775d3900f docs: fix sql templating typos (#18955) 2022-02-28 21:05:43 +08:00
Ville Brofeldt 2baceddbf1 fix(dataset): handle missing database in migration (#18948) 2022-02-25 20:50:55 +02:00
AAfghahiandYahya Kayani 147dc5af71 fix(sql Lab tabs): Empty SQL Lab tabs (#18817)
* Empty SQL table message on zero tabs

* sql editor no editor tab bug fix

* Revert Error message

* empty state tab state

* added a unit test

* addressed reviews

* kasia feedback

Co-authored-by: Yahya Kayani <yahyakiani1@gmail.com>
2022-02-25 10:48:15 -08:00
John Bodleyandwiktor2200 099421770c fix: bump Helm chart release version (#18751) (#18758)
Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>
2022-02-26 07:12:04 +13:00
Smart-Codi 79633ce673 fix: null schema issue in saved queries (#18849) 2022-02-25 16:07:46 +01:00
Michael S. Molina fd4bd1edbc chore: Moves components out of the commons folder (#18931)
* refactor: Moves components out of the commons folder

* Fixes tests
2022-02-25 10:17:32 -03:00
Stephen Liu 2cb3635256 fix(deck.gl): multiple layers map size is shrunk (#18939) 2022-02-25 18:26:49 +08:00
Stephen Liu 0b1bc5b5de fix(native-filter): fix required filters of a dashboard won't load properly (#18695) 2022-02-25 17:13:36 +08:00
Jinghuayao 2bd8d3b349 test(Native Filter): User can create parent filters using "Filter is hierarchical (#18915)
* add new native test for parent filter
2022-02-25 00:27:26 -08:00
Smart-Codi 4923256b01 fix: Monospacing errors in dashboards & charts (#18796)
* fix: Monospacing errors in dashboards & charts

* removed unnecessary styling
2022-02-24 23:20:01 -07:00
Smart-Codi 0db49b1a7c fix Metadata browser in SQL not render nicely in Safari (#18855) 2022-02-24 23:16:31 -07:00
Phillip Kelley-Dotson 8d38675cbc chore: add intersect method from backend to fontend for upload extensions (#18811)
* chore: add intersect method from be to font end

* fix lint

* add suggestion

* fix python test

* run precommit

* fix pytlint

* update changes from masters
2022-02-24 17:42:55 -08:00
4493 changed files with 620275 additions and 332617 deletions
+5 -5
View File
@@ -66,12 +66,12 @@ github:
- cypress-matrix (3, chrome)
- docker-build
- frontend-build
- pre-commit (3.8)
- python-lint (3.8)
- test-mysql (3.8)
- test-postgres (3.8)
- pre-commit (3.9)
- python-lint (3.9)
- test-mysql (3.9)
- test-postgres (3.9)
- test-sqlite (3.8)
- test-postgres (3.10)
- test-sqlite (3.9)
required_pull_request_reviews:
dismiss_stale_reviews: false
+1 -1
View File
@@ -15,4 +15,4 @@
# limitations under the License.
#
FLASK_APP="superset.app:create_app()"
FLASK_ENV="development"
FLASK_DEBUG=true
+18 -3
View File
@@ -1,14 +1,29 @@
# Notify all committers of DB migration changes, per SIP-59
# https://github.com/apache/superset/issues/13351
/superset/migrations/ @apache/superset-committers
# Notify Preset team when ephemeral env settings are changed
.github/workflows/ecs-task-definition.json @robdiciuccio @craig-rueda @rusackas @eschutho @dpgaspar @nytai @mistercrunch
.github/workflows/docker-ephemeral-env.yml @robdiciuccio @craig-rueda @rusackas @eschutho @dpgaspar @nytai @mistercrunch
.github/workflows/ephemeral*.yml @robdiciuccio @craig-rueda @rusackas @eschutho @dpgaspar @nytai @mistercrunch
# Notify some committers of changes in the Select component
/superset-frontend/src/components/Select/ @michael-s-molina @geido
# Notify some committers of changes in the components
/superset-frontend/src/components/Select/ @michael-s-molina @geido @kgabryje
/superset-frontend/src/components/MetadataBar/ @michael-s-molina @geido @kgabryje
/superset-frontend/src/components/DropdownContainer/ @michael-s-molina @geido @kgabryje
# Notify Helm Chart maintainers about changes in it
/helm/superset/ @craig-rueda
/helm/superset/ @craig-rueda @dpgaspar @villebro
# Notify E2E test maintainers of changes
/superset-frontend/cypress-base/ @jinghua-qa @geido @eschutho @rusackas @betodealmeida
# Notify PMC members of changes to GitHub Actions
/.github/ @villebro @geido @eschutho @rusackas @betodealmeida @nytai @mistercrunch @craig-rueda @john-bodley @kgabryje
+103
View File
@@ -0,0 +1,103 @@
name: Bug report
description: Report a bug to improve Superset's stability
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Hello Superset Community member! Please keep things tidy by putting your post in the proper place:
🐛 Reporting a bug: use this form.
🙏 Asking a question or getting help: post in the [Superset Slack chat](http://bit.ly/join-superset-slack) or [GitHub Discussions](https://github.com/apache/superset/discussions) under "Q&A / Help".
💡 Requesting a new feature: Search [GitHub Discussions](https://github.com/apache/superset/discussions) to see if it exists already. If not, add a new post there under "Ideas".
- type: textarea
id: bug-description
attributes:
label: Bug description
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: repro-steps
attributes:
label: How to reproduce the bug
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: screenshots-recordings
attributes:
label: Screenshots/recordings
description: If applicable, add screenshots or recordings to help explain your problem.
- type: markdown
attributes:
value: |
### Environment
Please specify your environment. If your environment does not match the alternatives, you need to upgrade your environment before submitting the issue as it may have already been fixed. For additional information about the releases, see [Release Process](https://github.com/apache/superset/wiki/Release-Process).
- type: dropdown
id: superset-version
attributes:
label: Superset version
options:
- master / latest-dev
- "3.1.0"
- "3.0.3"
validations:
required: true
- type: dropdown
id: python-version
attributes:
label: Python version
options:
- "3.9"
- "3.10"
- "3.11"
- Not applicable
- I don't know
validations:
required: true
- type: dropdown
id: node-version
attributes:
label: Node version
options:
- "16"
- "17"
- "18 or greater"
- Not applicable
- I don't know
validations:
required: true
- type: dropdown
id: browser
attributes:
label: Browser
options:
- Chrome
- Firefox
- Safari
- Not applicable
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
Add any other context about the problem here such as the feature flags that you have enabled, any customizations you have made, the data source you are querying, etc.
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Make sure to follow these steps before submitting your issue - thank you!
options:
- label: I have searched Superset docs and Slack and didn't find a solution to my problem.
- label: I have searched the GitHub issue tracker and didn't find a similar bug report.
- label: I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
validations:
required: true
-50
View File
@@ -1,50 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
labels: "#bug"
---
A clear and concise description of what the bug is.
#### How to reproduce the bug
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### Expected results
what you expected to happen.
### Actual results
what actually happens.
#### Screenshots
If applicable, add screenshots to help explain your problem.
### Environment
(please complete the following information):
- browser type and version:
- superset version: `superset version`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
Add any other context about the problem here.
+12
View File
@@ -0,0 +1,12 @@
---
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/apache/superset/discussions/new?category=ideas
about: Propose a feature request to the Superset community
- name: Q&A
url: https://github.com/apache/superset/discussions/new?category=q-a-help
about: Open a community Q&A thread on GitHub Discussions
- name: Slack
url: https://bit.ly/join-superset-slack
about: Join the Superset Community on Slack for other discussions and assistance
-1
View File
@@ -2,7 +2,6 @@
name: Cosmetic Issue
about: Describe a cosmetic issue with CSS, positioning, layout, labeling, or similar
labels: "cosmetic-issue"
---
## Screenshot
-18
View File
@@ -1,18 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
labels: "#enhancement"
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
@@ -1,12 +0,0 @@
---
name: Security vulnerability
about: Report a security vulnerability or issue
labels: "#security"
---
## DO NOT REPORT SECURITY VULNERABILITIES HERE
Please report security vulnerabilities to private@superset.apache.org.
In the event a community member discovers a security flaw in Superset, it is important to follow the [Apache Security Guidelines](https://www.apache.org/security/committers.html) and release a fix as quickly as possible before public disclosure. Reporting security vulnerabilities through the usual GitHub Issues channel is not ideal as it will publicize the flaw before a fix can be applied.
+6 -5
View File
@@ -1,14 +1,15 @@
---
name: SIP
about: Superset Improvement Proposal
labels: "#SIP"
about: "Superset Improvement Proposal. See SIP-0 (https://github.com/apache/superset/issues/5602) for details. A SIP introduces any major change into Apache Superset's code or process."
labels: sip
title: "[SIP] Your Title Here (do not add SIP number)"
assignees: "apache/superset-committers"
---
*Please make sure you are familiar with the SIP process documented*
(here)[https://github.com/apache/superset/issues/5602]. The SIP number should be the next number after the latest SIP listed [here](https://github.com/apache/superset/issues?q=is%3Aissue+label%3Asip).
[here](https://github.com/apache/superset/issues/5602). The SIP will be numbered by a committer upon acceptance.
## [SIP-\<number>] Proposal for <title>
## [SIP] Proposal for ...<title>
### Motivation
+38
View File
@@ -0,0 +1,38 @@
# Security Policy
This is a project of the [Apache Software Foundation](https://apache.org) and follows the
ASF [vulnerability handling process](https://apache.org/security/#vulnerability-handling).
## Reporting Vulnerabilities
**⚠️ Please do not file GitHub issues for security vulnerabilities as they are public! ⚠️**
Apache Software Foundation takes a rigorous standpoint in annihilating the security issues
in its software projects. Apache Superset is highly sensitive and forthcoming to issues
pertaining to its features and functionality.
If you have any concern or believe you have found a vulnerability in Apache Superset,
please get in touch with the Apache Superset Security Team privately at
e-mail address [security@superset.apache.org](mailto:security@superset.apache.org).
More details can be found on the ASF website at
[ASF vulnerability reporting process](https://apache.org/security/#reporting-a-vulnerability)
We kindly ask you to include the following information in your report:
- Apache Superset version that you are using
- A sanitized copy of your `superset_config.py` file or any config overrides
- Detailed steps to reproduce the vulnerability
Note that Apache Superset is not responsible for any third-party dependencies that may
have security issues. Any vulnerabilities found in third-party dependencies should be
reported to the maintainers of those projects. Results from security scans of Apache
Superset dependencies found on its official Docker image can be remediated at release time
by extending the image itself.
**Your responsible disclosure and collaboration are invaluable.**
## Extra Information
- [Apache Superset documentation](https://superset.apache.org/docs/security)
- [Common Vulnerabilities and Exposures by release](https://superset.apache.org/docs/security/cves)
- [How Security Vulnerabilities are Reported & Handled in Apache Superset (Blog)](https://preset.io/blog/how-security-vulnerabilities-are-reported-and-handled-in-apache-superset/)
+351 -6
View File
@@ -3,27 +3,372 @@ updates:
- package-ecosystem: "npm"
directory: "/superset-frontend/"
schedule:
interval: "daily"
interval: "weekly"
labels:
- npm
- dependabot
open-pull-requests-limit: 30
versioning-strategy: increase
- package-ecosystem: "pip"
directory: "/requirements/"
schedule:
interval: "daily"
interval: "weekly"
labels:
- pip
- dependabot
open-pull-requests-limit: 30
- package-ecosystem: "npm"
directory: ".github/actions"
schedule:
interval: "daily"
open-pull-requests-limit: 0
interval: "weekly"
open-pull-requests-limit: 10
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/docs/"
schedule:
interval: "daily"
open-pull-requests-limit: 0
interval: "weekly"
open-pull-requests-limit: 10
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-websocket/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-websocket/utils/client-ws-app/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
open-pull-requests-limit: 10
versioning-strategy: increase
# Now for all of our plugins and packages!
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-calendar/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-histogram/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-partition/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-world-map/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/plugin-chart-pivot-table/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-chord/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-horizon/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-rose/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-preset-chart-deckgl/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/plugin-chart-table/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-country-map/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-map-box/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-sankey/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-preset-chart-nvd3/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/plugin-chart-word-cloud/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-event-flow/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-paired-t-test/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-sankey-loop/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/plugin-chart-echarts/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/preset-chart-xy/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-heatmap/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/legacy-plugin-chart-sunburst/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/plugins/plugin-chart-handlebars/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/packages/generator-superset/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/packages/superset-ui-chart-controls/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/packages/superset-ui-core/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/packages/superset-ui-demo/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
- package-ecosystem: "npm"
directory: "/superset-frontend/packages/superset-ui-switchboard/"
schedule:
interval: "weekly"
labels:
- npm
- dependabot
- plugins
open-pull-requests-limit: 5
versioning-strategy: increase
+41 -9
View File
@@ -38,10 +38,11 @@ default-setup-command() {
}
apt-get-install() {
say "::group::apt-get install dependencies"
sudo apt-get update && sudo apt-get install --yes \
libsasl2-dev
say "::endgroup::"
say "::group::apt-get install dependencies"
sudo apt-get update && sudo apt-get install --yes \
libsasl2-dev \
libldap2-dev
say "::endgroup::"
}
pip-upgrade() {
@@ -159,11 +160,11 @@ cypress-run() {
say "::group::Run Cypress for [$page]"
if [[ -z $CYPRESS_KEY ]]; then
$cypress --spec "cypress/integration/$page" --browser "$browser"
$cypress --spec "cypress/e2e/$page" --browser "$browser"
else
export CYPRESS_RECORD_KEY=`echo $CYPRESS_KEY | base64 --decode`
export CYPRESS_RECORD_KEY=$(echo $CYPRESS_KEY | base64 --decode)
# additional flags for Cypress dashboard recording
$cypress --spec "cypress/integration/$page" --browser "$browser" \
$cypress --spec "cypress/e2e/$page" --browser "$browser" \
--record --group "$group" --tag "${GITHUB_REPOSITORY},${GITHUB_EVENT_NAME}" \
--parallel --ci-build-id "${GITHUB_SHA:0:8}-${NONCE}"
fi
@@ -190,8 +191,8 @@ cypress-run-all() {
cat "$flasklog"
say "::endgroup::"
# Rerun SQL Lab tests with backend persist enabled
export SUPERSET_CONFIG=tests.integration_tests.superset_test_config_sqllab_backend_persist
# Rerun SQL Lab tests with backend persist disabled
export SUPERSET_CONFIG=tests.integration_tests.superset_test_config_sqllab_backend_persist_off
# Restart Flask with new configs
kill $flaskProcessId
@@ -212,3 +213,34 @@ cypress-run-all() {
# make sure the program exits
kill $flaskProcessId
}
eyes-storybook-dependencies() {
say "::group::install eyes-storyook dependencies"
sudo apt-get update -y && sudo apt-get -y install gconf-service ca-certificates libxshmfence-dev fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libglib2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libnss3 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release xdg-utils libappindicator1
say "::endgroup::"
}
cypress-run-applitools() {
cd "$GITHUB_WORKSPACE/superset-frontend/cypress-base"
local flasklog="${HOME}/flask.log"
local port=8081
local cypress="./node_modules/.bin/cypress run"
local browser=${CYPRESS_BROWSER:-chrome}
export CYPRESS_BASE_URL="http://localhost:${port}"
nohup flask run --no-debugger -p $port >"$flasklog" 2>&1 </dev/null &
local flaskProcessId=$!
$cypress --spec "cypress/e2e/*/**/*.applitools.test.ts" --browser "$browser" --headless --config ignoreTestFiles="[]"
codecov -c -F "cypress" || true
say "::group::Flask log for default run"
cat "$flasklog"
say "::endgroup::"
# make sure the program exits
kill $flaskProcessId
}
+2
View File
@@ -25,6 +25,8 @@ const assetsConfig = {
path: [`${workspaceDirectory}/superset/static/assets`],
hashFiles: [
`${workspaceDirectory}/superset-frontend/src/**/*`,
`${workspaceDirectory}/superset-frontend/packages/**/*`,
`${workspaceDirectory}/superset-frontend/plugins/**/*`,
`${workspaceDirectory}/superset-frontend/*.js`,
`${workspaceDirectory}/superset-frontend/*.json`,
],
+6 -3
View File
@@ -10,11 +10,14 @@ jobs:
cancel-duplicate-runs:
name: Cancel duplicate workflow runs
runs-on: ubuntu-20.04
permissions:
actions: write
contents: read
steps:
- name: Check number of queued tasks
id: check_queued
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPO: ${{ github.repository }}
run: |
get_count() {
@@ -28,12 +31,12 @@ jobs:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
if: steps.check_queued.outputs.count >= 20
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cancel duplicate workflow runs
if: steps.check_queued.outputs.count >= 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
pip install click requests typing_extensions python-dateutil
@@ -8,13 +8,16 @@ jobs:
check_db_migration_conflict:
name: Check DB migration conflict
runs-on: ubuntu-20.04
permissions:
contents: read
pull-requests: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check and notify
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ github.token }}
script: |
// API reference: https://octokit.github.io/rest.js
const currentBranch = context.ref.replace('refs/heads/', '');
@@ -50,10 +53,11 @@ jobs:
repo: context.repo.repo,
issue_number: pull.number,
body:
`⚠️ @${pull.user.login} Your base branch \`${currentBranch}\` has just ` +
`# 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️ 🙅‍♂️` +
`❗ @${pull.user.login} Your base branch \`${currentBranch}\` has ` +
'also updated `superset/migrations`.\n' +
'\n' +
'**Please consider rebasing your branch to avoid db migration conflicts.**',
'**Please consider rebasing your branch and [resolving potential db migration conflicts](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#merging-db-migrations).**',
});
}
}
+72
View File
@@ -0,0 +1,72 @@
# .github/workflows/chromatic.yml
# see https://www.chromatic.com/docs/github-actions
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Workflow name
name: 'Chromatic Storybook Master'
# Event for the workflow
# Only run if changes were made in superset-frontend folder of repo on merge to Master
on:
# This will trigger when a branch merges to master when the PR has changes in the frontend folder updating the chromatic baseline
push:
branches:
- master
paths:
- "superset-frontend/**"
# List of jobs
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.CHROMATIC_PROJECT_TOKEN != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
chromatic-deployment:
needs: config
if: needs.config.outputs.has-secrets
# Operating System
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Install dependencies
run: npm ci
working-directory: superset-frontend
# 👇 Build and publish Storybook to Chromatic
- name: Build and publish Storybook to Chromatic
id: chromatic-master
uses: chromaui/action@v1
# Required options for the Chromatic GitHub Action
with:
# 👇 Location of package.json from root of mono-repo
workingDir: superset-frontend
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing
autoAcceptChanges: true # 👈 Option to accept all changes when merging to master
+2 -2
View File
@@ -174,7 +174,7 @@ cat << EOF
-c Move discovered coverage reports to the trash
-z FILE Upload specified file directly to Codecov and bypass all report generation.
This is inteded to be used only with a pre-formatted Codecov report and is not
This is intended to be used only with a pre-formatted Codecov report and is not
expected to work under any other circumstances.
-Z Exit with 1 if not successful. Default will Exit with 0
@@ -1152,7 +1152,7 @@ fi
if [ "$ft_search" = "1" ];
then
# detect bower comoponents location
# detect bower components location
bower_components="bower_components"
bower_rc=$(cd "$git_root" && cat .bowerrc 2>/dev/null || echo "")
if [ "$bower_rc" != "" ];
+50
View File
@@ -0,0 +1,50 @@
name: "CodeQL"
on:
push:
branches: [ "master" ]
paths:
- 'superset/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
paths:
- 'superset/**'
schedule:
- cron: '0 4 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python', 'javascript' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
+25
View File
@@ -0,0 +1,25 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency Review"
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Dependency Review"
uses: actions/dependency-review-action@v2
with:
fail-on-severity: critical
# compatible/incompatible licenses addressed here: https://www.apache.org/legal/resolved.html
# find SPDX identifiers here: https://spdx.org/licenses/
deny-licenses: MS-LPL, BUSL-1.1, QPL-1.0, Sleepycat, SSPL-1.0, CPOL-1.02, AGPL-3.0, GPL-1.0+, BSD-4-Clause-UC, NPL-1.0, NPL-1.1, JSON
@@ -1,78 +0,0 @@
name: Push ephmereral env image
on:
workflow_run:
workflows: ["Docker"]
types:
- completed
jobs:
docker_ephemeral_env:
name: Push ephemeral env Docker image to ECR
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: 'Download artifact'
uses: actions/github-script@v3.1.0
with:
script: |
const artifacts = await github.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.event.workflow_run.id }},
});
core.info('*** artifacts')
core.info(JSON.stringify(artifacts))
const matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "build"
})[0];
if(!matchArtifact) return core.setFailed("Build artifacts not found")
const download = await github.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
var fs = require('fs');
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
- run: unzip build.zip
- name: Display downloaded files (debug)
run: ls -la
- name: Get SHA
id: get-sha
run: echo "::set-output name=sha::$(cat ./SHA)"
- name: Get PR
id: get-pr
run: echo "::set-output name=num::$(cat ./PR-NUM)"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Load, tag and push image to ECR
id: push-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: superset-ci
SHA: ${{ steps.get-sha.outputs.sha }}
IMAGE_TAG: pr-${{ steps.get-pr.outputs.num }}
run: |
docker load < $SHA.tar.gz
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
docker push -a $ECR_REGISTRY/$ECR_REPOSITORY
+31 -3
View File
@@ -4,19 +4,47 @@ on:
release:
types: [published]
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.DOCKERHUB_USER != '' && secrets.DOCKERHUB_TOKEN != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
docker-release:
needs: config
if: needs.config.outputs.has-secrets
name: docker-release
runs-on: ubuntu-latest
strategy:
matrix:
target: ["dev", "lean", "lean310", "websocket", "dockerize"]
platform: ["linux/amd64", "linux/arm64"]
fail-fast: false
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
ref: ${{ github.ref }}
- shell: bash
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
.github/workflows/docker_build_push.sh
GITHUB_RELEASE_TAG_NAME="${{ github.event.release.tag_name }}"
./scripts/docker_build_push.sh "$GITHUB_RELEASE_TAG_NAME" ${{ matrix.target }} ${{ matrix.platform }}
+59 -6
View File
@@ -8,22 +8,68 @@ on:
types: [synchronize, opened, reopened, ready_for_review]
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.DOCKERHUB_USER != '' && secrets.DOCKERHUB_TOKEN != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
echo "has secrets!"
else
echo "has-secrets=0" >> "$GITHUB_OUTPUT"
echo "no secrets!"
fi
docker-build:
if: github.event.pull_request.draft == false
needs: config
if: needs.config.outputs.has-secrets
name: docker-build
runs-on: ubuntu-latest
strategy:
matrix:
target: ["dev", "lean", "lean310", "websocket", "dockerize"]
platform: ["linux/amd64", "linux/arm64"]
fail-fast: false
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false
- shell: bash
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
shell: bash
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
.github/workflows/docker_build_push.sh
./scripts/docker_build_push.sh "" ${{ matrix.target }} ${{ matrix.platform }}
ephemeral-docker-build:
needs: config
if: needs.config.outputs.has-secrets
name: docker-build
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build ephemeral env image
if: github.event_name == 'pull_request'
@@ -31,12 +77,19 @@ jobs:
mkdir -p ./build
echo ${{ github.sha }} > ./build/SHA
echo ${{ github.event.pull_request.number }} > ./build/PR-NUM
docker build --target ci -t ${{ github.sha }} -t "pr-${{ github.event.pull_request.number }}" .
docker buildx build --target ci \
--load \
--cache-from=type=registry,ref=apache/superset:lean \
-t ${{ github.sha }} \
-t "pr-${{ github.event.pull_request.number }}" \
--platform linux/amd64 \
--label "build_actor=${GITHUB_ACTOR}" \
.
docker save ${{ github.sha }} | gzip > ./build/${{ github.sha }}.tar.gz
- name: Upload build artifacts
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: build/
-80
View File
@@ -1,80 +0,0 @@
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -eo pipefail
SHA=$(git rev-parse HEAD)
REPO_NAME="apache/superset"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
REFSPEC=$(echo "${GITHUB_HEAD_REF}" | sed 's/[^a-zA-Z0-9]/-/g' | head -c 40)
PR_NUM=$(echo "${GITHUB_REF}" | sed 's:refs/pull/::' | sed 's:/merge::')
LATEST_TAG="pr-${PR_NUM}"
elif [[ "${GITHUB_EVENT_NAME}" == "release" ]]; then
REFSPEC=$(echo "${GITHUB_REF}" | sed 's:refs/tags/::' | head -c 40)
LATEST_TAG="${REFSPEC}"
else
REFSPEC=$(echo "${GITHUB_REF}" | sed 's:refs/heads/::' | sed 's/[^a-zA-Z0-9]/-/g' | head -c 40)
LATEST_TAG="${REFSPEC}"
fi
if [[ "${REFSPEC}" == "master" ]]; then
LATEST_TAG="latest"
fi
cat<<EOF
Rolling with tags:
- ${REPO_NAME}:${SHA}
- ${REPO_NAME}:${REFSPEC}
- ${REPO_NAME}:${LATEST_TAG}
EOF
#
# Build the "lean" image
#
docker build --target lean \
-t "${REPO_NAME}:${SHA}" \
-t "${REPO_NAME}:${REFSPEC}" \
-t "${REPO_NAME}:${LATEST_TAG}" \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=lean" \
--label "build_actor=${GITHUB_ACTOR}" \
.
#
# Build the dev image
#
docker build --target dev \
-t "${REPO_NAME}:${SHA}-dev" \
-t "${REPO_NAME}:${REFSPEC}-dev" \
-t "${REPO_NAME}:${LATEST_TAG}-dev" \
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=dev" \
--label "build_actor=${GITHUB_ACTOR}" \
.
if [ -z "${DOCKERHUB_TOKEN}" ]; then
# Skip if secrets aren't populated -- they're only visible for actions running in the repo (not on forks)
echo "Skipping Docker push"
else
# Login and push
docker logout
docker login --username "${DOCKERHUB_USER}" --password "${DOCKERHUB_TOKEN}"
docker push --all-tags "${REPO_NAME}"
fi
@@ -23,6 +23,14 @@
{
"name": "SUPERSET_PORT",
"value": "8080"
},
{
"name": "SUPERSET_SECRET_KEY",
"value": "super-secret-for-ephemerals"
},
{
"name": "TALISMAN_ENABLED",
"value": "False"
}
],
"mountPoints": [],
+17 -2
View File
@@ -6,14 +6,29 @@ on:
- 'master'
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.NPM_TOKEN != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
build:
needs: config
if: needs.config.outputs.has-secrets
runs-on: ubuntu-20.04
defaults:
run:
working-directory: superset-embedded-sdk
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
registry-url: 'https://registry.npmjs.org'
+3 -3
View File
@@ -8,16 +8,16 @@ on:
jobs:
embedded-sdk-test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
defaults:
run:
working-directory: superset-embedded-sdk
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm test
- run: npm run build
+18 -1
View File
@@ -5,9 +5,26 @@ on:
types: [closed]
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.AWS_ACCESS_KEY_ID != '' && secrets.AWS_SECRET_ACCESS_KEY != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
ephemeral-env-cleanup:
needs: config
if: needs.config.outputs.has-secrets
name: Cleanup ephemeral envs
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
@@ -48,7 +65,7 @@ jobs:
if: steps.describe-services.outputs.active == 'true'
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{github.token}}
script: |
github.issues.createComment({
issue_number: ${{ github.event.number }},
+100 -6
View File
@@ -5,10 +5,27 @@ on:
types: [created]
jobs:
ephemeral_env_comment:
config:
runs-on: "ubuntu-latest"
if: github.event.issue.pull_request
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.AWS_ACCESS_KEY_ID != '' && secrets.AWS_SECRET_ACCESS_KEY != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
ephemeral_env_comment:
needs: config
if: needs.config.outputs.has-secrets
name: Evaluate ephemeral env comment trigger (/testenv)
runs-on: ubuntu-latest
permissions:
pull-requests: write
outputs:
slash-command: ${{ steps.eval-body.outputs.result }}
feature-flags: ${{ steps.eval-feature-flags.outputs.result }}
@@ -51,7 +68,7 @@ jobs:
github.event.comment.author_association != 'OWNER'
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{github.token}}
script: |
const errMsg = '@${{ github.event.comment.user.login }} Ephemeral environment creation is currently limited to committers.'
github.issues.createComment({
@@ -62,14 +79,91 @@ jobs:
})
core.setFailed(errMsg)
docker_ephemeral_env:
needs: config
if: needs.config.outputs.has-secrets
name: Push ephemeral env Docker image to ECR
runs-on: ubuntu-latest
steps:
- name: "Download artifact"
uses: actions/github-script@v3.1.0
with:
script: |
const artifacts = await github.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ github.event.workflow_run.id }},
});
core.info('*** artifacts')
core.info(JSON.stringify(artifacts))
const matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name === "build";
});
if (!matchArtifact.length) {
return core.setFailed("Build artifacts not found");
}
const download = await github.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact[0].id,
archive_format: 'zip',
});
var fs = require('fs');
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
- run: unzip build.zip
- name: Display downloaded files (debug)
run: ls -la
- name: Get SHA
id: get-sha
run: echo "::set-output name=sha::$(cat ./SHA)"
- name: Get PR
id: get-pr
run: echo "::set-output name=num::$(cat ./PR-NUM)"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Load, tag and push image to ECR
id: push-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: superset-ci
SHA: ${{ steps.get-sha.outputs.sha }}
IMAGE_TAG: pr-${{ steps.get-pr.outputs.num }}
run: |
docker load < $SHA.tar.gz
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker tag $SHA $ECR_REGISTRY/$ECR_REPOSITORY:$SHA
docker push -a $ECR_REGISTRY/$ECR_REPOSITORY
ephemeral_env_up:
needs: ephemeral_env_comment
if: needs.ephemeral_env_comment.outputs.slash-command == 'up'
name: Spin up an ephemeral environment
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
@@ -97,7 +191,7 @@ jobs:
if: steps.check-image.outcome == 'failure'
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{github.token}}
script: |
const errMsg = '@${{ github.event.comment.user.login }} Container image not yet published for this PR. Please try again when build is complete.'
github.issues.createComment({
@@ -171,7 +265,7 @@ jobs:
if: ${{ success() }}
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{github.token}}
script: |
github.issues.createComment({
issue_number: ${{ github.event.issue.number }},
@@ -184,7 +278,7 @@ jobs:
if: ${{ failure() }}
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{github.token}}
script: |
github.issues.createComment({
issue_number: ${{ github.event.issue.number }},
+25
View File
@@ -0,0 +1,25 @@
name: Label Migration PR
on:
pull_request:
paths:
- 'superset/migrations/**'
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add label
uses: actions/github-script@v3
with:
github-token: ${{github.token}}
script: |
github.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['risk:db-migration']
})
+4 -2
View File
@@ -7,10 +7,12 @@ jobs:
latest-release:
name: Add/update tag to new release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -27,4 +29,4 @@ jobs:
description: Superset latest release
tag-name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
+66
View File
@@ -0,0 +1,66 @@
name: License Check
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.FOSSA_API_KEY != '' ) || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
license_check:
needs: config
if: needs.config.outputs.has-secrets
name: License Check
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Generate fossa report
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: |
set -eo pipefail
if [[ "${{github.event_name}}" != "pull_request" ]]; then
./scripts/fossa.sh
exit 0
fi
URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename')
cat<<EOF
CHANGED FILES:
$FILES
EOF
if [[ "${FILES}" =~ (.*package*\.json|requirements\/[a-z_-]+\.txt|setup\.py) ]]; then
echo "Detected dependency changes... running fossa check"
./scripts/fossa.sh
else
echo "No dependency changes... skiping fossa check"
fi
shell: bash
- name: Run license check
run: ./scripts/check_license.sh
-99
View File
@@ -1,99 +0,0 @@
name: Miscellaneous
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
license_check:
name: License Check
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: recursive
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Generate fossa report
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: |
set -eo pipefail
if [[ "${{github.event_name}}" != "pull_request" ]]; then
./scripts/fossa.sh
exit 0
fi
URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename')
cat<<EOF
CHANGED FILES:
$FILES
EOF
if [[ "${FILES}" =~ (.*package*\.json|requirements\/[a-z_-]+\.txt|setup\.py) ]]; then
echo "Detected dependency changes... running fossa check"
./scripts/fossa.sh
else
echo "No dependency changes... skiping fossa check"
fi
shell: bash
- name: Run license check
run: ./scripts/check_license.sh
prefer_typescript:
if: github.ref == 'ref/heads/master' && github.event_name == 'pull_request'
name: Prefer Typescript
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: recursive
- name: Get changed files
id: changed
uses: ./.github/actions/file-changes-action
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Determine if a .js or .jsx file was added
id: check
run: |
js_files_added() {
jq -r '
map(
select(
endswith(".js") or endswith(".jsx")
)
) | join("\n")
' ${HOME}/files_added.json
}
echo ::set-output name=js_files_added::$(js_files_added)
- if: steps.check.outputs.js_files_added
name: Add Comment to PR
uses: ./.github/actions/comment-on-pr
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: |
### WARNING: Prefer TypeScript
Looks like your PR contains new `.js` or `.jsx` files:
```
${{steps.check.outputs.js_files_added}}
```
As decided in [SIP-36](https://github.com/apache/superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review.
+5 -2
View File
@@ -11,9 +11,12 @@ on:
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -25,4 +28,4 @@ jobs:
on-failed-regex-create-review: false
on-failed-regex-comment:
"Please format your PR title to match: `%regex%`!"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ github.token }}"
+59
View File
@@ -0,0 +1,59 @@
name: Prefer TypeScript
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
prefer_typescript:
if: github.ref == 'ref/heads/master' && github.event_name == 'pull_request'
name: Prefer TypeScript
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Get changed files
id: changed
uses: ./.github/actions/file-changes-action
with:
githubToken: ${{ github.token }}
- name: Determine if a .js or .jsx file was added
id: check
run: |
js_files_added() {
jq -r '
map(
select(
endswith(".js") or endswith(".jsx")
)
) | join("\n")
' ${HOME}/files_added.json
}
echo ::set-output name=js_files_added::$(js_files_added)
- if: steps.check.outputs.js_files_added
name: Add Comment to PR
uses: ./.github/actions/comment-on-pr
continue-on-error: true
env:
GITHUB_TOKEN: ${{ github.token }}
with:
msg: |
### WARNING: Prefer TypeScript
Looks like your PR contains new `.js` or `.jsx` files:
```
${{steps.check.outputs.js_files_added}}
```
As decided in [SIP-36](https://github.com/apache/superset/issues/9101), all new frontend code should be written in TypeScript. Please convert above files to TypeScript then re-request review.
+33 -6
View File
@@ -6,7 +6,22 @@ on:
- 'master'
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.NPM_TOKEN != '' && secrets.GH_PERSONAL_ACCESS_TOKEN != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
build:
needs: config
if: needs.config.outputs.has-secrets
name: Bump version and publish package(s)
runs-on: ubuntu-20.04
@@ -16,22 +31,28 @@ jobs:
node-version: [16]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# pulls all commits (needed for lerna / semantic release to correctly version)
fetch-depth: 0
- name: Get tags and filter trigger tags
run: |
git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
if ! git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"; then
echo "::notice title=Workflow skipped::No tags present in repository"
exit
fi
echo "HAS_TAGS=1" >> $GITHUB_ENV"
git fetch --prune --unshallow
git tag -d `git tag | grep -E '^trigger-'`
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
if: env.HAS_TAGS
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache npm
if: env.HAS_TAGS
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
@@ -41,9 +62,11 @@ jobs:
${{ runner.OS }}-
- name: Get npm cache directory path
if: env.HAS_TAGS
id: npm-cache-dir-path
run: echo "::set-output name=dir::$(npm config get cache)"
- name: Cache npm
if: env.HAS_TAGS
uses: actions/cache@v1
id: npm-cache # use this to check for `cache-hit` (`steps.npm-cache.outputs.cache-hit != 'true'`)
with:
@@ -53,16 +76,20 @@ jobs:
${{ runner.os }}-npm-
- name: Install dependencies
if: env.HAS_TAGS
working-directory: ./superset-frontend
run: npm ci
- name: Run unit tests
if: env.HAS_TAGS
working-directory: ./superset-frontend
run: npm run test -- plugins packages
- name: Build packages
if: env.HAS_TAGS
working-directory: ./superset-frontend
run: npm run plugins:build
- name: Configure npm and git
if: env.HAS_TAGS
run: |
echo "@superset-ui:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
@@ -70,17 +97,17 @@ jobs:
npm whoami
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git remote set-url origin "https://${GITHUB_TOKEN}@github.com/apache-superset/superset-ui.git" > /dev/null 2>&1
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
- name: Bump version and publish package(s)
if: env.HAS_TAGS
working-directory: ./superset-frontend
run: |
git tag -d `git tag | grep -E '^trigger-'`
npm run plugins:release-from-tag
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
@@ -0,0 +1,103 @@
name: Applitools Cypress
on:
schedule:
- cron: "0 1 * * *"
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.APPLITOOLS_API_KEY != '' && secrets.APPLITOOLS_API_KEY != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
cypress-applitools:
needs: config
if: needs.config.outputs.has-secrets
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
browser: ["chrome"]
node: [16]
env:
SUPERSET_ENV: development
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset
PYTHONPATH: ${{ github.workspace }}
REDIS_PORT: 16379
GITHUB_TOKEN: ${{ github.token }}
APPLITOOLS_APP_NAME: Superset
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
APPLITOOLS_BATCH_ID: ${{ github.sha }}
APPLITOOLS_BATCH_NAME: Superset Cypress
services:
postgres:
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
ports:
- 15432:5432
redis:
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
ref: master
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: OS dependencies
uses: ./.github/actions/cached-dependencies
with:
run: apt-get-install
- name: Install python dependencies
uses: ./.github/actions/cached-dependencies
with:
run: |
pip-upgrade
pip install -r requirements/testing.txt
- name: Setup postgres
uses: ./.github/actions/cached-dependencies
with:
run: setup-postgres
- name: Import test data
uses: ./.github/actions/cached-dependencies
with:
run: testdata
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install npm dependencies
uses: ./.github/actions/cached-dependencies
with:
run: npm-install
- name: Build javascript packages
uses: ./.github/actions/cached-dependencies
with:
run: build-instrumented-assets
- name: Install cypress
uses: ./.github/actions/cached-dependencies
with:
run: cypress-install
- name: Run Cypress
uses: ./.github/actions/cached-dependencies
env:
CYPRESS_BROWSER: ${{ matrix.browser }}
with:
run: cypress-run-applitools
@@ -0,0 +1,55 @@
name: Applitools Storybook
on:
schedule:
- cron: "0 0 * * *"
env:
APPLITOOLS_APP_NAME: Superset
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
APPLITOOLS_BATCH_ID: ${{ github.sha }}
APPLITOOLS_BATCH_NAME: Superset Storybook
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.APPLITOOLS_API_KEY != '' && secrets.APPLITOOLS_API_KEY != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
cron:
needs: config
if: needs.config.outputs.has-secrets
runs-on: ubuntu-20.04
strategy:
matrix:
node: [16]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
ref: master
- name: Set up Node.js
uses: actions/setup-node@v3.1.1
with:
node-version: ${{ matrix.node }}
- name: Install eyes-storybook dependencies
uses: ./.github/actions/cached-dependencies
with:
run: eyes-storybook-dependencies
- name: Install NPM dependencies
uses: ./.github/actions/cached-dependencies
with:
run: npm-install
- name: Run Applitools Eyes-Storybook
working-directory: ./superset-frontend
run: npx eyes-storybook -u https://superset-storybook.netlify.app/
+75
View File
@@ -0,0 +1,75 @@
name: Superset CLI tests
on:
push:
branches-ignore:
- "dependabot/npm_and_yarn/**"
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
jobs:
test-load-examples:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.9"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
REDIS_PORT: 16379
SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset
services:
postgres:
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
ports:
# Use custom ports for services to avoid accidentally connecting to
# GitHub action runner's default installations
- 15432:5432
redis:
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Check if python changes are present
id: check
env:
GITHUB_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
continue-on-error: true
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements/testing.txt'
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
with:
run: |
apt-get-install
pip-upgrade
pip install wheel
pip install -r requirements/testing.txt
setup-postgres
- name: superset init
if: steps.check.outcome == 'failure'
run: |
pip install -e .
superset db upgrade
superset load_test_users
- name: superset load_examples
if: steps.check.outcome == 'failure'
run: |
# load examples without test data
superset load_examples --load-big-data
+16 -1
View File
@@ -9,7 +9,22 @@ on:
- "docs/**"
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.SUPERSET_SITE_BUILD != '' && secrets.SUPERSET_SITE_BUILD != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
build-deploy:
needs: config
if: needs.config.outputs.has-secrets
name: Build & Deploy
runs-on: ubuntu-20.04
defaults:
@@ -17,7 +32,7 @@ jobs:
working-directory: docs
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
+14 -13
View File
@@ -11,8 +11,10 @@ on:
jobs:
cypress-matrix:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
permissions:
contents: read
pull-requests: read
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
@@ -23,34 +25,33 @@ jobs:
containers: [1, 2, 3]
browser: ["chrome"]
env:
FLASK_ENV: development
ENABLE_REACT_CRUD_VIEWS: true
SUPERSET_ENV: development
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset
PYTHONPATH: ${{ github.workspace }}
REDIS_PORT: 16379
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
services:
postgres:
image: postgres:10-alpine
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
ports:
- 15432:5432
redis:
image: redis:5-alpine
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout (pull) ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'push'
with:
persist-credentials: false
submodules: recursive
- name: "Checkout (pull_request) ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
with:
ref: "refs/pull/${{ github.event.number }}/merge"
@@ -65,9 +66,9 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python frontend
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- name: OS dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -91,9 +92,9 @@ jobs:
with:
run: testdata
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "16"
- name: Install npm dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -118,7 +119,7 @@ jobs:
with:
run: cypress-run-all
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: screenshots
+9 -5
View File
@@ -10,11 +10,10 @@ on:
jobs:
frontend-build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -29,7 +28,7 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh frontend
- name: Setup Node.js
if: steps.check.outcome == 'failure'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
@@ -41,7 +40,7 @@ jobs:
if: steps.check.outcome == 'failure'
working-directory: ./superset-frontend
run: |
npm run lint
npm run lint -- --quiet
npm run prettier-check
- name: Build plugins packages
if: steps.check.outcome == 'failure'
@@ -51,11 +50,16 @@ jobs:
if: steps.check.outcome == 'failure'
working-directory: ./superset-frontend
run: npm run plugins:build-storybook
- name: superset-ui/core coverage
if: steps.check.outcome == 'failure'
working-directory: ./superset-frontend
run: |
npm run core:cover
- name: unit tests
if: steps.check.outcome == 'failure'
working-directory: ./superset-frontend
run: |
npm run test -- --coverage
npm run test -- --coverage --silent
# todo: remove this step when fix generator as a project in root jest.config.js
- name: generator-superset unit tests
if: steps.check.outcome == 'failure'
+4 -3
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -20,9 +20,9 @@ jobs:
with:
version: v3.5.4
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.9"
- name: Set up chart-testing
uses: ./.github/actions/chart-testing-action
@@ -44,3 +44,4 @@ jobs:
CT_CHART_DIRS: helm
CT_LINT_CONF: lintconf.yaml
CT_SINCE: HEAD
CT_CHART_REPOS: bitnami=https://charts.bitnami.com/bitnami
+10 -4
View File
@@ -3,16 +3,19 @@ name: Release Charts
on:
push:
branches:
- 'master'
- "master"
paths:
- 'helm/**'
- "helm/**"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -28,10 +31,13 @@ jobs:
with:
version: v3.5.4
- name: Add bitnami repo dependency
run: helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: ./.github/actions/chart-releaser-action
with:
charts_dir: helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ github.token }}"
CR_RELEASE_NAME_TEMPLATE: "superset-helm-chart-{{ .Version }}"
@@ -10,11 +10,10 @@ on:
jobs:
test-mysql:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
@@ -29,13 +28,13 @@ jobs:
ports:
- 13306:3306
redis:
image: redis:5-alpine
image: redis:7-alpine
options: --entrypoint redis-server
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -48,7 +47,7 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -76,11 +75,10 @@ jobs:
bash .github/workflows/codecov.sh -c -F python -F mysql
test-postgres:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: ["3.9", "3.10"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
@@ -88,7 +86,7 @@ jobs:
SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset
services:
postgres:
image: postgres:10-alpine
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
@@ -97,12 +95,12 @@ jobs:
# GitHub action runner's default installations
- 15432:5432
redis:
image: redis:5-alpine
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -115,7 +113,7 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -143,25 +141,26 @@ jobs:
bash .github/workflows/codecov.sh -c -F python -F postgres
test-sqlite:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
REDIS_PORT: 16379
SUPERSET__SQLALCHEMY_DATABASE_URI: |
sqlite:///${{ github.workspace }}/.temp/unittest.db
sqlite:///${{ github.workspace }}/.temp/superset.db?check_same_thread=true
SUPERSET__SQLALCHEMY_EXAMPLES_URI: |
sqlite:///${{ github.workspace }}/.temp/examples.db?check_same_thread=true
services:
redis:
image: redis:5-alpine
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -174,7 +173,7 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
+29 -18
View File
@@ -10,14 +10,13 @@ on:
jobs:
python-lint:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -30,11 +29,11 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements/testing.txt'
cache: "pip"
cache-dependency-path: "requirements/testing.txt"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -50,22 +49,21 @@ jobs:
run: pylint -j 0 superset
pre-commit:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: "pip"
cache-dependency-path: |
requirements/base.txt
requirements/integration.txt
@@ -78,27 +76,40 @@ jobs:
pip install wheel
pip install -r requirements/base.txt
pip install -r requirements/integration.txt
# Add brew to the path - see https://github.com/actions/runner-images/issues/6283
- name: Enable brew and helm-docs
run: |
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "HOMEBREW_PREFIX=$HOMEBREW_PREFIX" >>"${GITHUB_ENV}"
echo "HOMEBREW_CELLAR=$HOMEBREW_CELLAR" >>"${GITHUB_ENV}"
echo "HOMEBREW_REPOSITORY=$HOMEBREW_REPOSITORY" >>"${GITHUB_ENV}"
brew install norwoodj/tap/helm-docs
- name: pre-commit
run: pre-commit run --all-files
run: |
if ! pre-commit run --all-files; then
git status
git diff
exit 1
fi
babel-extract:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements/base.txt'
cache: "pip"
cache-dependency-path: "requirements/base.txt"
- name: Install dependencies
uses: ./.github/actions/cached-dependencies
with:
@@ -10,11 +10,10 @@ on:
jobs:
test-postgres-presto:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
@@ -23,7 +22,7 @@ jobs:
SUPERSET__SQLALCHEMY_EXAMPLES_URI: presto://localhost:15433/memory/default
services:
postgres:
image: postgres:10-alpine
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
@@ -41,12 +40,12 @@ jobs:
# GitHub action runner's default installations
- 15433:8080
redis:
image: redis:5-alpine
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -59,7 +58,7 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -87,11 +86,10 @@ jobs:
bash .github/workflows/codecov.sh -c -F python -F presto
test-postgres-hive:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config
@@ -101,7 +99,7 @@ jobs:
UPLOAD_FOLDER: /tmp/.superset/uploads/
services:
postgres:
image: postgres:10-alpine
image: postgres:15-alpine
env:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
@@ -110,12 +108,12 @@ jobs:
# GitHub action runner's default installations
- 15432:5432
redis:
image: redis:5-alpine
image: redis:7-alpine
ports:
- 16379:6379
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -134,10 +132,10 @@ jobs:
run: sudo chown -R $USER:$USER /tmp/.superset
- name: Start hadoop and hive
if: steps.check.outcome == 'failure'
run: docker-compose -f scripts/databases/hive/docker-compose.yml up -d
run: docker compose -f scripts/databases/hive/docker-compose.yml up -d
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -10,16 +10,15 @@ on:
jobs:
unit-tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: ["3.9", "3.10"]
env:
PYTHONPATH: ${{ github.workspace }}
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -32,12 +31,12 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python
- name: Setup Python
if: steps.check.outcome == 'failure'
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'requirements/testing.txt'
# TODO: separated requiermentes.txt file just for unit tests
# TODO: separated requirements.txt file just for unit tests
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
@@ -50,8 +49,10 @@ jobs:
mkdir ${{ github.workspace }}/.temp
- name: Python unit tests
if: steps.check.outcome == 'failure'
env:
SUPERSET_TESTENV: true
run: |
pytest --durations=0 ./tests/common ./tests/unit_tests --cache-clear
pytest --durations-min=0.5 --cov-report= --cov=superset ./tests/common ./tests/unit_tests --cache-clear
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |
+5 -7
View File
@@ -9,16 +9,15 @@ on:
jobs:
frontend-check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
@@ -31,19 +30,18 @@ jobs:
npm run check-translation
babel-extract:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.9"]
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
+2 -3
View File
@@ -9,16 +9,15 @@ on:
jobs:
app-checks:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install dependencies
working-directory: ./superset-websocket
run: npm install
run: npm ci
- name: lint
working-directory: ./superset-websocket
run: npm run lint
+22
View File
@@ -0,0 +1,22 @@
name: Welcome New Contributor
on:
pull_request_target:
types: [opened]
jobs:
welcome:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Welcome Message
uses: actions/first-interaction@v1
continue-on-error: true
with:
repo-token: ${{ github.token }}
pr-message: |-
Congrats on making your first PR and thank you for contributing to Superset! :tada: :heart:
We hope to see you in our [Slack](https://apache-superset.slack.com/) community too! Not signed up? Use our [Slack App](http://bit.ly/join-superset-slack) to self-register.
+3
View File
@@ -59,6 +59,7 @@ superset/bin/supersetc
tmp
rat-results.txt
superset/app/
superset-websocket/config.json
# Node.js, webpack artifacts, storybook
*.entry.js
@@ -108,3 +109,5 @@ release.json
messages.mo
docker/requirements-local.txt
cache/
+4
View File
@@ -0,0 +1,4 @@
{
"no-bare-urls": false,
"line-length": false
}
+51 -8
View File
@@ -15,21 +15,53 @@
# limitations under the License.
#
repos:
- repo: https://github.com/MarcoGorelli/auto-walrus
rev: v0.2.2
hooks:
- id: auto-walrus
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
- id: pyupgrade
args:
- --py39-plus
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.2
hooks:
- id: pycln
args:
- --disable-all-dunder-policy
- --exclude=superset/config.py
- --extend-exclude=tests/integration_tests/superset_test_config.*.py
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
rev: v1.3.0
hooks:
- id: mypy
additional_dependencies: [types-all]
args: [--check-untyped-defs]
additional_dependencies: [
types-simplejson,
types-python-dateutil,
types-requests,
# types-redis 4.6.0.5 is failing mypy
# because of https://github.com/python/typeshed/pull/10531
types-redis==4.6.0.4,
types-pytz,
types-croniter,
types-PyYAML,
types-setuptools,
types-paramiko,
types-Markdown,
]
- repo: https://github.com/peterdemin/pip-compile-multi
rev: v2.4.1
rev: v2.6.2
hooks:
- id: pip-compile-multi-verify
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.4.0
hooks:
- id: check-docstring-first
- id: check-added-large-files
@@ -41,7 +73,7 @@ repos:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- repo: https://github.com/psf/black
rev: 19.10b0
rev: 23.1.0
hooks:
- id: black
language_version: python3
@@ -49,5 +81,16 @@ repos:
rev: v2.4.1 # Use the sha or tag you want to point at
hooks:
- id: prettier
args: ['--ignore-path=./superset-frontend/.prettierignore']
files: 'superset-frontend'
args: ["--ignore-path=./superset-frontend/.prettierignore"]
files: "superset-frontend"
# blacklist unsafe functions like make_url (see #19526)
- repo: https://github.com/skorokithakis/blacklist-pre-commit-hook
rev: e2f070289d8eddcaec0b580d3bde29437e7c8221
hooks:
- id: blacklist
args: ["--blacklisted-names=make_url", "--ignore=tests/"]
- repo: https://github.com/norwoodj/helm-docs
rev: v1.11.0
hooks:
- id: helm-docs
files: helm
+8 -57
View File
@@ -50,15 +50,6 @@ unsafe-load-any-extension=no
# run arbitrary code
extension-pkg-whitelist=pyarrow
# Allow optimization of some AST trees. This will activate a peephole AST
# optimizer, which will apply various small optimizations. For instance, it can
# be used to obtain the result of joining multiple strings with the addition
# operator. Joining a lot of strings can lead to a maximum recursion error in
# Pylint and this flag can prevent that. It has one side effect, the resulting
# AST will be different than the one from reality. This option is deprecated
# and it will be removed in Pylint 2.0.
optimize-ast=no
[MESSAGES CONTROL]
@@ -83,11 +74,11 @@ enable=
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=
cyclic-import, # re-enable once this no longer raises false positives
missing-docstring,
duplicate-code,
unspecified-encoding,
# re-enable once this no longer raises false positives
too-many-instance-attributes
too-many-instance-attributes # re-enable once this no longer raises false positives
[REPORTS]
@@ -96,12 +87,6 @@ disable=
# mypackage.mymodule.MyReporterClass.
output-format=text
# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]". This option is deprecated
# and it will be removed in Pylint 2.0.
files-output=no
# Tells whether to display a full report or only the messages
reports=yes
@@ -134,68 +119,40 @@ include-naming-hint=no
# List of decorators that produce properties, such as abc.abstractproperty. Add
# to this list to register other decorators that produce valid properties.
property-classes=abc.abstractproperty
property-classes=
abc.abstractproperty,
sqlalchemy.ext.hybrid.hybrid_property
# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for argument names
argument-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for method names
method-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct variable names
variable-rgx=[a-z_][a-z0-9_]{1,30}$
# Naming hint for variable names
variable-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct inline iteration names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Naming hint for inline iteration names
inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
# Regular expression matching correct constant names
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
# Naming hint for constant names
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
# Regular expression matching correct class names
class-rgx=[A-Z_][a-zA-Z0-9]+$
# Naming hint for class names
class-name-hint=[A-Z_][a-zA-Z0-9]+$
# Regular expression matching correct class attribute names
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
# Naming hint for class attribute names
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
# Regular expression matching correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Naming hint for module names
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression matching correct attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for attribute names
attr-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for function names
function-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match function or class names that do
# not require a docstring.
no-docstring-rgx=^_
@@ -223,12 +180,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
# else.
single-line-if-stmt=no
# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,dict-separator
# Maximum number of lines in a module
max-module-lines=1000
@@ -298,12 +249,12 @@ ignore-mixin-members=yes
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=numpy,pandas,alembic.op,sqlalchemy,alembic.context,flask_appbuilder.security.sqla.PermissionView.role,flask_appbuilder.Model.metadata,flask_appbuilder.Base.metadata,distutils
ignored-modules=numpy,pandas,alembic.op,sqlalchemy,alembic.context,flask_appbuilder.security.sqla.PermissionView.role,flask_appbuilder.Model.metadata,flask_appbuilder.Base.metadata
# List of class names for which member attributes should not be checked (useful
# for classes with dynamically set attributes). This supports the use of
# qualified names.
ignored-classes=contextlib.closing,optparse.Values,thread._local,_thread._local,sqlalchemy.orm.scoping.scoped_session
ignored-classes=contextlib.closing,optparse.Values,thread._local,_thread._local
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
@@ -425,4 +376,4 @@ analyse-fallback-blocks=no
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception
+4102 -341
View File
File diff suppressed because it is too large Load Diff
+7 -5
View File
@@ -106,7 +106,7 @@ This statement thanks the following, on which it draws for content and inspirati
# Slack Community Guidelines
If you decide to join the [Community Slack](https://join.slack.com/t/apache-superset/shared_invite/zt-uxbh5g36-AISUtHbzOXcu0BIj7kgUaw), please adhere to the following rules:
If you decide to join the [Community Slack](http://bit.ly/join-superset-slack), please adhere to the following rules:
**1. Treat everyone in the community with respect.**
@@ -119,11 +119,13 @@ If you decide to join the [Community Slack](https://join.slack.com/t/apache-supe
**3. Ask thoughtful questions.**
- Were all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in [the Superset documentation](https://superset.apache.org/faq.html) or on [Stack Overflow](https://stackoverflow.com/search?q=apache+superset). You can also check [Github issues](https://github.com/apache/superset/issues) to see if your question or feature request has been submitted before. Then, use Slack search to see if your question has already been asked and answered in the past. If you still feel the need to ask a question, make sure you include:
- Were all here to help each other out. The best way to get help is by investing effort into your questions. First check and see if your question is answered in the [Superset documentation](https://superset.apache.org/faq.html) or on [StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset). You can also check GitHub trackers to see if your inquiry has been submitted before: [GitHub discussions](https://github.com/apache/superset/discussions) for questions and feature requests and [GitHub issues](https://github.com/apache/superset/issues) for bug reports. Then, use Slack search to see if your question has already been asked and answered in the past.
- The steps youve already taken
- Relevant details presented cleanly (text stacktraces, formatted markdown, or screenshots. Please dont paste large blocks of code unformatted or post photos of your screen from your phone)
- The specific question you have or the specific type of help you're seeking
If you still feel the need to ask a question, make sure you include:
- The steps youve already taken.
- Relevant details presented cleanly: text stacktraces, formatted markdown, or screenshots. Please dont paste large blocks of code unformatted or post photos of your screen from your phone.
- The specific question you have or the specific type of help you're seeking.
**4. Avoid double posting**
+247 -104
View File
@@ -52,9 +52,12 @@ little bit helps, and credit will always be given.
- [Revert Guidelines](#revert-guidelines)
- [Setup Local Environment for Development](#setup-local-environment-for-development)
- [Documentation](#documentation)
- [Images](#images)
- [Local Development](#local-development)
- [Build](#build)
- [Deployment](#deployment)
- [Flask server](#flask-server)
- [OS Dependencies](#os-dependencies)
- [Dependencies](#dependencies)
- [Logging to the browser console](#logging-to-the-browser-console)
- [Frontend](#frontend)
- [Prerequisite](#prerequisite)
@@ -63,16 +66,18 @@ little bit helps, and credit will always be given.
- [Build assets](#build-assets)
- [Webpack dev server](#webpack-dev-server)
- [Other npm commands](#other-npm-commands)
- [Docker (docker-compose)](#docker-docker-compose)
- [Docker (docker compose)](#docker-docker-compose)
- [Updating NPM packages](#updating-npm-packages)
- [Feature flags](#feature-flags)
- [Git Hooks](#git-hooks)
- [Linting](#linting)
- [Python](#python)
- [TypeScript](#typescript)
- [Conventions](#conventions)
- [Python](#python-conventions)
- [Python Conventions](#python-conventions)
- [Typing](#typing)
- [Python](#python-typing)
- [TypeScript](#typeScript-typing)
- [Python Typing](#python-typing)
- [TypeScript Typing](#typescript-typing)
- [Testing](#testing)
- [Python Testing](#python-testing)
- [Frontend Testing](#frontend-testing)
@@ -92,7 +97,7 @@ little bit helps, and credit will always be given.
- [SQL Lab Async](#sql-lab-async)
- [Async Chart Queries](#async-chart-queries)
- [Chart Parameters](#chart-parameters)
- [Datasource & Chart Type](#datasource--chart-type)
- [Datasource \& Chart Type](#datasource--chart-type)
- [Time](#time)
- [GROUP BY](#group-by)
- [NOT GROUPED BY](#not-grouped-by)
@@ -116,12 +121,12 @@ Here's a list of repositories that contain Superset-related packages:
the [superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend)
folder.
- [github.com/apache-superset](https://github.com/apache-superset) is the
Github organization under which we manage Superset-related
GitHub organization under which we manage Superset-related
small tools, forks and Superset-related experimental ideas.
## Types of Contributions
### Report Bug
### Report a Bug
The best way to report a bug is to file an issue on GitHub. Please include:
@@ -133,15 +138,17 @@ The best way to report a bug is to file an issue on GitHub. Please include:
When posting Python stack traces, please quote them using
[Markdown blocks](https://help.github.com/articles/creating-and-highlighting-code-blocks/).
_Please note that feature requests opened as GitHub Issues will be moved to Discussions._
### Submit Ideas or Feature Requests
The best way is to file an issue on GitHub:
The best way is to start an ["Ideas" Discussion thread](https://github.com/apache/superset/discussions/categories/ideas) on GitHub:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
- Remember that this is a volunteer-driven project, and that your contributions are as welcome as anyone's :)
For large features or major changes to codebase, please create **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/superset/issues/5602)
To propose large features or major changes to codebase, and help usher in those changes, please create a **Superset Improvement Proposal (SIP)**. See template from [SIP-0](https://github.com/apache/superset/issues/5602)
### Fix Bugs
@@ -157,13 +164,13 @@ Look through the GitHub issues. Issues tagged with
Superset could always use better documentation,
whether as part of the official Superset docs,
in docstrings, `docs/*.rst` or even on the web as blog posts or
in docstrings, or even on the web as blog posts or
articles. See [Documentation](#documentation) for more details.
### Add Translations
If you are proficient in a non-English language, you can help translate
text strings from Superset's UI. You can jump in to the existing
text strings from Superset's UI. You can jump into the existing
language dictionaries at
`superset/translations/<language_code>/LC_MESSAGES/messages.po`, or
even create a dictionary for a new language altogether.
@@ -173,6 +180,51 @@ See [Translating](#translating) for more details.
There is a dedicated [`apache-superset` tag](https://stackoverflow.com/questions/tagged/apache-superset) on [StackOverflow](https://stackoverflow.com/). Please use it when asking questions.
## Types of Contributors
Following the project governance model of the Apache Software Foundation (ASF), Apache Superset has a specific set of contributor roles:
### PMC Member
A Project Management Committee (PMC) member is a person who has been elected by the PMC to help manage the project. PMC members are responsible for the overall health of the project, including community development, release management, and project governance. PMC members are also responsible for the technical direction of the project.
For more information about Apache Project PMCs, please refer to https://www.apache.org/foundation/governance/pmcs.html
### Committer
A committer is a person who has been elected by the PMC to have write access (commit access) to the code repository. They can modify the code, documentation, and website and accept contributions from others.
The official list of committers and PMC members can be found [here](https://projects.apache.org/committee.html?superset).
### Contributor
A contributor is a person who has contributed to the project in any way, including but not limited to code, tests, documentation, issues, and discussions.
> You can also review the Superset project's guidelines for PMC member promotion here: https://github.com/apache/superset/wiki/Guidelines-for-promoting-Superset-Committers-to-the-Superset-PMC
### Security Team
The security team is a selected subset of PMC members, committers and non-committers who are responsible for handling security issues.
New members of the security team are selected by the PMC members in a vote. You can request to be added to the team by sending a message to private@superset.apache.org. However, the team should be small and focused on solving security issues, so the requests will be evaluated on a case-by-case basis and the team size will be kept relatively small, limited to only actively security-focused contributors.
This security team must follow the [ASF vulnerability handling process](https://apache.org/security/committers.html#asf-project-security-for-committers).
Each new security issue is tracked as a JIRA ticket on the [ASF's JIRA Superset security project](https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=588&projectKey=SUPERSETSEC)
Security team members must:
- Have an [ICLA](https://www.apache.org/licenses/contributor-agreements.html) signed with Apache Software Foundation.
- Not reveal information about pending and unfixed security issues to anyone (including their employers) unless specifically authorised by the security team members, e.g., if the security team agrees that diagnosing and solving an issue requires the involvement of external experts.
A release manager, the contributor overseeing the release of a specific version of Apache Superset, is by default a member of the security team. However, they are not expected to be active in assessing, discussing, and fixing security issues.
Security team members should also follow these general expectations:
- Actively participate in assessing, discussing, fixing, and releasing security issues in Superset.
- Avoid discussing security fixes in public forums. Pull request (PR) descriptions should not contain any information about security issues. The corresponding JIRA ticket should contain a link to the PR.
- Security team members who contribute to a fix may be listed as remediation developers in the CVE report, along with their job affiliation (if they choose to include it).
## Pull Request Guidelines
A philosophy we would like to strongly encourage is
@@ -198,7 +250,7 @@ Finally, never submit a PR that will put master branch in broken state. If the P
#### Authoring
- Fill in all sections of the PR template.
- Title the PR with one of the following semantic prefixes (inspired by [Karma](http://karma-runner.github.io/0.10/dev/git-commit-msg.html])):
- Title the PR with one of the following semantic prefixes (inspired by [Karma](http://karma-runner.github.io/0.10/dev/git-commit-msg.html)):
- `feat` (new feature)
- `fix` (bug fix)
@@ -209,7 +261,7 @@ Finally, never submit a PR that will put master branch in broken state. If the P
- `chore` (updating tasks etc; no application logic change)
- `perf` (performance-related change)
- `build` (build tooling, Docker configuration change)
- `ci` (test runner, Github Actions workflow changes)
- `ci` (test runner, GitHub Actions workflow changes)
- `other` (changes that don't correspond to the above -- should be rare!)
- Examples:
- `feat: export charts as ZIP files`
@@ -322,16 +374,16 @@ Triaging goals
First, add **Category labels (a.k.a. hash labels)**. Every issue/PR must have one hash label (except spam entry). Labels that begin with `#` defines issue/PR type:
| Label | for Issue | for PR |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `#bug` | Bug report | Bug fix |
| `#code-quality` | Describe problem with code, architecture or productivity | Refactor, tests, tooling |
| `#feature` | New feature request | New feature implementation |
| `#refine` | Propose improvement that does not provide new features and is also not a bug fix nor refactor, such as adjust padding, refine UI style. | Implementation of improvement that does not provide new features and is also not a bug fix nor refactor, such as adjust padding, refine UI style. |
| `#doc` | Documentation | Documentation |
| `#question` | Troubleshooting: Installation, Running locally, Ask how to do something. Can be changed to `#bug` later. | N/A |
| `#SIP` | Superset Improvement Proposal | N/A |
| `#ASF` | Tasks related to Apache Software Foundation policy | Tasks related to Apache Software Foundation policy |
| Label | for Issue | for PR |
| --------------- | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `#bug` | Bug report | Bug fix |
| `#code-quality` | Describe problem with code, architecture or productivity | Refactor, tests, tooling |
| `#feature` | New feature request | New feature implementation |
| `#refine` | Propose improvement such as adjusting padding or refining UI style, excluding new features, bug fixes, and refactoring. | Implementation of improvement such as adjusting padding or refining UI style, excluding new features, bug fixes, and refactoring. |
| `#doc` | Documentation | Documentation |
| `#question` | Troubleshooting: Installation, Running locally, Ask how to do something. Can be changed to `#bug` later. | N/A |
| `#SIP` | Superset Improvement Proposal | N/A |
| `#ASF` | Tasks related to Apache Software Foundation policy | Tasks related to Apache Software Foundation policy |
Then add other types of labels as appropriate.
@@ -385,23 +437,30 @@ cd superset
The latest documentation and tutorial are available at https://superset.apache.org/.
The site is written using the Gatsby framework and docz for the
documentation subsection. Find out more about it in `docs/README.md`
The documentation site is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator, the source for which resides in `./docs`.
#### Images
#### Local Development
If you're adding new images to the documentation, you'll notice that the images
referenced in the rst, e.g.
To set up a local development environment with hot reloading for the documentation site:
.. image:: _static/images/tutorial/tutorial_01_sources_database.png
```shell
cd docs
yarn install # Installs NPM dependencies
yarn start # Starts development server at http://localhost:3000
```
aren't actually stored in that directory. Instead, you should add and commit
images (and any other static assets) to the `superset-frontend/src/assets/images` directory.
When the docs are deployed to https://superset.apache.org/, images
are copied from there to the `_static/images` directory, just like they're referenced
in the docs.
#### Build
For example, the image referenced above actually lives in `superset-frontend/src/assets/images/tutorial`. Since the image is moved during the documentation build process, the docs reference the image in `_static/images/tutorial` instead.
To create and serve a production build of the documentation site:
```shell
yarn build
yarn serve
```
#### Deployment
Commits to `master` trigger a rebuild and redeploy of the documentation site. Submit pull requests that modify the documentation with the `docs:` prefix.
### Flask server
@@ -410,9 +469,9 @@ For example, the image referenced above actually lives in `superset-frontend/src
Make sure your machine meets the [OS dependencies](https://superset.apache.org/docs/installation/installing-superset-from-scratch#os-dependencies) before following these steps.
You also need to install MySQL or [MariaDB](https://mariadb.com/downloads).
Ensure that you are using Python version 3.7 or 3.8, then proceed with:
Ensure that you are using Python version 3.9, 3.10 or 3.11, then proceed with:
````bash
```bash
# Create a virtual environment and activate it (recommended)
python3 -m venv venv # setup a python3 virtualenv
source venv/bin/activate
@@ -439,7 +498,7 @@ superset load-examples
# Start the Flask dev web server from inside your virtualenv.
# Note that your page may not have CSS at this point.
# See instructions below how to build the front-end assets.
FLASK_ENV=development superset run -p 8088 --with-threads --reload --debugger
superset run -p 8088 --with-threads --reload --debugger --debug
```
Or you can install via our Makefile
@@ -457,13 +516,13 @@ $ make superset
# Setup pre-commit only
$ make pre-commit
````
```
**Note: the FLASK_APP env var should not need to be set, as it's currently controlled
via `.flaskenv`, however if needed, it should be set to `superset.app:create_app()`**
If you have made changes to the FAB-managed templates, which are not built the same way as the newer, React-powered front-end assets, you need to start the app without the `--with-threads` argument like so:
`FLASK_ENV=development superset run -p 8088 --reload --debugger`
`superset run -p 8088 --reload --debugger --debug`
#### Dependencies
@@ -488,7 +547,7 @@ To bring all dependencies up to date as per the restrictions defined in `setup.p
$ pip-compile-multi
```
This should be done periodically, but it is rcommended to do thorough manual testing of the application to ensure no breaking changes have been introduced that aren't caught by the unit and integration tests.
This should be done periodically, but it is recommended to do thorough manual testing of the application to ensure no breaking changes have been introduced that aren't caught by the unit and integration tests.
#### Logging to the browser console
@@ -504,7 +563,7 @@ def FLASK_APP_MUTATOR(app):
Then make sure you run your WSGI server using the right worker type:
```bash
FLASK_ENV=development gunicorn "superset.app:create_app()" -k "geventwebsocket.gunicorn.workers.GeventWebSocketWorker" -b 127.0.0.1:8088 --reload
gunicorn "superset.app:create_app()" -k "geventwebsocket.gunicorn.workers.GeventWebSocketWorker" -b 127.0.0.1:8088 --reload
```
You can log anything to the browser console, including objects:
@@ -533,6 +592,11 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage your node envi
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
incase it shows '-bash: nvm: command not found'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
cd superset-frontend
nvm install --lts
nvm use --lts
@@ -558,6 +622,19 @@ cd superset-frontend
npm ci
```
Note that Superset uses [Scarf](https://docs.scarf.sh) to capture telemetry/analytics about versions being installed, including the `scarf-js` npm package and an analytics pixel. As noted elsewhere in this documentation, Scarf gathers aggregated stats for the sake of security/release strategy, and does not capture/retain PII. [You can read here](https://docs.scarf.sh/package-analytics/) about the `scarf-js` package, and various means to opt out of it, but you can opt out of the npm package _and_ the pixel by setting the `SCARF_ANALYTICS` envinronment variable to `false` or opt out of the pixel by adding this setting in `superset-frontent/package.json`:
```json
// your-package/package.json
{
// ...
"scarfSettings": {
"enabled": false
}
// ...
}
```
#### Build assets
There are three types of assets you can build:
@@ -566,9 +643,49 @@ There are three types of assets you can build:
2. `npm run dev-server`: local development assets, with sourcemaps and hot refresh support
3. `npm run build-instrumented`: instrumented application code for collecting code coverage from Cypress tests
If while using the above commands you encounter an error related to the limit of file watchers:
```bash
Error: ENOSPC: System limit for number of file watchers reached
```
The error is thrown because the number of files monitored by the system has reached the limit.
You can address this this error by increasing the number of inotify watchers.
The current value of max watches can be checked with:
```bash
cat /proc/sys/fs/inotify/max_user_watches
```
Edit the file /etc/sysctl.conf to increase this value.
The value needs to be decided based on the system memory [(see this StackOverflow answer for more context)](https://stackoverflow.com/questions/535768/what-is-a-reasonable-amount-of-inotify-watches-with-linux).
Open the file in editor and add a line at the bottom specifying the max watches values.
```bash
fs.inotify.max_user_watches=524288
```
Save the file and exit editor.
To confirm that the change succeeded, run the following command to load the updated value of max_user_watches from sysctl.conf:
```bash
sudo sysctl -p
```
#### Webpack dev server
The dev server by default starts at `http://localhost:9000` and proxies the backend requests to `http://localhost:8088`. It's possible to change these settings:
The dev server by default starts at `http://localhost:9000` and proxies the backend requests to `http://localhost:8088`.
So a typical development workflow is the following:
1. [run Superset locally](#flask-server) using Flask, on port `8088` — but don't access it directly,<br/>
```bash
# Install Superset and dependencies, plus load your virtual environment first, as detailed above.
superset run -p 8088 --with-threads --reload --debugger --debug
```
2. in parallel, run the Webpack dev server locally on port `9000`,<br/>
```bash
npm run dev-server
```
3. access `http://localhost:9000` (the Webpack server, _not_ Flask) in your web browser. This will use the hot-reloading front-end assets from the Webpack development server while redirecting back-end queries to Flask/Superset: your changes on Superset codebase — either front or back-end — will then be reflected live in the browser.
It's possible to change the Webpack server settings:
```bash
# Start the dev server at http://localhost:9000
@@ -593,7 +710,7 @@ Alternatively, there are other NPM commands you may find useful:
1. `npm run build-dev`: build assets in development mode.
2. `npm run dev`: built dev assets in watch mode, will automatically rebuild when a file changes
#### Docker (docker-compose)
#### Docker (docker compose)
See docs [here](docker/README.md)
@@ -613,7 +730,7 @@ FEATURE_FLAGS = {
}
```
If you want to use the same flag in the client code, also add it to the FeatureFlag TypeScript enum in [@superset-ui/core](https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-core/src/utils/featureFlags.ts). For example,
If you want to use the same flag in the client code, also add it to the FeatureFlag TypeScript enum in [@superset-ui/core](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts). For example,
```typescript
export enum FeatureFlag {
@@ -661,10 +778,10 @@ We use [Pylint](https://pylint.org/) for linting which can be invoked via:
tox -e pylint
```
In terms of best practices please advoid blanket disablement of Pylint messages globally (via `.pylintrc`) or top-level within the file header, albeit there being a few exceptions. Disablement should occur inline as it prevents masking issues and provides context as to why said message is disabled.
In terms of best practices please avoid blanket disabling of Pylint messages globally (via `.pylintrc`) or top-level within the file header, albeit there being a few exceptions. Disabling should occur inline as it prevents masking issues and provides context as to why said message is disabled.
Additionally the Python code is auto-formatted using [Black](https://github.com/python/black) which
is configured as a pre-commit hook. There are also numerous [editor integrations](https://black.readthedocs.io/en/stable/editor_integration.html)
Additionally, the Python code is auto-formatted using [Black](https://github.com/python/black) which
is configured as a pre-commit hook. There are also numerous [editor integrations](https://black.readthedocs.io/en/stable/integrations/editors.html)
### TypeScript
@@ -804,7 +921,6 @@ We use [Cypress](https://www.cypress.io/) for integration tests. Tests can be ru
```bash
export SUPERSET_CONFIG=tests.integration_tests.superset_test_config
export SUPERSET_TESTENV=true
export ENABLE_REACT_CRUD_VIEWS=true
export CYPRESS_BASE_URL="http://localhost:8081"
superset db upgrade
superset load_test_users
@@ -826,10 +942,10 @@ npm install
npm run cypress-run-chrome
# run tests from a specific file
npm run cypress-run-chrome -- --spec cypress/integration/explore/link.test.ts
npm run cypress-run-chrome -- --spec cypress/e2e/explore/link.test.ts
# run specific file with video capture
npm run cypress-run-chrome -- --spec cypress/integration/dashboard/index.test.js --config video=true
npm run cypress-run-chrome -- --spec cypress/e2e/dashboard/index.test.js --config video=true
# to open the cypress ui
npm run cypress-debug
@@ -841,17 +957,17 @@ CYPRESS_BASE_URL=<your url> npm run cypress open
See [`superset-frontend/cypress_build.sh`](https://github.com/apache/superset/blob/master/superset-frontend/cypress_build.sh).
As an alternative you can use docker-compose environment for testing:
As an alternative you can use docker compose environment for testing:
Make sure you have added below line to your /etc/hosts file:
`127.0.0.1 db`
If you already have launched Docker environment please use the following command to assure a fresh database instance:
`docker-compose down -v`
`docker compose down -v`
Launch environment:
`CYPRESS_CONFIG=true docker-compose up`
`CYPRESS_CONFIG=true docker compose up`
It will serve backend and frontend on port 8088.
@@ -865,6 +981,33 @@ npm run cypress open
### Debugging Server App
#### Local
For debugging locally using VSCode, you can configure a launch configuration file .vscode/launch.json such as
```json
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "superset",
"SUPERSET_ENV": "development"
},
"args": ["run", "-p 8088", "--with-threads", "--reload", "--debugger"],
"jinja": true,
"justMyCode": true
}
]
}
```
#### Docker
Follow these instructions to debug the Flask app running inside a docker container.
First add the following to the ./docker-compose.yaml file
@@ -891,7 +1034,7 @@ superset:
Start Superset as usual
```bash
docker-compose up
docker compose up
```
Install the required libraries and packages to the docker container
@@ -942,26 +1085,26 @@ tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN
You are now ready to attach a debugger to the process. Using VSCode you can configure a launch configuration file .vscode/launch.json like so.
```
```json
{
"version": "0.2.0",
"configurations": [
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Superset App in Docker Container",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"pathMappings": [
{
"name": "Attach to Superset App in Docker Container",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
}
]
},
]
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
}
]
}
]
}
```
@@ -1004,7 +1147,7 @@ When contributing new React components to Superset, please try to add a Story al
## Translating
We use [Babel](http://babel.pocoo.org/en/latest/) to translate Superset.
We use [Flask-Babel](https://python-babel.github.io/flask-babel/) to translate Superset.
In Python files, we import the magic `_` function using:
```python
@@ -1047,6 +1190,7 @@ LANGUAGES = {
```
This script will
1. update the template file `superset/translations/messages.pot` with current application strings.
2. update language files with the new extracted strings.
@@ -1125,7 +1269,7 @@ To contribute a plugin to Superset, your plugin must meet the following criteria
- The plugin should contain sufficient unit/e2e tests
- The plugin should use appropriate namespacing, e.g. a folder name of `plugin-chart-whatever` and a package name of `@superset-ui/plugin-chart-whatever`
- The plugin should use them variables via Emotion, as passed in by the ThemeProvider
- The plugin should provide adequate error handling (no data returned, malformatted data, invalid controls, etc.)
- The plugin should provide adequate error handling (no data returned, malformed data, invalid controls, etc.)
- The plugin should contain documentation in the form of a populated `README.md` file
- The plugin should have a meaningful and unique icon
- Above all else, the plugin should come with a _commitment to maintenance_ from the original author(s)
@@ -1261,14 +1405,14 @@ To do this, you'll need to:
but perfect for testing (stores cache in `/tmp`)
```python
from cachelib.file import FileSystemCache
from flask_caching.backends.filesystemcache import FileSystemCache
RESULTS_BACKEND = FileSystemCache('/tmp/sqllab')
```
- Start up a celery worker
```shell script
celery --app=superset.tasks.celery_app:app worker -Ofair
celery --app=superset.tasks.celery_app:app worker -O fair
```
Note that:
@@ -1298,6 +1442,7 @@ The following configuration settings are available for async queries (see config
- `GLOBAL_ASYNC_QUERIES_REDIS_STREAM_LIMIT_FIREHOSE` - the maximum number of events for all users (FIFO eviction)
- `GLOBAL_ASYNC_QUERIES_JWT_COOKIE_NAME` - the async query feature uses a [JWT](https://tools.ietf.org/html/rfc7519) cookie for authentication, this setting is the cookie's name
- `GLOBAL_ASYNC_QUERIES_JWT_COOKIE_SECURE` - JWT cookie secure option
- `GLOBAL_ASYNC_QUERIES_JWT_COOKIE_SAMESITE` - JWT cookie same site option
- `GLOBAL_ASYNC_QUERIES_JWT_COOKIE_DOMAIN` - JWT cookie domain option ([see docs for set_cookie](https://tedboy.github.io/flask/interface_api.response_object.html#flask.Response.set_cookie))
- `GLOBAL_ASYNC_QUERIES_JWT_SECRET` - JWT's use a secret key to sign and validate the contents. This value should be at least 32 bytes and have sufficient randomness for proper security
- `GLOBAL_ASYNC_QUERIES_TRANSPORT` - available options: "polling" (HTTP, default), "ws" (WebSocket, requires running superset-websocket server)
@@ -1315,24 +1460,22 @@ Note not all fields are correctly categorized. The fields vary based on visualiz
### Datasource & Chart Type
| Field | Type | Notes |
| ----------------- | -------- | ----------------------------------- |
| `database_name` | _string_ | _Deprecated?_ |
| Field | Type | Notes |
| ----------------- | -------- | ------------------------------------ |
| `database_name` | _string_ | _Deprecated?_ |
| `datasource` | _string_ | `<datasource_id>__<datasource_type>` |
| `datasource_id` | _string_ | _Deprecated?_ See `datasource` |
| `datasource_name` | _string_ | _Deprecated?_ |
| `datasource_type` | _string_ | _Deprecated?_ See `datasource` |
| `viz_type` | _string_ | The **Visualization Type** widget |
| `datasource_id` | _string_ | _Deprecated?_ See `datasource` |
| `datasource_name` | _string_ | _Deprecated?_ |
| `datasource_type` | _string_ | _Deprecated?_ See `datasource` |
| `viz_type` | _string_ | The **Visualization Type** widget |
### Time
| Field | Type | Notes |
| ------------------- | -------- | ------------------------------------- |
| `druid_time_origin` | _string_ | The Druid **Origin** widget |
| `granularity` | _string_ | The Druid **Time Granularity** widget |
| `granularity_sqla` | _string_ | The SQLA **Time Column** widget |
| `time_grain_sqla` | _string_ | The SQLA **Time Grain** widget |
| `time_range` | _string_ | The **Time range** widget |
| Field | Type | Notes |
| ------------------ | -------- | ------------------------------- |
| `granularity_sqla` | _string_ | The SQLA **Time Column** widget |
| `time_grain_sqla` | _string_ | The SQLA **Time Grain** widget |
| `time_range` | _string_ | The **Time range** widget |
### GROUP BY
@@ -1365,17 +1508,17 @@ Note not all fields are correctly categorized. The fields vary based on visualiz
### Query
| Field | Type | Notes |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------- | ------------------------------------------------- |
| `adhoc_filters` | _array(object)_ | The **Filters** widget |
| `extra_filters` | _array(object)_ | Another pathway to the **Filters** widget.<br/>It is generally used to pass dashboard filter parameters to a chart.<br/>It can be used for appending additional filters to a chart that has been saved with its own filters on an ad-hoc basis if the chart is being used as a standalone widget.<br/><br/>For implementation examples see : [utils test.py](https://github.com/apache/superset/blob/66a4c94a1ed542e69fe6399bab4c01d4540486cf/tests/utils_tests.py#L181)<br/>For insight into how superset processes the contents of this parameter see: [exploreUtils/index.js](https://github.com/apache/superset/blob/93c7f5bb446ec6895d7702835f3157426955d5a9/superset-frontend/src/explore/exploreUtils/index.js#L159) |
| `columns` | _array(string)_ | The **Breakdowns** widget |
| `groupby` | _array(string)_ | The **Group by** or **Series** widget |
| `limit` | _number_ | The **Series Limit** widget |
| `metric`<br>`metric_2`<br>`metrics`<br>`percent_metrics`<br>`secondary_metric`<br>`size`<br>`x`<br>`y` | _string_,_object_,_array(string)_,_array(object)_ | The metric(s) depending on the visualization type |
| `order_asc` | _boolean_ | The **Sort Descending** widget |
| `row_limit` | _number_ | The **Row limit** widget |
| `timeseries_limit_metric` | _object_ | The **Sort By** widget |
| Field | Type | Notes |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `adhoc_filters` | _array(object)_ | The **Filters** widget |
| `extra_filters` | _array(object)_ | Another pathway to the **Filters** widget.<br/>It is generally used to pass dashboard filter parameters to a chart.<br/>It can be used for appending additional filters to a chart that has been saved with its own filters on an ad-hoc basis if the chart is being used as a standalone widget.<br/><br/>For implementation examples see : [utils test.py](https://github.com/apache/superset/blob/66a4c94a1ed542e69fe6399bab4c01d4540486cf/tests/utils_tests.py#L181)<br/>For insight into how superset processes the contents of this parameter see: [exploreUtils/index.js](https://github.com/apache/superset/blob/93c7f5bb446ec6895d7702835f3157426955d5a9/superset-frontend/src/explore/exploreUtils/index.js#L159) |
| `columns` | _array(string)_ | The **Breakdowns** widget |
| `groupby` | _array(string)_ | The **Group by** or **Series** widget |
| `limit` | _number_ | The **Series Limit** widget |
| `metric`<br>`metric_2`<br>`metrics`<br>`percent_metrics`<br>`secondary_metric`<br>`size`<br>`x`<br>`y` | _string_,_object_,_array(string)_,_array(object)_ | The metric(s) depending on the visualization type |
| `order_asc` | _boolean_ | The **Sort Descending** widget |
| `row_limit` | _number_ | The **Row limit** widget |
| `timeseries_limit_metric` | _object_ | The **Sort By** widget |
The `metric` (or equivalent) and `timeseries_limit_metric` fields are all composed of either metric names or the JSON representation of the `AdhocMetric` TypeScript type. The `adhoc_filters` is composed of the JSON represent of the `AdhocFilter` TypeScript type (which can comprise of columns or metrics depending on whether it is a WHERE or HAVING clause). The `all_columns`, `all_columns_x`, `columns`, `groupby`, and `order_by_cols` fields all represent column names.
+78 -102
View File
@@ -15,153 +15,129 @@
# limitations under the License.
#
######################################################################
# PY stage that simply does a pip install on our requirements
######################################################################
ARG PY_VER=3.8.12
FROM python:${PY_VER} AS superset-py
RUN mkdir /app \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
build-essential \
default-libmysqlclient-dev \
libpq-dev \
libsasl2-dev \
libecpg-dev \
&& rm -rf /var/lib/apt/lists/*
# First, we just wanna install requirements, which will allow us to utilize the cache
# in order to only build if and only if requirements change
COPY ./requirements/*.txt /app/requirements/
COPY setup.py MANIFEST.in README.md /app/
COPY superset-frontend/package.json /app/superset-frontend/
RUN cd /app \
&& mkdir -p superset/static \
&& touch superset/static/version_info.json \
&& pip install --no-cache -r requirements/local.txt
######################################################################
# Node stage to deal with static asset construction
######################################################################
FROM node:16 AS superset-node
ARG PY_VER=3.9-slim-bookworm
ARG NPM_VER=7
RUN npm install -g npm@${NPM_VER}
# if BUILDPLATFORM is null, set it to 'amd64' (or leave as is otherwise).
ARG BUILDPLATFORM=${BUILDPLATFORM:-amd64}
FROM --platform=${BUILDPLATFORM} node:16-bookworm-slim AS superset-node
ARG NPM_BUILD_CMD="build"
ENV BUILD_CMD=${NPM_BUILD_CMD}
RUN apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
build-essential \
python3
ENV BUILD_CMD=${NPM_BUILD_CMD} \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
# NPM ci first, as to NOT invalidate previous steps except for when package.json changes
RUN mkdir -p /app/superset-frontend
RUN mkdir -p /app/superset/assets
COPY ./docker/frontend-mem-nag.sh /
COPY ./superset-frontend /app/superset-frontend
RUN /frontend-mem-nag.sh \
&& cd /app/superset-frontend \
&& npm ci
WORKDIR /app/superset-frontend
RUN --mount=type=bind,target=/frontend-mem-nag.sh,src=./docker/frontend-mem-nag.sh \
/frontend-mem-nag.sh
RUN --mount=type=bind,target=./package.json,src=./superset-frontend/package.json \
--mount=type=bind,target=./package-lock.json,src=./superset-frontend/package-lock.json \
npm ci
COPY ./superset-frontend ./
# This seems to be the most expensive step
RUN cd /app/superset-frontend \
&& npm run ${BUILD_CMD} \
&& rm -rf node_modules
RUN npm run ${BUILD_CMD}
######################################################################
# Final lean image...
######################################################################
ARG PY_VER=3.8.12
FROM python:${PY_VER} AS lean
WORKDIR /app
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
FLASK_ENV=production \
SUPERSET_ENV=production \
FLASK_APP="superset.app:create_app()" \
PYTHONPATH="/app/pythonpath" \
SUPERSET_HOME="/app/superset_home" \
SUPERSET_PORT=8088
RUN mkdir -p ${PYTHONPATH} \
&& useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
build-essential \
default-libmysqlclient-dev \
libsasl2-modules-gssapi-mit \
libpq-dev \
libecpg-dev \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p ${PYTHONPATH} superset/static superset-frontend apache_superset.egg-info requirements \
&& useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset \
&& apt-get update -qq && apt-get install -yqq --no-install-recommends \
build-essential \
curl \
default-libmysqlclient-dev \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libpq-dev \
libecpg-dev \
libldap2-dev \
&& touch superset/static/version_info.json \
&& chown -R superset:superset ./* \
&& rm -rf /var/lib/apt/lists/*
COPY --from=superset-py /usr/local/lib/python3.8/site-packages/ /usr/local/lib/python3.8/site-packages/
# Copying site-packages doesn't move the CLIs, so let's copy them one by one
COPY --from=superset-py /usr/local/bin/gunicorn /usr/local/bin/celery /usr/local/bin/flask /usr/bin/
COPY --from=superset-node /app/superset/static/assets /app/superset/static/assets
COPY --from=superset-node /app/superset-frontend /app/superset-frontend
COPY --chown=superset:superset setup.py MANIFEST.in README.md ./
# setup.py uses the version information in package.json
COPY --chown=superset:superset superset-frontend/package.json superset-frontend/
RUN --mount=type=bind,target=./requirements/local.txt,src=./requirements/local.txt \
--mount=type=bind,target=./requirements/development.txt,src=./requirements/development.txt \
--mount=type=bind,target=./requirements/base.txt,src=./requirements/base.txt \
--mount=type=cache,target=/root/.cache/pip \
pip install -r requirements/local.txt
COPY --chown=superset:superset --from=superset-node /app/superset/static/assets superset/static/assets
## Lastly, let's install superset itself
COPY superset /app/superset
COPY setup.py MANIFEST.in README.md /app/
RUN cd /app \
&& chown -R superset:superset * \
&& pip install -e . \
&& flask fab babel-compile --target superset/translations
COPY ./docker/run-server.sh /usr/bin/
RUN chmod a+x /usr/bin/run-server.sh
WORKDIR /app
COPY --chown=superset:superset superset superset
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -e . \
&& flask fab babel-compile --target superset/translations \
&& chown -R superset:superset superset/translations
COPY --chmod=755 ./docker/run-server.sh /usr/bin/
USER superset
HEALTHCHECK CMD curl -f "http://localhost:$SUPERSET_PORT/health"
HEALTHCHECK CMD curl -f "http://localhost:${SUPERSET_PORT}/health"
EXPOSE ${SUPERSET_PORT}
CMD /usr/bin/run-server.sh
CMD ["/usr/bin/run-server.sh"]
######################################################################
# Dev image...
######################################################################
FROM lean AS dev
ARG GECKODRIVER_VERSION=v0.28.0
ARG FIREFOX_VERSION=88.0
COPY ./requirements/*.txt ./docker/requirements-*.txt/ /app/requirements/
ARG GECKODRIVER_VERSION=v0.33.0 \
FIREFOX_VERSION=117.0.1
USER root
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends libnss3 libdbus-glib-1-2 libgtk-3-0 libx11-xcb1
# Install GeckoDriver WebDriver
RUN wget https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O /tmp/geckodriver.tar.gz && \
tar xvfz /tmp/geckodriver.tar.gz -C /tmp && \
mv /tmp/geckodriver /usr/local/bin/geckodriver && \
rm /tmp/geckodriver.tar.gz
# Install Firefox
RUN wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 -O /opt/firefox.tar.bz2 && \
tar xvf /opt/firefox.tar.bz2 -C /opt && \
ln -s /opt/firefox/firefox /usr/local/bin/firefox
RUN apt-get update -qq \
&& apt-get install -yqq --no-install-recommends \
libnss3 \
libdbus-glib-1-2 \
libgtk-3-0 \
libx11-xcb1 \
libasound2 \
libxtst6 \
wget \
# Install GeckoDriver WebDriver
&& wget -q https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin \
# Install Firefox
&& wget -q https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 -O - | tar xfj - -C /opt \
&& ln -s /opt/firefox/firefox /usr/local/bin/firefox \
&& apt-get autoremove -yqq --purge wget && rm -rf /var/[log,tmp]/* /tmp/* /var/lib/apt/lists/*
# Cache everything for dev purposes...
RUN cd /app \
&& pip install --no-cache -r requirements/docker.txt \
&& pip install --no-cache -r requirements/requirements-local.txt || true
RUN --mount=type=bind,target=./requirements/base.txt,src=./requirements/base.txt \
--mount=type=bind,target=./requirements/docker.txt,src=./requirements/docker.txt \
--mount=type=cache,target=/root/.cache/pip \
pip install -r requirements/docker.txt
USER superset
######################################################################
# CI image...
######################################################################
FROM lean AS ci
COPY --chown=superset ./docker/docker-bootstrap.sh /app/docker/
COPY --chown=superset ./docker/docker-init.sh /app/docker/
COPY --chown=superset ./docker/docker-ci.sh /app/docker/
COPY --chown=superset:superset --chmod=755 ./docker/*.sh /app/docker/
RUN chmod a+x /app/docker/*.sh
CMD /app/docker/docker-ci.sh
CMD ["/app/docker/docker-ci.sh"]
+11 -5
View File
@@ -15,8 +15,8 @@
# limitations under the License.
#
# Python version installed; we need 3.7-3.9
PYTHON=`command -v python3.9 || command -v python3.8 || command -v python3.7`
# Python version installed; we need 3.9-3.11
PYTHON=`command -v python3.11 || command -v python3.10 || command -v python3.9`
.PHONY: install superset venv pre-commit
@@ -47,7 +47,7 @@ superset:
superset load-examples
# Install node packages
cd superset-frontend; npm install
cd superset-frontend; npm ci
update: update-py update-js
@@ -70,7 +70,7 @@ update-js:
venv:
# Create a virtual environment and activate it (recommended)
if ! [ -x "${PYTHON}" ]; then echo "You need Python 3.7, 3.8 or 3.9 installed"; exit 1; fi
if ! [ -x "${PYTHON}" ]; then echo "You need Python 3.9, 3.10 or 3.11 installed"; exit 1; fi
test -d venv || ${PYTHON} -m venv venv # setup a python3 virtualenv
. venv/bin/activate
@@ -101,11 +101,17 @@ node-app:
build-cypress:
cd superset-frontend; npm run build-instrumented
cd superset-frontend/cypress-base; npm install
cd superset-frontend/cypress-base; npm ci
open-cypress:
if ! [ $(port) ]; then cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:9000 npm run cypress open; fi
cd superset-frontend/cypress-base; CYPRESS_BASE_URL=http://localhost:$(port) npm run cypress open
report-celery-worker:
celery --app=superset.tasks.celery_app:app worker
report-celery-beat:
celery --app=superset.tasks.celery_app:app beat --pidfile /tmp/celerybeat.pid --schedule /tmp/celerybeat-schedulecd
admin-user:
superset fab create-admin
+85 -48
View File
@@ -25,14 +25,20 @@ under the License.
[![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset)
[![Coverage Status](https://codecov.io/github/apache/superset/coverage.svg?branch=master)](https://codecov.io/github/apache/superset)
[![PyPI](https://img.shields.io/pypi/pyversions/apache-superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/apache-superset)
[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://join.slack.com/t/apache-superset/shared_invite/zt-uxbh5g36-AISUtHbzOXcu0BIj7kgUaw)
[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://bit.ly/join-superset-slack)
[![Documentation](https://img.shields.io/badge/docs-apache.org-blue.svg)](https://superset.apache.org)
<img
src="https://github.com/apache/superset/raw/master/superset-frontend/src/assets/branding/superset-logo-horiz-apache.png"
alt="Superset"
width="500"
/>
<picture width="500">
<source
media="(prefers-color-scheme: dark)"
src="https://github.com/apache/superset/raw/master/superset-frontend/src/assets/branding/superset-logo-horiz-apache-dark.png"
alt="Superset logo (dark)"
/>
<img
src="https://github.com/apache/superset/raw/master/superset-frontend/src/assets/branding/superset-logo-horiz-apache.png"
alt="Superset logo (light)"
/>
</picture>
A modern, enterprise-ready business intelligence web application.
@@ -47,7 +53,7 @@ A modern, enterprise-ready business intelligence web application.
## Why Superset?
Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams.
Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.
Superset provides:
@@ -63,9 +69,15 @@ Superset provides:
## Screenshots & Gifs
**Video Overview**
https://user-images.githubusercontent.com/64562059/234390129-321d4f35-cb4b-45e8-89d9-20ae292f34fc.mp4
<br/>
**Large Gallery of Visualizations**
<kbd><a href="https://superset.apache.org/gallery"><img title="Gallery" src="superset-frontend/src/assets/images/screenshots/gallery.jpg"/></a></kbd><br/>
<kbd><img title="Gallery" src="superset-frontend/src/assets/images/screenshots/gallery.jpg"/></kbd><br/>
**Craft Beautiful, Dynamic Dashboards**
@@ -86,39 +98,42 @@ Superset can query data from any SQL-speaking datastore or data engine (Presto,
Here are some of the major database solutions that are supported:
<p align="center">
<img src="superset-frontend/src/assets/images/redshift.png" alt="redshift" border="0" width="106" height="41"/>
<img src="superset-frontend/src/assets/images/google-biquery.png" alt="google-biquery" border="0" width="114" height="43"/>
<img src="superset-frontend/src/assets/images/snowflake.png" alt="snowflake" border="0" width="152" height="46"/>
<img src="superset-frontend/src/assets/images/trino.png" alt="trino" border="0" width="46" height="46"/>
<img src="superset-frontend/src/assets/images/presto.png" alt="presto" border="0" width="152" height="46"/>
<img src="superset-frontend/src/assets/images/druid.png" alt="druid" border="0" width="135" height="37" />
<img src="superset-frontend/src/assets/images/firebolt.png" alt="firebolt" border="0" width="133" height="21.5" />
<img src="superset-frontend/src/assets/images/timescale.png" alt="timescale" border="0" width="102" height="26.8" />
<img src="superset-frontend/src/assets/images/rockset.png" alt="rockset" border="0" width="125" height="51" />
<img src="superset-frontend/src/assets/images/postgresql.png" alt="postgresql" border="0" width="132" height="81" />
<img src="superset-frontend/src/assets/images/mysql.png" alt="mysql" border="0" width="119" height="62" />
<img src="superset-frontend/src/assets/images/mssql-server.png" alt="mssql-server" border="0" width="93" height="74" />
<img src="superset-frontend/src/assets/images/db2.png" alt="db2" border="0" width="62" height="62" />
<img src="superset-frontend/src/assets/images/sqlite.png" alt="sqlite" border="0" width="102" height="45" />
<img src="superset-frontend/src/assets/images/sybase.png" alt="sybase" border="0" width="128" height="47" />
<img src="superset-frontend/src/assets/images/mariadb.png" alt="mariadb" border="0" width="83" height="63" />
<img src="superset-frontend/src/assets/images/vertica.png" alt="vertica" border="0" width="128" height="40" />
<img src="superset-frontend/src/assets/images/oracle.png" alt="oracle" border="0" width="121" height="66" />
<img src="superset-frontend/src/assets/images/firebird.png" alt="firebird" border="0" width="86" height="56" />
<img src="superset-frontend/src/assets/images/greenplum.png" alt="greenplum" border="0" width="140" height="45" />
<img src="superset-frontend/src/assets/images/clickhouse.png" alt="clickhouse" border="0" width="133" height="34" />
<img src="superset-frontend/src/assets/images/exasol.png" alt="exasol" border="0" width="106" height="59" />
<img src="superset-frontend/src/assets/images/monet-db.png" alt="monet-db" border="0" width="106" height="46" />
<img src="superset-frontend/src/assets/images/apache-kylin.png" alt="apache-kylin" border="0" width="56" height="64"/>
<img src="superset-frontend/src/assets/images/hologres.png" alt="hologres" border="0" width="71" height="64"/>
<img src="superset-frontend/src/assets/images/netezza.png" alt="netezza" border="0" width="64" height="64"/>
<img src="superset-frontend/src/assets/images/pinot.png" alt="pinot" border="0" width="165" height="64"/>
<img src="superset-frontend/src/assets/images/teradata.png" alt="teradata" border="0" width="165" height="64"/>
<img src="superset-frontend/src/assets/images/yugabyte.png" alt="yugabyte" border="0" width="180" height="31"/>
<img src="superset-frontend/src/assets/images/redshift.png" alt="redshift" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/google-biquery.png" alt="google-biquery" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/snowflake.png" alt="snowflake" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/trino.png" alt="trino" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/presto.png" alt="presto" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/databricks.png" alt="databricks" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/druid.png" alt="druid" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/firebolt.png" alt="firebolt" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/timescale.png" alt="timescale" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/rockset.png" alt="rockset" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/postgresql.png" alt="postgresql" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/mysql.png" alt="mysql" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/mssql-server.png" alt="mssql-server" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/db2.png" alt="db2" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/sqlite.png" alt="sqlite" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/sybase.png" alt="sybase" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/mariadb.png" alt="mariadb" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/vertica.png" alt="vertica" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/oracle.png" alt="oracle" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/firebird.png" alt="firebird" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/greenplum.png" alt="greenplum" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/clickhouse.png" alt="clickhouse" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/exasol.png" alt="exasol" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/monet-db.png" alt="monet-db" border="0" width="200" height="80" />
<img src="superset-frontend/src/assets/images/apache-kylin.png" alt="apache-kylin" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/hologres.png" alt="hologres" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/netezza.png" alt="netezza" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/pinot.png" alt="pinot" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/teradata.png" alt="teradata" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/yugabyte.png" alt="yugabyte" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/databend.png" alt="databend" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/starrocks.png" alt="starrocks" border="0" width="200" height="80"/>
<img src="superset-frontend/src/assets/images/doris.png" alt="doris" border="0" width="200" height="80"/>
</p>
**A more comprehensive list of supported databases** along with the configuration instructions can be found
[here](https://superset.apache.org/docs/databases/installing-database-drivers).
**A more comprehensive list of supported databases** along with the configuration instructions can be found [here](https://superset.apache.org/docs/databases/installing-database-drivers).
Want to add support for your datastore or data engine? Read more [here](https://superset.apache.org/docs/frequently-asked-questions#does-superset-work-with-insert-database-engine-here) about the technical requirements.
@@ -129,9 +144,11 @@ Want to add support for your datastore or data engine? Read more [here](https://
## Get Involved
- Ask and answer questions on [StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset) using the **apache-superset** tag
- [Join our community's Slack](https://join.slack.com/t/apache-superset/shared_invite/zt-uxbh5g36-AISUtHbzOXcu0BIj7kgUaw)
- [Join our community's Slack](http://bit.ly/join-superset-slack)
and please read our [Slack Community Guidelines](https://github.com/apache/superset/blob/master/CODE_OF_CONDUCT.md#slack-community-guidelines)
- [Join our dev@superset.apache.org Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org)
- [Join our dev@superset.apache.org Mailing list](https://lists.apache.org/list.html?dev@superset.apache.org). To join, simply send an email to [dev-subscribe@superset.apache.org](mailto:dev-subscribe@superset.apache.org)
- If you want to help troubleshoot GitHub Issues involving the numerous database drivers that Superset supports, please consider adding your name and the databases you have access to on the [Superset Database Familiarity Rolodex](https://docs.google.com/spreadsheets/d/1U1qxiLvOX0kBTUGME1AHHi6Ywel6ECF8xk_Qy-V9R8c/edit#gid=0)
- Join Superset's Town Hall and [Operational Model](https://preset.io/blog/the-superset-operational-model-wants-you/) recurring meetings. Meeting info is available on the [Superset Community Calendar](https://superset.apache.org/community)
## Contributor Guide
@@ -142,27 +159,47 @@ how to set up a development environment.
## Resources
- [Superset "In the Wild"](RESOURCES/INTHEWILD.md) - open a PR to add your org to the list!
- [Feature Flags](RESOURCES/FEATURE_FLAGS.md) - the status of Superset's Feature Flags.
- [Standard Roles](RESOURCES/STANDARD_ROLES.md) - How RBAC permissions map to roles.
- [Superset Wiki](https://github.com/apache/superset/wiki) - Tons of additional community resources: best practices, community content and other information.
- [Superset SIPs](https://github.com/orgs/apache/projects/170) - The status of Superset's SIPs (Superset Improvement Proposals) for both consensus and implementation status.
Superset 2.0!
- [Superset 2.0 Meetup](https://preset.io/events/superset-2-0-meetup/)
- [Superset 2.0 Release Notes](https://github.com/apache/superset/tree/master/RELEASING/release-notes-2-0)
Understanding the Superset Points of View
- [The Case for Dataset-Centric Visualization](https://preset.io/blog/dataset-centric-visualization/)
- [Understanding the Superset Semantic Layer](https://preset.io/blog/understanding-superset-semantic-layer/)
- Getting Started with Superset
- [Superset in 2 Minutes using Docker Compose](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose#installing-superset-locally-using-docker-compose)
- [Installing Database Drivers](https://superset.apache.org/docs/databases/dockeradddrivers)
- [Installing Database Drivers](https://superset.apache.org/docs/databases/docker-add-drivers/)
- [Building New Database Connectors](https://preset.io/blog/building-database-connector/)
- [Create Your First Dashboard](https://superset.apache.org/docs/creating-charts-dashboards/first-dashboard)
- [Comprehensive Tutorial for Contributing Code to Apache Superset
](https://preset.io/blog/tutorial-contributing-code-to-apache-superset/)
- [Documentation for Superset End-Users (by Preset)](https://docs.preset.io/docs/terminology)
](https://preset.io/blog/tutorial-contributing-code-to-apache-superset/)
- [Resources to master Superset by Preset](https://preset.io/resources/)
- Deploying Superset
- [Official Docker image](https://hub.docker.com/r/apache/superset)
- [Helm Chart](https://github.com/apache/superset/tree/master/helm/superset)
- Recordings of Past [Superset Community Events](https://preset.io/events)
- [Live Demo: Interactive Time-series Analysis with Druid and Superset](https://preset.io/events/2021-03-02-interactive-time-series-analysis-with-druid-and-superset/)
- [Mixed Time Series Charts](https://preset.io/events/mixed-time-series-visualization-in-superset-workshop/)
- [How the Bing Team Customized Superset for the Internal Self-Serve Data & Analytics Platform](https://preset.io/events/how-the-bing-team-heavily-customized-superset-for-their-internal-data/)
- [Live Demo: Visualizing MongoDB and Pinot Data using Trino](https://preset.io/events/2021-04-13-visualizing-mongodb-and-pinot-data-using-trino/)
- [Superset Contributor Bootcamp](https://preset.io/events/superset-contributor-bootcamp-dec-21/)
- [Introduction to the Superset API](https://preset.io/events/introduction-to-the-superset-api/)
- [Apache Superset 1.3 Meetup](https://preset.io/events/apache-superset-1-3/)
- [Building a Database Connector for Superset](https://preset.io/events/2021-02-16-building-a-database-connector-for-superset/)
- Visualizations
- [Building Custom Viz Plugins](https://superset.apache.org/docs/installation/building-custom-viz-plugins)
- [Creating Viz Plugins](https://superset.apache.org/docs/contributing/creating-viz-plugins/)
- [Managing and Deploying Custom Viz Plugins](https://medium.com/nmc-techblog/apache-superset-manage-custom-viz-plugins-in-production-9fde1a708e55)
- [Why Apache Superset is Betting on Apache ECharts](https://preset.io/blog/2021-4-1-why-echarts/)
- [Superset API](https://superset.apache.org/docs/rest-api)
<!-- telemetry/analytics pixel: -->
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=bc1c90cd-bc04-4e11-8c7b-289fb2839492" />
+6 -5
View File
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM python:3.8-buster
FROM python:3.9-buster
RUN useradd --user-group --create-home --no-log-init --shell /bin/bash superset
@@ -24,17 +24,17 @@ ENV LANG=C.UTF-8 \
RUN apt-get update -y
# Install dependencies to fix `curl https support error` and `elaying package configuration warning`
# Install dependencies to fix `curl https support error` and `delaying package configuration warning`
RUN apt-get install -y apt-transport-https apt-utils
# Install superset dependencies
# https://superset.apache.org/docs/installation/installing-superset-from-scratch
RUN apt-get install -y build-essential libssl-dev \
libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev
libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev chromium
# Install nodejs for custom build
# https://nodejs.org/en/download/package-manager/
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs
RUN mkdir -p /home/superset
@@ -61,6 +61,7 @@ RUN pip install --upgrade setuptools pip \
RUN flask fab babel-compile --target superset/translations
ENV PATH=/home/superset/superset/bin:$PATH \
PYTHONPATH=/home/superset/superset/:$PYTHONPATH
PYTHONPATH=/home/superset/superset/:$PYTHONPATH \
SUPERSET_TESTENV=true
COPY from_tarball_entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
+4 -4
View File
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM python:3.8-buster
FROM python:3.9-buster
RUN useradd --user-group --create-home --no-log-init --shell /bin/bash superset
@@ -24,17 +24,17 @@ ENV LANG=C.UTF-8 \
RUN apt-get update -y
# Install dependencies to fix `curl https support error` and `elaying package configuration warning`
# Install dependencies to fix `curl https support error` and `delaying package configuration warning`
RUN apt-get install -y apt-transport-https apt-utils
# Install superset dependencies
# https://superset.apache.org/docs/installation/installing-superset-from-scratch
RUN apt-get install -y build-essential libssl-dev \
libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev
libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev chromium
# Install nodejs for custom build
# https://nodejs.org/en/download/package-manager/
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs
RUN mkdir -p /home/superset
+1 -1
View File
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM python:3.8-buster
FROM python:3.9-buster
ARG VERSION
RUN git clone --depth 1 --branch ${VERSION} https://github.com/apache/superset.git /superset
+1 -1
View File
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM python:3.8-buster
FROM python:3.9-buster
RUN apt-get update -y
RUN apt-get install -y jq
+244 -61
View File
@@ -30,6 +30,9 @@ partaking in the process should join the channel.
## Release notes for recent releases
- [3.1](release-notes-3-1/README.md)
- [2.0](release-notes-2-0/README.md)
- [1.5](release-notes-1-5/README.md)
- [1.4](release-notes-1-4/README.md)
- [1.3](release-notes-1-3/README.md)
- [1.2](release-notes-1-2/README.md)
@@ -66,6 +69,32 @@ need to be done at every release.
svn update
```
To minimize the risk of mixing up your local development environment, it's recommended to work on the
release in a different directory than where the devenv is located. In this example, we'll clone
the repo directly from the main `apache/superset` repo to a new directory `superset-release`:
```bash
cd <MY PROJECTS PATH>
git clone https://github.com/apache/superset.git superset-release
cd superset-release
```
We recommend setting up a virtual environment to isolate the python dependencies from your main
setup:
```bash
virtualenv venv
source venv/bin/activate
```
In addition, we recommend using the [`cherrytree`](https://pypi.org/project/cherrytree/) tool for
automating cherry picking, as it will help speed up the release process. To install `cherrytree`
and other dependencies that are required for the release process, run the following commands:
```bash
pip install -r RELEASING/requirements.txt
```
## Setting up the release environment (do every time)
As the vote process takes a minimum of 72h, sometimes stretching over several weeks
@@ -74,38 +103,44 @@ the same terminal session won't be used for crafting the release candidate and t
final release. Therefore, it's a good idea to do the following every time you
work on a new phase of the release process to make sure you aren't releasing
the wrong files/using wrong names. There's a script to help you set correctly all the
necessary environment variables. Change your current directory to `superset/RELEASING`
necessary environment variables. Change your current directory to `RELEASING`
and execute the `set_release_env.sh` script with the relevant parameters:
Usage (MacOS/ZSH):
```bash
cd RELEASING
source set_release_env.sh <SUPERSET_RC_VERSION> <PGP_KEY_FULLNAME>
```
Usage (BASH):
```bash
. set_release_env.sh <SUPERSET_RC_VERSION> <PGP_KEY_FULLNAME>
```
Usage (ZSH):
```bash
source set_release_env.sh <SUPERSET_RC_VERSION> <PGP_KEY_FULLNAME>
```
Example:
```bash
source set_release_env.sh 0.38.0rc1 myid@apache.org
source set_release_env.sh 1.5.1rc1 myid@apache.org
```
The script will output the exported variables. Here's example for 0.38.0rc1:
The script will output the exported variables. Here's example for 1.5.1rc1:
```
-------------------------------
Set Release env variables
SUPERSET_VERSION=0.38.0
SUPERSET_VERSION=1.5.1
SUPERSET_RC=1
SUPERSET_GITHUB_BRANCH=0.38
SUPERSET_PGP_FULLNAME=myid@apache.org
SUPERSET_VERSION_RC=0.38.0rc1
SUPERSET_RELEASE=apache-superset-0.38.0
SUPERSET_RELEASE_RC=apache-superset-0.38.0rc1
SUPERSET_RELEASE_TARBALL=apache-superset-0.38.0-source.tar.gz
SUPERSET_RELEASE_RC_TARBALL=apache-superset-0.38.0rc1-source.tar.gz
SUPERSET_TMP_ASF_SITE_PATH=/tmp/superset-site-0.38.0
SUPERSET_GITHUB_BRANCH=1.5
SUPERSET_PGP_FULLNAME=villebro@apache.org
SUPERSET_VERSION_RC=1.5.1rc1
SUPERSET_RELEASE=apache-superset-1.5.1
SUPERSET_RELEASE_RC=apache-superset-1.5.1rc1
SUPERSET_RELEASE_TARBALL=apache-superset-1.5.1-source.tar.gz
SUPERSET_RELEASE_RC_TARBALL=apache-superset-1.5.1rc1-source.tar.gz
SUPERSET_TMP_ASF_SITE_PATH=/tmp/incubator-superset-site-1.5.1
-------------------------------
```
## Crafting a source release
@@ -115,41 +150,133 @@ a branch named with the release MAJOR.MINOR version (on this example 0.37).
This new branch will hold all PATCH and release candidates
that belong to the MAJOR.MINOR version.
### Creating an initial minor release (e.g. 1.5.0)
The MAJOR.MINOR branch is normally a "cut" from a specific point in time from the master branch.
Then (if needed) apply all cherries that will make the PATCH.
When creating the initial minor release (e.g. 1.5.0), create a new branch:
```bash
git checkout -b $SUPERSET_GITHUB_BRANCH
git push upstream $SUPERSET_GITHUB_BRANCH
git checkout master
git pull
git checkout -b ${SUPERSET_GITHUB_BRANCH}
git push origin $SUPERSET_GITHUB_BRANCH
```
Next, update the `CHANGELOG.md` with all the changes that are included in the release.
Make sure the branch has been pushed to `upstream` to ensure the changelog generator
can pick up changes since the previous release.
Change log script requires a github token and will try to use your env var GITHUB_TOKEN.
you can also pass the token using the parameter `--access_token`.
Note that this initializes a new "release cut", and is NOT needed when creating a patch release
(e.g. 1.5.1).
### Creating a patch release (e.g. 1.5.1)
When getting ready to bake a patch release, simply checkout the relevant branch:
Example:
```bash
python changelog.py --previous_version 0.37 --current_version 0.38 changelog
git checkout master
git pull
git checkout ${SUPERSET_GITHUB_BRANCH}
```
### Cherry picking
It is customary to label PRs that have been introduced after the cut with the label
`v<MAJOR>.<MINOR>`. For example, for any PRs that should be included in the 1.5 branch, the
label `v1.5` should be added.
To see how well the labelled PRs would apply to the current branch, run the following command:
```bash
cherrytree bake -r apache/superset -m master -l v${SUPERSET_GITHUB_BRANCH} ${SUPERSET_GITHUB_BRANCH}
```
This requires the presence of an environment variable `GITHUB_TOKEN`. Alternatively,
you can pass the token directly via the `--access-token` parameter (`-at` for short).
#### Happy path: no conflicts
This will show how many cherries will apply cleanly. If there are no conflicts, you can simply apply all cherries
by adding the `--no-dry-run` flag (`-nd` for short):
```bash
cherrytree bake -r apache/superset -m master -l v${SUPERSET_GITHUB_BRANCH} -nd ${SUPERSET_GITHUB_BRANCH}
```
#### Resolving conflicts
If there are conflicts, you can issue the following command to apply all cherries up until the conflict automatically, and then
break by adding the `-error-mode break` flag (`-e break` for short):
```bash
cherrytree bake -r apache/superset -m master -l v${SUPERSET_GITHUB_BRANCH} -nd -e break ${SUPERSET_GITHUB_BRANCH}
```
After applying the cleanly merged cherries, `cherrytree` will specify the SHA of the conflicted cherry. To resolve the conflict,
simply issue the following command:
```bash
git cherry-pick <SHA>
```
Then fix all conflicts, followed by
```bash
git add -u # add all changes
git cherry-pick --continue
```
After this, rerun all the above steps until all cherries have been picked, finally pushing all new commits to the release branch
on the main repo:
```bash
git push
```
### Updating changelog
Next, update the `CHANGELOG.md` with all the changes that are included in the release.
Make sure the branch has been pushed to `origin` to ensure the changelog generator
can pick up changes since the previous release.
Similar to `cherrytree`, the change log script requires a github token, either as an env var
(`GITHUB_TOKEN`) or as the parameter `--access_token`.
#### Initial release (e.g. 1.5.0)
When generating the changelog for an initial minor release, you should compare with
the previous release (in the example, the previous release branch is `1.4`, so remember to
update it accordingly):
```bash
python changelog.py --previous_version 1.4 --current_version ${SUPERSET_GITHUB_BRANCH} changelog
```
You can get a list of pull requests with labels started with blocking, risk, hold, revert and security by using the parameter `--risk`.
Example:
```bash
python changelog.py --previous_version 0.37 --current_version 0.38 changelog --access_token {GITHUB_TOKEN} --risk
```
The script will checkout both branches and compare all the PR's, copy the output and paste it on the `CHANGELOG.md`
The script will checkout both branches, compare all the PRs, and output the lines that are needed to be added to the
`CHANGELOG.md` file in the root of the repo. Remember to also make sure to update the branch id (with the above command
`1.5` needs to be changed to `1.5.0`)
Then, in `UPDATING.md`, a file that contains a list of notifications around
deprecations and upgrading-related topics,
make sure to move the content now under the `Next Version` section under a new
section for the new release.
Finally bump the version number on `superset-frontend/package.json` (replace with whichever version is being released excluding the RC version):
#### Patch release (e.g. 1.5.1)
```json
To compare the forthcoming patch release with the latest release from the same branch, set
`--previous_version` as the tag of the previous release (in this example `1.5.0`; remember to update accordingly)
```bash
python changelog.py --previous_version 1.5.0 --current_version ${SUPERSET_GITHUB_BRANCH} changelog
```
### Set version number
Finally, bump the version number on `superset-frontend/package.json` (replace with whichever version is being released excluding the RC version):
```
"version": "0.38.0"
```
@@ -161,7 +288,7 @@ git add ...
git commit ...
# push new tag
git tag ${SUPERSET_VERSION_RC}
git push upstream ${SUPERSET_VERSION_RC}
git push origin ${SUPERSET_VERSION_RC}
```
## Preparing the release candidate
@@ -179,14 +306,15 @@ the tag and create a signed source tarball from it:
Note that `make_tarball.sh`:
- By default assumes you have already executed an SVN checkout to `$HOME/svn/superset_dev`.
This can be overridden by setting `SUPERSET_SVN_DEV_PATH` environment var to a different svn dev directory
- By default, the script assumes you have already executed an SVN checkout to `$HOME/svn/superset_dev`.
This can be overridden by setting `SUPERSET_SVN_DEV_PATH` environment var to a different svn dev directory
- Will refuse to craft a new release candidate if a release already exists on your local svn dev directory
- Will check `package.json` version number and fails if it's not correctly set
### Build and test the created source tarball
To build and run the **local copy** of the recently created tarball:
```bash
# Build and run a release candidate tarball
./test_run_tarball.sh local
@@ -208,6 +336,7 @@ svn update
### Build and test from SVN source tarball
To build and run the recently created tarball **from SVN**:
```bash
# Build and run a release candidate tarball
./test_run_tarball.sh
@@ -215,7 +344,12 @@ To build and run the recently created tarball **from SVN**:
# login using admin/admin
```
### Voting
## Create a release on GitHub
After submitting the tag and testing the release candidate, follow the steps [here](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository) to create the release on GitHub. Use the vote email text as the content for the release description. Make sure to check the "This is a pre-release" checkbox for release candidates. You can check previous releases if you need an example.
## Voting
Now you're ready to start the [VOTE] thread. Here's an example of a
previous release vote thread:
https://lists.apache.org/thread.html/e60f080ebdda26896214f7d3d5be1ccadfab95d48fbe813252762879@<dev.superset.apache.org>
@@ -224,17 +358,10 @@ To easily send a voting request to Superset community, still on the `superset/RE
```bash
# Note: use Superset's virtualenv
(venv)$ python send_email.py vote_pmc
(venv)$ python generate_email.py vote_pmc
```
The script will interactively ask for extra information so it can authenticate on the Apache Email Relay.
The release version and release candidate number are fetched from the previously set environment variables.
```
Sender email (ex: user@apache.org): your_apache_email@apache.org
Apache username: your_apache_user
Apache password: your_apache_password
```
The script will generate the email text that should be sent to dev@superset.apache.org using an email client. The release version and release candidate number are fetched from the previously set environment variables.
Once 3+ binding votes (by PMC members) have been cast and at
least 72 hours have past, you can post a [RESULT] thread:
@@ -244,31 +371,44 @@ To easily send the result email, still on the `superset/RELEASING` directory:
```bash
# Note: use Superset's virtualenv
python send_email.py result_pmc
python generate_email.py result_pmc
```
The script will interactively ask for extra information needed to fill out the email template. Based on the
voting description, it will generate a passing, non passing or non conclusive email.
here's an example:
Here's an example:
```
Sender email (ex: user@apache.org): your_apache_email@apache.org
Apache username: your_apache_user
Apache password: your_apache_password
A List of people with +1 binding vote (ex: Max,Grace,Krist): Daniel,Alan,Max,Grace
A List of people with +1 non binding vote (ex: Ville): Ville
A List of people with -1 vote (ex: John):
```
Following the result thread, yet another [VOTE] thread should be
The script will generate the email text that should be sent to dev@superset.apache.org using an email client. The release version and release candidate number are fetched from the previously set environment variables.
### Validating a release
## Validating a release
Official instructions:
https://www.apache.org/info/verification.html
We now have a handy script for anyone validating a release to use. The core of it is in this very folder, `verify_release.py`. Just make sure you have all three release files in the same directory (`{some version}.tar.gz`, `{some version}.tar.gz.asc` and `{some version}tar.gz.sha512`). Then you can pass this script the path to the `.gz` file like so:
`python verify_release.py ~/path/tp/apache-superset-{version/candidate}-source.tar.gz`
If all goes well, you will see this result in your terminal:
```bash
SHA-512 verified
RSA key verified
```
There are also additional support scripts leveraging this to make it easy for those downloading a release to test it in-situ. You can do either of the following to validate these release assets:
* `cd` into `superset-frontend` and run `npm run validate-release`
* `cd` into `RELEASES` and run `./validate_this_release.sh`
## Publishing a successful release
Upon a successful vote, you'll have to copy the folder into the non-"dev/" folder.
```bash
cp -r ~/svn/superset_dev/${SUPERSET_VERSION_RC}/ ~/svn/superset/${SUPERSET_VERSION}/
cd ~/svn/superset/
@@ -280,6 +420,7 @@ svn update
```
Then tag the final release:
```bash
# Go to the root directory of the repo, e.g. `~/src/superset`
cd ~/src/superset/
@@ -287,36 +428,78 @@ cd ~/src/superset/
git branch
# Create the release tag
git tag -f ${SUPERSET_VERSION}
# push the tag to the remote
git push origin ${SUPERSET_VERSION}
```
### Update CHANGELOG and UPDATING on superset
Now that we have a final Apache source release we need to open a pull request on Superset
with the changes on `CHANGELOG.md` and `UPDATING.md`.
### Publishing a Convenience Release to PyPI
Using the final release tarball, unpack it and run `./pypi_push.sh`.
This script will build the Javascript bundle and echo the twine command
allowing you to publish to PyPI. You may need to ask a fellow committer to grant
Extract the release to the `/tmp` folder to build the PiPY release. Files in the `/tmp` folder will be automatically deleted by the OS.
```bash
mkdir -p /tmp/superset && cd /tmp/superset
tar xfvz ~/svn/superset/${SUPERSET_VERSION}/${SUPERSET_RELEASE_TARBALL}
```
Create a virtual environment and install the dependencies
```bash
cd ${SUPERSET_RELEASE_RC}
python3 -m venv venv
source venv/bin/activate
pip install -r requirements/base.txt
pip install twine
```
Create the distribution
```bash
cd superset-frontend/
npm ci && npm run build
cd ../
flask fab babel-compile --target superset/translations
python setup.py sdist
```
Publish to PyPI
You may need to ask a fellow committer to grant
you access to it if you don't have access already. Make sure to create
an account first if you don't have one, and reference your username
while requesting access to push packages.
```bash
twine upload dist/apache-superset-${SUPERSET_VERSION}.tar.gz
```
Set your username to `__token__`
Set your password to the token value, including the `pypi-` prefix
More information on https://pypi.org/help/#apitoken
### Announcing
Once it's all done, an [ANNOUNCE] thread announcing the release to the dev@ mailing list is the final step.
```bash
# Note use Superset's virtualenv
python send_email.py announce
python generate_email.py announce
```
### Github Release
The script will generate the email text that should be sent to dev@superset.apache.org using an email client. The release version is fetched from the previously set environment variables.
Finally, so the Github UI reflects the latest release, you should create a release from the
### GitHub Release
Finally, so the GitHub UI reflects the latest release, you should create a release from the
tag corresponding with the new version. Go to https://github.com/apache/superset/tags,
click the 3-dot icon and select `Create Release`, paste the content of the ANNOUNCE thread in the
release notes, and publish the new release.
At this point, a GitHub action will run that will check whether this release's version number is higher than the current 'latest' release. If that condition is true, this release sha will automatically be tagged as `latest` so that the most recent release can be referenced simply by using the 'latest' tag instead of looking up the version number. The existing version number tag will still exist, and can also be used for reference.
### Update Superset files
Now that we have a final Apache release we need to open a pull request on Superset with the changes on [CHANGELOG.m](../CHANGELOG.md) and [UPDATING.md](../UPDATING.md).
We also need to update the Environment section of [ISSUE_TEMPLATE/bug-report.yml](../.github/ISSUE_TEMPLATE//bug-report.yml) to reflect the new release changes. This includes removing versions that are not supported anymore and adding new ones.
+29 -18
View File
@@ -17,8 +17,9 @@ import csv as lib_csv
import os
import re
import sys
from collections.abc import Iterator
from dataclasses import dataclass
from typing import Any, Dict, Iterator, List, Optional, Union
from typing import Any, Optional, Union
import click
from click.core import Context
@@ -26,7 +27,7 @@ from click.core import Context
try:
from github import BadCredentialsException, Github, PullRequest, Repository
except ModuleNotFoundError:
print("PyGithub is a required package for this script")
print("PyGitHub is a required package for this script")
exit(1)
SUPERSET_REPO = "apache/superset"
@@ -67,15 +68,15 @@ class GitChangeLog:
def __init__(
self,
version: str,
logs: List[GitLog],
logs: list[GitLog],
access_token: Optional[str] = None,
risk: Optional[bool] = False,
) -> None:
self._version = version
self._logs = logs
self._pr_logs_with_details: Dict[int, Dict[str, Any]] = {}
self._github_login_cache: Dict[str, Optional[str]] = {}
self._github_prs: Dict[int, Any] = {}
self._pr_logs_with_details: dict[int, dict[str, Any]] = {}
self._github_login_cache: dict[str, Optional[str]] = {}
self._github_prs: dict[int, Any] = {}
self._wait = 10
github_token = access_token or os.environ.get("GITHUB_TOKEN")
self._github = Github(github_token)
@@ -126,7 +127,7 @@ class GitChangeLog:
"superset/migrations/versions/" in file.filename for file in commit.files
)
def _get_pull_request_details(self, git_log: GitLog) -> Dict[str, Any]:
def _get_pull_request_details(self, git_log: GitLog) -> dict[str, Any]:
pr_number = git_log.pr_number
if pr_number:
detail = self._pr_logs_with_details.get(pr_number)
@@ -138,7 +139,7 @@ class GitChangeLog:
title = pr_info.title if pr_info else git_log.message
pr_type = re.match(SUPERSET_PULL_REQUEST_TYPES, title)
if pr_type:
pr_type = pr_type.group().strip('"')
pr_type = pr_type.group().strip('"') # type: ignore
labels = (" | ").join([label.name for label in pr_info.labels])
is_risky = self._is_risk_pull_request(pr_info.labels)
@@ -156,7 +157,7 @@ class GitChangeLog:
return detail
def _is_risk_pull_request(self, labels: List[Any]) -> bool:
def _is_risk_pull_request(self, labels: list[Any]) -> bool:
for label in labels:
risk_label = re.match(SUPERSET_RISKY_LABELS, label.name)
if risk_label is not None:
@@ -164,10 +165,19 @@ class GitChangeLog:
return False
def _get_changelog_version_head(self) -> str:
if not len(self._logs):
print(
f"No changes found between revisions. "
f"Make sure your branch is up to date."
)
sys.exit(1)
return f"### {self._version} ({self._logs[0].time})"
def _parse_change_log(
self, changelog: Dict[str, str], pr_info: Dict[str, str], github_login: str,
self,
changelog: dict[str, str],
pr_info: dict[str, str],
github_login: str,
) -> None:
formatted_pr = (
f"- [#{pr_info.get('id')}]"
@@ -218,7 +228,7 @@ class GitChangeLog:
result += f"**{key}** {changelog[key]}\n"
return result
def __iter__(self) -> Iterator[Dict[str, Any]]:
def __iter__(self) -> Iterator[dict[str, Any]]:
for log in self._logs:
yield {
"pr_number": log.pr_number,
@@ -241,20 +251,20 @@ class GitLogs:
def __init__(self, git_ref: str) -> None:
self._git_ref = git_ref
self._logs: List[GitLog] = []
self._logs: list[GitLog] = []
@property
def git_ref(self) -> str:
return self._git_ref
@property
def logs(self) -> List[GitLog]:
def logs(self) -> list[GitLog]:
return self._logs
def fetch(self) -> None:
self._logs = list(map(self._parse_log, self._git_logs()))[::-1]
def diff(self, git_logs: "GitLogs") -> List[GitLog]:
def diff(self, git_logs: "GitLogs") -> list[GitLog]:
return [log for log in git_logs.logs if log not in self._logs]
def __repr__(self) -> str:
@@ -275,7 +285,7 @@ class GitLogs:
print(f"Could not checkout {git_ref}")
sys.exit(1)
def _git_logs(self) -> List[str]:
def _git_logs(self) -> list[str]:
# let's get current git ref so we can revert it back
current_git_ref = self._git_get_current_head()
self._git_checkout(self._git_ref)
@@ -355,7 +365,8 @@ def compare(base_parameters: BaseParameters) -> None:
@cli.command("changelog")
@click.option(
"--csv", help="The csv filename to export the changelog to",
"--csv",
help="The csv filename to export the changelog to",
)
@click.option(
"--access_token",
@@ -381,12 +392,12 @@ def change_log(
with open(csv, "w") as csv_file:
log_items = list(logs)
field_names = log_items[0].keys()
writer = lib_csv.DictWriter( # type: ignore
writer = lib_csv.DictWriter(
csv_file,
delimiter=",",
quotechar='"',
quoting=lib_csv.QUOTE_ALL,
fieldnames=field_names, # type: ignore
fieldnames=field_names,
)
writer.writeheader()
for log in logs:
+10 -4
View File
@@ -17,7 +17,7 @@
under the License.
-#}
To: {{ receiver_email }}
From: {{ sender_email }}
Subject: [ANNOUNCE] Apache {{ project_name }} version {{ version }} Released
Hello Community,
@@ -31,12 +31,18 @@ The official source release:
https://www.apache.org/dist/{{ project_module }}/{{ version }}
The Pypi package:
The PyPI package:
https://pypi.org/project/apache-superset/
If you have any usage questions, or have problems when upgrading or
find any problems about enhancements included in this release, please
The Change Log for the release:
https://github.com/apache/{{ project_module }}/blob/{{ version }}/CHANGELOG.md
The Updating instructions for the release:
https://github.com/apache/{{ project_module }}/blob/{{ version }}/UPDATING.md
If you have any usage questions or have problems when upgrading or
find any issues with enhancements included in this release, please
don't hesitate to let us know by sending feedback to this mailing
list.
+5 -5
View File
@@ -17,18 +17,18 @@
under the License.
-#}
To: {{ receiver_email }}
From: {{ sender_email }}
Subject: [RESULT] [VOTE] Release Apache {{ project_name }} {{ version }} based on Superset {{ version_rc }}
Thanks to everyone that participated. The vote to release
Apache {{ project_name }} version {{ version }} based on {{ version_rc }} is now closed.
{% if vote_negatives|length > 0 -%}
The vote did NOT PASS with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non binding +1 and {{vote_negatives|length}} -1 votes:
The vote did NOT PASS with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non-binding +1, and {{vote_negatives|length}} -1 votes:
{% elif vote_bindings|length > 2 -%}
The vote PASSED with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non binding +1 and {{vote_negatives|length}} -1 votes:
The vote PASSED with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non-binding +1, and {{vote_negatives|length}} -1 votes:
{% else -%}
The vote is non conclusive with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non binding -1 and {{vote_negatives|length}} -1 votes:
The vote is non conclusive with {{vote_bindings|length}} binding +1, {{ vote_nonbindings|length}} non-binding -1, and {{vote_negatives|length}} -1 votes:
{%- endif %}
{% if vote_bindings|length > 0 -%}
@@ -39,7 +39,7 @@ Binding votes:
{%- endif %}
{% if vote_nonbindings|length > 0 -%}
Non binding votes:
Non-binding votes:
{% for voter in vote_nonbindings -%}
- {{ voter }}
{% endfor -%}
+2 -3
View File
@@ -17,7 +17,7 @@
under the License.
-#}
To: {{ receiver_email }}
From: {{ sender_email }}
Subject: [VOTE] Release Apache {{ project_name }} {{ version }} based on Superset {{ version_rc }}
Hello {{ project_name }} Community,
@@ -36,8 +36,7 @@ https://github.com/apache/{{ project_module }}/blob/{{ version_rc }}/CHANGELOG.m
The Updating instructions for the release:
https://github.com/apache/{{ project_module }}/blob/{{ version_rc }}/UPDATING.md
public keys are available at:
Public keys are available at:
https://www.apache.org/dist/{{ project_module }}/KEYS
The vote will be open for at least 72 hours or until the necessary number
+8 -4
View File
@@ -20,6 +20,10 @@ set -ex
echo "[WARNING] this entrypoint creates an admin/admin user"
echo "[WARNING] it should only be used for lightweight testing/validation"
if [ -z "${SUPERSET_TESTENV}" ]; then
echo "SUPERSET IS RUNNING IN TEST MODE"
fi
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
superset fab create-admin \
--username admin \
@@ -31,11 +35,11 @@ superset fab create-admin \
# Initialize the database
superset db upgrade
# Loading examples
superset load_examples
# Create default roles and permissions
superset init
FLASK_ENV=development FLASK_APP="superset.app:create_app()" \
# Loading examples
superset load-examples --force
SUPERSET_ENV=development FLASK_APP="superset.app:create_app()" \
flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0
+154
View File
@@ -0,0 +1,154 @@
#!/usr/bin/python3
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from typing import Any
from click.core import Context
try:
import jinja2
except ModuleNotFoundError:
exit("Jinja2 is a required dependency for this script")
try:
import click
except ModuleNotFoundError:
exit("Click is a required dependency for this script")
RECEIVER_EMAIL = "dev@superset.apache.org"
PROJECT_NAME = "Superset"
PROJECT_MODULE = "superset"
PROJECT_DESCRIPTION = "Apache Superset is a modern, enterprise-ready business intelligence web application"
def string_comma_to_list(message: str) -> list[str]:
if not message:
return []
return [element.strip() for element in message.split(",")]
def render_template(template_file: str, **kwargs: Any) -> str:
"""
Simple render template based on named parameters
:param template_file: The template file location
:kwargs: Named parameters to use when rendering the template
:return: Rendered template
"""
template = jinja2.Template(open(template_file).read())
return template.render(kwargs)
class BaseParameters:
def __init__(
self,
version: str,
version_rc: str,
) -> None:
self.version = version
self.version_rc = version_rc
self.template_arguments: dict[str, Any] = {}
def __repr__(self) -> str:
return f"Apache Credentials: {self.version}/{self.version_rc}"
@click.group()
@click.pass_context
@click.option("--version", envvar="SUPERSET_VERSION")
@click.option("--version_rc", envvar="SUPERSET_VERSION_RC")
def cli(
ctx: Context,
version: str,
version_rc: str,
) -> None:
"""Welcome to releasing send email CLI interface!"""
base_parameters = BaseParameters(version, version_rc)
base_parameters.template_arguments["receiver_email"] = RECEIVER_EMAIL
base_parameters.template_arguments["project_name"] = PROJECT_NAME
base_parameters.template_arguments["project_module"] = PROJECT_MODULE
base_parameters.template_arguments["project_description"] = PROJECT_DESCRIPTION
base_parameters.template_arguments["version"] = base_parameters.version
base_parameters.template_arguments["version_rc"] = base_parameters.version_rc
ctx.obj = base_parameters
@cli.command("vote_pmc")
@click.pass_obj
def vote_pmc(base_parameters: BaseParameters) -> None:
template_file = "email_templates/vote_pmc.j2"
message = render_template(template_file, **base_parameters.template_arguments)
print(message)
@cli.command("result_pmc")
@click.option(
"--vote_bindings",
default="",
type=str,
prompt="A List of people with +1 binding vote (ex: Max,Grace,Krist)",
)
@click.option(
"--vote_nonbindings",
default="",
type=str,
prompt="A List of people with +1 non binding vote (ex: Ville)",
)
@click.option(
"--vote_negatives",
default="",
type=str,
prompt="A List of people with -1 vote (ex: John)",
)
@click.option(
"--vote_thread",
default="",
type=str,
prompt="Permalink to the vote thread "
"(see https://lists.apache.org/list.html?dev@superset.apache.org)",
)
@click.pass_obj
def result_pmc(
base_parameters: BaseParameters,
vote_bindings: str,
vote_nonbindings: str,
vote_negatives: str,
vote_thread: str,
) -> None:
template_file = "email_templates/result_pmc.j2"
base_parameters.template_arguments["vote_bindings"] = string_comma_to_list(
vote_bindings
)
base_parameters.template_arguments["vote_nonbindings"] = string_comma_to_list(
vote_nonbindings
)
base_parameters.template_arguments["vote_negatives"] = string_comma_to_list(
vote_negatives
)
base_parameters.template_arguments["vote_thread"] = vote_thread
message = render_template(template_file, **base_parameters.template_arguments)
print(message)
@cli.command("announce")
@click.pass_obj
def announce(base_parameters: BaseParameters) -> None:
template_file = "email_templates/announce.j2"
message = render_template(template_file, **base_parameters.template_arguments)
print(message)
cli()
+1 -1
View File
@@ -167,7 +167,7 @@ Other features
Alerts (send notification when a condition is met) ([Roadmap](https://github.com/apache-superset/superset-roadmap/issues/54))
- feat: add test email functionality to SQL-based email alerts (#[10476](https://github.com/apache/superset/pull/10476))
- feat: refractored SQL-based alerting framework (#[10605](https://github.com/apache/superset/pull/10605))
- feat: refactored SQL-based alerting framework (#[10605](https://github.com/apache/superset/pull/10605))
[SIP-34] Proposal to establish a new design direction, system, and process for Superset ([SIP](https://github.com/apache/superset/issues/8976))
-1
View File
@@ -96,7 +96,6 @@ Some of the new features in this release are disabled by default. Each has a fea
| Dashboard Native Filters | `DASHBOARD_NATIVE_FILTERS: True` | |
| Alerts & Reporting | `ALERT_REPORTS: True` | [Celery workers configured & celery beat process](https://superset.apache.org/docs/installation/async-queries-celery) |
| Homescreen Thumbnails | `THUMBNAILS: TRUE, THUMBNAIL_CACHE_CONFIG: CacheConfig = { "CACHE_TYPE": "null", "CACHE_NO_NULL_WARNING": True}`| selenium, pillow 7, celery |
| Row Level Security | `ROW_LEVEL_SECURITY` | | [Extra Documentation](https://superset.apache.org/docs/security#row-level-security)
| Dynamic Viz Plugin Import | `DYNAMIC_PLUGINS: True` | |
# Stability and Bugfixes
+1 -1
View File
@@ -87,7 +87,7 @@ Expanding the API has been an ongoing effort, and 1.2 introduces several new API
- [14461](https://github.com/apache/superset/pull/14461) feat(native-filters): Auto apply changes in FiltersConfigModal (#14461) (@simcha90)
- [13507](https://github.com/apache/superset/pull/13507) feat(native-filters): Filter set tabs (#13507) (@simcha90)
- [14313](https://github.com/apache/superset/pull/14313) feat(native-filters): Implement adhoc filters and time picker in Range and Select native filters (#14313) (@Kamil Gabryjelski)
- [14261](https://github.com/apache/superset/pull/14261) feat(native-filters): Show/Hide filter bar by metdata ff (#14261) (@simcha90)
- [14261](https://github.com/apache/superset/pull/14261) feat(native-filters): Show/Hide filter bar by metadata ff (#14261) (@simcha90)
- [13506](https://github.com/apache/superset/pull/13506) feat(native-filters): Update filter bar buttons (#13506) (@simcha90)
- [14374](https://github.com/apache/superset/pull/14374) feat(native-filters): Use datasets in dashboard as default options for native filters (#14374) (@Kamil Gabryjelski)
- [14314](https://github.com/apache/superset/pull/14314) feat(native-filters): add option to create value in select filter (#14314) (@Ville Brofeldt)
+1 -1
View File
@@ -19,7 +19,7 @@ under the License.
# Release Notes for Superset 1.4
Superset 1.4 focuses heavily on continuing to polish the core Superset experience. This release has a very very long list of fixes from across the community.
Superset 1.4 focuses heavily on continuing to polish the core Superset experience. This release has a very long list of fixes from across the community.
- [**User Experience**](#user-facing-features)
- [**Database Experience**](#database-experience)
+142
View File
@@ -0,0 +1,142 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Release Notes for Superset 1.5
Superset 1.5 focuses on polishing the dashboard native filters experience, while
improving performance and stability. Superset 1.5 is likely the last minor release of
version 1 of Superset, and will be succeeded by Superset 2.0. The 1.5 branch
introduces the notion of a Long Term Support (LTS) version of Superset, and will
receive security and other critical fixes even after Superset 2.x is released.
Therefore, users will have the choice of staying on the 1.5 branch or upgrading to 2.x
when available.
- [**User Experience**](#user-facing-features)
- [**Feature flags**](#feature-flags)
- [**Database Experience**](#database-experience)
- [**Breaking Changes and Full Changelog**](#breaking-changes-and-full-changelog)
## User Facing Features
- Complex dashboards with lots of native filters and charts will render considerably
faster. See the videos that shows the rendering time of a complex dashboard go from
11 to 3 seconds: [#19064](https://github.com/apache/superset/pull/19064). In
addition, applying filters and switching tabs is also much smoother.
- The Native Filter Bar has been redesigned, along with moving the "Apply" and
"Clear all" buttons to the bottom:
![Filter bar](media/filter_bar.png)
- Native filters can now be made dependent on multiple filters. This makes it possible
to restrict the available values in a filter based on the selection of other filters.
![Dependent filters](media/dependent_filters.png)
- In addition to being able to write Custom SQL for adhoc metrics and filters, the
column control now also features a Custom SQL tab. This makes it possible to write
custom expressions directly in charts without adding them to the dataset as saved
expressions.
![Adhoc columns](media/adhoc_columns.png)
- A new `SupersetMetastoreCache` has been added which makes it possible to cache data
in the Superset Metastore without the need for running a dedicated cache like Redis
or Memcached. The new cache will be used by default for required caches, but can also
be used for caching chart or other data. See the
[documentation](https://superset.apache.org/docs/installation/cache#caching) for
details on using the new cache.
- Previously it was possible for Dashboards with lots of filters to cause an error.
A similar issue existed on Explore. Now Superset stores Dashboard and Explore state
in the cache (as opposed to the URL), eliminating the infamous
[Long URL Problem](https://github.com/apache/superset/issues/17086).
- Previously permanent links to Dashboard and Explore pages were in fact shortened URLS
that relied on state being stored in the URL (see Long URL Problem above). In
addition, the links used numerical ids and didn't check user permissions making it
easy to iterate through links that were stored in the metastore. Now permanent links
state is stored as JSON objects in the metastore, making it possible to store
arbitrarily large Dashboard and Explore state in permalinks. In addition, the ids
are encoded using [`hashids`](https://hashids.org/) and check permissions, making
permalink state more secure.
![Dashboard permalink](media/permalink.png)
## Feature flags
- A new feature flag `GENERIC_CHART_AXES` has been added that makes it possible to
use a non-temporal x-axis on the ECharts Timeseries chart
([#17917](https://github.com/apache/superset/pull/17917)). When enabled, a new
control "X Axis" is added to the control panel of ECharts line, area, bar, step and
scatter charts, which makes it possible to use categorical or numerical x-axes on
those charts.
![Categorical line chart](media/categorical_line.png)
## Database Experience
- DuckDB: Add support for database:
[#19317](https://github.com/apache/superset/pull/19317)
- Kusto: Add support for Azure Data Explorer (Kusto):
[#17898](https://github.com/apache/superset/pull/17898)
- Trino: Add server cert support and new auth methods:
[#17593](https://github.com/apache/superset/pull/17593) and
[#16346](https://github.com/apache/superset/pull/16346)
- Microsoft SQL Server (MSSQL): support using CTEs in virtual tables:
[#18567](https://github.com/apache/superset/pull/18567)
- Teradata and MSSQL: add support for TOP limit syntax:
[#18746](https://github.com/apache/superset/pull/18746) and
[#18240](https://github.com/apache/superset/pull/18240)
- Apache Drill: User impersonation using `drill+sadrill`:
[#19252](https://github.com/apache/superset/pull/19252)
## Developer Experience
- `superset-ui` has now been integrated into the Superset codebase as per
[SIP-58](https://github.com/apache/superset/issues/13013) dubbed "Monorepo". This
makes development of plugins that ship with Superset considerably simpler. In
addition, it makes it possible to align `superset-ui` releases with official Superset
releases.
## Breaking Changes and Full Changelog
**Breaking Changes**
- Bump `mysqlclient` from v1 to v2:
[#17556](https://github.com/apache/superset/pull/17556)
- Single and double quotes will no longer be removed from filter values:
[#17881](https://github.com/apache/superset/pull/17881)
- Previously `QUERY_COST_FORMATTERS_BY_ENGINE`, `SQL_VALIDATORS_BY_ENGINE` and
`SCHEDULED_QUERIES` were expected to be defined in the feature flag dictionary in
the `config.py` file. These should now be defined as a top-level config, with the
feature flag dictionary being reserved for boolean only values:
[#15254](https://github.com/apache/superset/pull/15254)
- All Superset CLI commands (init, load_examples and etc) require setting the
`FLASK_APP` environment variable (which is set by default when `.flaskenv` is loaded):
[#17539](https://github.com/apache/superset/pull/17539)
**Changelog**
To see the complete changelog in this release, head to
[CHANGELOG.MD](https://github.com/apache/superset/blob/1.5/CHANGELOG.md).
As mentioned earlier, this release has a MASSIVE amount of bug fixes. The full
changelog lists all of them!
Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

+152
View File
@@ -0,0 +1,152 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Release Notes for Superset 2.0
Superset 2.0 is a big step forward. This release cleans up many legacy code paths and feature flags, and deprecates lots of legacy behaviors in Superset.
- [**Developer Experience**](#developer-experience)
- [**Features**](#features)
- [**Config and Feature flags**](#config-and-feature-flags)
- [**Breaking Changes**](#breaking-changes)
## Developer Experience
- Addition of a statsd gauge metric for Slack and email notifications for increased visibility into errors around alerts / reports ([#20158](https://github.com/apache/superset/pull/20158))
- Helm chart now supports resource limits and requests for each component ([#20052](https://github.com/apache/superset/pull/20052))
- New GitHub workflow to test Storybook Netlify instance nightly ([#19852](https://github.com/apache/superset/pull/19852))
- Minimum requirement for Superset is now Python 3.8 ([#19017](https://github.com/apache/superset/pull/19017))
## Features
**Charting and Dashboard Experience**
Support for horizontal bar chart added ([#19918](https://github.com/apache/superset/pull/19918))
![horizontal](https://user-images.githubusercontent.com/11830681/166248149-4946388a-5051-4d13-a516-50a81e9b5be3.png)
Time Series Charts now support stacking of both negative and positive values ([#20408](https://github.com/apache/superset/pull/20408))
![negative](https://user-images.githubusercontent.com/15073128/174057996-52255bfe-60c3-4727-be99-e328c124e439.png)
- Pie charts now defaults to a row limit of 100 to prevent crashes when a high-cardinality column is chosen as the dimension ([#20392](https://github.com/apache/superset/pull/20392))
- World map chart now supports coloring either by metric or by the country column ([#19881](https://github.com/apache/superset/pull/19881))
- Table visualization now supports drag and drop for columns ([#19381](https://github.com/apache/superset/pull/19381))
- Mixed chart now supports Advanced Analytics ([#19851](https://github.com/apache/superset/pull/19851))
- Add support for generic x-axis (non-time-series) in the Mixed Chart ([#20097](https://github.com/apache/superset/pull/20097))
![Image](https://user-images.githubusercontent.com/33317356/168807749-b021c04c-8902-4b4f-a7a4-f21544fb678e.png)
- Charts can now be created in Edit Dashboard mode ([#20126](https://github.com/apache/superset/pull/20126))
![Image](https://user-images.githubusercontent.com/15073128/169251205-2c0f36bb-17e0-4549-aa84-66a58a377603.png)
- Add aggregate total for Pie charts ([#19622](https://github.com/apache/superset/pull/19622))
- Legend is now enabled by default for relevant charts ([#19927](https://github.com/apache/superset/pull/19927))
**View Results Experience**
- Explore and Dashboard views now support displaying of multiple results ([#20277](https://github.com/apache/superset/pull/20277))
- Results pane in Dashboard view now more closely mirrors rich functionality from Results pane in Explore ([#20144](https://github.com/apache/superset/pull/20144))
**Quality of Life**
- Edit Dataset modal now doesn't close when you click away ([#20278](https://github.com/apache/superset/pull/20278))
- When editing the label in the Metrics popover, pressing Enter now saves what you typed ([#19898](https://github.com/apache/superset/pull/19898))
- When adding new chart from the dashboard view, the dashboard name will now pre-fill ([#20129](https://github.com/apache/superset/pull/20129))
- Annotations now have an improved empty state ([#20160](https://github.com/apache/superset/pull/20160))
- Confirmational modal is now shown if user exits Explore without saving changes ([#19993](https://github.com/apache/superset/pull/19993))
- Explore popovers now close when the Escape key is pressed ([#19902](https://github.com/apache/superset/pull/19902))
- Run and Save buttons are redesigned for improved usability ([#19558](https://github.com/apache/superset/pull/19558))
**Databases**
- Native database driver for Databricks ([#20320](https://github.com/apache/superset/pull/20320))
- Time grains for SQLite are now simplified ([#19745](https://github.com/apache/superset/pull/19745))
- Multiple upgrades to the Trino database engine ([#20152](https://github.com/apache/superset/pull/20152))
- Switch from sqlalchemy-trino to trino-python-client ([#19957](https://github.com/apache/superset/pull/19957))
- Apache Pinot now supports more time grains in Superset ([#19724](https://github.com/apache/superset/pull/19724))
**Jinja**
- New Jinja macro enables querying / referencing both physical and virtual datasets in SQL Lab ([#15241](https://github.com/apache/superset/pull/15241))
- New Jinja macro added to improve experience of including multiple items ([#19574](https://github.com/apache/superset/pull/19574))
**Other**
- Datasets can now be filtered by their certification status ([#20136](https://github.com/apache/superset/pull/20136))
## Config and Feature Flags
- Initial implementation of advanced types ([#18794](https://github.com/apache/superset/pull/18794))
- Flag: `ENABLE_ADVANCED_DATA_TYPES`
- Caching can now be enabled in database setups when user impersonation is enabled ([#20114](https://github.com/apache/superset/pull/20114))
- Flag: `CACHE_IMPERSONATION`
- Control behavior for how color palettes are chosen ([#19987](https://github.com/apache/superset/pull/19987))
- Flag: `USE_ANALAGOUS_COLORS`
- Enabling non-time-series x-axis in some charts ([#20097](https://github.com/apache/superset/pull/20097))
- Flag: `GENERIC_CHART_AXES`
- As part of the 2.0 cleanup efforts, the following feature flags were removed (which means the behavior is now permanently enabled):
- `ROW_LEVEL_SECURITY`
- `ENABLE_REACT_CRUD_VIEWS`
- `PUBLIC_ROLE_LIKE_GAMMA`
- The following feature flags are now True by default, but can be turned back to False:
- `ENABLE_EXPLORE_DRAG_AND_DROP`
- `ENABLE_DND_WITH_CLICK_UX`
- `DISABLE_LEGACY_DATASOURCE_EDITOR`
- `SQLLAB_BACKEND_PERSISTENCE`
- `VERSIONED_EXPORT`
- The following config flags were removed:
- `APP_ICON_WIDTH`
- A number of legacy interim flags were removed around SIP-15 ([#18936](https://github.com/apache/superset/pull/18936))
- The `ENABLE_JAVASCRIPT_CONTROLS` flag was moved from an app config to a feature flag
## Breaking Changes
To learn more about the breaking changes in 2.0, please read [UPDATING.MD](https://github.com/apache/superset/blob/master/UPDATING.md)
+491
View File
@@ -0,0 +1,491 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
### 2.0 (Thu Jun 23 05:39:46 2022 -0600)
**Database Migrations**
- [#20385](https://github.com/apache/superset/pull/20385) fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL (@john-bodley)
- [#20449](https://github.com/apache/superset/pull/20449) fix: RLS new db migration downgrade fails on SQLite (@dpgaspar)
- [#20284](https://github.com/apache/superset/pull/20284) chore(migrations): Renaming migration files so that they're easier to keep track of (@craig-rueda)
- [#20108](https://github.com/apache/superset/pull/20108) fix: None dataset and schema permissions (@dpgaspar)
- [#18794](https://github.com/apache/superset/pull/18794) feat(business-types): initial implementation of SIP-78 (@cccs-RyanS)
- [#20073](https://github.com/apache/superset/pull/20073) fix(dataset): handle missing sqla uri in migration (@villebro)
- [#19941](https://github.com/apache/superset/pull/19941) fix(reports): Clear last value when state is WORKING (@john-bodley)
- [#19675](https://github.com/apache/superset/pull/19675) chore(docs): Spelling (@jsoref)
- [#19793](https://github.com/apache/superset/pull/19793) fix(SIP-68): handle empty table name during migration (@ktmud)
- [#19786](https://github.com/apache/superset/pull/19786) fix(migrations): coalesce is_temporal when inserting into sl_columns (@cemremengu)
- [#19421](https://github.com/apache/superset/pull/19421) perf: refactor SIP-68 db migrations with INSERT SELECT FROM (@ktmud)
- [#19767](https://github.com/apache/superset/pull/19767) fix: Fix migration for removing time_range_endpoints 3 (@hughhhh)
- [#19728](https://github.com/apache/superset/pull/19728) fix: Removetime_range_endpoints from query context object pt 2 (@hughhhh)
- [#19630](https://github.com/apache/superset/pull/19630) chore: clean up unused imports in db migration scripts (@ktmud)
- [#19577](https://github.com/apache/superset/pull/19577) fix: merge multiple db heads (@eschutho)
- [#19243](https://github.com/apache/superset/pull/19243) fix: cannot delete a database if team member has SQL editor tab that uses that db (@diegomedina248)
- [#19537](https://github.com/apache/superset/pull/19537) chore: block unsafe functions (@betodealmeida)
- [#19513](https://github.com/apache/superset/pull/19513) chore: postpone timerange endpoint removal (@villebro)
- [#19495](https://github.com/apache/superset/pull/19495) perf: speed up db migration for deprecating time_range_endpoints (@ktmud)
- [#19474](https://github.com/apache/superset/pull/19474) fix: handle null params in #18936 migration (@serenajiang)
- [#19423](https://github.com/apache/superset/pull/19423) fix: Remove`time_range_endpoints` from query context object (@hughhhh)
- [#18936](https://github.com/apache/superset/pull/18936) chore: Remove legacy SIP-15 interim logic/flags (@john-bodley)
**Features**
- [#20114](https://github.com/apache/superset/pull/20114) feat(chart): Enable caching per user when user impersonation is enabled (@Samira-El)
- [#20408](https://github.com/apache/superset/pull/20408) feat(plugin-chart-echarts): Support stacking negative and positive values (@kgabryje)
- [#20278](https://github.com/apache/superset/pull/20278) feat: Prevent dataset edit modal closing on click-away in edit mode (@reesercollins)
- [#20392](https://github.com/apache/superset/pull/20392) feat: setting limit value when Pie chart switches (@zhaoyongjie)
- [#20373](https://github.com/apache/superset/pull/20373) feat: adding truncate metric control on timeseries charts (@zhaoyongjie)
- [#20248](https://github.com/apache/superset/pull/20248) feat(explore): Implement viz switcher redesign (@kgabryje)
- [#20113](https://github.com/apache/superset/pull/20113) feat(api): Added "kind" to dataset/<pk> endpoint (@reesercollins)
- [#20299](https://github.com/apache/superset/pull/20299) feat(explore): Dataset Panel Options when Source = Query II (@lyndsiWilliams)
- [#20320](https://github.com/apache/superset/pull/20320) feat: Databricks native driver (@betodealmeida)
- [#20313](https://github.com/apache/superset/pull/20313) feat(explore): Denormalize form data in echarts, world map and nvd3 bar and line charts (@kgabryje)
- [#20277](https://github.com/apache/superset/pull/20277) feat: multiple results pane on explore and dashboard (@zhaoyongjie)
- [#19898](https://github.com/apache/superset/pull/19898) feat: When editing the label/title in the Metrics popover, hitting Enter should save what you've typed (@diegomedina248)
- [#16493](https://github.com/apache/superset/pull/16493) feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 (@stephenLYZ)
- [#19855](https://github.com/apache/superset/pull/19855) feat(explore): Frontend implementation of dataset creation from infobox (@lyndsiWilliams)
- [#20165](https://github.com/apache/superset/pull/20165) feat: add modified col and timezone info to schedule col (@pkdotson)
- [#20144](https://github.com/apache/superset/pull/20144) feat: showing results pane in dashboard (@zhaoyongjie)
- [#20242](https://github.com/apache/superset/pull/20242) feat: derived metrics use different line style (@zhaoyongjie)
- [#20010](https://github.com/apache/superset/pull/20010) feat: standardized form_data (@zhaoyongjie)
- [#19987](https://github.com/apache/superset/pull/19987) feat(superset-ui-core): add feature flag for the analogous colors (@stephenLYZ)
- [#19881](https://github.com/apache/superset/pull/19881) feat(world-map): support color by metric or country column (@stephenLYZ)
- [#19981](https://github.com/apache/superset/pull/19981) feat!: pass datasource_type and datasource_id to form_data (@eschutho)
- [#15241](https://github.com/apache/superset/pull/15241) feat: query datasets from SQL Lab (@betodealmeida)
- [#20129](https://github.com/apache/superset/pull/20129) feat(explore): Fill dashboard name when adding new chart from dashboard view (@kgabryje)
- [#20160](https://github.com/apache/superset/pull/20160) feat(explore): Add empty state to annotations (@kgabryje)
- [#20134](https://github.com/apache/superset/pull/20134) feat: add Query.columns for bootstrap_data (@hughhhh)
- [#20158](https://github.com/apache/superset/pull/20158) feat: add statsd metrics for notifications (@dpgaspar)
- [#20052](https://github.com/apache/superset/pull/20052) feat(Helm Chart): Support resource limits and requests for each component (@rathberm)
- [#20170](https://github.com/apache/superset/pull/20170) feat: add samples endpoint (@zhaoyongjie)
- [#19381](https://github.com/apache/superset/pull/19381) feat: add drag and drop column rearrangement for table viz (@stevetracvc)
- [#20136](https://github.com/apache/superset/pull/20136) feat: Add Certified filter to Datasets (@hughhhh)
- [#20111](https://github.com/apache/superset/pull/20111) feat(dashboard): Chart title click redirects to Explore in new tab (@kgabryje)
- [#20097](https://github.com/apache/superset/pull/20097) feat(plugin-chart-echarts): add support for generic axis to mixed chart (@villebro)
- [#20126](https://github.com/apache/superset/pull/20126) feat(dashboard): Add create chart button in dashboard edit mode (@kgabryje)
- [#20059](https://github.com/apache/superset/pull/20059) feat: Save column data into json_metadata for all Query executions (@hughhhh)
- [#19918](https://github.com/apache/superset/pull/19918) feat(plugin-chart-echarts): support horizontal bar chart (@stephenLYZ)
- [#19902](https://github.com/apache/superset/pull/19902) feat: Explore popovers should close on escape (@diegomedina248)
- [#20049](https://github.com/apache/superset/pull/20049) feat(dashboard): Rearrange items in chart header controls dropdown (@kgabryje)
- [#20030](https://github.com/apache/superset/pull/20030) feat(sip-68): Add DatasourceDAO class to manage querying different datasources easier (@hughhhh)
- [#19581](https://github.com/apache/superset/pull/19581) feat(viz-gallery): add search weight for viz-name (@stephenLYZ)
- [#19999](https://github.com/apache/superset/pull/19999) feat: RLS for SQL Lab (@betodealmeida)
- [#19993](https://github.com/apache/superset/pull/19993) feat(explore): Show confirmation modal if user exits Explore without saving changes (@kgabryje)
- [#19873](https://github.com/apache/superset/pull/19873) feat(css): adds `chartId`-based class to dashboard chart holder (@rusackas)
- [#20002](https://github.com/apache/superset/pull/20002) feat: deprecate /superset/testconn and migrate to api v1 (@zephyring)
- [#19935](https://github.com/apache/superset/pull/19935) feat: deprecate /superset/validate_sql_json migrate to api v1 (@dpgaspar)
- [#20015](https://github.com/apache/superset/pull/20015) feat: add new enums for datasource types (@hughhhh)
- [#19956](https://github.com/apache/superset/pull/19956) feat: Applitools Cypress workflow (@geido)
- [#19852](https://github.com/apache/superset/pull/19852) feat: Run Applitools on public Storybook (@geido)
- [#19963](https://github.com/apache/superset/pull/19963) feat: Add cypress test for downloading chart as image (@codemaster08240328)
- [#19957](https://github.com/apache/superset/pull/19957) feat: switch from `sqlalchemy-trino` to `trino-python-client` (@dungdm93)
- [#19921](https://github.com/apache/superset/pull/19921) feat: deprecate /superset/extra_table_metadata migrate to api v1 (@dpgaspar)
- [#19745](https://github.com/apache/superset/pull/19745) feat: simplify SQLite time grain (@betodealmeida)
- [#19927](https://github.com/apache/superset/pull/19927) feat(chart & legend): make to enable show legend by default (@prosdev0107)
- [#19754](https://github.com/apache/superset/pull/19754) feat: deprecate old API on core superset fave_dashboards (@dpgaspar)
- [#19905](https://github.com/apache/superset/pull/19905) feat: simplify `memoized_func` (@betodealmeida)
- [#19871](https://github.com/apache/superset/pull/19871) feat(filter): make to hide sort filter when time range (@prosdev0107)
- [#19851](https://github.com/apache/superset/pull/19851) feat: add Advanced Analytics into mixed time series chart (@zhaoyongjie)
- [#19692](https://github.com/apache/superset/pull/19692) feat: Update ShortKey for stop query running in SqlLab editor (@codemaster08240328)
- [#17903](https://github.com/apache/superset/pull/17903) feat: Adds plugin-chart-handlebars (@jdbranham)
- [#19748](https://github.com/apache/superset/pull/19748) feat(explore): improve UI in the control panel (@stephenLYZ)
- [#19724](https://github.com/apache/superset/pull/19724) feat: 10/15/30 min grain to Pinot (@hughhhh)
- [#19696](https://github.com/apache/superset/pull/19696) feat(explore): Replace overlay with alert banner when chart controls change (@kgabryje)
- [#19751](https://github.com/apache/superset/pull/19751) feat(explore): Implement data panel redesign (@kgabryje)
- [#19598](https://github.com/apache/superset/pull/19598) feat: add empty states to sqlab editor and select (@pkdotson)
- [#19450](https://github.com/apache/superset/pull/19450) feat: Remove legacy sql alchemy db connection link from G Sheet connection (@codemaster08240328)
- [#19710](https://github.com/apache/superset/pull/19710) feat: Enabling source maps full time (@rusackas)
- [#19671](https://github.com/apache/superset/pull/19671) feat: UI override registry (@suddjian)
- [#19691](https://github.com/apache/superset/pull/19691) feat(explore): More explicit labels of adhoc filter operators (@kgabryje)
- [#19558](https://github.com/apache/superset/pull/19558) feat(explore): Redesign of Run/Save buttons (@kgabryje)
- [#19650](https://github.com/apache/superset/pull/19650) feat(embedded): API get embedded dashboard config by uuid (@lilykuang)
- [#19310](https://github.com/apache/superset/pull/19310) feat(CRUD): add new empty state (@stephenLYZ)
- [#19622](https://github.com/apache/superset/pull/19622) feat(plugin-chart-echarts): add aggregate total for the Pie/Donut chart (@stephenLYZ)
- [#19314](https://github.com/apache/superset/pull/19314) feat: Move Database Import option into DB Connection modal (@lyndsiWilliams)
- [#19434](https://github.com/apache/superset/pull/19434) feat: deprecate old API and create new API for dashes created by me (@dpgaspar)
- [#19482](https://github.com/apache/superset/pull/19482) feat: add success toast to alerts and reports (@pkdotson)
- [#19574](https://github.com/apache/superset/pull/19574) feat: add a `where_in` filter for Jinja2 (@betodealmeida)
- [#19458](https://github.com/apache/superset/pull/19458) feat(explore): Move timer, row counter and cached pills to chart container (@kgabryje)
- [#19529](https://github.com/apache/superset/pull/19529) feat(explore): Move chart header to top of the page (@kgabryje)
- [#19489](https://github.com/apache/superset/pull/19489) feat(CI): clean up Python tests output (@ktmud)
- [#19308](https://github.com/apache/superset/pull/19308) feat(explore): SQL popover in datasource panel (@kgabryje)
- [#19325](https://github.com/apache/superset/pull/19325) feat(color): support analogous colors to prevent color conflict (@stephenLYZ)
- [#19408](https://github.com/apache/superset/pull/19408) feat(dashboard): Implement empty states for empty tabs (@kgabryje)
- [#19446](https://github.com/apache/superset/pull/19446) feat(explore): Move chart actions into dropdown (@kgabryje)
- [#19394](https://github.com/apache/superset/pull/19394) feat(explore): UI changes in dataset panel on Explore page (@kgabryje)
**Fixes**
- [#19920](https://github.com/apache/superset/pull/19920) fix(table viz): correctly sort by multiple columns in a table (@stevetracvc)
- [#20402](https://github.com/apache/superset/pull/20402) fix: alert & reports active toggle optimistic update (@diegomedina248)
- [#20472](https://github.com/apache/superset/pull/20472) fix: Changes the return type of get_permissions to be JSON friendly (@michael-s-molina)
- [#20468](https://github.com/apache/superset/pull/20468) fix: async queries limit bug (@AAfghahi)
- [#20257](https://github.com/apache/superset/pull/20257) fix(home): Show home page tabs as pills instead of links (@prosdev0107)
- [#20340](https://github.com/apache/superset/pull/20340) fix: ensure column name in description is string (@betodealmeida)
- [#20350](https://github.com/apache/superset/pull/20350) fix(viz): BigQuery time grain 'minute'/'second' throws an error (@diegomedina248)
- [#20384](https://github.com/apache/superset/pull/20384) fix(chart & table): Prevent the dates from wrapping in table chart (@prosdev0107)
- [#20404](https://github.com/apache/superset/pull/20404) fix: suppress translation warning in jest (@zhaoyongjie)
- [#20451](https://github.com/apache/superset/pull/20451) fix: should raise exception when apply a categorical axis (@zhaoyongjie)
- [#20447](https://github.com/apache/superset/pull/20447) fix: table viz sort icon bottom aligned (@diegomedina248)
- [#20326](https://github.com/apache/superset/pull/20326) fix(fbprophet): Fix weekly frequencies (@john-bodley)
- [#20434](https://github.com/apache/superset/pull/20434) fix(20428): Address-Presto/Trino-Poll-Issue-Refactor (@Thelin90)
- [#20411](https://github.com/apache/superset/pull/20411) fix(dashboard): new created chart did not have high lighted effect when using the permalink of chart share in dashboard (@diegomedina248)
- [#20261](https://github.com/apache/superset/pull/20261) fix(embedded): CSV download for chart (@lilykuang)
- [#20276](https://github.com/apache/superset/pull/20276) fix(cosmetic): cannot find m-r-10 class in superset.less (@Renderz)
- [#20420](https://github.com/apache/superset/pull/20420) fix: rm eslint-plugin-translation-vars engines requirement (@stephenLYZ)
- [#20409](https://github.com/apache/superset/pull/20409) fix(bar-chart-v2): remove marker control from bar chart V2 (@stephenLYZ)
- [#20333](https://github.com/apache/superset/pull/20333) fix(presto): use milliseconds timespec for presto (@mohittt8)
- [#20414](https://github.com/apache/superset/pull/20414) fix: key error on permalink fetch for old permalinks (@eschutho)
- [#20410](https://github.com/apache/superset/pull/20410) fix: Adding extra metrics issue after chart configuration (@codemaster08240328)
- [#20405](https://github.com/apache/superset/pull/20405) fix: Incorrect translations in Chinese in messages.po (@chuancyzhang)
- [#20396](https://github.com/apache/superset/pull/20396) fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work (@stephenLYZ)
- [#20361](https://github.com/apache/superset/pull/20361) fix(fonts): Show the all the A's in our workspace correctly, not funky (@prosdev0107)
- [#20383](https://github.com/apache/superset/pull/20383) fix: Unable to export multiple Dashboards with the same name (@diegomedina248)
- [#20363](https://github.com/apache/superset/pull/20363) fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (@diegomedina248)
- [#20372](https://github.com/apache/superset/pull/20372) fix: update connection modal to use existing catalog (@pkdotson)
- [#20368](https://github.com/apache/superset/pull/20368) fix(VERSIONED_EXPORTS): Ensure dashboards and charts adhere to the VERSIONED_EXPORTS feature flag (@john-bodley)
- [#20351](https://github.com/apache/superset/pull/20351) fix: catch some potential errors on dual write (@eschutho)
- [#20364](https://github.com/apache/superset/pull/20364) fix: query execution time is not fully displayed in bubble icon (@diegomedina248)
- [#20365](https://github.com/apache/superset/pull/20365) fix: Fix typo in Error handling message (@codemaster08240328)
- [#19967](https://github.com/apache/superset/pull/19967) fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (@diegomedina248)
- [#20348](https://github.com/apache/superset/pull/20348) fix(docker): Make Gunicorn Keepalive Adjustable (@mdeshmu)
- [#19670](https://github.com/apache/superset/pull/19670) fix: Add serviceAccountName to celerybeat pods (@paulinjo)
- [#20315](https://github.com/apache/superset/pull/20315) fix(chart): chart gets cut off on the dashboard (@stephenLYZ)
- [#20324](https://github.com/apache/superset/pull/20324) fix: superset-ui/core coverage (@zhaoyongjie)
- [#20282](https://github.com/apache/superset/pull/20282) fix(explore): Make that see more/see less works correctly with scrolling when error msg is long text. (@prosdev0107)
- [#20296](https://github.com/apache/superset/pull/20296) fix: Alpha are unable to perform a second modification to a Dataset when in Explore (@hughhhh)
- [#20290](https://github.com/apache/superset/pull/20290) fix: Faulty datetime parser regex (@reesercollins)
- [#19761](https://github.com/apache/superset/pull/19761) fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer doesn't work as expected (@stephenLYZ)
- [#20263](https://github.com/apache/superset/pull/20263) fix(embedded): accessing variable response before initialization (@zhaorui2022)
- [#20274](https://github.com/apache/superset/pull/20274) fix(codecov): improve core code coverage (@stephenLYZ)
- [#20187](https://github.com/apache/superset/pull/20187) fix: Database import with cancel_query.. extra field (@codemaster08240328)
- [#20237](https://github.com/apache/superset/pull/20237) fix(cosmetic): Fix Datasource Modal Out Of Box (@Renderz)
- [#20058](https://github.com/apache/superset/pull/20058) fix: Support the Clipboard API in modern browsers (@diegomedina248)
- [#20164](https://github.com/apache/superset/pull/20164) fix(sql lab): View result button is not showing consistently (@diegomedina248)
- [#20171](https://github.com/apache/superset/pull/20171) fix(charts list): do not trigger ListViewError exception for anonymous user (@trepmag)
- [#20178](https://github.com/apache/superset/pull/20178) fix: While exporting CSV , only the entries on first page are getting downloaded even when user is on other pages #17861 (@LahmerIlyas)
- [#20204](https://github.com/apache/superset/pull/20204) fix: Fixes issue where results panel height was incorrect [sc-49045] (@eric-briscoe)
- [#20235](https://github.com/apache/superset/pull/20235) fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics (@diegomedina248)
- [#20088](https://github.com/apache/superset/pull/20088) fix: datatype tracking issue on virtual dataset (@codemaster08240328)
- [#20220](https://github.com/apache/superset/pull/20220) fix: dashboard unable to refresh (@zhaoyongjie)
- [#20228](https://github.com/apache/superset/pull/20228) fix: failed samples should throw exception (@zhaoyongjie)
- [#20203](https://github.com/apache/superset/pull/20203) fix: move columns to datasource object for bootstrap data (@hughhhh)
- [#20151](https://github.com/apache/superset/pull/20151) fix(csv): Ensure df_to_escaped_csv does not coerce integer columns to float (@john-bodley)
- [#20221](https://github.com/apache/superset/pull/20221) fix(legacy-plugin-chart-sunburst): linear color scheme not work when secondary metric is provided (@stephenLYZ)
- [#20223](https://github.com/apache/superset/pull/20223) fix(legacy-plugin-chart-sunburst): chart broken when secondary metric is removed (@stephenLYZ)
- [#20147](https://github.com/apache/superset/pull/20147) fix(cosmetic): Limiting modal height (@rusackas)
- [#20206](https://github.com/apache/superset/pull/20206) fix(sql lab): SQL Lab Compile Query Delay (@diegomedina248)
- [#20201](https://github.com/apache/superset/pull/20201) fix: unable to set destroyOnClose on ModalTrigger (@zhaoyongjie)
- [#20186](https://github.com/apache/superset/pull/20186) fix(db): make to allow to show/hide the password when only creating (@prosdev0107)
- [#20127](https://github.com/apache/superset/pull/20127) fix(database): retrieval of tables and views from schema for exasol backend (@Nicoretti)
- [#19899](https://github.com/apache/superset/pull/19899) fix: always create parameter json field (@pkdotson)
- [#20173](https://github.com/apache/superset/pull/20173) fix: avoid while cycle in computeMaxFontSize for big Number run forever when css rule applied (@diegomedina248)
- [#20086](https://github.com/apache/superset/pull/20086) fix(css): transparent linear gradient not working in safari (@stephenLYZ)
- [#19102](https://github.com/apache/superset/pull/19102) fix: string aggregation is incorrect in PivotTableV2 (@diegomedina248)
- [#20011](https://github.com/apache/superset/pull/20011) fix(chart & heatmap): make to fix that y label is rendering out of bounds (@prosdev0107)
- [#20142](https://github.com/apache/superset/pull/20142) fix(explore): handle null control sections (@villebro)
- [#20128](https://github.com/apache/superset/pull/20128) fix: advanced data type API spec and permission name (@dpgaspar)
- [#20107](https://github.com/apache/superset/pull/20107) fix(generic-chart-axes): set x-axis if unset and ff is enabled (@villebro)
- [#20018](https://github.com/apache/superset/pull/20018) fix(modal): add primary button loading state to modals (@kgopal492)
- [#20099](https://github.com/apache/superset/pull/20099) fix: Add cypress test for report page direct link issue (@codemaster08240328)
- [#20068](https://github.com/apache/superset/pull/20068) fix: dbmodal test connection error timeout (@pkdotson)
- [#20092](https://github.com/apache/superset/pull/20092) fix: Revert "feat(explore): Show confirmation modal if user exits Explore without saving changes (#19993) (@kgabryje)
- [#19939](https://github.com/apache/superset/pull/19939) fix(chart & alert): make to show metrics properly (@prosdev0107)
- [#20085](https://github.com/apache/superset/pull/20085) fix: typo in `importexport/api.py` OpenAPI (@betodealmeida)
- [#20051](https://github.com/apache/superset/pull/20051) fix(CRUD): make to fix the dancing when crud view is on hover (@prosdev0107)
- [#20064](https://github.com/apache/superset/pull/20064) fix(chart & gallery): make to add mixed time-series into recommended charts (@prosdev0107)
- [#20013](https://github.com/apache/superset/pull/20013) fix: The dynamic form to connect to Snowflake DB is not returning any errors (@diegomedina248)
- [#20029](https://github.com/apache/superset/pull/20029) fix(plugin-chart-echarts): tooltip of big number truncated at then bottom (@stephenLYZ)
- [#19914](https://github.com/apache/superset/pull/19914) fix: Refactor SQL engine username logic (@john-bodley)
- [#20050](https://github.com/apache/superset/pull/20050) fix: Fixes Tabs style (@michael-s-molina)
- [#20048](https://github.com/apache/superset/pull/20048) fix(homepage): make to show indicator when tab is chosen (@prosdev0107)
- [#20026](https://github.com/apache/superset/pull/20026) fix(chart & filters): make to padding between textarea and buttons (@prosdev0107)
- [#20019](https://github.com/apache/superset/pull/20019) fix(embedded): third party cookies (@lilykuang)
- [#20033](https://github.com/apache/superset/pull/20033) fix: Direct Linking issue on report list: 404 status code. (@codemaster08240328)
- [#19977](https://github.com/apache/superset/pull/19977) fix(word-cloud): fix randomness of each word's rotation (@ebaratte)
- [#20021](https://github.com/apache/superset/pull/20021) fix: native filter truncation rerendering loop on hover (@diegomedina248)
- [#20004](https://github.com/apache/superset/pull/20004) fix: URI form is blank when trying to connect from sql lab (@diegomedina248)
- [#19841](https://github.com/apache/superset/pull/19841) fix: Table chart column config issue (@codemaster08240328)
- [#19877](https://github.com/apache/superset/pull/19877) fix: Making chart update more truthful (@Gwitchr)
- [#19996](https://github.com/apache/superset/pull/19996) fix: Use pull_request_target in Cypress Applitools workflow (@geido)
- [#19972](https://github.com/apache/superset/pull/19972) fix: revert chore(deps): bump d3-svg-legend in /superset-frontend (#19846) (@villebro)
- [#19889](https://github.com/apache/superset/pull/19889) fix: Fix auto-reversion of label/title in the Metrics popover (@diegomedina248)
- [#19903](https://github.com/apache/superset/pull/19903) fix(explore): Explore data table tooltip (@Gwitchr)
- [#19938](https://github.com/apache/superset/pull/19938) fix(chart & table): make to allow highlight in case of numeric column (@prosdev0107)
- [#19839](https://github.com/apache/superset/pull/19839) fix(dashboard): allow users to resize the markdown widget easier (@cccs-Dustin)
- [#19887](https://github.com/apache/superset/pull/19887) fix(hive): Workaround for Python 3.9 s3 transfer issue (@john-bodley)
- [#19936](https://github.com/apache/superset/pull/19936) fix: OpenAPI docs small fixes (@dpgaspar)
- [#19932](https://github.com/apache/superset/pull/19932) fix: can not correctly set force in store (@zhaoyongjie)
- [#19930](https://github.com/apache/superset/pull/19930) fix: memoize primitives (@betodealmeida)
- [#19926](https://github.com/apache/superset/pull/19926) fix(dataset): DAO update (@betodealmeida)
- [#19826](https://github.com/apache/superset/pull/19826) fix: Missing `f` prefix on f-strings (@code-review-doctor)
- [#18988](https://github.com/apache/superset/pull/18988) fix(column-header-tooltip): make that hide the tooltip when the cloum… (@prosdev0107)
- [#19782](https://github.com/apache/superset/pull/19782) fix: chart import error with virtual dataset (@codemaster08240328)
- [#19485](https://github.com/apache/superset/pull/19485) fix: Set fixed maxWidth of the cron schedule modal (@codemaster08240328)
- [#19885](https://github.com/apache/superset/pull/19885) fix: Chart download as image issue (@codemaster08240328)
- [#19883](https://github.com/apache/superset/pull/19883) fix(allow-db-explore): make to check the allow virtual table explore option by default (@prosdev0107)
- [#19835](https://github.com/apache/superset/pull/19835) fix(helm): fix postgresql values (@benjamin-texier)
- [#19758](https://github.com/apache/superset/pull/19758) fix(plugin-chart-echarts): [feature parity] annotation line chart color does not work (@stephenLYZ)
- [#19879](https://github.com/apache/superset/pull/19879) fix(plugin-chart-handlebars): fix overflow, debounce and control reset (@villebro)
- [#19668](https://github.com/apache/superset/pull/19668) fix: Dates alignment in Table viz (@geido)
- [#19876](https://github.com/apache/superset/pull/19876) fix: Cannot re-order metrics by drag and drop (@diegomedina248)
- [#19840](https://github.com/apache/superset/pull/19840) fix(dashboard-css): make to load saved css template (@prosdev0107)
- [#19859](https://github.com/apache/superset/pull/19859) fix: Dashboard report creation error handling (@etr2460)
- [#19857](https://github.com/apache/superset/pull/19857) fix: Update eslint error message to reflect location of antd components (@etr2460)
- [#19605](https://github.com/apache/superset/pull/19605) fix: Query execution time is displayed as invalid date (@diegomedina248)
- [#19694](https://github.com/apache/superset/pull/19694) fix(db & connection): make to show/hide the password when only creating db connection (@prosdev0107)
- [#19778](https://github.com/apache/superset/pull/19778) fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options (@diegomedina248)
- [#19850](https://github.com/apache/superset/pull/19850) fix: Regression on Data and Alerts & Reports Headers (@diegomedina248)
- [#19842](https://github.com/apache/superset/pull/19842) fix: count(distinct column_name) in metrics (@zhaoyongjie)
- [#19843](https://github.com/apache/superset/pull/19843) fix(explore): ignore temporary controls in altered pill (@villebro)
- [#19800](https://github.com/apache/superset/pull/19800) fix: Cypress tests reliability improvements (@diegomedina248)
- [#19575](https://github.com/apache/superset/pull/19575) fix: Show full long number in text email report for table chart. (@codemaster08240328)
- [#19429](https://github.com/apache/superset/pull/19429) fix(dashboard): make to filter the correct certified or non-certified… (@prosdev0107)
- [#13082](https://github.com/apache/superset/pull/13082) fix(sql_lab): Add custom timestamp type for literal casting for presto timestamps (@kekwan)
- [#19797](https://github.com/apache/superset/pull/19797) fix: add missing init files (@suddjian)
- [#19672](https://github.com/apache/superset/pull/19672) fix: trap SQLAlchemy common exceptions & throw 422 error instead (@diegomedina248)
- [#19288](https://github.com/apache/superset/pull/19288) fix: AlertReportCronScheduler tests (@diegomedina248)
- [#19781](https://github.com/apache/superset/pull/19781) fix(world-map): remove categorical color control (@serenajiang)
- [#19792](https://github.com/apache/superset/pull/19792) fix(plugin-chart-table): Resetting controls when switching query mode (@kgabryje)
- [#19755](https://github.com/apache/superset/pull/19755) fix: small cleanup for created by me dashboards API (@dpgaspar)
- [#19784](https://github.com/apache/superset/pull/19784) fix(readme): Remove broken link to legacy gallery (@drluckyspin)
- [#19722](https://github.com/apache/superset/pull/19722) fix: dashboard top level tabs edit (@diegomedina248)
- [#19777](https://github.com/apache/superset/pull/19777) fix(explore): Double divider if no permissions for adding reports (@kgabryje)
- [#19673](https://github.com/apache/superset/pull/19673) fix(import): Add the error alert on failed database import (@prosdev0107)
- [#19518](https://github.com/apache/superset/pull/19518) fix: alert/report created by filter inconsistency with table display (@diegomedina248)
- [#19700](https://github.com/apache/superset/pull/19700) fix: remove expose (@AAfghahi)
- [#19626](https://github.com/apache/superset/pull/19626) fix: deactivate embedding on a dashboard (@suddjian)
- [#19472](https://github.com/apache/superset/pull/19472) fix: Dashboard Edit View Tab Headers Hidden when Dashboard Name is Long (@diegomedina248)
- [#19311](https://github.com/apache/superset/pull/19311) fix(sql lab): add quotes when autocompleting table names with spaces in the editor (@diegomedina248)
- [#19290](https://github.com/apache/superset/pull/19290) fix(sql lab): select edit on query from history doesn't upload editor properly (@diegomedina248)
- [#19420](https://github.com/apache/superset/pull/19420) fix: sql lab ctrl t behaved differently from clicking (@Gwitchr)
- [#19357](https://github.com/apache/superset/pull/19357) fix: Redirect to full url on 401 (@geido)
- [#19001](https://github.com/apache/superset/pull/19001) fix: Line Chart Annotation Info Update (@codemaster08240328)
- [#19714](https://github.com/apache/superset/pull/19714) fix: create virtual table with exotic type (@villebro)
- [#19708](https://github.com/apache/superset/pull/19708) fix(nav): infinite redirect and upload dataset nav permissions (@ktmud)
- [#19430](https://github.com/apache/superset/pull/19430) fix(data-upload): make to change err message (@prosdev0107)
- [#19419](https://github.com/apache/superset/pull/19419) fix(alert & report): make to fix the issue when recreate report (@prosdev0107)
- [#19371](https://github.com/apache/superset/pull/19371) fix: Reset sorting bar issue in Barchart (@codemaster08240328)
- [#19362](https://github.com/apache/superset/pull/19362) fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode (@diegomedina248)
- [#19294](https://github.com/apache/superset/pull/19294) fix: improve alerts & reports modal on small devices (@diegomedina248)
- [#19257](https://github.com/apache/superset/pull/19257) fix(sql lab): table selector should display all the selected tables (@diegomedina248)
- [#19686](https://github.com/apache/superset/pull/19686) fix(plugin-chart-echarts): xAxis scale is not correct when time grain is quarter (@stephenLYZ)
- [#19646](https://github.com/apache/superset/pull/19646) fix(explore): Change copy of cross filters checkbox (@kgabryje)
- [#19586](https://github.com/apache/superset/pull/19586) fix: Navbar styles and Welcome page text (@geido)
- [#19662](https://github.com/apache/superset/pull/19662) fix(database-api): allow search for all columns (@villebro)
- [#19656](https://github.com/apache/superset/pull/19656) fix: allow_browser_login in import/export API (@betodealmeida)
- [#19628](https://github.com/apache/superset/pull/19628) fix: Table Autosizing Has Unnecessary Horizontal Scroll Bars (@diegomedina248)
- [#19573](https://github.com/apache/superset/pull/19573) fix(chart & polygon): make to fix the issue the polygon chart (@prosdev0107)
- [#19051](https://github.com/apache/superset/pull/19051) fix: update Permissions for right nav (@AAfghahi)
- [#19625](https://github.com/apache/superset/pull/19625) fix(test): make test_clean_requests_after_schema_grant more idempotent (@ktmud)
- [#19571](https://github.com/apache/superset/pull/19571) fix: Catch literal colors when theme top level (@geido)
- [#19594](https://github.com/apache/superset/pull/19594) fix: spelling of following (@lzm0)
- [#19569](https://github.com/apache/superset/pull/19569) fix: check type of url before performing string actions (@eschutho)
- [#19570](https://github.com/apache/superset/pull/19570) fix: sqloxide optional (@betodealmeida)
- [#19397](https://github.com/apache/superset/pull/19397) fix: weight tooltip issue (@codemaster08240328)
- [#19313](https://github.com/apache/superset/pull/19313) fix(sql lab): increase the size of the action icons in the history tab (@diegomedina248)
- [#19039](https://github.com/apache/superset/pull/19039) fix(explore): clean data when hiding control (@stephenLYZ)
- [#19444](https://github.com/apache/superset/pull/19444) fix: Error Message is cut off in alerts & reports log page (@codemaster08240328)
- [#19312](https://github.com/apache/superset/pull/19312) fix: adaptive formatting typo in explore dropdowns (@diegomedina248)
- [#19534](https://github.com/apache/superset/pull/19534) fix(explore): Chart header icon paddings (@kgabryje)
- [#19399](https://github.com/apache/superset/pull/19399) fix: native filter dropdown not attached to parent node (@diegomedina248)
- [#19112](https://github.com/apache/superset/pull/19112) fix: Dashboard import holding issue (@codemaster08240328)
- [#19342](https://github.com/apache/superset/pull/19342) fix: Clean up custom css when dashboard unmounted (@codemaster08240328)
- [#19491](https://github.com/apache/superset/pull/19491) fix: Dynamic form to connect to Snowflake DB is not displaying authentication errors (@diegomedina248)
- [#19528](https://github.com/apache/superset/pull/19528) fix: Correct Ukraine map (@wacken89)
- [#19522](https://github.com/apache/superset/pull/19522) fix: add back view for report reload error (@pkdotson)
- [#19519](https://github.com/apache/superset/pull/19519) fix: GSheets rendering from global nav (@hughhhh)
- [#19358](https://github.com/apache/superset/pull/19358) fix(sqllab): make to hide the delete button of most recent query history (@prosdev0107)
- [#19307](https://github.com/apache/superset/pull/19307) fix: Logo resizing on page load (@geido)
- [#19166](https://github.com/apache/superset/pull/19166) fix: time filter should be [start, end) (@zhaoyongjie)
**Others**
- [#20116](https://github.com/apache/superset/pull/20116) style(typo): occured -> occurred (@sfirke)
- [#20401](https://github.com/apache/superset/pull/20401) chore: add action to welcome new users (@eschutho)
- [#20269](https://github.com/apache/superset/pull/20269) chore(docs): Remove cache warming documentation (@ajwhite)
- [#20194](https://github.com/apache/superset/pull/20194) chore: Removes unused vars (@michael-s-molina)
- [#20321](https://github.com/apache/superset/pull/20321) chore: add breaking change information about form_data datasource_type (@eschutho)
- [#20298](https://github.com/apache/superset/pull/20298) chore: Removes no-use-before-define warnings (@michael-s-molina)
- [#20337](https://github.com/apache/superset/pull/20337) chore(dashboard): update Edit Dashboard side panel tabs (@codyml)
- [#20318](https://github.com/apache/superset/pull/20318) chore: Updates the final steps of the release README (@michael-s-molina)
- [#20307](https://github.com/apache/superset/pull/20307) docs: Updates CHANGELOG.md with 1.5.1 fixes (@michael-s-molina)
- [#20308](https://github.com/apache/superset/pull/20308) docs(jinja): Detail how to use Jinja parameters (@EBoisseauSierra)
- [#20304](https://github.com/apache/superset/pull/20304) chore: superset-ui/core code coverage (@zhaoyongjie)
- [#20297](https://github.com/apache/superset/pull/20297) chore(deps): pinning pyjwt to 2.4.0 (@sadpandajoe)
- [#20287](https://github.com/apache/superset/pull/20287) chore(deps): bump numpy 1.22.1 and PyJWT to 2.4.0 (@sadpandajoe)
- [#20272](https://github.com/apache/superset/pull/20272) chore: remove unused codes for samples (@zhaoyongjie)
- [#20289](https://github.com/apache/superset/pull/20289) chore: Adjusts release emails (@michael-s-molina)
- [#20180](https://github.com/apache/superset/pull/20180) docs: facelift the docs (@mistercrunch)
- [#20249](https://github.com/apache/superset/pull/20249) chore: add event logger to reports/alerts CRUD (@AAfghahi)
- [#20273](https://github.com/apache/superset/pull/20273) chore: adjust the psycopg2 version of k8s installation guide (@ensky)
- [#20152](https://github.com/apache/superset/pull/20152) refactor(trino): Handful of updates for the Trino engine (@john-bodley)
- [#20252](https://github.com/apache/superset/pull/20252) chore: use exc_info to pass errors to log warnings (@eschutho)
- [#20154](https://github.com/apache/superset/pull/20154) chore(requirements): Cleanup of Python requirements (@john-bodley)
- [#20226](https://github.com/apache/superset/pull/20226) refactor: decouple DataTableControl (@zhaoyongjie)
- [#20243](https://github.com/apache/superset/pull/20243) docs: Add beans to users list (@kakoni)
- [#20231](https://github.com/apache/superset/pull/20231) docs: Updates release scripts and docs (@michael-s-molina)
- [#20196](https://github.com/apache/superset/pull/20196) chore: bumping min version of shillelagh (@AAfghahi)
- [#20192](https://github.com/apache/superset/pull/20192) chore: Moves date utils to utils folder (@michael-s-molina)
- [#20210](https://github.com/apache/superset/pull/20210) docs: update release instructions (@villebro)
- [#20205](https://github.com/apache/superset/pull/20205) chore(deps): bump swagger-ui-react from 4.1.2 to 4.1.3 in /docs (@dependabot[bot])
- [#20195](https://github.com/apache/superset/pull/20195) docs: correct case of ClickHouse (@DanRoscigno)
- [#20109](https://github.com/apache/superset/pull/20109) refactor: decouple DataTablesPane (@zhaoyongjie)
- [#20193](https://github.com/apache/superset/pull/20193) refactor: Removes embedded/index.tsx warnings (@michael-s-molina)
- [#20185](https://github.com/apache/superset/pull/20185) docs(security): a typo: Gamma should be in quotes (@jimmytheneutrino)
- [#20146](https://github.com/apache/superset/pull/20146) chore: Implement global header in Dashboard (@geido)
- [#20174](https://github.com/apache/superset/pull/20174) chore: Disable flaky assert in reports cypress test (@kgabryje)
- [#20163](https://github.com/apache/superset/pull/20163) chore: change button name in Sql Lab (@AAfghahi)
- [#20157](https://github.com/apache/superset/pull/20157) chore: filter undefined operators (@zhaoyongjie)
- [#20140](https://github.com/apache/superset/pull/20140) chore(data-table): make formatted dttm the default (@villebro)
- [#20104](https://github.com/apache/superset/pull/20104) chore: fix INTHEWILD sort order and indentation (@villebro)
- [#20093](https://github.com/apache/superset/pull/20093) chore: Add the tnum font property to Table components (@geido)
- [#20103](https://github.com/apache/superset/pull/20103) docs: Update INTHEWILD.md (@fccoelho)
- [#20102](https://github.com/apache/superset/pull/20102) chore: Update aiohttp to 3.8.1 (@diegomedina248)
- [#20066](https://github.com/apache/superset/pull/20066) chore: Set limit for a query in execute_sql_statement (@AAfghahi)
- [#20032](https://github.com/apache/superset/pull/20032) chore: Change copy to Edit chart in Dashboard dropdown (@geido)
- [#20071](https://github.com/apache/superset/pull/20071) chore: Fix and enhance Applitools workflows (@geido)
- [#19966](https://github.com/apache/superset/pull/19966) test: make tabbed dashboard a little more complex (@ktmud)
- [#19976](https://github.com/apache/superset/pull/19976) perf(plugin-chart-table): Add memoization to avoid rerenders (@kgabryje)
- [#20044](https://github.com/apache/superset/pull/20044) chore: Create a generic header component for Explore and Dashboard (@kgabryje)
- [#20046](https://github.com/apache/superset/pull/20046) docs: add changelog and updating entries for 1.5.0 (@villebro)
- [#19962](https://github.com/apache/superset/pull/19962) chore: add doc link for db migration conflict warning (@ktmud)
- [#20034](https://github.com/apache/superset/pull/20034) chore: Changes the no-literal-colors lint rule to throw errors instead of warnings (@michael-s-molina)
- [#20031](https://github.com/apache/superset/pull/20031) chore: Run Applitools + Cypress nightly (@geido)
- [#20006](https://github.com/apache/superset/pull/20006) chore: Removes hard-coded colors from the plugins - iteration 2 (@michael-s-molina)
- [#19130](https://github.com/apache/superset/pull/19130) refactor: Refactor reports for Charts and Dashboards (@AAfghahi)
- [#20016](https://github.com/apache/superset/pull/20016) chore: Removes hard-coded colors - iteration 3 (@michael-s-molina)
- [#19870](https://github.com/apache/superset/pull/19870) docs: Detail front-end development instructions (@EBoisseauSierra)
- [#19971](https://github.com/apache/superset/pull/19971) docs: Add config for running on a WSGI HTTP server (@thinhnd2104)
- [#20008](https://github.com/apache/superset/pull/20008) chore: Upgrades Storybook from 6.4.19 to 6.4.22 (@michael-s-molina)
- [#20009](https://github.com/apache/superset/pull/20009) docs: typo in chart-params markdown file (@JakobMiksch)
- [#19923](https://github.com/apache/superset/pull/19923) chore: Removes hard-coded colors from the plugins - iteration 1 (@michael-s-molina)
- [#19954](https://github.com/apache/superset/pull/19954) chore: convert URLShortLinkButton to typescript (@ktmud)
- [#19929](https://github.com/apache/superset/pull/19929) chore: change subject name from no_name to named for PNGs in (@AAfghahi)
- [#19942](https://github.com/apache/superset/pull/19942) refactor(ReportModal): simplify state reducer and improve error handling (@ktmud)
- [#19770](https://github.com/apache/superset/pull/19770) chore: remove druid datasource from the config (@eschutho)
- [#19911](https://github.com/apache/superset/pull/19911) chore: Fix broken link for DouroECI (@mavimo)
- [#19951](https://github.com/apache/superset/pull/19951) chore: Adds the theme object to chart properties (@michael-s-molina)
- [#19813](https://github.com/apache/superset/pull/19813) chore: get embedded user with roles and permissions (@suddjian)
- [#19897](https://github.com/apache/superset/pull/19897) chore: Adds a storybook to FilterableTable (@michael-s-molina)
- [#19924](https://github.com/apache/superset/pull/19924) chore(reports): Improving logging around failed scheduled reports (@craig-rueda)
- [#19906](https://github.com/apache/superset/pull/19906) revert: "fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode" (@Gwitchr)
- [#19916](https://github.com/apache/superset/pull/19916) chore(deps): bump react-virtualized-auto-sizer from 1.0.2 to 1.0.6 in /superset-frontend (@dependabot[bot])
- [#19888](https://github.com/apache/superset/pull/19888) chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 in /docs (@dependabot[bot])
- [#19894](https://github.com/apache/superset/pull/19894) chore(deps-dev): bump eslint-plugin-prettier from 3.3.1 to 4.0.0 in /superset-frontend (@dependabot[bot])
- [#19602](https://github.com/apache/superset/pull/19602) docs: Added gtag to docusaurus (@AAfghahi)
- [#19878](https://github.com/apache/superset/pull/19878) chore(deps-dev): bump @storybook/client-api from 6.4.19 to 6.4.22 in /superset-frontend (@dependabot[bot])
- [#19821](https://github.com/apache/superset/pull/19821) test(native filter): refactor and add new test (@jinghua-qa)
- [#19613](https://github.com/apache/superset/pull/19613) chore: Update line-height in SliceHeaderControl (@geido)
- [#19616](https://github.com/apache/superset/pull/19616) chore: Update font-sizes in DatabaseModal (@geido)
- [#19866](https://github.com/apache/superset/pull/19866) chore: fix explore pills (@villebro)
- [#19872](https://github.com/apache/superset/pull/19872) chore: Update aiohttp>=3.7.4 in requirements (@hughhhh)
- [#19874](https://github.com/apache/superset/pull/19874) chore: bump rockset>=0.8.10, <0.9 (@hughhhh)
- [#19864](https://github.com/apache/superset/pull/19864) chore(deps): bump react-syntax-highlighter from 15.4.5 to 15.5.0 in /superset-frontend (@dependabot[bot])
- [#19828](https://github.com/apache/superset/pull/19828) chore: add custom eslint plugin to prevent translation variables (@stephenLYZ)
- [#19845](https://github.com/apache/superset/pull/19845) chore(deps): bump react-split from 2.0.9 to 2.0.14 in /superset-frontend (@dependabot[bot])
- [#19846](https://github.com/apache/superset/pull/19846) chore(deps): bump d3-svg-legend from 1.13.0 to 2.25.6 in /superset-frontend (@dependabot[bot])
- [#19847](https://github.com/apache/superset/pull/19847) chore(deps-dev): bump eslint-plugin-jsx-a11y from 6.4.1 to 6.5.1 in /superset-frontend (@dependabot[bot])
- [#19853](https://github.com/apache/superset/pull/19853) chore(frontend-tests): Spelling (@jsoref)
- [#19823](https://github.com/apache/superset/pull/19823) docs: updated links for country map scripts (@ktmud)
- [#19829](https://github.com/apache/superset/pull/19829) chore(deps-dev): bump babel-loader from 8.2.4 to 8.2.5 in /superset-frontend (@dependabot[bot])
- [#19830](https://github.com/apache/superset/pull/19830) chore(deps): bump react-hot-loader from 4.12.20 to 4.13.0 in /superset-frontend (@dependabot[bot])
- [#19403](https://github.com/apache/superset/pull/19403) chore(deps-dev): bump babel-loader from 8.2.2 to 8.2.4 in /superset-frontend (@dependabot[bot])
- [#19637](https://github.com/apache/superset/pull/19637) chore(deps): bump moment from 2.29.1 to 2.29.2 in /superset-frontend (@dependabot[bot])
- [#19681](https://github.com/apache/superset/pull/19681) chore(deps): bump async from 3.2.0 to 3.2.3 in /superset-frontend/cypress-base (@dependabot[bot])
- [#19680](https://github.com/apache/superset/pull/19680) chore(deps): bump async from 3.2.0 to 3.2.3 in /superset-websocket (@dependabot[bot])
- [#19020](https://github.com/apache/superset/pull/19020) chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /superset-frontend (@dependabot[bot])
- [#17978](https://github.com/apache/superset/pull/17978) chore(deps): bump @types/d3-time from 1.1.1 to 3.0.0 in /superset-frontend (@dependabot[bot])
- [#19727](https://github.com/apache/superset/pull/19727) chore(deps): bump async from 2.6.3 to 2.6.4 in /docs (@dependabot[bot])
- [#19551](https://github.com/apache/superset/pull/19551) chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-websocket (@dependabot[bot])
- [#19165](https://github.com/apache/superset/pull/19165) chore: simplify error messaging in database modal (@pkdotson)
- [#19790](https://github.com/apache/superset/pull/19790) chore: bump postgres from 10 to 14 (@dpgaspar)
- [#19480](https://github.com/apache/superset/pull/19480) chore: Update UPDATING.md (@john-bodley)
- [#19740](https://github.com/apache/superset/pull/19740) chore: fix grammar error (@zhaoyongjie)
- [#19703](https://github.com/apache/superset/pull/19703) chore(build): upgrade less-loader (@ktmud)
- [#19736](https://github.com/apache/superset/pull/19736) chore: Updates the Select code owners (@michael-s-molina)
- [#19715](https://github.com/apache/superset/pull/19715) docs(install): ubuntu default-libmysqlclient-dev (@cemremengu)
- [#19726](https://github.com/apache/superset/pull/19726) chore: bumping shillelagh (@AAfghahi)
- [#19699](https://github.com/apache/superset/pull/19699) chore: fix typo (@betodealmeida)
- [#19674](https://github.com/apache/superset/pull/19674) chore: upgrade Pillow (@betodealmeida)
- [#19647](https://github.com/apache/superset/pull/19647) chore(explore): Change labels "Group by"/"Series" to "Dimensions" (@kgabryje)
- [#19679](https://github.com/apache/superset/pull/19679) chore(deps): bump urijs from 1.19.8 to 1.19.11 in /superset-frontend (@dependabot[bot])
- [#19638](https://github.com/apache/superset/pull/19638) chore(deps): bump moment from 2.29.1 to 2.29.2 in /docs (@dependabot[bot])
- [#19617](https://github.com/apache/superset/pull/19617) chore: updated two github issue templates (@srinify)
- [#19666](https://github.com/apache/superset/pull/19666) chore: Remove TwoTone icons (@geido)
- [#19614](https://github.com/apache/superset/pull/19614) chore: Remove wrong usage of font-size in ExploreViewContainer (@geido)
- [#19593](https://github.com/apache/superset/pull/19593) chore: Update font-sizes in ReportModal (@geido)
- [#19611](https://github.com/apache/superset/pull/19611) chore: Update font-sizes in ImportModal (@geido)
- [#19615](https://github.com/apache/superset/pull/19615) chore: Update font-sizes in AlertReportModal (@geido)
- [#19620](https://github.com/apache/superset/pull/19620) chore: Update font-sizes in QueryPreviewModal (@geido)
- [#19641](https://github.com/apache/superset/pull/19641) chore: clean up dynamic translation strings (@villebro)
- [#19635](https://github.com/apache/superset/pull/19635) refactor: consistent migration tests organization (@ktmud)
- [#19634](https://github.com/apache/superset/pull/19634) test: freeze time for dashboard export test (@ktmud)
- [#19606](https://github.com/apache/superset/pull/19606) test(jinja): refactor to functional tests (@villebro)
- [#19587](https://github.com/apache/superset/pull/19587) chore: cleanup as unknown conversion (@zhaoyongjie)
- [#19562](https://github.com/apache/superset/pull/19562) refactor: Removes the CSS files from the Horizon plugin (@michael-s-molina)
- [#19563](https://github.com/apache/superset/pull/19563) refactor: Removes the CSS files from the Paired T-Test plugin (@michael-s-molina)
- [#19539](https://github.com/apache/superset/pull/19539) refactor: Removes the CSS files from the Parallel Coordinates plugin (@michael-s-molina)
- [#19521](https://github.com/apache/superset/pull/19521) refactor: Removes the CSS files from the Partition plugin (@michael-s-molina)
- [#19493](https://github.com/apache/superset/pull/19493) chore: Removes hard-coded colors from legacy-plugin-chart-sankey (@michael-s-molina)
- [#19462](https://github.com/apache/superset/pull/19462) chore: Remove FilterBox.less (@geido)
- [#19438](https://github.com/apache/superset/pull/19438) chore: Remove crud.less from Datasource (@geido)
- [#19517](https://github.com/apache/superset/pull/19517) chore: Enhance ReactChord style with theme vars (@geido)
- [#19463](https://github.com/apache/superset/pull/19463) chore: Remove TimeTable.less (@geido)
- [#19550](https://github.com/apache/superset/pull/19550) chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-embedded-sdk (@dependabot[bot])
- [#19566](https://github.com/apache/superset/pull/19566) chore(deps): bump node-forge from 1.2.1 to 1.3.1 in /docs (@dependabot[bot])
- [#19552](https://github.com/apache/superset/pull/19552) chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (@dependabot[bot])
- [#19549](https://github.com/apache/superset/pull/19549) chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-frontend/cypress-base (@dependabot[bot])
- [#19559](https://github.com/apache/superset/pull/19559) docs: update the typo in the documentation (@fatosmorina)
- [#19538](https://github.com/apache/superset/pull/19538) refactor: Removes the CSS files from the Country Map plugin (@michael-s-molina)
- [#19536](https://github.com/apache/superset/pull/19536) chore: Removes hard-coded opacity and spacing from the BigNumber plugin (@michael-s-molina)
- [#19494](https://github.com/apache/superset/pull/19494) refactor: Removes the CSS files from the Sankey Loop plugin (@michael-s-molina)
- [#19492](https://github.com/apache/superset/pull/19492) chore: Remove Legacy Force Directed viz plugin (@geido)
- [#19524](https://github.com/apache/superset/pull/19524) chore: Deprecating /my_queries endpoint (@AAfghahi)
- [#19467](https://github.com/apache/superset/pull/19467) chore(Explore): Change text when saving a chart in a new dashboard (@geido)
- [#19526](https://github.com/apache/superset/pull/19526) chore(database): Creating helper make_url_safe to wrap potential errors (@craig-rueda)
- [#19415](https://github.com/apache/superset/pull/19415) chore: Remove Control.less in Explore (@geido)
- [#19413](https://github.com/apache/superset/pull/19413) chore: Remove unused less file from profile (@geido)
- [#19460](https://github.com/apache/superset/pull/19460) chore: Switch to gender neutral terms (@inclusive-coding-bot)
- [#19486](https://github.com/apache/superset/pull/19486) refactor: Removes the CSS files from the Treemap plugin (@michael-s-molina)
- [#19488](https://github.com/apache/superset/pull/19488) refactor: Removes the CSS files from the Sunburst plugin (@michael-s-molina)
- [#19490](https://github.com/apache/superset/pull/19490) chore: Add theme color to ParallelCoordinates (@geido)
- [#19442](https://github.com/apache/superset/pull/19442) chore: Remove FilterableTableStyles.less (@geido)
- [#19441](https://github.com/apache/superset/pull/19441) chore: Remove StyledQueryButton.less (@geido)
- [#19473](https://github.com/apache/superset/pull/19473) refactor: Removes the CSS files from the Rose plugin (@michael-s-molina)
- [#19466](https://github.com/apache/superset/pull/19466) chore: Removes hard-coded colors from legacy-plugin-chart-world-map (@michael-s-molina)
- [#19465](https://github.com/apache/superset/pull/19465) refactor: Removes the CSS files from the DeckGL plugin (@michael-s-molina)
- [#19440](https://github.com/apache/superset/pull/19440) chore: Remove index.less from showSavedQuery (@geido)
- [#19230](https://github.com/apache/superset/pull/19230) chore!: remove `ROW_LEVEL_SECURITY` feature flag (permanently enable) (@suddjian)
- [#19361](https://github.com/apache/superset/pull/19361) chore: remove deprecated config keys and endpoints code 2.0 (@pkdotson)
- [#19261](https://github.com/apache/superset/pull/19261) chore: remove old alerts and configs keys (@pkdotson)
- [#19168](https://github.com/apache/superset/pull/19168) chore: bump celery and Flask (@dpgaspar)
- [#19049](https://github.com/apache/superset/pull/19049) chore: Remove logo forced width (@geido)
- [#19274](https://github.com/apache/superset/pull/19274) chore: remove PUBLIC_ROLE_LIKE_GAMMA deprecated config key (@dpgaspar)
- [#19273](https://github.com/apache/superset/pull/19273) chore: remove deprecated celery cli (@dpgaspar)
- [#19262](https://github.com/apache/superset/pull/19262) chore: update updating with druid no sql deprecation (@eschutho)
- [#19083](https://github.com/apache/superset/pull/19083) chore!: update mutator to take kwargs (@eschutho)
- [#19231](https://github.com/apache/superset/pull/19231) chore!: remove `ENABLE_REACT_CRUD_VIEWS` feature flag (permanently enable) (@suddjian)
- [#19241](https://github.com/apache/superset/pull/19241) chore(superset 2.0): remove front-end deprecated code (@graceguo-supercat)
- [#19107](https://github.com/apache/superset/pull/19107) chore: turn on SQLLAB_BACKEND_PERSISTENCE by default (@ktmud)
- [#19142](https://github.com/apache/superset/pull/19142) chore!: turn on Versioned Export in config.py (@AAfghahi)
- [#19108](https://github.com/apache/superset/pull/19108) chore: Update UPDATING.md with info about flipping dnd feature flag (@kgabryje)
- [#19146](https://github.com/apache/superset/pull/19146) chore!: Remove remove SQLALCHEMY_DOCS_URL and SQLALCHEMY_DISPLAY_TEXT from the config from the config (@hughhhh)
- [#19017](https://github.com/apache/superset/pull/19017) chore: Deprecate Python 3.7 (@john-bodley)
- [#19113](https://github.com/apache/superset/pull/19113) chore(config): Migrating `ENABLE_JAVASCRIPT_CONTROLS` from app config to a feature flag (@rusackas)
- [#19046](https://github.com/apache/superset/pull/19046) chore(explore): Set Drag&Drop feature flags to True by default (@kgabryje)
- [#19016](https://github.com/apache/superset/pull/19016) chore: Adding PR to Updating.md (@AAfghahi)
- [#18970](https://github.com/apache/superset/pull/18970) chore: Change Dataset legacy editor flag to true (@AAfghahi)
+166
View File
@@ -0,0 +1,166 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Release Notes for Superset 3.1.0
Superset 3.1.0 brings a range of new features and quality of life improvements. This release is a minor version, meaning it doesn't include any breaking changes to ensure a seamless transition for our users. Here are some of the highlights of this release.
### Waterfall chart
The new [Waterfall chart](https://github.com/apache/superset/pull/25557) visualization provides a visual representation of how a value changes over time or across different categories. They are very helpful to show the cumulative effect of positive and negative changes from a starting value. Superset's Waterfall chart supports Breakdowns which can be used to analyze the contribution of different dimensions or factors to a specific metric. By breaking down the data into various categories or dimensions, you can identify the individual components that contribute to the overall variation or change in the metric.
The chart example below displays the total sales grouped by year and broken down by product line.
![Waterfall](media/waterfall_chart.png)
### Bubble Chart ECharts version
The new ECharts [Bubble chart](https://github.com/apache/superset/pull/22107) offers feature parity with the previous NVD3 version which should be removed in the next major release. This work is part of the [ECharts migration effort](https://github.com/apache/superset/issues/10418) to increase consistency and quality of our plugins. We'll add a migration to the new plugin soon which you'll be able to execute using the new CLI command.
![Bubble](media/bubble_chart.png)
### Improved Dataset selectors
The [dataset selectors](https://github.com/apache/superset/pull/25569) have been improved to also display the database and schema names which will help users locate the correct dataset, particularly when there are multiple tables/datasets with the same name that could benefit from disambiguation.
![Dataset](media/dataset_selector.png)
### SQL Lab improvements
SQL Lab received many user experience and performance improvements in this release. Well continue to improve the capabilities of SQL Lab with feedback from the community.
Now users can [automatically format](https://github.com/apache/superset/pull/25344) their SQL queries using the `Ctrl+Shift+F` shortcut or the Format SQL menu option available in the SQL configuration panel. Another improvement is that the results panel now shows the [executed query](https://github.com/apache/superset/pull/24787) which is very helpful when your SQL Lab editor has multiple queries.
![SQL Formatting](media/sql_formatting.png)
In the SQL panel configurations, there's a menu option to show the [keyboard shortcuts](https://github.com/apache/superset/pull/25542) a user has access to.
![Keyboard Shortcuts](media/keyboard_shortcuts.png)
SQL Lab has launched a non-blocking persistence mode, as outlined in [SIP-93](https://github.com/apache/superset/issues/21385). This enhancement ensures that your SQL editor content is preserved, even if your internet or service goes offline. Moreover, it improves user interaction by saving changes in a non-blocking way, similar to how Google Docs does.
Finally, the [SQL Lab module was moved to the Single Page Application](https://github.com/apache/superset/pull/25151) context. This means that both navigation and loading time of that module is significantly faster than previous versions (particularly when navigating to and from this page from other pages in Superset). This also reduces the number of requests to the server and pays some of our technical debt. Try it out! The difference is quite impressive!
### Country Map improvements
The Country Map visualization received some improvements in this release. The community added [France's regions](https://github.com/apache/superset/pull/25676) in addition to its departments and also many [Central Asia countries](https://github.com/apache/superset/pull/24870).
<table>
<tr>
<td width="33%">France's regions</td>
<td width="33%">Kazakhstan</td>
<td width="33%">Kyrgyzstan</td>
</tr>
<tr>
<td width="33%"><img src="media/france.png" width="100%"/></td>
<td width="33%"><img src="media/kazakhstan.png" width="100%"></td>
<td width="33%"><img src="media/kyrgyzstan.png" width="100%"></td>
</tr>
<tr>
<td width="33%">Tajikistan</td>
<td width="33%">Turkmenistan</td>
<td width="33%">Uzbekistan</td>
</tr>
<tr>
<td width="33%"><img src="media/tajikistan.png" width="100%"/></td>
<td width="33%"><img src="media/turkmenistan.png" width="100%"></td>
<td width="33%"><img src="media/uzbekistan.png" width="100%"></td>
</tr>
</table>
### Deck.gl ContourLayer
We [added](https://github.com/apache/superset/pull/24154) the Deck.gl [ContourLayer](https://deck.gl/docs/api-reference/aggregation-layers/contour-layer) which aggregates data into Isolines or Isobands for a given threshold and cell size. By expanding the range of available [Deck.gl](https://deck.gl/) visualization layers, users will have more options to choose from when creating their visualizations. This will allow them to tailor their visualizations to their specific needs and explore their data in different ways.
![Contour](media/contour.png)
### New Databases
Superset has added support for two new databases:
- [Databend](https://databend.rs/), an open-source, elastic, and workload-aware cloud data warehouse built in Rust. You can see the PR [here](https://github.com/apache/superset/pull/23308), and the updated documentation [here](https://superset.apache.org/docs/databases/databend).
- [Apache Doris](https://doris.apache.org/), which is based on the MySQL protocol and introduces the concept of Multi Catalog. You can see the PR [here](https://github.com/apache/superset/pull/24714/) and the updated documentation [here](https://superset.apache.org/docs/databases/doris).
<table>
<tr>
<td width="50%"><img src="media/databend.png" width="100%"/></td>
<td width="50%"><img src="media/doris.png" width="100%"></td>
</tr>
</table>
### CLI command to execute viz migrations
A new [CLI command](https://github.com/apache/superset/pull/25304) called viz-migrations was added to allow users to migrate charts of a specific type. This command is particularly helpful to migrate visualizations to their latest version and at the same time disable their legacy versions with the `VIZ_TYPE_DENYLIST` configuration. The main advantage of this command is that you can migrate your visualizations without needing to wait for a major release, where we generally remove the legacy plugins.
Currently, you can use the command to migrate Area, Bubble, Line, and Sunburst chart types but we'll add more as the ECharts migrations continue. Note that migrations for deprecated charts may be forced in upcoming major versions when the code is removed. Running migrations earlier will allow you to de-risk future upgrades while improving user experience.
```bash
Usage: superset viz-migrations [OPTIONS] COMMAND [ARGS]...
Migrates a viz from one type to another.
Commands:
downgrade Downgrades a viz to the previous version.
upgrade Upgrade a viz to the latest version.
```
Note: When migrating dashboards from one Superset instance to another (using import/export features or the Superset CLI), or restoring a backup of prior charts and dashboards, Superset will apply the existing migrations that are used during version upgrades. This will ensure that your charts and dashboards are using the latest and greatest charts that Superset officially supports.
### Database engine spec improvements
Many database engine improvements were added in this release. Some highlights:
- [feat: improve SQLite DB engine spec](https://github.com/apache/superset/pull/24909)
- [feat: add MotherDuck DB engine spec](https://github.com/apache/superset/pull/24934)
- [feat: Add week time grain for Elasticsearch datasets](https://github.com/apache/superset/pull/25683)
- [feat: method for dynamic allows_alias_in_select](https://github.com/apache/superset/pull/25882)
We even added a new [CLI command](https://github.com/apache/superset/pull/24918) to test DB engine specs, SQLAlchemy dialects, and database connections.
```bash
Usage: superset test-db [OPTIONS] SQLALCHEMY_URI
Run a series of tests against an analytical database.
This command tests:
1. The Superset DB engine spec.
2. The SQLAlchemy dialect.
3. The database connectivity and performance.
It's useful for people developing DB engine specs and/or SQLAlchemy
dialects, and also to test new versions of DB API 2.0 drivers.
Options:
-c, --connect-args TEXT Connect args as JSON or YAML
--help Show this message and exit.
```
### Playwright as an alternative to Selenium
Per [SIP-98](https://github.com/apache/superset/issues/24948), we [introduced Playwright](https://github.com/apache/superset/pull/25247) for rendering charts in Superset reports. [Playwright](https://playwright.dev/) is an open-source library for automating web browsers, similar to Selenium but with better support for modern browser features and improved performance. By using Playwright, we aim to provide a more stable and accurate chart rendering experience in Superset reports, especially for [Deck.gl](https://deck.gl/) charts.
Since configuring Playwright requires installing additional dependencies, in order to prevent breaking changes in existing deployments, we put the new flow behind a feature flag called `PLAYWRIGHT_REPORTS_AND_THUMBNAILS`. Users that don't enable the feature flag will be unaffected by the changes.
### Pandas upgraded to v2
We [upgraded Pandas to v2](https://github.com/apache/superset/pull/24705) and [added performance dependencies](https://github.com/apache/superset/pull/24768) to provide speed improvements, especially when working with large data sets. For the full list of changes, check [Pandas 2.0.0 Release Notes](https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html).
### Tags
Tags evolved a lot since 3.0, with many PRs that further improved the feature. During this phase, the community also made [great suggestions](https://github.com/apache/superset/discussions/25918) to make sure the feature is scalable, adhere to our security model, and offer a consistent design. We're still working on this feedback and new improvements will follow. For that reason, we're keeping the feature as beta behind the `TAGGING_SYSTEM` feature flag.
Binary file not shown.

After

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

Some files were not shown because too many files have changed in this diff Show More