This is an automated email from the ASF dual-hosted git repository.
amitmiran pushed a change to branch feat/dashboard_extra_jwt
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 38c678d start of dashboard jwt manager
add 6d2d3ad test: Adds storybook to AlteredSliceTag component (#13516)
add f0a9dcc test: Adds storybook and tests to AsyncEsmComponent (#13517)
add fc36de2 test: Adds tests and storybook to PopoverSection component
(#13438)
add 9e964f4 build: ignore Storybook stories in CodeCov (#13421)
add 226dd4b Fixed KeyError by making kwarg explicit (#13505)
add 1d1a1cd feat(filter-set): Filter set history (#13529)
add d509b15 feat(filter-set): Update existing filter set (#13545)
add 70ccc26 fix: fix initial filter loading (#13546)
add b9884fb fix: `IS NULL` filter operator for numeric columns (#13496)
add d1f6245 test: Tests, dedicated directory and Storybook for the Badge
component (#13513)
add 5fca19d build: check potential db migration conflict for open PRs
(#13498)
add bebac59 feat: add connector for CrateDB (#13152)
add b5ea5d0 test: TableCollection (#13583)
add fd4e5c8 test: CronPicker (#13549)
add 901acd9 feat(native-filters): add sort option to select filter
(#13569)
add 1470e70 feat: add option to load big/wide tables (#13448)
add 7656b2e refactor: convert controlUtils to TypeScript (2 of 2) (#13520)
add 1b95ed7 feat(dashboard): dashboard/id/datasets endpoint (#13523)
add d439da2 feat: Implement drag and drop for metrics (#13575)
add 1a46f93 chore(explore): bump superset-ui 0.17.19 (#13593)
add 609c359 feat(explore): Postgres datatype conversion (#13294)
add 817b740 chore: metric refactor iteration 1 (#13596)
add de0c6c9 Given port in dockerfile set to same port in config (#13570)
add a0e3754 feat: create hooks to redux component (#13487)
add 1835ed0 create better link for badge (#13587)
add 6e303f3 feat: add more big data for testing (#13586)
add 4fc41e1 fix: default when adding tab_state.hide_left_bar (#13603)
add 06d6d7f fix: ParsedQuery subselect edge case (#13602)
add 67ffea8 fix: always pass a string as a value to ace editor (#13563)
add 6b30f55 docs: correct sentence (#13611)
add ae66f5f feat(explore): Drag and drop UX improvements (#13598)
add a35825d feat(filter-set): Filter set edge cases (#13576)
add fc345b9 fix(helm): Add missing extraConfigs template volume mapping
and fix type error on template. (#13613)
add 4de6040 fix(dashboard|chart): use correct url for favorite_status and
change request type to rison (#13557)
add d1e9307 fix: delete dataset columns and metrics on the REST API
(#13389)
add cd2f53e switch message content between chart and dashboard
AlertReportModal (#13537)
add 335415f dynamic dttm fix for test_convert_dttm (#13626)
add 714d262 Update UPDATING.md (#13607)
add 868e063 feat: add ErrorBoundary to chart controls (#13584)
add 1e88408 fix: better handle datasource exceptions (#13578)
add df5fb5a test: Tests and dedicated directory for the
SupersetResourceSelect Component (#13508)
add 3078c84 feat(reports): SLACK_API_TOKEN as callable or str (#13634)
add f2c50f6 fix antd select dropdown issue (#13585)
add 10d8872 update test (#13463)
add 21cc495 chore: improve modal error handling (#13342)
add bf424e3 docs: add file for users to see status of feature flags
(#13402)
add 65b4be7 Fix: Add SASL dependency module (#13608)
add 0819bea fix: bump FAB to 3.2.1, SQLAlchemy fix (#13642)
add 98a26e7 fix: Slack dashboard has stale charts (#13655)
add 72d19b6 fix(sqllab): Table name and schema are encoded twice during
fetching table metadata on SQL Lab page. (#13636)
add bd1d6ac fix(query): order by adhoc metrics should trigger group by
(#13434)
add 4bdb958 fix: 'Run in SQL Lab' redirect bug (#13657)
add aa0cd64 fix(explore): Add int and bool regex pattern (#13621)
add 0e0c99b feat(cross-filters): Add scoping for cross filters (#13625)
add 7b74eb2 chore(explore): added debounce in DateFilter (#13660)
add 036fc39 chore: script for changelog (#13588)
add c0fc1ae fix(cross-filter): fix scheme py (#13665)
add abf2c87 Make preliminary suggested changes to CONTRIBUTING.md (#13643)
add 697cdf2 Bump pyyaml to latest (#13658)
add db57f90 feat: better error message when adding DBs (#13601)
add 64785c2 feat: add warning metadata to tables and metrics (#13606)
add 3f2e2c9 fix(alert|report): allow null on chart and dashboard field
(#13680)
add adc247b feat: add Databricks DB engine spec (#13682)
add 13f7e0d feat(native-filters): add temporal support to select filter
(#13622)
add 9efe1a4 feat(helm): Add optional apt-get install to
superset_bootstrap.sh (#13678)
add 577ecc2 feat(cross-filter): Cross filter badge (#13687)
add 08d0deb fix: clean up incorrect usage of TypeScript type in PropTypes
(#13681)
add 69a5ed9 fix: use FeatureFlags in @superset-ui/core (#13679)
add 81b6420 fix(cross-filters): add a control panel to range filter
(#13692)
add ecfcaea fix(dashboard): missing parents in directPathToFilter (#13691)
add b97bbed fix: allow option to generate new query (#13488)
add e6c5bf4 test: useChangeEffect (#13555)
add 7e6beb5 fix(native-filters): fix removing native filter (#13688)
add df9352f fix: data column in SQL lab left panel open by default
(#13624)
add ebd4a91 refactor: Share sql lab query (#13630)
add 375ded9 test: usePrevious hook (#13554)
add 87d1afc fix(cross-filters): expand relevant indicator sections
(#13703)
add fa072cd fix: dashboard filter scope bug (#13695)
add 95a017a feat: add 'extra' column to saved_queries GET (#13662)
add 1a67f15 fix(cross-filters): only apply filters if ff is set (#13704)
add daefebb feat: Make initial user configurable in helm chart (#12862)
add 6c3bfe8 docs: update helm documentation (#12932)
add aa92c1e refactor(native-filters): refactor filter bar (#13723)
new 2223b10 start of dashboard jwt manager
new c11fc8b chore: DASHBOARD_JWT_SECRET in config
new a2261f7 chore: validate all queryObjects datasource access by JWT or
by exisiting permission mechanisem
new b0b576c Merge remote-tracking branch
'upstream/feat/dashboard_extra_jwt' into feat/dashboard_extra_jwt
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.codecov.yml | 2 +
.github/workflows/check_db_migration_confict.yml | 59 +
CHANGELOG.md | 305 +
CONTRIBUTING.md | 46 +-
Dockerfile | 3 +-
README.md | 20 +-
RELEASING/changelog.py | 123 +-
RESOURCES/FEATURE_FLAGS.md | 65 +
INTHEWILD.md => RESOURCES/INTHEWILD.md | 0
UPDATING.md | 2 +-
docs/installation.rst | 19 +-
docs/src/pages/community.tsx | 2 +-
.../pages/docs/Connecting to Databases/crate.mdx | 25 +
docs/src/pages/docs/Miscellaneous/issue_codes.mdx | 29 +
docs/src/pages/docs/installation/configuring.mdx | 12 +-
.../pages/docs/installation/installing_scratch.mdx | 13 +-
docs/src/pages/docs/introduction.mdx | 6 +-
helm/superset/Chart.yaml | 11 +-
helm/superset/requirements.yaml | 25 -
helm/superset/templates/_helpers.tpl | 12 +-
helm/superset/templates/configmap-superset.yaml | 2 +-
helm/superset/templates/deployment.yaml | 10 +
helm/superset/values.yaml | 21 +-
requirements/base.txt | 4 +-
requirements/integration.txt | 2 +-
setup.py | 8 +-
.../integration/dashboard/nativeFilters.test.ts | 9 +-
.../{histogram.test.js => histogram.test.ts} | 10 +-
.../explore/visualizations/table.test.ts | 22 +-
superset-frontend/cypress-base/package-lock.json | 8731 ++-
superset-frontend/cypress-base/package.json | 2 +
.../images/icons/cross-filter-badge.svg | 22 +
superset-frontend/package-lock.json | 57932 +------------------
superset-frontend/package.json | 54 +-
.../javascripts/components/PopoverSection_spec.jsx | 52 -
.../components/SupersetResourceSelect_spec.tsx | 59 -
.../dashboard/components/DashboardBuilder_spec.jsx | 142 +-
.../dashboard/components/Dashboard_spec.jsx | 8 +-
.../util/getFilterScopeFromNodesTree_spec.js | 91 +
.../util/getFormDataWithExtraFilters_spec.ts | 1 +
.../explore/components/AggregateOption_spec.jsx | 2 +-
.../explore/components/DatasourcePanel_spec.jsx | 21 +
.../components/MetricDefinitionOption_spec.jsx | 2 +-
...controlUtils_spec.jsx => controlUtils_spec.tsx} | 71 +-
.../explore/{fixtures.jsx => fixtures.tsx} | 15 +-
.../spec/javascripts/filters/utils_spec.ts | 92 +-
.../spec/javascripts/sqllab/ResultSet_spec.jsx | 25 +
.../javascripts/sqllab/ShareSqlLabQuery_spec.jsx | 153 +-
.../javascripts/sqllab/SqlEditorLeftBar_spec.jsx | 69 +-
.../sqllab/TemplateParamsEditor_spec.tsx | 57 +
.../spec/javascripts/sqllab/actions/sqlLab_spec.js | 27 +-
.../spec/javascripts/sqllab/fixtures.ts | 1 +
.../javascripts/sqllab/reducers/sqlLab_spec.js | 1 +
.../views/CRUD/alert/AlertReportModal_spec.jsx | 37 +
superset-frontend/src/SqlLab/actions/sqlLab.js | 14 +-
.../src/SqlLab/components/ResultSet.tsx | 2 +-
.../{ShareSqlLabQuery.jsx => ShareSqlLabQuery.tsx} | 121 +-
.../src/SqlLab/components/SqlEditorLeftBar.jsx | 8 +-
.../src/SqlLab/components/TableElement.jsx | 1 +
...teParamsEditor.jsx => TemplateParamsEditor.tsx} | 63 +-
.../src/SqlLab/reducers/getInitialState.js | 6 +-
.../src/SqlLab/reducers/getInitialState.test.ts | 11 +
superset-frontend/src/chart/chartAction.js | 11 +-
.../components/CronPicker/CronPicker.test.tsx} | 34 +-
.../components/{ => CronPicker}/CronPicker.tsx | 7 +-
.../components/CronPicker/index.ts} | 7 +-
superset-frontend/src/common/components/Select.tsx | 10 +-
.../src/common/components/common.stories.tsx | 10 -
superset-frontend/src/common/components/index.tsx | 7 +-
.../hooks/useChangeEffect/index.ts} | 7 +-
.../hooks/useChangeEffect/useChangeEffect.test.ts | 54 +
.../hooks/{ => useChangeEffect}/useChangeEffect.ts | 2 +-
.../types.ts => common/hooks/usePrevious/index.ts} | 7 +-
.../common/hooks/usePrevious/usePrevious.test.ts | 43 +
.../common/hooks/{ => usePrevious}/usePrevious.ts | 0
.../AlteredSliceTag/AlteredSliceTag.stories.tsx} | 30 +-
.../AlteredSliceTag/AlteredSliceTag.test.jsx} | 2 +-
.../AlteredSliceTag/AlteredSliceTagMocks.js} | 0
.../index.jsx} | 4 +-
.../src/components/AsyncAceEditor/index.tsx | 4 +
.../AsyncEsmComponent.stories.tsx} | 43 +-
.../AsyncEsmComponent/AsyncEsmComponent.test.tsx | 60 +
.../index.tsx} | 2 +-
.../src/components/Badge/Badge.stories.tsx | 172 +
.../components/Badge/Badge.test.tsx} | 38 +-
.../Badge.tsx => components/Badge/index.tsx} | 3 +-
superset-frontend/src/components/Button/index.tsx | 1 +
.../src/components/CertifiedIconWithTooltip.tsx | 6 +-
.../src/components/ErrorMessage/types.ts | 4 +
superset-frontend/src/components/Icon/index.tsx | 3 +
.../src/components/PopoverSection.jsx | 52 -
.../PopoverSection/PopoverSection.stories.tsx} | 47 +-
.../PopoverSection/PopoverSection.test.tsx | 62 +
.../src/components/PopoverSection/index.tsx | 87 +
.../SupersetResourceSelect.test.tsx | 64 +
.../index.tsx} | 0
.../src/components/TableSelector/index.tsx | 7 +
...nWithTooltip.tsx => WarningIconWithTooltip.tsx} | 29 +-
.../dataViewCommon/TableCollection.test.tsx | 114 +
.../components/dataViewCommon/TableCollection.tsx | 7 +-
.../src/dashboard/actions/dashboardInfo.ts | 81 +
.../src/dashboard/actions/dashboardState.js | 2 +-
.../src/dashboard/actions/nativeFilters.ts | 23 +-
.../CrossFilterScopingForm.tsx | 57 +
.../CrossFilterScopingModal.tsx | 100 +
.../components/CrossFilterScopingModal}/types.ts | 9 +-
.../CrossFilterScopingModal/utils.ts} | 16 +-
.../src/dashboard/components/Dashboard.jsx | 7 +-
.../src/dashboard/components/DashboardBuilder.jsx | 371 -
.../DashboardBuilder/DashboardBuilder.tsx | 243 +
.../DashboardBuilder/DashboardContainer.tsx | 106 +
.../dashboard/components/DashboardBuilder/utils.ts | 53 +
.../components/FiltersBadge/DetailsPanel.tsx | 100 +-
.../components/FiltersBadge/FilterIndicator.tsx | 51 +
.../dashboard/components/FiltersBadge/Styles.tsx | 21 +-
.../dashboard/components/FiltersBadge/index.tsx | 11 +-
.../dashboard/components/FiltersBadge/selectors.ts | 114 +-
.../src/dashboard/components/SliceHeader.jsx | 179 -
.../src/dashboard/components/SliceHeader.tsx | 184 +
.../dashboard/components/SliceHeaderControls.jsx | 65 +-
.../src/dashboard/components/StickyVerticalBar.tsx | 2 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 4 +-
.../components/gridComponents/Markdown.jsx | 26 +-
.../{ => CascadeFilters}/CascadeFilterControl.tsx | 4 +-
.../{ => CascadeFilters}/CascadePopover.tsx | 4 +-
.../FilterBar/CascadeFilters/types.ts} | 9 +-
.../nativeFilters/FilterBar/FilterBar.tsx | 264 +-
.../{ => FilterControls}/FilterControl.tsx | 0
.../FilterBar/FilterControls/FilterControls.tsx | 76 +
.../FilterBar/{ => FilterControls}/FilterValue.tsx | 4 +-
.../FilterBar/{ => FilterControls}/state.ts | 22 +-
.../FilterBar/{ => FilterControls}/types.ts | 6 +-
.../FilterBar/{ => FilterControls}/utils.ts | 23 +-
.../FilterBar/FilterSets/EditSection.tsx | 176 +
.../FilterBar/FilterSets/FilterSetUnit.tsx | 123 +
.../FilterBar/FilterSets/FilterSets.tsx | 264 +-
.../FilterBar/FilterSets/FiltersHeader.tsx | 75 +-
.../nativeFilters/FilterBar/FilterSets/Footer.tsx | 104 +-
.../nativeFilters/FilterBar/FilterSets/state.ts} | 35 +-
.../nativeFilters/FilterBar/FilterSets/utils.ts | 28 +
.../components/nativeFilters/FilterBar/Header.tsx | 131 +
.../components/nativeFilters/FilterBar/state.ts | 85 +-
.../components/nativeFilters/FilterBar/utils.ts | 22 +-
.../FiltersConfigForm/ControlItems.tsx | 9 +-
.../FiltersConfigForm/DefaultValue.tsx | 4 +-
.../FiltersConfigForm/FilterScope/FilterScope.tsx | 77 +-
.../FiltersConfigForm/FilterScope/ScopingTree.tsx | 35 +-
.../FiltersConfigForm/FilterScope/state.ts | 11 +-
.../FiltersConfigForm/FilterScope/utils.ts | 10 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 19 +-
.../FiltersConfigModal/FiltersConfigForm/state.ts | 6 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 2 +-
.../dashboard/components/nativeFilters/state.ts | 2 +-
.../dashboard/components/nativeFilters/types.ts | 6 +-
.../dashboard/components/nativeFilters/utils.ts | 15 +-
.../src/dashboard/containers/Chart.jsx | 5 +-
.../src/dashboard/containers/Dashboard.jsx | 8 +-
.../src/dashboard/containers/DashboardBuilder.jsx | 57 -
.../dashboard/containers/DashboardComponent.jsx | 7 +
.../src/dashboard/containers/FiltersBadge.tsx | 10 +-
.../src/dashboard/reducers/getInitialState.js | 12 +-
.../src/dashboard/reducers/nativeFilters.ts | 4 +-
superset-frontend/src/dashboard/reducers/types.ts | 25 +-
superset-frontend/src/dashboard/types.ts | 9 +-
...tiveFilters.ts => activeAllDashboardFilters.ts} | 45 +-
.../util/charts/getFormDataWithExtraFilters.ts | 13 +-
.../dashboard/util/getFilterScopeFromNodesTree.js | 39 +-
superset-frontend/src/dataMask/actions.ts | 24 +-
superset-frontend/src/dataMask/reducer.ts | 27 +-
.../src/datasource/DatasourceEditor.jsx | 37 +-
.../src/datasource/DatasourceModal.tsx | 20 +-
.../src/explore/components/Control.tsx | 13 +-
.../src/explore/components/DisplayQueryButton.jsx | 12 +-
.../src/explore/components/OptionControls.tsx | 2 +-
.../components/controls/AnnotationLayer.jsx | 9 +-
.../components/controls/DatasourceControl.jsx | 14 +
.../controls/DateFilterControl/DateFilterLabel.tsx | 28 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 1 -
.../DndColumnSelectControl/DndFilterSelect.tsx | 18 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 295 +
.../DndColumnSelectControl/DndSelectLabel.tsx | 15 +-
.../controls/DndColumnSelectControl/index.ts | 1 +
.../controls/DndColumnSelectControl/types.ts | 13 +-
.../controls/FilterControl/AdhocFilterControl.jsx | 2 +-
.../FilterControl/AdhocFilterEditPopover.jsx | 2 +-
.../AdhocFilterEditPopoverSimpleTabContent.jsx | 2 +-
.../AdhocFilterEditPopoverSqlTabContent.jsx | 2 +-
.../controls/FilterControl/AdhocFilterOption.jsx | 2 +-
.../controls/FilterControl}/columnType.js | 0
.../MetricControl/AdhocMetricEditPopover.jsx | 2 +-
.../controls/MetricControl/AdhocMetricOption.jsx | 2 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 41 +-
.../MetricControl}/AggregateOption.jsx | 2 +-
.../MetricControl/FilterDefinitionOption.jsx | 2 +-
.../MetricControl/MetricDefinitionOption.jsx | 6 +-
.../MetricControl/MetricDefinitionValue.jsx | 20 +-
.../controls/MetricControl/MetricsControl.jsx | 2 +-
.../controls/MetricControl/adhocMetricType.js | 2 +-
.../controls/MetricControl}/aggregateOptionType.js | 0
.../controls/MetricControl}/columnType.js | 0
.../components/controls/MetricControl/types.ts | 2 +-
.../src/explore/components/controls/index.js | 4 +
.../components/controls/withAsyncVerification.tsx | 6 +-
.../src/explore/controlUtils/getControlConfig.ts | 28 +-
.../controlUtils/{index.js => getControlState.ts} | 86 +-
.../index.ts | 7 +-
superset-frontend/src/explore/exploreUtils.js | 13 +-
.../src/explore/reducers/getInitialState.ts | 12 +-
superset-frontend/src/featureFlags.ts | 41 +-
.../src/filters/components/Range/controlPanel.ts | 30 +-
.../components/Select/SelectFilterPlugin.tsx | 60 +-
.../src/filters/components/Select/buildQuery.ts | 41 +-
.../src/filters/components/Select/controlPanel.ts | 19 +-
.../filters/components/Select/transformProps.ts | 17 +-
.../src/filters/components/Select/types.ts | 18 +-
superset-frontend/src/filters/utils.ts | 53 +-
.../src/profile/components/Security.tsx | 2 +-
superset-frontend/src/reduxUtils.ts | 5 +-
superset-frontend/src/setup/setupApp.ts | 12 +-
superset-frontend/src/setup/setupErrorMessages.ts | 12 +
superset-frontend/src/utils/common.js | 2 +
.../src/views/CRUD/alert/AlertReportModal.tsx | 19 +-
.../src/views/CRUD/data/database/DatabaseModal.tsx | 47 +-
.../CRUD/data/database/state.ts} | 10 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 50 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 20 +-
superset-frontend/src/views/CRUD/hooks.ts | 62 +-
superset-frontend/src/views/CRUD/types.ts | 10 +
superset-frontend/src/views/CRUD/utils.tsx | 4 +-
.../controls/MetricControl => views}/types.ts | 14 +-
superset-frontend/stylesheets/superset.less | 8 -
superset/app.py | 7 +-
superset/cli.py | 17 +-
superset/common/query_actions.py | 14 +-
superset/common/query_context.py | 5 +-
superset/common/query_object.py | 31 +-
superset/config.py | 18 +-
superset/connectors/base/models.py | 28 +-
superset/connectors/druid/models.py | 4 +-
superset/connectors/sqla/models.py | 300 +-
superset/connectors/sqla/views.py | 10 +-
superset/constants.py | 1 +
superset/dashboards/api.py | 55 +
superset/dashboards/dao.py | 24 +
superset/dashboards/schemas.py | 51 +-
superset/databases/api.py | 3 +
superset/databases/commands/exceptions.py | 5 +
superset/databases/commands/test_connection.py | 55 +-
superset/databases/commands/update.py | 2 +-
superset/datasets/api.py | 2 +-
.../datasets/columns}/__init__.py | 0
superset/datasets/columns/api.py | 104 +
.../datasets/columns/commands}/__init__.py | 0
superset/datasets/columns/commands/delete.py | 65 +
.../columns/commands/exceptions.py} | 28 +-
superset/datasets/dao.py | 141 +-
.../datasets/metrics}/__init__.py | 0
superset/datasets/metrics/api.py | 104 +
.../datasets/metrics/commands}/__init__.py | 0
superset/datasets/metrics/commands/delete.py | 65 +
.../metrics/commands/exceptions.py} | 28 +-
superset/db_engine_specs/base.py | 197 +-
superset/db_engine_specs/crate.py | 62 +
.../databricks.py} | 32 +-
superset/db_engine_specs/mssql.py | 13 +-
superset/db_engine_specs/mysql.py | 68 +-
superset/db_engine_specs/pinot.py | 3 +-
superset/db_engine_specs/postgres.py | 56 +-
superset/db_engine_specs/presto.py | 138 +-
superset/db_engine_specs/sqlite.py | 2 +-
superset/errors.py | 21 +
superset/examples/__init__.py | 1 +
superset/examples/big_data.py | 70 +
.../configs/charts/Messages_per_Channel.yaml | 2 +-
.../examples/configs/charts/Weekly_Messages.yaml | 2 +-
.../67da9ef1ef9c_add_hide_left_bar_to_tabstate.py | 8 +-
superset/models/core.py | 2 +-
superset/models/dashboard.py | 18 +-
superset/models/sql_types/base.py | 61 +
superset/queries/saved_queries/api.py | 1 +
superset/reports/notifications/slack.py | 7 +-
superset/reports/schemas.py | 8 +-
superset/result_set.py | 7 +-
superset/security/manager.py | 30 +-
superset/sql_parse.py | 14 +-
superset/tasks/slack_util.py | 5 +-
superset/typing.py | 7 +-
superset/utils/core.py | 24 +-
superset/utils/dashboard_jwt_manager.py | 16 +-
superset/utils/data.py | 165 +
superset/utils/date_parser.py | 2 +-
superset/utils/log.py | 5 +-
superset/utils/network.py | 71 +
superset/utils/pandas_postprocessing.py | 3 +-
superset/views/api.py | 6 +-
superset/views/core.py | 41 +-
superset/viz.py | 6 +-
tests/base_tests.py | 7 +-
tests/charts/api_tests.py | 50 +-
tests/core_tests.py | 56 +-
tests/dashboards/api_tests.py | 26 +
tests/databases/api_tests.py | 88 +
tests/datasets/api_tests.py | 221 +
tests/db_engine_specs/base_tests.py | 4 -
tests/db_engine_specs/crate_tests.py | 53 +
tests/db_engine_specs/mssql_tests.py | 31 +-
tests/db_engine_specs/mysql_tests.py | 15 +-
tests/db_engine_specs/postgres_tests.py | 7 +-
tests/db_engine_specs/presto_tests.py | 57 +-
tests/fixtures/birth_names_dashboard.py | 2 +-
tests/fixtures/query_context.py | 6 +-
tests/model_tests.py | 2 +-
tests/query_context_tests.py | 11 +-
tests/reports/api_tests.py | 55 +-
tests/reports/commands_tests.py | 28 +-
tests/security_tests.py | 15 +-
tests/sql_parse_tests.py | 7 +
tests/sqla_models_tests.py | 4 +-
318 files changed, 17206 insertions(+), 60722 deletions(-)
create mode 100644 .github/workflows/check_db_migration_confict.yml
create mode 100644 RESOURCES/FEATURE_FLAGS.md
rename INTHEWILD.md => RESOURCES/INTHEWILD.md (100%)
create mode 100644 docs/src/pages/docs/Connecting to Databases/crate.mdx
delete mode 100644 helm/superset/requirements.yaml
rename
superset-frontend/cypress-base/cypress/integration/explore/visualizations/{histogram.test.js
=> histogram.test.ts} (94%)
create mode 100644 superset-frontend/images/icons/cross-filter-badge.svg
delete mode 100644
superset-frontend/spec/javascripts/components/PopoverSection_spec.jsx
delete mode 100644
superset-frontend/spec/javascripts/components/SupersetResourceSelect_spec.tsx
rename superset-frontend/spec/javascripts/explore/{controlUtils_spec.jsx =>
controlUtils_spec.tsx} (77%)
rename superset-frontend/spec/javascripts/explore/{fixtures.jsx =>
fixtures.tsx} (86%)
create mode 100644
superset-frontend/spec/javascripts/sqllab/TemplateParamsEditor_spec.tsx
rename superset-frontend/src/SqlLab/components/{ShareSqlLabQuery.jsx =>
ShareSqlLabQuery.tsx} (64%)
rename superset-frontend/src/SqlLab/components/{TemplateParamsEditor.jsx =>
TemplateParamsEditor.tsx} (74%)
copy superset-frontend/src/{explore/components/AggregateOption.jsx =>
common/components/CronPicker/CronPicker.test.tsx} (59%)
rename superset-frontend/src/common/components/{ => CronPicker}/CronPicker.tsx
(94%)
copy superset-frontend/src/{explore/components/controls/MetricControl/types.ts
=> common/components/CronPicker/index.ts} (88%)
copy superset-frontend/src/{explore/components/controls/MetricControl/types.ts
=> common/hooks/useChangeEffect/index.ts} (88%)
create mode 100644
superset-frontend/src/common/hooks/useChangeEffect/useChangeEffect.test.ts
rename superset-frontend/src/common/hooks/{ =>
useChangeEffect}/useChangeEffect.ts (96%)
copy superset-frontend/src/{explore/components/controls/MetricControl/types.ts
=> common/hooks/usePrevious/index.ts} (88%)
create mode 100644
superset-frontend/src/common/hooks/usePrevious/usePrevious.test.ts
rename superset-frontend/src/common/hooks/{ => usePrevious}/usePrevious.ts
(100%)
copy
superset-frontend/{spec/javascripts/explore/components/AggregateOption_spec.jsx
=> src/components/AlteredSliceTag/AlteredSliceTag.stories.tsx} (65%)
rename superset-frontend/{spec/javascripts/components/AlteredSliceTag_spec.jsx
=> src/components/AlteredSliceTag/AlteredSliceTag.test.jsx} (99%)
rename
superset-frontend/{spec/javascripts/components/fixtures/AlteredSliceTag.js =>
src/components/AlteredSliceTag/AlteredSliceTagMocks.js} (100%)
rename superset-frontend/src/components/{AlteredSliceTag.jsx =>
AlteredSliceTag/index.jsx} (98%)
copy superset-frontend/src/{explore/components/AggregateOption.jsx =>
components/AsyncEsmComponent/AsyncEsmComponent.stories.tsx} (54%)
create mode 100644
superset-frontend/src/components/AsyncEsmComponent/AsyncEsmComponent.test.tsx
rename superset-frontend/src/components/{AsyncEsmComponent.tsx =>
AsyncEsmComponent/index.tsx} (99%)
create mode 100644 superset-frontend/src/components/Badge/Badge.stories.tsx
copy
superset-frontend/{spec/javascripts/explore/components/AggregateOption_spec.jsx
=> src/components/Badge/Badge.test.tsx} (52%)
rename superset-frontend/src/{common/components/Badge.tsx =>
components/Badge/index.tsx} (93%)
delete mode 100644 superset-frontend/src/components/PopoverSection.jsx
copy superset-frontend/src/{explore/components/AggregateOption.jsx =>
components/PopoverSection/PopoverSection.stories.tsx} (57%)
create mode 100644
superset-frontend/src/components/PopoverSection/PopoverSection.test.tsx
create mode 100644 superset-frontend/src/components/PopoverSection/index.tsx
create mode 100644
superset-frontend/src/components/SupersetResourceSelect/SupersetResourceSelect.test.tsx
rename superset-frontend/src/components/{SupersetResourceSelect.tsx =>
SupersetResourceSelect/index.tsx} (100%)
copy superset-frontend/src/components/{CertifiedIconWithTooltip.tsx =>
WarningIconWithTooltip.tsx} (66%)
create mode 100644
superset-frontend/src/components/dataViewCommon/TableCollection.test.tsx
create mode 100644 superset-frontend/src/dashboard/actions/dashboardInfo.ts
create mode 100644
superset-frontend/src/dashboard/components/CrossFilterScopingModal/CrossFilterScopingForm.tsx
create mode 100644
superset-frontend/src/dashboard/components/CrossFilterScopingModal/CrossFilterScopingModal.tsx
copy superset-frontend/src/{explore/components/controls/MetricControl =>
dashboard/components/CrossFilterScopingModal}/types.ts (88%)
rename superset-frontend/src/dashboard/{actions/dashboardInfo.js =>
components/CrossFilterScopingModal/utils.ts} (77%)
delete mode 100644
superset-frontend/src/dashboard/components/DashboardBuilder.jsx
create mode 100644
superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
create mode 100644
superset-frontend/src/dashboard/components/DashboardBuilder/DashboardContainer.tsx
create mode 100644
superset-frontend/src/dashboard/components/DashboardBuilder/utils.ts
create mode 100644
superset-frontend/src/dashboard/components/FiltersBadge/FilterIndicator.tsx
delete mode 100644 superset-frontend/src/dashboard/components/SliceHeader.jsx
create mode 100644 superset-frontend/src/dashboard/components/SliceHeader.tsx
rename superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
CascadeFilters}/CascadeFilterControl.tsx (95%)
rename superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
CascadeFilters}/CascadePopover.tsx (98%)
copy superset-frontend/src/{explore/propTypes/aggregateOptionType.js =>
dashboard/components/nativeFilters/FilterBar/CascadeFilters/types.ts} (86%)
rename superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
FilterControls}/FilterControl.tsx (100%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControls.tsx
rename superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
FilterControls}/FilterValue.tsx (97%)
copy superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
FilterControls}/state.ts (71%)
rename superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
FilterControls}/types.ts (89%)
copy superset-frontend/src/dashboard/components/nativeFilters/FilterBar/{ =>
FilterControls}/utils.ts (72%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/EditSection.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/FilterSetUnit.tsx
copy superset-frontend/src/{explore/components/AggregateOption.jsx =>
dashboard/components/nativeFilters/FilterBar/FilterSets/state.ts} (58%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/Header.tsx
delete mode 100644
superset-frontend/src/dashboard/containers/DashboardBuilder.jsx
rename superset-frontend/src/dashboard/util/{activeDashboardNativeFilters.ts
=> activeAllDashboardFilters.ts} (77%)
create mode 100644
superset-frontend/src/explore/components/controls/DndColumnSelectControl/DndMetricSelect.tsx
copy superset-frontend/src/explore/{propTypes =>
components/controls/FilterControl}/columnType.js (100%)
rename superset-frontend/src/explore/components/{ =>
controls/MetricControl}/AggregateOption.jsx (95%)
copy superset-frontend/src/explore/{propTypes =>
components/controls/MetricControl}/aggregateOptionType.js (100%)
rename superset-frontend/src/explore/{propTypes =>
components/controls/MetricControl}/columnType.js (100%)
rename superset-frontend/src/explore/controlUtils/{index.js =>
getControlState.ts} (61%)
copy superset-frontend/src/explore/{components/controls/DndColumnSelectControl
=> controlUtils}/index.ts (84%)
rename superset-frontend/src/{explore/propTypes/aggregateOptionType.js =>
views/CRUD/data/database/state.ts} (81%)
copy superset-frontend/src/{explore/components/controls/MetricControl =>
views}/types.ts (82%)
copy {tests/tasks => superset/datasets/columns}/__init__.py (100%)
create mode 100644 superset/datasets/columns/api.py
copy {tests/tasks => superset/datasets/columns/commands}/__init__.py (100%)
create mode 100644 superset/datasets/columns/commands/delete.py
copy
superset/{migrations/versions/67da9ef1ef9c_add_hide_left_bar_to_tabstate.py =>
datasets/columns/commands/exceptions.py} (56%)
copy {tests/tasks => superset/datasets/metrics}/__init__.py (100%)
create mode 100644 superset/datasets/metrics/api.py
copy {tests/tasks => superset/datasets/metrics/commands}/__init__.py (100%)
create mode 100644 superset/datasets/metrics/commands/delete.py
copy
superset/{migrations/versions/67da9ef1ef9c_add_hide_left_bar_to_tabstate.py =>
datasets/metrics/commands/exceptions.py} (56%)
create mode 100644 superset/db_engine_specs/crate.py
copy
superset/{migrations/versions/67da9ef1ef9c_add_hide_left_bar_to_tabstate.py =>
db_engine_specs/databricks.py} (54%)
create mode 100644 superset/examples/big_data.py
create mode 100644 superset/models/sql_types/base.py
create mode 100644 superset/utils/data.py
create mode 100644 superset/utils/network.py
create mode 100644 tests/db_engine_specs/crate_tests.py