This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch chore/color-scheme-updates
in repository https://gitbox.apache.org/repos/asf/superset.git
from 6df1dc51a6 Nit
add 7275805e95 chore: updating python docker image to 3.8.13 (#20550)
add 7f70de30fb one action, one file (#20554)
add 2389871556 feat: add extension point to the top of welcome page
(#20575)
add 8a57a71bed fix(sql lab): Save Dataset Modal Autocomplete should
display list when overwritting (#20512)
add c0a00fd302 feat(deck.gl): add color range for deck.gl 3D (#19520)
add 309327dcbd feat: drop missing columns control (#20586)
add 59491f5396 chore: rename drop missing columns to show empty columns
(#20602)
add 4137fe03a0 fix(schedule-query): getUISchema function called in
SchemaForm component (#20256)
add 9da7c1f7b8 feat: hack db connection modal ctabtns (#20017)
add 92bf1b8ef6 fix: welcome page user authentication check (#20605)
add ad308fbde2 chore(rls): Remove passing global username (#20344)
add 94b3d2f0f0 refactor: Deprecate ensure_user_is_set in favor of
override_user (#20502)
add 1a806687fc feat(HelmChart): Configurable securityContext in Pods
(#20509)
add 662bab1e6d feat: Renders Explore in SPA (#20572)
add 818962cc89 fix(embedded): Retry when executing alert queries to avoid
sending transient errors to users as alert failure notifications (#20419)
add f38dd1d42d feat: add hooks on set_perm for new data permissions
(#20600)
add 183871b002 chore: bump FAB to 4.1.3 (#20621)
add b39a3d8f78 docs: fix link for Apache Superset source code (#20620)
add f9109583ce fix: Allow dataset owners to explore their datasets (#20382)
add db088e9e2f chore: rename "uiOverrideRegistry" -> "extensionsRegistry"
(#20628)
add c992ff3be4 fix(import): Show the error message with db install guide
when exist the importing db issue (#20573)
add 414cc99ca2 fix: datetime.data in series (#20618)
add ac01a1b02f chore: Set table viz default row limit to 1000 (#20475)
add 7e504ff680 feat: truncate long values in table viz, a per-column
setting (#19383)
add d16f274991 feat(database): Add user_id and dttm composite index to Log
model. (#19532)
add 34e1336bca fix: controls validator glitch (#20623)
add de4f7db57e feat(dashboard): Transition to Explore with React Router
(#20606)
add 7626c31372 feat: TreeMap migration (#20346)
add 3b4924f0b0 docs: small fixes for OAuth (#20640)
add 4bfa622d02 fix: migration revisions from #19532 (#20641)
add 962252030b fix: Add database search in available charts on dashboard.
(#19244)
add e7b965a3b2 fix: Bad date type in email text report for table chart
(#20119)
add f0ca158989 fix: Refactor ownership checks and ensure consistency
(#20499)
add c91c5643c4 chore(deps): bump parse-url from 6.0.0 to 6.0.2 in
/superset-frontend (#20614)
add 30c1631350 chore(deps): bump got in /superset-frontend/cypress-base
(#20469)
add ae8c9319a6 chore(deps): bump moment from 2.29.2 to 2.29.4 in /docs
(#20643)
add 6132d78efb docs: add WikiMedia Foundation to users list (#20578)
add 1109fe5fb7 chore: Split Select component into Async and Sync
components (#20466)
add e33164024a Database Modal: (#20637)
add c39b738fa8 Merge branch 'master' of https://github.com/apache/superset
into chore/color-scheme-updates
add 2eb74fa3cf Clean up
No new revisions were added by this update.
Summary of changes:
.github/workflows/license-check.yml | 51 +++
.../workflows/{misc.yml => prefer-typescript.yml} | 45 +--
.pylintrc | 2 +-
Dockerfile | 4 +-
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 1 +
docs/docs/installation/alerts-reports.mdx | 145 +++++----
docs/docs/installation/configuring-superset.mdx | 4 +
docs/docs/installation/running-on-kubernetes.mdx | 2 +-
docs/docs/intro.mdx | 2 +-
docs/yarn.lock | 6 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-beat.yaml | 3 +
helm/superset/templates/deployment-worker.yaml | 3 +
helm/superset/templates/deployment.yaml | 3 +
helm/superset/templates/init-job.yaml | 3 +
helm/superset/values.schema.json | 12 +
helm/superset/values.yaml | 4 +
requirements/base.txt | 2 +-
setup.py | 2 +-
.../integration/explore/advanced_analytics.test.ts | 2 +-
.../cypress-base/cypress/support/index.ts | 4 +-
superset-frontend/cypress-base/package-lock.json | 12 +-
superset-frontend/package-lock.json | 44 ++-
.../src/operators/pivotOperator.ts | 2 +-
.../src/operators/timeComparePivotOperator.ts | 2 +-
.../src/sections/echartsTimeSeriesQuery.tsx | 1 +
.../components/ColumnConfigControl/constants.tsx | 11 +
.../src/shared-controls/index.tsx | 8 +
.../test/operators/pivotOperator.test.ts | 1 +
.../operators/timeComparePivotOperator.test.ts | 1 +
...UiOverrideRegistry.ts => ExtensionsRegistry.ts} | 30 +-
.../superset-ui-core/src/ui-overrides/index.tsx | 2 +-
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
...Registry.test.ts => ExtensionsRegistry.test.ts} | 6 +-
.../src/layers/Grid/Grid.jsx | 14 +-
.../src/layers/Grid/controlPanel.ts | 6 +-
.../src/layers/Hex/Hex.jsx | 14 +-
.../src/layers/Hex/controlPanel.ts | 2 +-
.../test/MixedTimeseries/buildQuery.test.ts | 2 +
.../plugins/plugin-chart-table/src/Styles.tsx | 11 +
.../plugins/plugin-chart-table/src/TableChart.tsx | 29 +-
.../plugin-chart-table/src/controlPanel.tsx | 1 +
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 2 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 121 ++++---
.../components/ScheduleQueryButton/index.tsx | 2 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 26 +-
.../src/addSlice/AddSliceContainer.test.tsx | 6 +-
.../src/addSlice/AddSliceContainer.tsx | 6 +-
.../src/components/DatabaseSelector/index.tsx | 6 +-
.../src/components/Datasource/DatasourceEditor.jsx | 4 +-
.../src/components/EditableTitle/index.tsx | 4 +-
.../src/components/ImportModal/ErrorAlert.tsx | 2 +-
.../{Select.test.tsx => AsyncSelect.test.tsx} | 305 +++++-------------
.../Select/{Select.tsx => AsyncSelect.tsx} | 18 +-
.../src/components/Select/Select.stories.tsx | 24 +-
.../src/components/Select/Select.test.tsx | 351 ++-------------------
superset-frontend/src/components/Select/Select.tsx | 6 +-
.../src/components/TableSelector/index.tsx | 9 +-
superset-frontend/src/components/index.ts | 1 +
superset-frontend/src/constants.ts | 4 +
.../src/dashboard/actions/sliceEntities.js | 214 ++++++++-----
.../src/dashboard/actions/sliceEntities.test.js | 102 ++++++
.../components/DashboardEmbedControls.tsx | 8 +-
.../dashboard/components/PropertiesModal/index.tsx | 11 +-
.../src/dashboard/components/SliceAdder.jsx | 26 +-
.../src/dashboard/components/SliceAdder.test.jsx | 1 +
.../components/SliceHeader/SliceHeader.test.tsx | 36 ++-
.../src/dashboard/components/SliceHeader/index.tsx | 18 +-
.../SliceHeaderControls.test.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 16 +-
.../dashboard/components/gridComponents/Chart.jsx | 26 +-
.../components/gridComponents/Chart.test.jsx | 9 +-
.../components/gridComponents/ChartHolder.test.tsx | 24 +-
.../components/gridComponents/Column.test.jsx | 9 +-
.../components/gridComponents/Row.test.jsx | 9 +-
.../FiltersConfigForm/DatasetSelect.tsx | 4 +-
.../src/dashboard/containers/SliceAdder.jsx | 8 +-
.../util/filterboxMigrationHelper.test.ts | 4 +-
.../dashboard/util/getSliceHeaderTooltip.tsx} | 39 ++-
superset-frontend/src/explore/App.jsx | 52 ---
superset-frontend/src/explore/ExplorePage.tsx | 4 +-
.../src/explore/actions/hydrateExplore.ts | 11 +-
.../src/explore/actions/saveModalActions.js | 5 +-
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 2 +-
.../ExploreViewContainer.test.tsx | 2 +-
.../components/ExploreViewContainer/index.jsx | 1 +
.../explore/components/PropertiesModal/index.tsx | 4 +-
.../DatasourceControl/DatasourceControl.test.tsx | 4 +-
.../explore/controlUtils/standardizedFormData.ts | 18 +-
.../src/explore/exploreUtils/exploreUtils.test.jsx | 4 +-
.../src/explore/exploreUtils/getExploreUrl.test.ts | 2 +-
.../exploreUtils/getParsedExploreURLParams.test.ts | 2 +-
.../explore/exploreUtils/getURIDirectory.test.ts | 4 +-
.../src/explore/exploreUtils/index.js | 2 +-
superset-frontend/src/explore/index.jsx | 50 ---
superset-frontend/src/explore/reducers/index.js | 57 ----
.../components/Select/SelectFilterPlugin.tsx | 5 +-
superset-frontend/src/preamble.ts | 5 +
superset-frontend/src/utils/getDatasourceUid.ts | 2 +-
superset-frontend/src/utils/localStorageHelpers.ts | 2 +
superset-frontend/src/views/App.tsx | 4 +-
.../src/views/CRUD/alert/AlertReportModal.test.jsx | 14 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 12 +-
.../src/views/CRUD/chart/ChartCard.tsx | 5 +-
.../src/views/CRUD/chart/ChartList.test.jsx | 2 +-
.../src/views/CRUD/chart/ChartList.tsx | 5 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 7 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 4 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 82 ++++-
.../CRUD/data/database/DatabaseModal/styles.ts | 4 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 14 +
.../src/views/CRUD/data/dataset/DatasetList.tsx | 7 +
superset-frontend/src/views/CRUD/hooks.ts | 4 +-
.../src/views/CRUD/welcome/ActivityTable.tsx | 27 +-
.../src/views/CRUD/welcome/Welcome.test.tsx | 23 ++
.../src/views/CRUD/welcome/Welcome.tsx | 7 +-
.../src/views/components/Menu.test.tsx | 6 +-
.../src/views/components/RightMenu.tsx | 6 +-
superset-frontend/src/views/routes.tsx | 11 +
superset-frontend/src/views/store.ts | 60 +++-
superset-frontend/webpack.config.js | 1 -
superset/annotation_layers/annotations/api.py | 10 +-
.../annotations/commands/bulk_delete.py | 5 +-
.../annotations/commands/create.py | 4 +-
.../annotations/commands/delete.py | 4 +-
.../annotations/commands/update.py | 4 +-
superset/annotation_layers/api.py | 10 +-
superset/annotation_layers/commands/bulk_delete.py | 5 +-
superset/annotation_layers/commands/create.py | 4 +-
superset/annotation_layers/commands/delete.py | 4 +-
superset/annotation_layers/commands/update.py | 4 +-
superset/charts/api.py | 10 +-
superset/charts/commands/bulk_delete.py | 8 +-
superset/charts/commands/create.py | 9 +-
superset/charts/commands/delete.py | 8 +-
superset/charts/commands/update.py | 13 +-
superset/charts/filters.py | 17 +-
superset/commands/base.py | 14 +-
superset/commands/utils.py | 17 +-
superset/common/query_context_processor.py | 10 +-
superset/common/request_contexed_based.py | 25 --
superset/common/utils/dataframe_utils.py | 15 +-
superset/config.py | 7 +
superset/connectors/base/models.py | 2 +-
superset/connectors/sqla/models.py | 5 +-
superset/connectors/sqla/utils.py | 2 +-
superset/connectors/sqla/views.py | 18 +-
superset/css_templates/api.py | 4 +-
superset/css_templates/commands/bulk_delete.py | 5 +-
superset/dashboards/api.py | 11 +-
superset/dashboards/commands/bulk_delete.py | 8 +-
superset/dashboards/commands/create.py | 6 +-
superset/dashboards/commands/delete.py | 8 +-
superset/dashboards/commands/update.py | 10 +-
superset/dashboards/filter_sets/api.py | 8 +-
superset/dashboards/filter_sets/commands/base.py | 17 +-
superset/dashboards/filter_sets/commands/create.py | 11 +-
superset/dashboards/filter_sets/commands/delete.py | 5 +-
superset/dashboards/filter_sets/commands/update.py | 7 +-
superset/dashboards/filter_sets/filters.py | 12 +-
.../dashboards/filter_state/commands/create.py | 6 +-
.../dashboards/filter_state/commands/delete.py | 5 +-
.../dashboards/filter_state/commands/update.py | 6 +-
superset/dashboards/filters.py | 4 +-
superset/dashboards/permalink/api.py | 5 +-
superset/dashboards/permalink/commands/create.py | 4 -
superset/dashboards/permalink/commands/get.py | 4 +-
superset/databases/api.py | 12 +-
superset/databases/commands/create.py | 6 +-
superset/databases/commands/delete.py | 4 +-
superset/databases/commands/test_connection.py | 79 ++---
superset/databases/commands/update.py | 4 +-
superset/databases/commands/validate.py | 36 +--
superset/datasets/api.py | 18 +-
superset/datasets/columns/api.py | 4 +-
superset/datasets/columns/commands/delete.py | 8 +-
superset/datasets/commands/bulk_delete.py | 11 +-
superset/datasets/commands/create.py | 6 +-
superset/datasets/commands/delete.py | 10 +-
superset/datasets/commands/refresh.py | 8 +-
superset/datasets/commands/samples.py | 9 +-
superset/datasets/commands/update.py | 9 +-
superset/datasets/dao.py | 9 -
superset/datasets/metrics/api.py | 4 +-
superset/datasets/metrics/commands/delete.py | 8 +-
superset/explore/commands/get.py | 7 +-
superset/explore/form_data/api.py | 8 +-
superset/explore/form_data/commands/create.py | 9 +-
superset/explore/form_data/commands/delete.py | 8 +-
superset/explore/form_data/commands/get.py | 2 -
superset/explore/form_data/commands/parameters.py | 3 -
superset/explore/form_data/commands/update.py | 9 +-
superset/explore/form_data/commands/utils.py | 5 +-
superset/explore/permalink/api.py | 6 +-
superset/explore/permalink/commands/create.py | 9 +-
superset/explore/permalink/commands/get.py | 6 +-
superset/explore/utils.py | 13 +-
superset/initialization/__init__.py | 3 +
superset/key_value/commands/create.py | 11 +-
superset/key_value/commands/update.py | 11 +-
superset/key_value/commands/upsert.py | 12 +-
superset/key_value/utils.py | 7 +-
...bea_add_advanced_data_types_to_column_models.py | 4 +-
..._22-04_c747c78868b6_migrating_legacy_treemap.py | 102 ++++++
...f3d64daf4_add_user_id_dttm_idx_to_log_model.py} | 17 +-
superset/models/dashboard.py | 13 +-
superset/models/slice.py | 7 +-
superset/queries/saved_queries/api.py | 2 +-
.../queries/saved_queries/commands/bulk_delete.py | 5 +-
superset/reports/api.py | 10 +-
superset/reports/commands/alert.py | 9 +-
superset/reports/commands/bulk_delete.py | 9 +-
superset/reports/commands/create.py | 9 +-
superset/reports/commands/delete.py | 8 +-
superset/reports/commands/update.py | 10 +-
superset/reports/dao.py | 5 +-
superset/security/manager.py | 154 +++++++--
superset/sql_lab.py | 1 -
superset/sql_parse.py | 6 +-
superset/tasks/async_queries.py | 170 +++++-----
superset/temporary_cache/api.py | 11 +-
superset/temporary_cache/commands/parameters.py | 3 -
superset/utils/core.py | 18 +-
superset/utils/csv.py | 18 +-
superset/utils/migrate_viz.py | 122 +++++++
superset/views/access_requests.py | 7 +-
superset/views/annotations.py | 7 +-
superset/views/base.py | 53 ----
superset/views/chart/views.py | 12 +-
superset/views/core.py | 33 +-
superset/views/css_templates.py | 7 +-
superset/views/dashboard/mixin.py | 6 +-
superset/views/dashboard/views.py | 6 +-
superset/views/datasource/views.py | 11 +-
superset/views/{alerts.py => explore.py} | 42 +--
superset/views/log/views.py | 5 +-
superset/views/sql_lab.py | 7 +-
superset/views/utils.py | 5 -
tests/integration_tests/access_tests.py | 24 +-
tests/integration_tests/base_tests.py | 5 +-
tests/integration_tests/charts/commands_tests.py | 38 +--
tests/integration_tests/core_tests.py | 2 +-
.../integration_tests/databases/commands_tests.py | 63 ++--
.../explore/form_data/commands_tests.py | 17 +-
.../explore/permalink/commands_tests.py | 8 +-
.../key_value/commands/create_test.py | 19 +-
.../key_value/commands/update_test.py | 37 +--
.../key_value/commands/upsert_test.py | 37 +--
tests/integration_tests/reports/alert_tests.py | 119 +++++++
tests/integration_tests/reports/commands_tests.py | 58 +++-
tests/integration_tests/security_tests.py | 67 +++-
tests/integration_tests/superset_test_config.py | 2 +
.../integration_tests/tasks/async_queries_tests.py | 84 +----
tests/unit_tests/common/test_dataframe_utils.py | 50 +++
tests/unit_tests/conftest.py | 5 +-
tests/unit_tests/explore/utils_test.py | 164 +++++-----
tests/unit_tests/sql_parse_tests.py | 1 -
.../utils/viz_migration/treemap_migration_test.py | 93 ++++++
259 files changed, 2734 insertions(+), 2336 deletions(-)
create mode 100644 .github/workflows/license-check.yml
rename .github/workflows/{misc.yml => prefer-typescript.yml} (55%)
rename
superset-frontend/packages/superset-ui-core/src/ui-overrides/{UiOverrideRegistry.ts
=> ExtensionsRegistry.ts} (51%)
rename
superset-frontend/packages/superset-ui-core/test/ui-overrides/{UiOverrideRegistry.test.ts
=> ExtensionsRegistry.test.ts} (81%)
copy superset-frontend/src/components/Select/{Select.test.tsx =>
AsyncSelect.test.tsx} (67%)
copy superset-frontend/src/components/Select/{Select.tsx => AsyncSelect.tsx}
(98%)
create mode 100644
superset-frontend/src/dashboard/actions/sliceEntities.test.js
copy
superset-frontend/{packages/superset-ui-chart-controls/src/shared-controls/emitFilterControl.tsx
=> src/dashboard/util/getSliceHeaderTooltip.tsx} (56%)
delete mode 100644 superset-frontend/src/explore/App.jsx
delete mode 100644 superset-frontend/src/explore/index.jsx
delete mode 100644 superset-frontend/src/explore/reducers/index.js
delete mode 100644 superset/common/request_contexed_based.py
create mode 100644
superset/migrations/versions/2022-06-30_22-04_c747c78868b6_migrating_legacy_treemap.py
copy
superset/migrations/versions/{2019-07-11_19-02_def97f26fdfb_add_index_to_tagged_object.py
=> 2022-07-07_00-00_cdcf3d64daf4_add_user_id_dttm_idx_to_log_model.py} (72%)
create mode 100644 superset/utils/migrate_viz.py
copy superset/views/{alerts.py => explore.py} (60%)
create mode 100644 tests/integration_tests/reports/alert_tests.py
create mode 100644 tests/unit_tests/common/test_dataframe_utils.py
create mode 100644
tests/unit_tests/utils/viz_migration/treemap_migration_test.py