This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch fix/jinja-schema-auth
in repository https://gitbox.apache.org/repos/asf/superset.git
from 94f1ce121d Add tests
add c839d0daf5 chore: Localization of superset pt. 2 (#22772)
add f2b61fca15 fix: edit pyarrow stringify to better handle emojis and
accents (#22881)
add 19779d7517 fix(sqllab): inconsistent addNewQueryEditor behavior
(#21999)
add b381c20d52 fix(i18n): greatly optimize Chinese translation (#22036)
add 17dfa657f9 chore: skip puppeteer chromium download (#22623)
add e18bf3f449 fix(dependency): update cryptography import (#22744)
add 8466eec228 feat: add pyproject.toml file to project (#20291)
add cd6fc35f60 chore(db_engine_specs): clean up column spec logic and add
tests (#22871)
add 30abefb519 feat: Adds the ECharts Sunburst chart (#22833)
add e9423c3c87 fix: Time range filter applied on a dashboard is not
persisting to the chart explore (#22920)
add a35aeb9d6b fix(fab): Fix regression on FAB dropdowns (#22889)
add 88119a9930 chore: migrate @vx/responsive to @visx/responsive for react
18 upgrade (#22815)
add 16800cc14c fix: fix warning in ssh tunnel (#22912)
add e80f878ab7 chore: upgrade packages for react v17 upgrade (#22914)
add 8dea7e151e chore: upgrade react-router-dom to 5.3.4 (#22878)
add 08c3c4db36 build(deps-dev): bump eslint from 8.32.0 to 8.33.0 in
/superset-websocket (#22902)
add ede18be08e feat(helm): Make Chart.AppVersion default value for image
tag (#22854)
add 02cd75be8d chore: Migrate /superset/tables/* to API v1 (#22501)
add eaf53dbb27 fix(native-filters): Ensure that time range filter loses
focus after closing modal (#22937)
add ebed50fd12 fix: Remove button is broken for metrics on Explore (#22940)
add 260ac40b23 feat: Enable new dataset creation flow II (#22835)
add b410dbb5dd fix(datasets): Fix property selection on JSON response
(#22944)
add 98f4e90944 fix: Improve performance of CSV download (#22929)
add e13ebb6134 test: Clean up AdhocFilterOption test warnings (#22915)
add 21a2e7bc91 chore: Bump Flask-AppBuilder constraints (#22927)
add b35190783c chore(welcome): change default last tab to "all" (#22798)
add ed7b3533bc fix(explore): Time comparison in Mixed Chart in
GENERIC_CHART_AXES not working (#22945)
add c53c3aa23d chore(superset-ui-chart-controls): refactor pivot and
rename operator (#22963)
add deb51090d2 build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
in /superset-frontend (#22958)
add ad1ffbd723 fix(explore): unable to update linked charts (#22896)
add 78ede590ee chore(frontend): Spelling (#19676)
add 56d4bd063c chore: add waitress for win32 platform (#22935)
add 4b05a1eddd fix(datasets): Include expression and description in
duplicated dataset columns (#22943)
add c05871eb37 feat: add tabs to edit dataset page (#22043)
add deba0fd7c1 docs: add Caizin to the user list (#22961)
add 39f15b8d95 test: Fix act errors in DatabaseList test (#22970)
add 4970df0a65 test: Clean up QueryList test warnings (#22972)
add 32d497785a fix(native-filters): Don't include description icon in
truncation calc (#22941)
add b63ea6386f fix: Prevents last temporal filter removal (#22982)
add 5d550f449a fix(explore): Mark time range dashboard filter with warning
icon (#22984)
add a299b4789b docs(alerts & reports): clarify nature of "-dev" labeled
container images (#22988)
add ae155611dc chore: bump python version to 3.8.16 in Dockerfile (#22934)
add c9b9b7404a fix: Form data was not being passed to save/update slice
(#22989)
add cf395ac2d8 feat(ssh_tunnel): SSH Tunnel Switch extension (#22967)
add 5bafb5c950 chore: Fix grammar (#22831)
add 79114bcd29 docs: added Orange inside the inthewild.md doc (#22986)
add 7a0f350028 fix: add new config to allow for specific import data urls
(#22942)
add 2dff0009e9 build(deps): bump pre-commit from 2.20.0 to 3.0.4 in
/requirements (#22996)
add 7d5c86b44c fix(explore): Save button incorrectly disabled when adding
new metric with dnd (#23000)
add aa0a07859e build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
in /docs (#22956)
add 9dfaad772d fix: Make cte_alias a property of db engine spec (#22947)
add a2c3ef8130 fix(migrations): Flask-Migrate output is not logged during
alembic migrations #17991 (#22991)
add efe6d22d4a fix(dashboard): export & import chart description and
certification details (#22471)
add ce6dd158a1 chore: updating link to sandbox.js (#23005)
add a1b7eb3870 fix(sqllab): clean unwanted scrollbar (#22990)
add 773d2a54a3 chore: Localization of superset pt. 3 (#22938)
add c5b25ebf17 chore(deps): bump ajv and react-jsonschema-form in
/superset-frontend (#21809)
add 1a34876e35 build(deps-dev): bump eslint-config-prettier from 7.2.0 to
8.6.0 in /superset-websocket (#22767)
add b12bb568ac build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
in /superset-frontend/cypress-base (#22955)
add 50f1e2ee29 build(deps-dev): bump @types/node from 18.11.13 to 18.11.19
in /superset-websocket (#22997)
add 32fac77b5f feat(datasets): Populate Usage tab in Edit Dataset view
(#22670)
add 4f590befae build(deps-dev): bump @typescript-eslint/parser from 5.48.1
to 5.51.0 in /superset-websocket (#23013)
add 438cd1c150 build(deps-dev): bump typescript from 4.9.4 to 4.9.5 in
/superset-websocket (#22933)
add 183c5f9589 chore(tests): Cypress optimizations to help with fails
(#23023)
add 493181c977 chore: refactor SliceAdder for react 17 and react 18
(#23009)
add 98bf878d6e fix(explore): Enable saving metric after changing title
(#23020)
add 7bb9b810ee fix: dataset import error message (#23025)
add ddd8d17aa4 fix(ssh_tunnel): Fix bug on database edition for databases
with ssh tunnels (#23006)
add 5e64211bdb fix: Handles disabled options on Select All (#22830)
add 684b8888b1 fix(dashboard): Stop updating chart owners for charts
removed from dashboard (#21720)
add 85f07798bf docs(teradata): fix connection string (#23051)
add 464ddee4b4 fix: Time Column on Generic X-axis (#23021)
add 17fbb2dbb2 fix: Menu items are not disappearing when deleting a
dashboard (#23039)
add a7bb14e433 fix(i18n): improve Russian translation (#22939)
add d3d59ee0ae fix(sqllab): Invalid schema fetch by deprecated value
(#22968)
add 49aa9b4ca8 chore: Removes icon warnings from tests (#23054)
add 4980621902 feat(sqllab): Add event logger (#23040)
add f3bdcdc79b chore(datasets): Refactor DatasetDAO update to leverage
bulk logic for create, update, and delete operations (#22957)
add 65fffe974b chore: remove db_engines (#22444)
add a307223857 feat(helm): allow persisting nodePort for services (#22713)
add 52da9fcbe7 build(deps-dev): bump @typescript-eslint/eslint-plugin from
5.49.0 to 5.52.0 in /superset-websocket (#23073)
add 50ae48103e build(deps): bump hot-shots from 9.3.0 to 10.0.0 in
/superset-websocket (#23031)
add c59a77e3ca build(deps-dev): bump prettier from 2.8.3 to 2.8.4 in
/superset-websocket (#23030)
add 0ec1e6e0b4 build(deps-dev): bump @types/node from 18.11.19 to 18.13.0
in /superset-websocket (#23029)
add e755b4f417 fix: cache warmup solution non legacy charts. (#23012)
add 7d7e3e4ade docs: remove duplicate navbar item (#22486)
add 3fae7dbc34 chore: Migrate get_or_create_table endpoint to api v1
(#22931)
add e5a4c78dc7 chore: Migrate /superset/csv/<client_id> to API v1 (#22913)
add c39cf36d27 fix: css template permissions for gamma role (#23083)
add f46aacae71 build(deps): bump ws from 8.12.0 to 8.12.1 in
/superset-websocket (#23080)
add a7dac13ded build(deps-dev): bump eslint from 8.33.0 to 8.34.0 in
/superset-websocket (#23079)
add 1324135697 chore(style): make brand icon max width customizable
(#23081)
add 76f7a3fb4e chore: Remove dependency warnings from
SqlEditorLeftBar/index.tsx (#22975)
add 861ecf65d4 chore: Remove dependency warnings from SqlEditor/index.jsx
(#22974)
add 5b5b534e89 chore: Remove dependency warnings from DatasetList.tsx
(#22973)
add b1296a195c test: Convert DatasetList test from jsx to tsx (#22971)
add f6c304437a test: Clean up SelectAsyncControl test warnings (#22969)
add 4ddf67fc14 chore: move dashboard screenshot standalone logic (#23003)
add 94218b31c3 Merge branch 'master' of https://github.com/apache/superset
into fix/jinja-schema-auth
add b4a2fcef3b Update tests
No new revisions were added by this update.
Summary of changes:
Dockerfile | 3 +-
RESOURCES/INTHEWILD.md | 2 +
UPDATING.md | 1 +
.../docs/databases/installing-database-drivers.mdx | 2 +-
docs/docs/databases/teradata.mdx | 2 +-
docs/docs/installation/alerts-reports.mdx | 2 +
.../installing-superset-from-scratch.mdx | 2 +-
docs/docusaurus.config.js | 4 -
docs/static/resources/openapi.json | 340 +-
docs/yarn.lock | 6 +-
helm/superset/Chart.yaml | 4 +-
helm/superset/README.md | 7 +-
helm/superset/templates/deployment-beat.yaml | 2 +-
helm/superset/templates/deployment-flower.yaml | 2 +-
helm/superset/templates/deployment-worker.yaml | 2 +-
helm/superset/templates/deployment.yaml | 2 +-
helm/superset/templates/init-job.yaml | 2 +-
helm/superset/templates/service.yaml | 9 +
helm/superset/values.yaml | 11 +-
helm/superset/Chart.yaml => pyproject.toml | 28 +-
requirements/base.txt | 10 +-
requirements/integration.txt | 20 +-
scripts/generate_frontend_ts_tasklist.js | 4 +-
setup.py | 9 +-
.../cypress/integration/dashboard/load.test.ts | 2 +-
.../integration/dashboard/nativeFilters.test.ts | 2 +-
.../cypress/integration/dashboard/utils.ts | 2 +-
.../cypress/integration/sqllab/query.test.ts | 2 +-
.../cypress/integration/sqllab/tabs.test.ts | 56 +-
.../cypress-base/cypress/support/directories.ts | 12 +-
superset-frontend/cypress-base/package-lock.json | 12 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 1999 +++---
superset-frontend/package.json | 21 +-
.../templates/src/plugin/controlPanel.erb | 4 +-
.../src/operators/pivotOperator.ts | 3 +-
.../src/operators/renameOperator.ts | 20 +-
.../src/operators/timeCompareOperator.ts | 4 +-
.../src/operators/timeComparePivotOperator.ts | 3 +-
.../src/operators/utils/isDerivedSeries.ts | 4 +-
.../src/operators/utils/isTimeComparison.ts | 4 +-
.../src/sections/advancedAnalytics.tsx | 10 +-
.../components/ColumnConfigControl/constants.tsx | 4 +-
.../src/shared-controls/sharedControls.tsx | 4 +-
.../superset-ui-chart-controls/src/types.ts | 4 +-
.../src/utils/D3Formatting.ts | 7 +
.../src/utils/expandControlConfig.tsx | 2 +-
.../test/operators/pivotOperator.test.ts | 31 +-
.../test/operators/renameOperator.test.ts | 33 +-
.../test/operators/rollingWindowOperator.test.ts | 4 +-
.../test/operators/timeCompareOperator.test.ts | 4 +-
.../operators/timeComparePivotOperator.test.ts | 39 +
.../test/operators/utils/isDerivedSeries.test.ts | 18 +-
.../src/chart/components/SuperChart.tsx | 2 +-
.../superset-ui-core/src/math-expression/index.ts | 2 +-
.../src/query/buildQueryContext.ts | 17 +-
.../superset-ui-core/src/query/buildQueryObject.ts | 2 +-
.../superset-ui-core/src/query/normalizeOrderBy.ts | 2 +-
.../src/query/types/AdvancedAnalytics.ts | 4 +-
.../src/query/types/PostProcessing.ts | 6 +-
.../packages/superset-ui-core/src/style/index.tsx | 1 +
.../superset-ui-core/src/translation/index.ts | 2 +-
.../src/ui-overrides/ExtensionsRegistry.ts | 11 +
.../superset-ui-core/test/models/Registry.test.ts | 2 +-
.../factories/createD3NumberFormatter.test.ts | 2 +-
.../test/query/buildQueryContext.test.ts | 37 -
.../test/query/types/PostProcessing.test.ts | 4 +-
.../packages/superset-ui-core/types/external.d.ts | 2 +-
.../Area/stories/controlsShown.tsx | 2 +-
.../Area/stories/expanded.tsx | 2 +-
.../Area/stories/stackedWithBounds.tsx | 4 +-
.../plugin-chart-echarts/Sunburst/Stories.tsx | 57 +
.../plugins/plugin-chart-echarts/Sunburst/data.ts} | 29 +-
.../superset-ui-chart/SuperChartStories.tsx | 2 +-
.../superset-ui-switchboard/src/switchboard.ts | 2 +-
.../legacy-plugin-chart-calendar/src/Calendar.js | 6 +-
.../src/vendor/cal-heatmap.js | 8 +-
.../legacy-plugin-chart-country-map/src/index.js | 2 +-
.../legacy-plugin-chart-heatmap/src/Heatmap.js | 2 +-
.../src/Histogram.jsx | 2 +-
.../src/ReactParallelCoordinates.jsx | 6 +-
.../src/SankeyLoop.js | 4 +-
.../legacy-plugin-chart-sunburst/src/Sunburst.js | 8 +-
.../src/components/PlaySlider.jsx | 4 +-
.../src/layers/Polygon/Polygon.jsx | 4 +-
.../src/layers/Scatter/controlPanel.ts | 2 +-
.../src/utilities/Shared_DeckGL.jsx | 12 +-
.../src/utils/fitViewport.ts | 2 +-
.../legacy-preset-chart-deckgl/src/utils/time.js | 8 +-
.../src/Pie/controlPanel.ts | 10 +-
.../src/BoxPlot/controlPanel.ts | 5 +-
.../src/Funnel/controlPanel.tsx | 6 +-
.../src/MixedTimeseries/buildQuery.ts | 10 +-
.../plugin-chart-echarts/src/Pie/controlPanel.tsx | 5 +-
.../plugin-chart-echarts/src/Radar/buildQuery.ts | 4 +-
.../src/Radar/controlPanel.tsx | 7 +-
.../plugin-chart-echarts/src/Radar/index.ts | 2 +-
.../src/Sunburst/EchartsSunburst.tsx | 28 +-
.../src/Sunburst/controlPanel.tsx | 10 +-
.../src/Sunburst/images/Sunburst1.png | Bin 0 -> 130270 bytes
.../src/Sunburst/images/Sunburst2.png | Bin 0 -> 126313 bytes
.../src/Sunburst/images/thumbnail.png | Bin 5658 -> 130270 bytes
.../plugin-chart-echarts/src/Sunburst/index.ts | 6 +-
.../src/Sunburst/transformProps.ts | 55 +-
.../plugin-chart-echarts/src/Sunburst/types.ts | 7 +
.../src/Timeseries/Area/controlPanel.tsx | 6 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 37 +-
.../src/Timeseries/Regular/Line/controlPanel.tsx | 9 +-
.../Timeseries/Regular/Scatter/controlPanel.tsx | 9 +-
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 9 +-
.../src/Timeseries/Step/controlPanel.tsx | 6 +-
.../src/Timeseries/constants.ts | 5 +
.../plugin-chart-echarts/src/Tree/controlPanel.tsx | 2 +-
.../src/Treemap/controlPanel.tsx | 5 +-
.../plugin-chart-echarts/src/Treemap/index.ts | 4 +-
.../plugins/plugin-chart-echarts/src/defaults.ts | 62 +-
.../plugin-chart-echarts/src/utils/treeBuilder.ts | 15 +-
.../test/MixedTimeseries/buildQuery.test.ts | 69 +-
.../test/plugin/transformProps.test.ts | 4 +-
.../src/PivotTableChart.tsx | 3 +-
.../src/react-pivottable/TableRenderers.jsx | 15 +-
.../src/DataTable/components/SelectPageSize.tsx | 5 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 4 +-
.../plugins/plugin-chart-table/src/buildQuery.ts | 4 +-
.../src/utils/convertScaleToDataUIScaleShape.ts | 2 +-
superset-frontend/spec/fixtures/mockCharts.ts | 55 +
superset-frontend/spec/helpers/shim.tsx | 30 +
superset-frontend/src/SqlLab/App.jsx | 3 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 47 +-
.../src/SqlLab/actions/sqlLab.test.js | 10 +-
.../src/SqlLab/components/App/App.test.jsx | 49 +-
.../src/SqlLab/components/App/index.jsx | 17 +-
.../components/ExploreCtasResultsButton/index.tsx | 6 +-
.../QueryLimitSelect/QueryLimitSelect.test.tsx | 3 -
.../SqlLab/components/QueryStateLabel/index.tsx | 6 +-
.../src/SqlLab/components/QueryTable/index.tsx | 15 +-
.../src/SqlLab/components/ResultSet/index.tsx | 9 +-
.../src/SqlLab/components/SouthPane/index.tsx | 3 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 2 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 118 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx | 78 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 59 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 22 +-
.../src/SqlLab/components/TableElement/index.tsx | 3 +-
superset-frontend/src/SqlLab/constants.ts | 20 +
.../src/assets/stylesheets/superset.less | 16 -
.../AlteredSliceTag/AlteredSliceTag.test.jsx | 2 -
.../Chart/DrillDetail/DrillDetailMenuItems.tsx | 13 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 270 +-
.../src/components/DatabaseSelector/index.tsx | 82 +-
.../Datasource/ChangeDatasourceModal.tsx | 2 +-
.../src/components/Datasource/DatasourceEditor.jsx | 12 +-
.../Datasource/DatasourceEditor.test.jsx | 12 -
.../src/components/Datasource/DatasourceModal.tsx | 2 +
.../DeprecatedSelect/DeprecatedSelect.tsx | 4 +-
.../ErrorBoundary/ErrorBoundary.test.tsx | 2 -
.../Form/LabeledErrorBoundInput.test.jsx | 1 -
.../src/components/ListView/Filters/DateRange.tsx | 3 +-
.../src/components/ListView/ListView.test.jsx | 6 -
superset-frontend/src/components/ListView/utils.ts | 2 +-
.../src/components/MessageToasts/Toast.test.jsx | 2 -
.../PageHeaderWithActions.test.tsx | 2 -
.../HeaderReportDropdown/index.test.tsx | 6 -
.../components/ReportModal/ReportModal.test.tsx | 6 -
.../src/components/Select/AsyncSelect.tsx | 4 +-
.../src/components/Select/Select.stories.tsx | 2 +-
.../src/components/Select/Select.test.tsx | 59 +-
superset-frontend/src/components/Select/Select.tsx | 93 +-
superset-frontend/src/components/Select/utils.tsx | 18 +
.../TableSelector/TableSelector.test.tsx | 86 +-
.../src/components/TableSelector/index.tsx | 36 +-
.../src/components/TableView/TableView.test.tsx | 2 -
.../src/components/TruncatedList/index.tsx | 160 +
superset-frontend/src/constants.ts | 4 +-
.../src/dashboard/actions/dashboardState.js | 5 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 3 -
.../DashboardBuilder/DashboardContainer.tsx | 2 +-
.../PropertiesModal/PropertiesModal.test.tsx | 2 +-
.../src/dashboard/components/SaveModal.tsx | 2 +-
.../src/dashboard/components/SliceAdder.jsx | 12 +-
.../src/dashboard/components/SliceHeader/index.tsx | 2 +-
.../components/dnd/dragDroppableConfig.js | 2 +-
.../dashboard/components/gridComponents/Chart.jsx | 2 +-
.../components/gridComponents/Markdown.jsx | 1 +
.../components/gridComponents/Tabs.test.jsx | 2 +-
.../components/menu/BackgroundStyleDropdown.tsx | 5 +-
.../FilterBar/FilterControls/FilterControl.tsx | 4 +-
.../FiltersConfigForm/DatasetSelect.tsx | 1 +
.../FiltersConfigForm/FiltersConfigForm.tsx | 4 +-
.../FiltersConfigForm/getControlItemsMap.tsx | 2 +-
.../src/dashboard/util/filterboxMigrationHelper.ts | 6 +-
.../src/dashboard/util/getSliceHeaderTooltip.tsx | 2 +-
.../src/dashboard/util/newComponentFactory.js | 2 +-
.../src/explore/components/Control.test.tsx | 2 +-
.../src/explore/components/ControlHeader.tsx | 2 +-
.../explore/components/ControlPanelsContainer.tsx | 47 +-
.../DatasourcePanel/DatasourcePanel.test.tsx | 21 -
.../src/explore/components/ExploreChartPanel.jsx | 2 +-
.../src/explore/components/SaveModal.test.jsx | 1 +
.../src/explore/components/SaveModal.tsx | 12 +-
.../components/controls/ColorPickerControl.jsx | 4 +-
.../controls/ColorSchemeControl/index.tsx | 2 +-
.../DatasourceControl/DatasourceControl.test.tsx | 19 -
.../controls/DateFilterControl/DateFilterLabel.tsx | 5 +-
.../tests/DateFilterLabel.test.tsx | 42 +-
.../components/controls/DateFilterControl/types.ts | 2 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 4 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 35 +-
.../DndMetricSelect.test.tsx | 8 -
.../DndColumnSelectControl/DndMetricSelect.tsx | 3 +-
.../FilterControl/AdhocFilterControl/index.jsx | 32 +-
.../AdhocFilterOption/AdhocFilterOption.test.tsx | 19 +-
.../controls/MetricControl/AdhocMetric.js | 4 -
.../controls/MetricControl/AdhocMetric.test.js | 6 -
.../AdhocMetricEditPopover.test.tsx | 22 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 40 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 6 +
.../MetricControl/MetricDefinitionValue.jsx | 2 +-
.../controls/MetricControl/MetricsControl.jsx | 6 +-
.../controls/MetricControl/MetricsControl.test.jsx | 1 -
.../components/controls/OptionControls/index.tsx | 5 +-
.../SelectAsyncControl/SelectAsyncControl.test.tsx | 16 +-
.../controls/VizTypeControl/FastVizSwitcher.tsx | 11 +-
superset-frontend/src/explore/constants.ts | 40 +-
.../getFormDataFromDashboardContext.test.ts | 19 +-
.../getFormDataWithDashboardContext.ts | 34 +-
.../src/explore/exploreUtils/getHostName.test.ts | 2 +-
superset-frontend/src/explore/store.js | 2 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 6 +-
superset-frontend/src/hooks/apiResources/index.ts | 1 +
.../src/hooks/apiResources/schemas.test.ts | 138 +
.../hooks/apiResources/{tables.ts => schemas.ts} | 64 +-
.../src/hooks/apiResources/tables.test.ts | 184 +-
superset-frontend/src/hooks/apiResources/tables.ts | 39 +-
superset-frontend/src/logger/LogUtils.ts | 2 +
.../src/middleware/loggerMiddleware.js | 12 +-
.../src/pages/ChartCreation/index.tsx | 14 +-
superset-frontend/src/pages/ChartList/index.tsx | 7 +-
superset-frontend/src/preamble.ts | 2 +-
.../src/profile/components/RecentActivity.tsx | 2 +
...rdComponents.ts => setupDashboardComponents.ts} | 0
superset-frontend/src/types/Chart.ts | 14 +
.../utils/getChartRequiredFieldsMissingMessage.ts | 5 +-
.../src/utils/getClientErrorObject.ts | 2 +-
.../src/views/CRUD/alert/AlertList.tsx | 2 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 2 +-
.../src/views/CRUD/alert/ExecutionLog.tsx | 12 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 2 +-
.../views/CRUD/annotation/AnnotationModal.test.jsx | 4 +-
.../src/views/CRUD/annotation/AnnotationModal.tsx | 9 +-
.../CRUD/annotationlayers/AnnotationLayersList.tsx | 2 +-
.../views/CRUD/csstemplates/CssTemplatesList.tsx | 2 +-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 51 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 35 +-
.../views/CRUD/data/database/DatabaseList.test.jsx | 20 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 8 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 8 +-
.../DatabaseConnectionForm/ValidatedInputField.tsx | 6 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 2 +-
.../data/database/DatabaseModal/SSHTunnelForm.tsx | 317 +-
.../database/DatabaseModal/SSHTunnelSwitch.tsx | 58 +
.../data/database/DatabaseModal/index.test.tsx | 76 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 101 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 2 +-
.../data/dataset/AddDataset/AddDataset.test.tsx | 9 +
.../dataset/AddDataset/DatasetPanel/fixtures.ts | 1 +
.../data/dataset/AddDataset/DatasetPanel/index.tsx | 17 +-
.../EditDataset.test.tsx} | 31 +-
.../EditDataset/UsageTab/UsageTab.test.tsx | 405 ++
.../AddDataset/EditDataset/UsageTab/index.tsx | 261 +
.../data/dataset/AddDataset/EditDataset/index.tsx | 78 +
.../data/dataset/AddDataset/Footer/Footer.test.tsx | 8 +
.../CRUD/data/dataset/AddDataset/Footer/index.tsx | 14 +-
.../AddDataset/LeftPanel/LeftPanel.test.tsx | 26 +-
.../data/dataset/AddDataset/LeftPanel/index.tsx | 114 +-
.../views/CRUD/data/dataset/AddDataset/index.tsx | 54 +-
.../views/CRUD/data/dataset/AddDataset/types.tsx | 8 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 172 -
.../dataset/DatasetLayout/DatasetLayout.test.tsx | 8 +
.../CRUD/data/dataset/DatasetLayout/index.tsx | 9 +-
.../{DatasetList.test.jsx => DatasetList.test.tsx} | 9 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 51 +-
.../src/views/CRUD/data/dataset/styles.ts | 1 +
superset-frontend/src/views/CRUD/data/hooks.ts | 113 +-
.../src/views/CRUD/data/query/QueryList.tsx | 2 +-
.../CRUD/data/savedquery/SavedQueryList.test.jsx | 9 +-
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 2 +-
superset-frontend/src/views/CRUD/hooks.ts | 6 +-
superset-frontend/src/views/CRUD/types.ts | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 2 +-
.../src/views/CRUD/welcome/ActivityTable.tsx | 2 +-
.../src/views/CRUD/welcome/DashboardTable.tsx | 34 +-
.../src/views/CRUD/welcome/EmptyState.tsx | 31 +-
.../src/views/CRUD/welcome/Welcome.tsx | 4 +-
superset-frontend/src/views/components/Menu.tsx | 2 +-
.../src/views/components/RightMenu.test.tsx | 3 -
.../src/views/components/RightMenu.tsx | 33 +-
.../src/views/components/SubMenu.test.tsx | 31 +-
superset-frontend/src/views/components/types.ts | 2 +-
.../src/visualizations/presets/MainPreset.js | 2 +
superset-frontend/webpack.config.js | 4 +-
superset-websocket/package-lock.json | 430 +-
superset-websocket/package.json | 18 +-
superset/charts/api.py | 4 +-
superset/charts/commands/export.py | 2 +-
superset/charts/commands/update.py | 5 +-
superset/charts/post_processing.py | 7 +-
superset/charts/schemas.py | 15 +-
superset/cli/importexport.py | 8 +-
superset/cli/thumbnails.py | 9 +-
superset/commands/importers/v1/__init__.py | 3 +
superset/common/query_context_factory.py | 96 +-
superset/config.py | 13 +-
superset/connectors/base/models.py | 5 +-
superset/connectors/sqla/models.py | 4 +-
superset/connectors/sqla/views.py | 2 -
superset/constants.py | 1 +
superset/dao/base.py | 14 +-
superset/dashboards/commands/update.py | 2 +-
superset/databases/api.py | 76 +-
superset/databases/commands/exceptions.py | 5 +
superset/databases/commands/tables.py | 113 +
superset/databases/schemas.py | 17 +-
superset/datasets/api.py | 70 +
superset/datasets/commands/duplicate.py | 2 +
superset/datasets/commands/exceptions.py | 4 +
superset/datasets/commands/importers/v0.py | 2 +-
superset/datasets/commands/importers/v1/utils.py | 32 +-
superset/datasets/dao.py | 123 +-
superset/datasets/schemas.py | 11 +
superset/db_engine_specs/athena.py | 9 +-
superset/db_engine_specs/base.py | 59 +-
superset/db_engine_specs/bigquery.py | 14 +-
superset/db_engine_specs/clickhouse.py | 9 +-
superset/db_engine_specs/crate.py | 12 +-
superset/db_engine_specs/dremio.py | 10 +-
superset/db_engine_specs/drill.py | 9 +-
superset/db_engine_specs/druid.py | 15 +-
superset/db_engine_specs/duckdb.py | 7 +-
superset/db_engine_specs/dynamodb.py | 9 +-
superset/db_engine_specs/elasticsearch.py | 12 +-
superset/db_engine_specs/firebird.py | 14 +-
superset/db_engine_specs/firebolt.py | 14 +-
superset/db_engine_specs/hana.py | 10 +-
superset/db_engine_specs/hive.py | 64 +-
superset/db_engine_specs/impala.py | 9 +-
superset/db_engine_specs/kusto.py | 44 +-
superset/db_engine_specs/kylin.py | 10 +-
superset/db_engine_specs/mssql.py | 24 +-
superset/db_engine_specs/mysql.py | 34 +-
superset/db_engine_specs/oracle.py | 16 +-
superset/db_engine_specs/postgres.py | 38 +-
superset/db_engine_specs/presto.py | 205 +-
superset/db_engine_specs/rockset.py | 16 +-
superset/db_engine_specs/snowflake.py | 13 +-
superset/db_engine_specs/sqlite.py | 10 +-
superset/db_engine_specs/trino.py | 25 -
superset/db_engines/__init__.py | 16 -
superset/db_engines/hive.py | 67 -
.../dashboards/COVID_Vaccine_Dashboard.yaml | 2 +-
superset/initialization/__init__.py | 9 +-
superset/migrations/alembic.ini | 7 +-
...7c195a_rewriting_url_from_shortner_with_new_.py | 2 +-
...10-42_f9a30386bd74_cleanup_time_grainularity.py | 12 +-
...b56500de1855_add_uuid_column_to_import_mixin.py | 2 +-
...4fbb_add_type_to_native_filter_configuration.py | 2 +-
...03_5afbb1a5849b_add_embedded_dahshoard_table.py | 2 +-
superset/models/helpers.py | 3 +-
superset/models/slice.py | 3 +
superset/models/sql_lab.py | 5 +-
superset/reports/commands/execute.py | 3 -
superset/reports/notifications/email.py | 8 +-
superset/reports/notifications/slack.py | 8 +-
superset/result_set.py | 7 +-
superset/security/manager.py | 1 +
superset/sql_lab.py | 12 +-
superset/sqllab/api.py | 67 +-
superset/sqllab/commands/export.py | 136 +
superset/sqllab/exceptions.py | 9 +-
superset/tasks/thumbnails.py | 2 +-
superset/templates/tail_js_custom_extra.html | 2 +-
superset/translations/en/LC_MESSAGES/messages.po | 10 +-
superset/translations/messages.pot | 10 +-
superset/translations/ru/LC_MESSAGES/messages.json | 212 +-
superset/translations/ru/LC_MESSAGES/messages.po | 3204 +++++-----
superset/translations/zh/LC_MESSAGES/messages.json | 6677 ++++++++++++--------
superset/translations/zh/LC_MESSAGES/messages.po | 2678 ++++----
superset/utils/core.py | 26 +-
superset/utils/date_parser.py | 2 +-
superset/utils/encrypt.py | 9 +-
superset/utils/pandas_postprocessing/boxplot.py | 4 +-
superset/utils/screenshots.py | 20 +-
superset/utils/urls.py | 4 +-
superset/utils/webdriver.py | 5 +
superset/views/api.py | 3 +-
superset/views/base.py | 10 +-
superset/views/core.py | 54 +-
superset/views/dashboard/mixin.py | 2 +-
superset/views/database/views.py | 22 +-
superset/views/datasource/views.py | 5 +-
superset/views/sql_lab/views.py | 2 +-
superset/viz.py | 2 +-
.../annotation_layers/fixtures.py | 2 +-
tests/integration_tests/charts/api_tests.py | 55 +
tests/integration_tests/charts/commands_tests.py | 51 +-
tests/integration_tests/cli_tests.py | 24 +-
tests/integration_tests/core_tests.py | 28 +-
tests/integration_tests/dashboards/api_tests.py | 59 +
tests/integration_tests/databases/api_tests.py | 60 +
.../integration_tests/databases/commands_tests.py | 74 +
tests/integration_tests/datasets/api_tests.py | 89 +
tests/integration_tests/datasets/commands_tests.py | 51 +-
.../db_engine_specs/base_engine_spec_tests.py | 2 +-
.../db_engine_specs/base_tests.py | 14 -
.../db_engine_specs/bigquery_tests.py | 17 -
.../db_engine_specs/crate_tests.py | 53 -
.../db_engine_specs/databricks_tests.py | 9 +-
.../db_engine_specs/druid_tests.py | 78 -
.../db_engine_specs/elasticsearch_tests.py | 104 -
.../db_engine_specs/firebird_tests.py | 81 -
.../db_engine_specs/firebolt_tests.py | 39 -
.../db_engine_specs/hive_tests.py | 9 -
.../db_engine_specs/kylin_tests.py | 32 -
.../db_engine_specs/mysql_tests.py | 65 +-
.../db_engine_specs/oracle_tests.py | 87 -
.../db_engine_specs/postgres_tests.py | 54 +-
.../db_engine_specs/presto_tests.py | 37 -
.../db_engine_specs/trino_tests.py | 214 -
tests/integration_tests/reports/commands_tests.py | 40 +-
tests/integration_tests/result_set_tests.py | 4 +-
.../security/migrate_roles_tests.py | 8 +-
tests/integration_tests/security_tests.py | 16 +-
tests/integration_tests/sql_lab/api_tests.py | 39 +-
tests/integration_tests/sql_lab/commands_tests.py | 251 +-
tests/integration_tests/sqla_models_tests.py | 3 +-
tests/integration_tests/utils_tests.py | 1 -
tests/unit_tests/charts/test_post_processing.py | 53 +-
tests/unit_tests/dataframe_test.py | 82 +-
.../datasets/commands/importers/v1/import_test.py | 128 +-
tests/unit_tests/datasets/dao/dao_tests.py | 30 +
tests/unit_tests/db_engine_specs/test_athena.py | 29 +-
tests/unit_tests/db_engine_specs/test_base.py | 43 +-
tests/unit_tests/db_engine_specs/test_bigquery.py | 27 +
.../unit_tests/db_engine_specs/test_clickhouse.py | 27 +-
tests/unit_tests/db_engine_specs/test_crate.py | 71 +
.../unit_tests/db_engine_specs/test_databricks.py | 55 +-
.../db_engine_specs/test_dremio.py} | 33 +-
tests/unit_tests/db_engine_specs/test_drill.py | 26 +-
tests/unit_tests/db_engine_specs/test_druid.py | 95 +
.../db_engine_specs/test_duckdb.py} | 33 +-
tests/unit_tests/db_engine_specs/test_dynamodb.py | 35 +-
.../db_engine_specs/test_elasticsearch.py | 106 +
tests/unit_tests/db_engine_specs/test_firebird.py | 102 +
.../{test_presto.py => test_firebolt.py} | 45 +-
.../db_engine_specs/test_hana.py} | 34 +-
.../{test_dynamodb.py => test_hive.py} | 37 +-
.../{test_dynamodb.py => test_impala.py} | 35 +-
tests/unit_tests/db_engine_specs/test_kusto.py | 46 +-
.../db_engine_specs/test_kylin.py} | 32 +-
tests/unit_tests/db_engine_specs/test_mssql.py | 66 +-
tests/unit_tests/db_engine_specs/test_mysql.py | 130 +
tests/unit_tests/db_engine_specs/test_oracle.py | 113 +
tests/unit_tests/db_engine_specs/test_postgres.py | 91 +
tests/unit_tests/db_engine_specs/test_presto.py | 42 +-
.../{test_dynamodb.py => test_rockset.py} | 36 +-
tests/unit_tests/db_engine_specs/test_snowflake.py | 29 +-
tests/unit_tests/db_engine_specs/test_sqlite.py | 34 +-
tests/unit_tests/db_engine_specs/test_trino.py | 293 +-
tests/unit_tests/db_engine_specs/utils.py | 67 +
tests/unit_tests/result_set_test.py | 12 +-
tests/unit_tests/utils/urls_tests.py | 5 +
471 files changed, 16189 insertions(+), 11091 deletions(-)
copy helm/superset/Chart.yaml => pyproject.toml (51%)
create mode 100644
superset-frontend/packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-echarts/Sunburst/Stories.tsx
copy superset-frontend/{src/setup/setupDasboardComponents.ts =>
packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-echarts/Sunburst/data.ts}
(54%)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/images/Sunburst1.png
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/images/Sunburst2.png
create mode 100644 superset-frontend/spec/fixtures/mockCharts.ts
create mode 100644 superset-frontend/src/components/TruncatedList/index.tsx
create mode 100644 superset-frontend/src/hooks/apiResources/schemas.test.ts
copy superset-frontend/src/hooks/apiResources/{tables.ts => schemas.ts} (57%)
rename superset-frontend/src/setup/{setupDasboardComponents.ts =>
setupDashboardComponents.ts} (100%)
create mode 100644
superset-frontend/src/views/CRUD/data/database/DatabaseModal/SSHTunnelSwitch.tsx
copy
superset-frontend/src/views/CRUD/data/dataset/AddDataset/{AddDataset.test.tsx
=> EditDataset/EditDataset.test.tsx} (55%)
create mode 100644
superset-frontend/src/views/CRUD/data/dataset/AddDataset/EditDataset/UsageTab/UsageTab.test.tsx
create mode 100644
superset-frontend/src/views/CRUD/data/dataset/AddDataset/EditDataset/UsageTab/index.tsx
create mode 100644
superset-frontend/src/views/CRUD/data/dataset/AddDataset/EditDataset/index.tsx
delete mode 100644
superset-frontend/src/views/CRUD/data/dataset/AddDatasetModal.tsx
rename superset-frontend/src/views/CRUD/data/dataset/{DatasetList.test.jsx =>
DatasetList.test.tsx} (98%)
create mode 100644 superset/databases/commands/tables.py
delete mode 100644 superset/db_engines/__init__.py
delete mode 100644 superset/db_engines/hive.py
create mode 100644 superset/sqllab/commands/export.py
delete mode 100644 tests/integration_tests/db_engine_specs/crate_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/druid_tests.py
delete mode 100644
tests/integration_tests/db_engine_specs/elasticsearch_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/firebird_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/firebolt_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/kylin_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/oracle_tests.py
delete mode 100644 tests/integration_tests/db_engine_specs/trino_tests.py
create mode 100644 tests/unit_tests/db_engine_specs/test_crate.py
rename tests/{integration_tests/db_engine_specs/dremio_tests.py =>
unit_tests/db_engine_specs/test_dremio.py} (57%)
create mode 100644 tests/unit_tests/db_engine_specs/test_druid.py
rename tests/{integration_tests/db_engine_specs/drill_tests.py =>
unit_tests/db_engine_specs/test_duckdb.py} (54%)
create mode 100644 tests/unit_tests/db_engine_specs/test_elasticsearch.py
create mode 100644 tests/unit_tests/db_engine_specs/test_firebird.py
copy tests/unit_tests/db_engine_specs/{test_presto.py => test_firebolt.py}
(52%)
rename tests/{integration_tests/db_engine_specs/hana_tests.py =>
unit_tests/db_engine_specs/test_hana.py} (57%)
copy tests/unit_tests/db_engine_specs/{test_dynamodb.py => test_hive.py} (58%)
copy tests/unit_tests/db_engine_specs/{test_dynamodb.py => test_impala.py}
(59%)
rename tests/{integration_tests/db_engine_specs/impala_tests.py =>
unit_tests/db_engine_specs/test_kylin.py} (54%)
create mode 100644 tests/unit_tests/db_engine_specs/test_mysql.py
create mode 100644 tests/unit_tests/db_engine_specs/test_oracle.py
create mode 100644 tests/unit_tests/db_engine_specs/test_postgres.py
copy tests/unit_tests/db_engine_specs/{test_dynamodb.py => test_rockset.py}
(58%)
create mode 100644 tests/unit_tests/db_engine_specs/utils.py