You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2024/10/08 14:24:09 UTC
(superset) branch fix-adhoc updated (e87301166b -> 877fd138fa)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch fix-adhoc
in repository https://gitbox.apache.org/repos/asf/superset.git
discard e87301166b fix: adhoc queries
add d7547fc4ef build(deps-dev): bump typescript from 4.9.5 to 5.5.4 in /superset-websocket (#30097)
add 0744abe87b fix: Chart cache-warmup task fails on Superset 4.0 (#28706)
add 3aafd29768 fix: Disable cross filtering on charts with no dimensions (#30176)
add 05197db71b build(deps): bump @types/node from 20.12.7 to 22.5.4 in /superset-frontend (#30166)
add 1f890718a2 feat: `is_mutating` method (#30177)
add d685497a10 build(deps): bump antd from 5.20.0 to 5.20.5 in /docs (#30179)
add 0080374a77 build(deps-dev): bump webpack from 5.93.0 to 5.94.0 in /docs (#30036)
add 100b31cb71 build(deps-dev): bump @types/react from 18.3.3 to 18.3.5 in /docs (#30101)
add ff5cc09eac chore(docs): Removing dead link from INTHEWILD.md (#30199)
add fed117fbf7 build(deps-dev): update @babel/types requirement from ^7.25.2 to ^7.25.6 in /superset-frontend/plugins/plugin-chart-pivot-table (#30103)
add 6baeb659a7 fix: set default mysql isolation level to 'READ COMMITTED' (#30174)
add 52a03f18a1 fix(Embedded): Dashboard screenshot should use GuestUser (#30200)
add cddf1530da chore: remove duplicate `_process_sql_expression` (#30213)
add d191e67e51 fix(Dashboard download): Download dashboard screenshot/PDF using SupersetClient (#30212)
add dd4f223a39 fix(sdk): use latest @supserset-ui/switchboard version to avoid pulling empty dependency (#30217)
add d0c9cde0ba chore(frontend): Spelling (#25452)
add 5a0e88771b build(deps): update @babel/runtime requirement from ^7.1.2 to ^7.25.6 in /superset-frontend/packages/superset-ui-core (#30091)
add 7bb6a14944 feat: Displaying details to Dataset/Database deletion modals (#30016)
add a31a4eebdd feat(embedded): add hook to allow superset admins to validate guest token parameters (#30132)
add e2a6d370f0 build(deps): bump send and express in /superset-websocket/utils/client-ws-app (#30225)
add dca970946d build(deps): bump serve-static and express in /superset-websocket/utils/client-ws-app (#30226)
add 1b34ad65fa fix(Celery): Pass guest_token as user context is not available in Celery (#30224)
add 4385b44e86 chore(docs): note that release-tagged docker images no longer ship with metadata db drivers as of 4.1.0 (#30243)
add 750888f6d3 fix(docs): change flask-oidc url (#30237)
add 0f44362348 refactor(explore): Migrate MetricsControl test suite to RTL (#30232)
add 88b698c092 fix(deps): release new embedded sdk (#30234)
add be0a0ced25 fix: filters panel broken due to tabs scroll (#30180)
add f8a77537a7 fix(uploads): respect db engine spec's supports_multivalues_insert value for file uploads & enable multi-insert for MSSQL (#30222)
add c4c0845b3b build(deps): bump serve-static and express in /superset-frontend (#30229)
add 2e107398ae build(deps): bump send and express in /superset-frontend (#30228)
add 8c0b873ae2 build(deps, deps-dev): upgrade major versions for dependencies of `@superset/embedded-sdk` (#30242)
add 23467bd7e4 fix(Fave): Charts and Dashboards fave/unfave do not commit transactions (#30215)
add ff3b86b5ff feat(sqllab): Add timeout on fetching query results (#29959)
add c5594f2979 feat(explore): Add time shift color control to ECharts (#29897)
add dbab2fb955 fix(CrossFilters): Do not reload unrelated filters in global scope (#30252)
add 3877355555 build(ci): make linkinator advisory (#30257)
add 8cd18cac8c chore(build): remove extraneous prettier step in superset-frontend CI (#30253)
add bdf29cb7c2 chore: organize SQL parsing files (#30258)
add e9094659d3 refactor(frontend): migrate 6 tests from Enzyme to RTL (#30151)
add bcbd679a75 chore(docker): move mysql os-level deps (GPL) to dev image only (#29771)
add d1bdbd8189 docs: Update kubernetes.mdx (#30268)
add 3ad0fd48ef chore(deps): bump dremio deps (#25910)
add 0679454b48 fix(Screenshot): Dashboard screenshot cache key to include state (#30265)
add f553344aa1 chore(sqllab): Add shortcuts for switching tabs (#30173)
add 63f4f4f60c chore: remove redundant code (#30261)
add 2166cbdd80 fix(install/docker): use zstd-baked image for building superset-frontend in containerized env (#30279)
add 46b1d869b1 fix: Move copying translation files before npm run build in Docker (#30099)
add f315a4f02c chore: move SLACK_ENABLE_AVATARS from config to feature flag (#30274)
add c33d49ecab fix(dashboard): invalid button style in undo/redo button (#30273)
add 2f0c9947ce fix(dashboard): Invalid owner's name displayed after updates (#30272)
add cd8b56706b fix: unable to disallow csv upload on header menu (#30271)
add 930078b6f5 chore(explore): Medium font weight for section headers (#30321)
add a3952051e1 feat(jinja): add option to format time filters using strftime (#30323)
add 08145d88b9 style(explore): clarify ambiguously named "sort by" field (#30254)
add e54353c4da docs: HTML embedding of charts/dashboards without authentication (#30032)
add 0dcfe74bc6 build(deps): bump express from 4.19.2 to 4.20.0 in /docs (#30227)
add 1441ad8546 chore(UPDATING.md): Add item to UPDATING describing translations build flag (#30313)
add 78099b0d1f fix(migration): 87d38ad83218 failing on upgrade (#30275)
add a90aa055f5 chore: bump cypress to v 11 (#30262)
add 68594d97cb chore(helm): correct a typo (#30123)
add 6c2bd2a968 fix(table): Use extras in queries (#30335)
add 186e75f9b2 docs: Update cache.mdx, add needed space (#30333)
add 9b87ca9209 docs: sql-templating (#30337)
add ef9e5e523d fix: KeyError 'sql' when opening a Trino virtual dataset (#30339)
add 36f3cd1f70 build(deps): bump path-to-regexp from 1.8.0 to 1.9.0 in /superset-frontend/cypress-base (#30247)
add 994de1f812 build(deps): bump dompurify from 3.1.0 to 3.1.3 in /superset-frontend (#30300)
add 038ef32454 fix(explore): Missing markarea component broke annotations in echarts (#30348)
add ac66ae813f fix(db_engine_specs): add a few missing time grains to Postgres spec (#30325)
add d4351668ba fix(CI): increase node JS heap size (#30340)
add f3e4347a8b build(deps): bump deck.gl from 9.0.24 to 9.0.28 in /superset-frontend/plugins/legacy-preset-chart-deckgl (#30084)
add 55d9d57112 build(websocket): upgrade ESLint to v9 (#30359)
add bfdab40aaf build(deps-dev): bump @storybook/react-webpack5 from 8.1.11 to 8.2.9 in /superset-frontend/packages/superset-ui-demo (#30089)
add a095b08758 build(deps): update dompurify requirement from ^3.1.0 to ^3.1.2 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#28290)
add ee3a56714e docs: add HANA database logo in README.md (#30346)
add 710406aa76 feat: allow configuring an engine context manager (#30266)
add 30ca30370d chore(docs): fix an agreement error in caching docs (#30352)
add cc1bb69671 docs: Corrected Dremio connection string (#30315)
add de3af85ee1 feat(Digest): Add RLS at digest generation for Charts and Dashboards (#30336)
add 046c096d86 fix(ECharts): Revert ECharts version bump (#30388)
add 0baac62099 build(deps-dev): bump sinon from 18.0.0 to 18.0.1 in /superset-frontend (#30251)
add 39f1b714a5 refactor: Migration of AnnotationLayerControl to TypeScript (#28346)
add 18c2376b50 feat(datasets): Allow swap dataset after deletion (#30364)
add 69d5f766a8 feat(auth): when user is not logged in, failure to access a dashboard should redirect to login screen (#30380)
add ad2998598f fix: Pre-query normalization with custom SQL (#30389)
add 0e8fa54f81 fix: parse pandas pivot null values (#29898)
add 43721f1206 chore: split cypress files for less memory (#30354)
add abf2943e4d fix: Allows X-Axis Sort By for custom SQL (#30393)
add b7ac697dce build(deps): bump @emotion/react from 11.4.1 to 11.11.4 in /superset-frontend (#27827)
add 20b1eabb9b build(deps): update @emotion/react requirement from ^11.4.1 to ^11.13.3 in /superset-frontend/packages/superset-ui-demo (#30086)
add 0fdcd8b27e chore(legacy-plugin-chart-map-box): bump supercluster to v8 (#30305)
add 36f7a3f524 fix: Incorrect hovered items in tooltips (#30405)
add 4f5f8fd216 chore: Merge description and reproduction steps in the issue template (#30407)
add 92680b3fe4 fix(plugin/country/map): rectify naming for some Vietnamese provinces (#29444)
add 4ac0bb1bed chore(View): Remove unnecessary theme view and defer basic styles (#30128)
add 96b0bcfd78 chore: add logging for dashboards/get warnings (#30365)
add cc9fd88c0d chore: improve DML check (#30417)
add a3bfbd0186 chore: alter scripts/cypress_run to run one file per command + retry (#30397)
add 63e17ca546 fix: CI remove cypress command --headed (#30429)
add 999dca76c1 fix: cypress on master doesn't work because of --parallel flag (#30430)
add bdd50c7553 feat(dashboard): update tab drag and drop reordering with positional placement and indicators for UI (#29395)
add 4834390e6a fix: Histogram chart not able to use decimal datatype column (#30416)
add c7aeb2160e chore(Dashboard): Unblock Global Styles (#30440)
add daa4b1dc65 fix: battling cypress' dashboard feature (#30441)
add 9a5e8a4b70 chore: document upper bound for python lib 'holidays' >= 0.26 (#28747)
add 2e5016713a chore: log warnings for database tables api (#30410)
add 70ef40eb33 fix(language): pt_BR translation (#30406)
add 9f476b2ce2 fix(Package.json): Bump dayjs version (#30493)
add d1d9011f4d docs(dashboard): add docs for named and index colors (#30445)
add 54679c5f49 build(deps-dev): bump @types/yargs from 17.0.32 to 17.0.33 in /superset-frontend (#30485)
add fa34e0fae3 build(deps): bump handlebars from 4.7.7 to 4.7.8 in /superset-frontend (#30484)
add 8a68a96f77 build(deps): bump @docsearch/react from 3.6.1 to 3.6.2 in /docs (#30483)
add 7468904968 build(deps-dev): bump @types/react from 18.3.5 to 18.3.10 in /docs (#30481)
add ee9ece8992 build(deps-dev): bump webpack-manifest-plugin from 4.1.1 to 5.0.0 in /superset-frontend (#30473)
add a8500abd8f build(deps): bump re-resizable from 6.9.11 to 6.10.0 in /superset-frontend (#30477)
add f425c9d315 build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.6.0 to 8.8.0 in /superset-websocket (#30464)
add e5ddb3bbd6 build(deps-dev): bump @cypress/react from 5.12.5 to 8.0.2 in /superset-frontend (#30459)
add 62350f2e5f build(deps-dev): bump eslint-plugin-file-progress from 1.4.0 to 1.5.0 in /superset-frontend (#30460)
add 15f3ea8d05 build(deps-dev): bump esbuild-loader from 4.1.0 to 4.2.2 in /superset-frontend (#30487)
add da7a74e604 refactor(frontend): migrate 6 Enzyme-based tests to RTL, part 2 (#30281)
add 553932dc72 build(deps): bump debug from 4.3.6 to 4.3.7 in /superset-websocket/utils/client-ws-app (#30471)
add 7d0cb39f2a build(deps): bump @types/react-loadable from 5.5.6 to 5.5.11 in /superset-frontend (#30469)
add d3a208eb8a build(deps): bump @types/prop-types from 15.7.5 to 15.7.13 in /superset-frontend (#30467)
add 4c73b040c8 build(deps-dev): bump @types/node from 22.0.2 to 22.7.4 in /superset-websocket (#30466)
add 8019c8b665 build(deps-dev): bump typescript-eslint from 8.6.0 to 8.8.0 in /superset-websocket (#30465)
add 657377b0ab build(deps): bump @rjsf/core from 5.19.4 to 5.21.1 in /superset-frontend (#30461)
add f4094829c2 build(deps-dev): bump typescript from 5.5.4 to 5.6.2 in /docs (#30476)
add bc8e9513bf docs: fix broken links in CI (#30496)
add a194393efc build(deps): bump express from 4.20.0 to 4.21.0 in /superset-websocket/utils/client-ws-app (#30472)
add 84d3e3d25f build(deps-dev): bump typescript from 5.5.4 to 5.6.2 in /superset-websocket (#30463)
add bd42e336c7 chore: add native filters to Covid Vaccines dashboard (#30495)
add e0172a24b8 fix(embedded): sankey charts (#30491)
add 03146b21be fix: Open control with Simple tab selected when there is no column selected (#30502)
add b2fd56094f fix(radar-chart): metric options not available & add `min` option (#30349)
add 4dfee727e8 fix(sqllab): Remove redundant scrolling (#30500)
add 989744aba2 fix(plugin/echarts): correct enum values for LABEL_POSITION map (#30509)
add 2a458a4802 fix(fe/src/dashboard): optional chaining for possibly nullable parent attribute in LayoutItem type (#30442)
add 6217cb636f fix(examples): fix examples uri for sqlite (#30277)
add 2aa9348759 feat(be/cfg): replace deprecated imp.load_source with importlib.util (#30390)
add b627011463 fix(explore): don't discard controls on deprecated (#30447)
add 0b34197815 fix: don't reformat generated queries (#30350)
add f314685a8e fix(Explore): Apply RLS at column values (#30490)
add 68c9a8177c fix(frontend/generator): fix failed Viz plugin build due to missing JSDOM config and dep (#30069)
add 95325c4673 fix(imports): Error when importing charts / dashboards with missing DB credentials (#30503)
add a098809294 feat(SQL Lab): better SQL parsing error messages (#30501)
add 163b71e019 fix(migration): replace unquote with double percentages (#30532)
add aa94488065 chore(translations): Slovenian translation update (#30526)
add 2e887598ba chore(fe): bump webpack-related packages to v5 (#30528)
add 1f013055d2 refactor: Migration of Chart to TypeScript (#28370)
add a849c29288 chore: enable lint PT009 'use regular assert over self.assert.*' (#30521)
add ea598e7b73 fix: adhoc queries
add 877fd138fa WIP
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (e87301166b)
\
N -- N -- N refs/heads/fix-adhoc (877fd138fa)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.gitattributes | 1 +
.github/ISSUE_TEMPLATE/bug-report.yml | 9 +-
.github/workflows/bashlib.sh | 21 +-
.github/workflows/superset-docs-verify.yml | 1 +
.github/workflows/superset-e2e.yml | 4 +-
.github/workflows/superset-frontend.yml | 5 -
.pre-commit-config.yaml | 1 +
.rat-excludes | 3 +
CODE_OF_CONDUCT.md | 6 +-
Dockerfile | 52 +-
README.md | 1 +
RELEASING/release-notes-4-1/README.md | 11 +-
RESOURCES/FEATURE_FLAGS.md | 8 +
RESOURCES/INTHEWILD.md | 1 -
UPDATING.md | 2 +
docker-compose.yml | 9 +-
docs/README.md | 1 +
docs/docs/configuration/cache.mdx | 6 +-
docs/docs/configuration/configuring-superset.mdx | 4 +-
docs/docs/configuration/databases.mdx | 4 +-
docs/docs/configuration/networking-settings.mdx | 59 +-
docs/docs/configuration/sql-templating.mdx | 5 +-
docs/docs/faq.mdx | 9 +-
docs/docs/installation/docker-builds.mdx | 4 +
docs/docs/installation/kubernetes.mdx | 4 +-
docs/package.json | 10 +-
docs/yarn.lock | 295 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/README.md | 2 +-
helm/superset/values.yaml | 2 +-
pyproject.toml | 6 +-
requirements/base.txt | 2 +-
scripts/cypress_run.py | 121 +-
superset-embedded-sdk/package-lock.json | 4465 +--
superset-embedded-sdk/package.json | 27 +-
superset-embedded-sdk/src/guestTokenRefresh.ts | 4 +-
superset-frontend/.prettierignore | 1 +
superset-frontend/cypress-base/cypress.config.ts | 10 +-
.../e2e/dashboard/horizontalFilterBar.test.ts | 248 +
.../dashboard/nativeFilters.noInitState.test.ts | 287 +
.../cypress/e2e/dashboard/nativeFilters.test.ts | 568 +-
.../e2e/dashboard/shared_dashboard_functions.ts | 148 +
.../cypress-base/cypress/e2e/dashboard/utils.ts | 10 +-
.../cypress/e2e/explore/AdhocMetrics.test.ts | 2 +-
.../cypress/e2e/explore/_skip.AdhocFilters.test.ts | 2 +-
.../e2e/explore/visualizations/table.test.ts | 4 +-
.../e2e/sqllab/_skip.sourcePanel.index.test.js | 2 +-
.../cypress-base/cypress/plugins/index.js | 31 -
.../cypress-base/cypress/support/e2e.ts | 2 +-
superset-frontend/cypress-base/package-lock.json | 40 +-
superset-frontend/cypress-base/package.json | 4 +-
superset-frontend/package-lock.json | 4648 ++-
superset-frontend/package.json | 33 +-
.../plugin-chart/templates/jest.config.erb | 1 +
.../plugin-chart/templates/package-lock.erb | 34688 ++++++++++---------
.../generators/plugin-chart/templates/package.erb | 1 +
.../templates/src/plugin/controlPanel.erb | 1 -
.../superset-ui-chart-controls/CHANGELOG.md | 2 +-
.../src/components/ColumnOption.tsx | 18 +-
.../src/components/MetricOption.tsx | 7 +-
.../src/shared-controls/customControls.tsx | 22 +-
.../src/shared-controls/dndControls.tsx | 7 +-
.../src/shared-controls/sharedControls.tsx | 15 +
.../src/utils/isSortable.ts | 51 +
.../test/components/ColumnOption.test.tsx | 17 +
.../operators/utils/extractExtraMetrics.test.ts | 2 +-
.../test/utils/defineSavedMetrics.test.tsx | 2 +-
.../test/utils/isSortable.test.ts | 70 +
.../packages/superset-ui-core/package.json | 6 +-
.../src/color/ColorSchemeRegistry.ts | 2 +-
.../superset-ui-core/src/query/types/Metric.ts | 1 +
.../superset-ui-core/src/query/types/Query.ts | 2 +-
.../src/query/types/QueryFormData.ts | 2 +-
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../tooltip/TooltipFrame.test.tsx | 15 +-
.../tooltip/TooltipTable.test.tsx | 74 +-
.../components/createLoadableRenderer.test.tsx | 17 +-
.../test/connection/callApi/callApi.test.ts | 2 +-
.../test/query/processExtraFormData.test.ts | 4 +-
.../superset-ui-core/test/style/index.test.tsx | 10 +-
.../packages/superset-ui-demo/package.json | 6 +-
.../plugins/plugin-chart-pivot-table/testData.ts | 2 +-
.../plugins/plugin-chart-table/Table.stories.tsx | 2 +-
.../legacy-plugin-chart-country-map/README.md | 2 +-
.../scripts/Country Map GeoJSON Generator.ipynb | 151 +-
.../src/countries/vietnam.geojson | 18 +-
.../legacy-plugin-chart-map-box/package.json | 2 +-
.../src/transformProps.js | 4 +-
.../legacy-plugin-chart-partition/package.json | 6 +-
.../legacy-plugin-chart-partition/src/Partition.js | 2 +-
.../test/OptionDescription.test.jsx | 41 +-
.../legacy-preset-chart-deckgl/package.json | 2 +-
.../src/layers/Heatmap/Heatmap.tsx | 2 +-
.../src/layers/Heatmap/controlPanel.ts | 2 +-
.../plugins/legacy-preset-chart-nvd3/package.json | 2 +-
.../legacy-preset-chart-nvd3/src/NVD3Controls.tsx | 2 +-
.../plugins/plugin-chart-echarts/package.json | 2 +-
.../plugin-chart-echarts/src/Bubble/index.ts | 4 +-
.../src/Histogram/buildQuery.ts | 1 -
.../plugin-chart-echarts/src/Histogram/index.ts | 4 +-
.../src/MixedTimeseries/EchartsMixedTimeseries.tsx | 25 +-
.../src/MixedTimeseries/controlPanel.tsx | 1 +
.../src/MixedTimeseries/transformProps.ts | 13 +-
.../src/Radar/controlPanel.tsx | 26 +-
.../src/Radar/transformProps.ts | 32 +
.../plugin-chart-echarts/src/Radar/types.ts | 5 +-
.../plugin-chart-echarts/src/Sankey/index.ts | 4 +-
.../src/Sunburst/EchartsSunburst.tsx | 6 +-
.../src/Timeseries/Area/controlPanel.tsx | 3 +-
.../src/Timeseries/EchartsTimeseries.tsx | 9 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 1 +
.../src/Timeseries/Regular/Line/controlPanel.tsx | 1 +
.../Timeseries/Regular/Scatter/controlPanel.tsx | 1 +
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 1 +
.../src/Timeseries/Step/controlPanel.tsx | 1 +
.../src/Timeseries/transformProps.ts | 20 +-
.../src/Timeseries/transformers.ts | 22 +-
.../plugin-chart-echarts/src/Timeseries/types.ts | 1 +
.../src/Treemap/EchartsTreemap.tsx | 7 +-
.../plugin-chart-echarts/src/Waterfall/index.ts | 4 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 4 +
.../plugins/plugin-chart-echarts/src/constants.ts | 5 +-
.../src/utils/eventHandlers.ts | 17 +-
.../plugin-chart-echarts/src/utils/tooltip.ts | 2 +
.../test/Graph/transformProps.test.ts | 2 +-
.../test/Timeseries/transformers.test.ts | 84 +
.../plugins/plugin-chart-handlebars/package.json | 2 +-
.../plugins/plugin-chart-pivot-table/package.json | 2 +-
.../plugins/plugin-chart-table/package.json | 1 -
.../plugins/plugin-chart-table/src/TableChart.tsx | 2 +-
.../plugins/plugin-chart-table/src/buildQuery.ts | 22 +-
.../plugin-chart-table/test/TableChart.test.tsx | 62 +-
.../plugin-chart-table/test/buildQuery.test.ts | 43 +
.../plugins/plugin-chart-table/test/enzyme.tsx | 67 -
.../test/testHelpers.tsx} | 25 +-
superset-frontend/src/GlobalStyles.tsx | 5 +
superset-frontend/src/SqlLab/actions/sqlLab.js | 31 +-
.../src/SqlLab/actions/sqlLab.test.js | 82 +-
.../AceEditorWrapper/useAnnotations.test.ts | 2 +-
.../ColumnElement/ColumnElement.test.tsx | 28 +-
.../components/KeyboardShortcutButton/index.tsx | 4 +
.../QueryAutoRefresh/QueryAutoRefresh.test.tsx | 2 +-
.../SqlLab/components/QueryAutoRefresh/index.tsx | 2 +-
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 23 +
.../src/SqlLab/components/ResultSet/index.tsx | 50 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 17 +
superset-frontend/src/SqlLab/fixtures.ts | 17 +-
.../src/components/Button/Button.test.tsx | 1 -
.../src/components/Chart/{Chart.jsx => Chart.tsx} | 156 +-
.../src/components/Chart/ChartErrorMessage.tsx | 12 +-
.../src/components/Chart/DrillBy/DrillByModal.tsx | 12 +-
.../src/components/Chart/chartAction.js | 2 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 2 +-
.../src/components/DeleteModal/index.tsx | 1 +
.../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 126 +
...ErrorMessage.tsx => InvalidSQLErrorMessage.tsx} | 37 +-
.../getErrorMessageComponentRegistry.test.tsx | 2 +-
.../src/components/FacePile/FacePile.test.tsx | 39 +-
.../src/components/FacePile/index.tsx | 18 +-
superset-frontend/src/components/ListView/utils.ts | 2 +-
.../components/MetadataBar/MetadataBar.test.tsx | 2 +-
.../src/components/MetadataBar/MetadataBar.tsx | 6 +-
.../src/components/ResizableSidebar/index.tsx | 7 +-
.../src/components/Table/Table.stories.tsx | 8 +-
.../src/components/Table/TableOverview.stories.tsx | 2 +-
.../src/components/Table/sorters.test.ts | 2 +-
.../TimezoneSelector/TimezoneSelector.test.tsx | 2 +-
.../TooltipParagraph/TooltipParagraph.test.tsx | 2 +-
superset-frontend/src/components/index.ts | 2 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 6 +-
.../src/dashboard/components/Header/index.jsx | 4 +-
.../PropertiesModal/PropertiesModal.test.tsx | 12 +-
.../dashboard/components/PropertiesModal/index.tsx | 17 +-
.../components/SliceHeader/SliceHeader.test.tsx | 4 +-
.../src/dashboard/components/SliceHeader/index.tsx | 2 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 45 +
.../components/dnd/DragDroppable.test.jsx | 16 +-
.../components/dnd/dragDroppableConfig.js | 2 +
.../src/dashboard/components/dnd/handleDrop.js | 1 +
.../dashboard/components/gridComponents/Chart.jsx | 2 +-
.../dashboard/components/gridComponents/Tab.jsx | 26 +-
.../components/gridComponents/Tab.test.tsx | 4 +
.../dashboard/components/gridComponents/Tabs.jsx | 119 +-
.../components/gridComponents/Tabs.test.tsx | 56 +-
.../DownloadMenuItems/DownloadScreenshot.test.tsx | 47 +-
.../menu/DownloadMenuItems/DownloadScreenshot.tsx | 41 +-
.../nativeFilters/FilterCard/useFilterScope.ts | 6 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 2 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 4 +-
.../dashboard/components/nativeFilters/state.ts | 2 +-
.../src/dashboard/containers/DashboardPage.tsx | 19 +-
.../src/dashboard/reducers/dashboardLayout.js | 3 +-
superset-frontend/src/dashboard/types.ts | 2 +-
.../src/dashboard/util/crossFilters.test.ts | 4 +-
.../src/dashboard/util/crossFilters.ts | 19 +-
.../src/dashboard/util/dnd-reorder.js | 56 +-
.../src/dashboard/util/dnd-reorder.test.js | 119 +-
.../src/dashboard/util/getDashboardUrl.test.js | 4 +-
.../explore/components/ControlPanelsContainer.tsx | 1 +
.../{index.jsx => index.tsx} | 137 +-
.../DatasourceControl/DatasourceControl.test.jsx | 111 +-
.../controls/DatasourceControl/index.jsx | 6 +-
.../ColumnSelectPopover.test.tsx | 130 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 8 +-
.../DndColumnSelect.test.tsx | 52 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 4 +-
.../DndMetricSelect.test.tsx | 33 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 14 +-
.../DndColumnSelectControl/utils/optionSelector.ts | 9 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 40 +-
.../controls/MetricControl/AdhocMetricOption.jsx | 3 +-
.../controls/MetricControl/MetricsControl.test.jsx | 223 +-
.../explore/components/controls/SelectControl.jsx | 64 +-
.../components/controls/SelectControl.test.jsx | 240 +-
.../components/controls/TextAreaControl.test.jsx | 50 +-
.../src/explore/controlUtils/controlUtils.test.tsx | 2 +-
...etControlValuesCompatibleWithDatasource.test.ts | 172 +
.../getControlValuesCompatibleWithDatasource.ts | 39 +-
.../explore/controlUtils/standardizedFormData.ts | 2 +-
.../databases/DatabaseModal/ExtraOptions.tsx | 4 +-
.../databases/DatabaseModal/index.test.tsx | 4 +-
.../datasets/AddDataset/DatasetPanel/types.ts | 4 +-
.../AddDataset/LeftPanel/LeftPanel.test.tsx | 4 +-
.../datasets/hooks/useGetDatasetRelatedCounts.ts | 2 +-
.../src/features/home/RightMenu.test.tsx | 14 +-
superset-frontend/src/features/home/RightMenu.tsx | 4 +-
.../features/queries/QueryPreviewModal.test.tsx | 2 +-
.../src/features/rls/RowLevelSecurityModal.tsx | 8 +-
.../src/hooks/apiResources/apiResources.ts | 4 +-
superset-frontend/src/hooks/apiResources/tables.ts | 4 +-
superset-frontend/src/pages/Chart/index.tsx | 19 +-
.../src/pages/DatabaseList/DatabaseList.test.jsx | 9 +-
.../__snapshots__/DatabaseList.test.jsx.snap | 15 +
superset-frontend/src/pages/DatabaseList/index.tsx | 87 +-
.../src/pages/DatasetList/DatasetList.test.tsx | 4 +-
superset-frontend/src/pages/DatasetList/index.tsx | 89 +-
.../RowLevelSecurityList.test.tsx | 4 +-
superset-frontend/src/setup/setupApp.ts | 2 +-
superset-frontend/src/setup/setupErrorMessages.ts | 5 +
superset-frontend/src/types/Owner.ts | 5 +-
superset-frontend/src/utils/getOwnerName.test.ts | 2 +
superset-frontend/src/utils/getOwnerName.ts | 2 +-
superset-frontend/src/views/routes.test.tsx | 2 +-
superset-frontend/src/views/store.ts | 2 +-
.../tools/eslint-plugin-translation-vars/index.js | 2 +-
superset-frontend/webpack.config.js | 29 +-
superset-websocket/.eslintignore | 20 -
superset-websocket/.eslintrc.js | 40 -
superset-websocket/eslint.config.js | 53 +
superset-websocket/package-lock.json | 1523 +-
superset-websocket/package.json | 21 +-
superset-websocket/spec/index.test.ts | 10 +-
superset-websocket/src/config.ts | 2 +-
superset-websocket/src/index.ts | 1 +
.../utils/client-ws-app/package-lock.json | 261 +-
.../utils/client-ws-app/package.json | 4 +-
superset/charts/api.py | 20 +-
superset/charts/post_processing.py | 28 +-
superset/commands/chart/exceptions.py | 8 +
.../commands/{dataset/refresh.py => chart/fave.py} | 46 +-
.../{dataset/refresh.py => chart/unfave.py} | 46 +-
superset/commands/dashboard/exceptions.py | 8 +
.../{security/delete.py => dashboard/fave.py} | 31 +-
.../{query/delete.py => dashboard/unfave.py} | 30 +-
superset/commands/database/exceptions.py | 14 +-
superset/commands/database/importers/v1/utils.py | 13 +-
superset/commands/database/tables.py | 2 +-
superset/commands/sql_lab/execute.py | 3 -
superset/config.py | 77 +-
superset/connectors/sqla/models.py | 69 +-
superset/dashboards/api.py | 44 +-
superset/databases/api.py | 18 +-
superset/db_engine_specs/base.py | 10 +-
superset/db_engine_specs/bigquery.py | 2 +-
superset/db_engine_specs/dremio.py | 5 +
superset/db_engine_specs/mssql.py | 1 +
superset/db_engine_specs/postgres.py | 8 +-
.../dashboards/COVID_Vaccine_Dashboard.yaml | 106 +
superset/exceptions.py | 27 +-
superset/extensions/metadb.py | 2 +-
superset/initialization/__init__.py | 25 +
superset/jinja_context.py | 6 +
superset/migrations/env.py | 6 +-
...d83218_migrate_can_view_and_drill_permission.py | 2 +-
superset/models/core.py | 40 +-
superset/models/helpers.py | 30 +-
superset/security/api.py | 18 +-
superset/security/manager.py | 18 +-
superset/{advanced_data_type => sql}/__init__.py | 0
superset/sql/parse.py | 648 +
superset/sql_lab.py | 35 +-
superset/sql_parse.py | 544 +-
superset/sqllab/api.py | 2 +-
superset/sqllab/sql_json_executer.py | 2 -
superset/tasks/cache.py | 6 +-
superset/tasks/thumbnails.py | 32 +-
superset/tasks/utils.py | 48 +-
superset/templates/appbuilder/navbar.html | 1 +
superset/templates/superset/basic.html | 241 +-
superset/templates/superset/theme.html | 1355 -
superset/thumbnails/digest.py | 47 +
superset/translations/en/LC_MESSAGES/messages.po | 6 +-
superset/translations/messages.pot | 6 +-
.../translations/pt_BR/LC_MESSAGES/messages.po | 108 +-
superset/translations/sl/LC_MESSAGES/messages.po | 1273 +-
superset/utils/pandas_postprocessing/histogram.py | 14 +-
superset/utils/screenshots.py | 22 +-
superset/views/base.py | 2 +-
superset/views/base_schemas.py | 127 -
superset/views/core.py | 15 +-
superset/views/database/mixins.py | 2 +-
superset/views/error_handling.py | 5 +-
superset/views/users/api.py | 13 +-
tests/integration_tests/async_events/api_tests.py | 6 +-
tests/integration_tests/base_api_tests.py | 35 +-
tests/integration_tests/cache_tests.py | 24 +-
tests/integration_tests/charts/api_tests.py | 400 +-
tests/integration_tests/charts/commands_tests.py | 76 +-
tests/integration_tests/charts/data/api_tests.py | 77 +-
tests/integration_tests/charts/schema_tests.py | 4 +-
tests/integration_tests/core_tests.py | 168 +-
tests/integration_tests/dashboard_tests.py | 20 +-
tests/integration_tests/dashboards/api_tests.py | 492 +-
tests/integration_tests/dashboards/base_case.py | 10 +-
.../integration_tests/dashboards/commands_tests.py | 68 +
tests/integration_tests/dashboards/dao_tests.py | 30 +-
.../dashboards/security/security_dataset_tests.py | 16 +-
.../dashboards/security/security_rbac_tests.py | 6 +-
tests/integration_tests/databases/api_tests.py | 394 +-
.../integration_tests/databases/commands_tests.py | 6 +-
tests/integration_tests/datasets/api_tests.py | 75 +-
tests/integration_tests/datasets/commands_tests.py | 6 +-
tests/integration_tests/datasource/api_tests.py | 64 +-
tests/integration_tests/datasource_tests.py | 93 +-
.../db_engine_specs/ascend_tests.py | 10 +-
.../db_engine_specs/base_engine_spec_tests.py | 67 +-
.../db_engine_specs/base_tests.py | 2 +-
.../db_engine_specs/bigquery_tests.py | 14 +-
.../db_engine_specs/elasticsearch_tests.py | 2 +-
.../db_engine_specs/mysql_tests.py | 6 +-
.../db_engine_specs/pinot_tests.py | 30 +-
.../db_engine_specs/postgres_tests.py | 42 +-
.../db_engine_specs/presto_tests.py | 46 +-
.../integration_tests/dict_import_export_tests.py | 68 +-
tests/integration_tests/dynamic_plugins_tests.py | 4 +-
tests/integration_tests/email_tests.py | 4 +-
tests/integration_tests/embedded/dao_tests.py | 10 +-
tests/integration_tests/event_logger_tests.py | 108 +-
tests/integration_tests/fixtures/importexport.py | 14 +
tests/integration_tests/form_tests.py | 12 +-
tests/integration_tests/import_export_tests.py | 198 +-
tests/integration_tests/log_api_tests.py | 137 +-
.../logging_configurator_tests.py | 2 +-
tests/integration_tests/model_tests.py | 67 +-
tests/integration_tests/queries/api_tests.py | 28 +-
.../queries/saved_queries/api_tests.py | 18 +-
tests/integration_tests/query_context_tests.py | 114 +-
tests/integration_tests/reports/api_tests.py | 6 +-
tests/integration_tests/result_set_tests.py | 333 +-
tests/integration_tests/security/api_tests.py | 87 +-
.../security/guest_token_security_tests.py | 30 +-
.../security/row_level_security_tests.py | 80 +-
tests/integration_tests/security_tests.py | 475 +-
tests/integration_tests/sql_lab/api_tests.py | 48 +-
tests/integration_tests/sql_validator_tests.py | 4 +-
tests/integration_tests/sqla_models_tests.py | 62 +-
tests/integration_tests/sqllab_tests.py | 86 +-
tests/integration_tests/strategy_tests.py | 12 +-
tests/integration_tests/superset_test_config.py | 3 -
.../superset_test_config_thumbnails.py | 3 -
tests/integration_tests/tagging_tests.py | 68 +-
tests/integration_tests/tags/api_tests.py | 66 +-
tests/integration_tests/tasks/test_cache.py | 15 +-
.../tasks/{test_cache.py => test_utils.py} | 32 +-
tests/integration_tests/thumbnails_tests.py | 36 +-
tests/integration_tests/users/api_tests.py | 23 +-
tests/integration_tests/utils/encrypt_tests.py | 12 +-
.../integration_tests/utils/machine_auth_tests.py | 2 +-
tests/integration_tests/utils_tests.py | 238 +-
tests/integration_tests/viz_tests.py | 240 +-
tests/unit_tests/charts/test_post_processing.py | 624 +-
tests/unit_tests/connectors/sqla/models_test.py | 26 +-
.../databases/commands/importers/v1/import_test.py | 22 +
tests/unit_tests/db_engine_specs/test_postgres.py | 82 +-
tests/unit_tests/jinja_context_test.py | 63 +-
tests/unit_tests/models/core_test.py | 37 +-
tests/unit_tests/models/helpers_test.py | 53 +
.../pandas_postprocessing/test_histogram.py | 28 +-
tests/unit_tests/security/manager_test.py | 146 +
.../unit_tests/sql}/__init__.py | 0
tests/unit_tests/sql/parse_tests.py | 934 +
tests/unit_tests/sql_parse_tests.py | 187 +-
tests/unit_tests/thumbnails/test_digest.py | 155 +-
394 files changed, 37107 insertions(+), 27587 deletions(-)
create mode 100644 superset-frontend/cypress-base/cypress/e2e/dashboard/horizontalFilterBar.test.ts
create mode 100644 superset-frontend/cypress-base/cypress/e2e/dashboard/nativeFilters.noInitState.test.ts
create mode 100644 superset-frontend/cypress-base/cypress/e2e/dashboard/shared_dashboard_functions.ts
delete mode 100644 superset-frontend/cypress-base/cypress/plugins/index.js
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/src/utils/isSortable.ts
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/utils/isSortable.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Timeseries/transformers.test.ts
delete mode 100644 superset-frontend/plugins/plugin-chart-table/test/enzyme.tsx
copy superset-frontend/plugins/{plugin-chart-handlebars/src/plugin/buildQuery.ts => plugin-chart-table/test/testHelpers.tsx} (68%)
rename superset-frontend/src/components/Chart/{Chart.jsx => Chart.tsx} (75%)
create mode 100644 superset-frontend/src/components/ErrorMessage/InvalidSQLErrorMessage.test.tsx
copy superset-frontend/src/components/ErrorMessage/{DatasetNotFoundErrorMessage.tsx => InvalidSQLErrorMessage.tsx} (60%)
rename superset-frontend/src/explore/components/controls/AnnotationLayerControl/{index.jsx => index.tsx} (72%)
create mode 100644 superset-frontend/src/pages/DatabaseList/__snapshots__/DatabaseList.test.jsx.snap
delete mode 100644 superset-websocket/.eslintignore
delete mode 100644 superset-websocket/.eslintrc.js
create mode 100644 superset-websocket/eslint.config.js
copy superset/commands/{dataset/refresh.py => chart/fave.py} (54%)
copy superset/commands/{dataset/refresh.py => chart/unfave.py} (54%)
copy superset/commands/{security/delete.py => dashboard/fave.py} (59%)
copy superset/commands/{query/delete.py => dashboard/unfave.py} (59%)
copy superset/{advanced_data_type => sql}/__init__.py (100%)
create mode 100644 superset/sql/parse.py
delete mode 100644 superset/templates/superset/theme.html
delete mode 100644 superset/views/base_schemas.py
copy tests/integration_tests/tasks/{test_cache.py => test_utils.py} (63%)
copy {superset/advanced_data_type => tests/unit_tests/sql}/__init__.py (100%)
create mode 100644 tests/unit_tests/sql/parse_tests.py