This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a change to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
from abead484e1 fix: Migration to fix out of sync schema_perm in charts and
datasets (#24884)
new ed56375d5f fix(logs): increase json field for logs table (#24911)
new 42451880a8 fix(explore): double resize triggered (#24886)
new df92cc2d55 fix: Tooltip of area chart shows undefined total (#24916)
new 804cc36080 chore: Refactor dashboard security access (#24804)
new dba72c4197 chore: Refine native dashboard cleanup logic (#24864)
new 309582516d fix: Dashboard aware RBAC "Save as" menu item (#24806)
new 9b3ec806cd chore: Add explicit ON DELETE CASCADE for dashboard_slices
(#24938)
new 1e20c0bf8a chore: Add explicit ON DELETE CASCADE for
embedded_dashboards (#24939)
new 2574e11544 chore: Removes duplicated featureFlags.ts (#24935)
new 181f3fd06e fix: remove unused file (#24946)
The 10 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:
UPDATING.md | 2 +
.../superset-ui-core/src/utils/featureFlags.ts | 10 +-
.../test/utils/featureFlag.test.ts | 52 ++++++---
.../plugins/legacy-preset-chart-nvd3/src/utils.js | 9 +-
superset-frontend/src/SqlLab/App.jsx | 8 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 8 +-
.../src/SqlLab/actions/sqlLab.test.js | 6 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 6 +-
.../SqlLab/components/ShareSqlLabQuery/index.tsx | 9 +-
.../src/SqlLab/components/SouthPane/index.tsx | 3 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 2 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 3 +-
.../components/TableElement/TableElement.test.tsx | 4 +-
superset-frontend/src/components/Chart/Chart.jsx | 2 +-
.../src/components/Chart/chartAction.js | 9 +-
.../src/components/Datasource/DatasourceEditor.jsx | 2 +-
.../Datasource/DatasourceEditor.test.jsx | 6 +-
.../components/Datasource/DatasourceModal.test.jsx | 5 +-
.../src/components/Datasource/DatasourceModal.tsx | 3 +-
.../src/components/DynamicPlugins/index.tsx | 2 +-
.../src/components/ErrorMessage/types.ts | 1 +
.../components/ReportModal/ReportModal.test.tsx | 6 +-
.../src/dashboard/actions/dashboardState.js | 2 +-
.../src/dashboard/actions/dashboardState.test.js | 4 +-
superset-frontend/src/dashboard/actions/hydrate.js | 10 +-
.../src/dashboard/actions/sliceEntities.ts | 2 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 42 ++++----
.../DashboardBuilder/DashboardBuilder.tsx | 2 +-
.../dashboard/components/DashboardBuilder/state.ts | 3 +-
.../HeaderActionsDropdown.test.tsx | 10 +-
.../Header/HeaderActionsDropdown/index.jsx | 10 +-
.../src/dashboard/components/Header/index.jsx | 2 +-
.../PropertiesModal/PropertiesModal.test.tsx | 3 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 +-
.../src/dashboard/components/SaveModal.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 2 +-
.../dashboard/components/gridComponents/Chart.jsx | 14 ++-
.../FilterBar/FilterControls/FilterValue.tsx | 2 +-
.../nativeFilters/FilterBar/Vertical.tsx | 2 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 2 +-
.../components/nativeFilters/utils.test.ts | 8 +-
.../dashboard/components/nativeFilters/utils.ts | 2 +-
.../src/dashboard/util/permissionUtils.test.ts | 93 ++++++++++++++---
.../src/dashboard/util/permissionUtils.ts | 11 ++
superset-frontend/src/dataMask/actions.ts | 2 +-
superset-frontend/src/dataMask/reducer.ts | 2 +-
.../components/DataTablesPane/DataTablesPane.tsx | 9 +-
.../explore/components/DatasourcePanel/index.tsx | 2 +-
.../explore/components/ExploreChartPanel/index.jsx | 2 +-
.../src/explore/components/SaveModal.tsx | 2 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 4 +-
.../index.tsx | 2 +-
.../useExploreAdditionalActionsMenu/index.jsx | 10 +-
superset-frontend/src/featureFlags.ts | 37 -------
.../src/features/alerts/AlertReportModal.tsx | 2 +-
.../src/features/charts/ChartCard.tsx | 3 +-
.../src/features/dashboards/DashboardCard.tsx | 3 +-
superset-frontend/src/features/tags/TagCard.tsx | 3 +-
.../src/middleware/asyncEvent.test.ts | 4 +-
superset-frontend/src/middleware/asyncEvent.ts | 2 +-
.../src/pages/ChartCreation/index.tsx | 2 +-
.../src/pages/ChartList/ChartList.test.jsx | 6 +-
superset-frontend/src/pages/ChartList/index.tsx | 2 +-
.../src/pages/DashboardList/DashboardList.test.jsx | 6 +-
.../src/pages/DashboardList/index.tsx | 9 +-
superset-frontend/src/pages/DatabaseList/index.tsx | 2 +-
.../src/pages/DatasetList/DatasetList.test.tsx | 4 +-
superset-frontend/src/pages/DatasetList/index.tsx | 2 +-
superset-frontend/src/pages/Home/Home.test.tsx | 4 +-
superset-frontend/src/pages/Home/index.tsx | 2 +-
.../pages/SavedQueryList/SavedQueryList.test.jsx | 4 +-
.../src/pages/SavedQueryList/index.tsx | 9 +-
superset-frontend/src/pages/Tags/index.tsx | 3 +-
superset-frontend/src/preamble.ts | 8 +-
superset-frontend/src/utils/hostNamesConfig.js | 2 +-
superset-frontend/src/views/routes.test.tsx | 4 -
superset/cli/native_filters.py | 39 +++----
superset/daos/chart.py | 3 -
superset/daos/dashboard.py | 26 +++--
superset/dashboards/api.py | 6 +-
superset/errors.py | 2 +-
...y => 2023-08-08_14-14_2e826adca42c_log_json.py} | 20 ++--
..._add_on_delete_cascade_for_dashboard_slices.py} | 37 +++----
...n_delete_cascade_for_embedded_dashboards.py.py} | 36 ++-----
superset/models/dashboard.py | 13 ++-
superset/models/embedded_dashboard.py | 6 +-
superset/security/manager.py | 116 +++++++++++----------
.../utils/dashboard_filter_scopes_converter.py | 17 +--
superset/views/core.py | 12 ++-
tests/integration_tests/charts/api_tests.py | 1 -
tests/integration_tests/dashboard_tests.py | 3 -
.../dashboards/security/security_rbac_tests.py | 90 +++++++++++++++-
.../security/guest_token_security_tests.py | 19 ++--
tests/integration_tests/tagging_tests.py | 2 -
94 files changed, 589 insertions(+), 405 deletions(-)
delete mode 100644 superset-frontend/src/featureFlags.ts
copy
superset/migrations/versions/{2018-08-13_11-30_1a1d627ebd8e_position_json.py =>
2023-08-08_14-14_2e826adca42c_log_json.py} (78%)
copy
superset/migrations/versions/{2023-06-22_13-39_6fbe660cac39_add_on_delete_cascade_for_tables_references.py
=>
2023-08-09_14-17_8ace289026f3_add_on_delete_cascade_for_dashboard_slices.py}
(64%)
copy
superset/migrations/versions/{2023-06-22_13-39_6fbe660cac39_add_on_delete_cascade_for_tables_references.py
=>
2023-08-09_15-39_4448fa6deeb1__dd_on_delete_cascade_for_embedded_dashboards.py.py}
(61%)