This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch fix_dos
in repository https://gitbox.apache.org/repos/asf/superset.git
omit ad89b839f5 Add some comments and change values
omit 546230402a Address comments
omit 51e7e1bdc9 chore: rate limit requests
add 764f0f79ca docs: Fixing Superset typo in docker-compose local
installation guide (#24920)
add 284c12697b chore: Removes duplicated featureFlags.ts (#24935)
add 94c595093b chore: Add explicit ON DELETE CASCADE for dashboard_slices
(#24938)
add 55014bf58b chore: Add explicit ON DELETE CASCADE for
embedded_dashboards (#24939)
add bcd24936bc fix: remove unused file (#24946)
add ce65a3b9cd fix(charts): View in SQL Lab with relevant perm (#24903)
add 41ca4a00b9 fix: `to_datetime` in Pandas 2 (#24952)
add aca006f38b fix: timezone issue in Pandas 2 (#24955)
add 6f24a4e7a8 fix: calls to `_get_sqla_engine` (#24953)
add f5ed4072e4 feat(gsheets): file upload (#24921)
new 50dabf3994 chore: rate limit requests
new 0d1bdb0791 Address comments
new e9bba52cb5 Add some comments and change values
new 57f29842aa Disable on tests
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 (ad89b839f5)
\
N -- N -- N refs/heads/fix_dos (57f29842aa)
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.
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:
UPDATING.md | 2 +
_update-notifier-last-checked | 0
.../installing-superset-using-docker-compose.mdx | 4 +-
requirements/development.txt | 2 +-
requirements/testing.in | 2 +-
requirements/testing.txt | 7 +-
.../superset-ui-core/src/utils/featureFlags.ts | 10 +-
.../test/utils/featureFlag.test.ts | 52 +++++--
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 +-
.../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 | 3 +-
.../src/dashboard/actions/sliceEntities.ts | 2 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 42 +++---
.../DashboardBuilder/DashboardBuilder.tsx | 2 +-
.../dashboard/components/DashboardBuilder/state.ts | 3 +-
.../HeaderActionsDropdown.test.tsx | 6 +-
.../Header/HeaderActionsDropdown/index.jsx | 10 +-
.../src/dashboard/components/Header/index.jsx | 2 +-
.../PropertiesModal/PropertiesModal.test.tsx | 3 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 2 +-
.../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 | 71 ++++++---
.../src/dashboard/util/permissionUtils.ts | 20 ++-
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 +-
.../DatasourceControl/DatasourceControl.test.tsx | 2 +-
.../controls/DatasourceControl/index.jsx | 4 +-
...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 | 6 +-
superset-frontend/src/pages/Home/index.tsx | 10 +-
.../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/daos/chart.py | 3 -
superset/daos/dashboard.py | 6 -
superset/db_engine_specs/gsheets.py | 162 +++++++++++++++++++--
superset/db_engine_specs/trino.py | 7 +-
..._add_on_delete_cascade_for_dashboard_slices.py} | 37 ++---
...n_delete_cascade_for_embedded_dashboards.py.py} | 36 ++---
superset/models/core.py | 51 +++----
superset/models/dashboard.py | 4 +-
superset/models/embedded_dashboard.py | 6 +-
superset/result_set.py | 9 +-
superset/utils/core.py | 10 +-
tests/integration_tests/celery_tests.py | 5 +-
tests/integration_tests/charts/api_tests.py | 1 -
tests/integration_tests/charts/data/api_tests.py | 7 +-
tests/integration_tests/dashboard_tests.py | 3 -
tests/integration_tests/databases/api_tests.py | 2 +-
tests/integration_tests/model_tests.py | 3 +-
.../security/guest_token_security_tests.py | 2 -
tests/integration_tests/superset_test_config.py | 2 +
tests/integration_tests/tagging_tests.py | 2 -
tests/integration_tests/utils_tests.py | 6 +-
tests/unit_tests/databases/api_test.py | 4 +-
tests/unit_tests/db_engine_specs/test_gsheets.py | 92 ++++++++++++
tests/unit_tests/result_set_test.py | 26 +++-
tests/unit_tests/utils/test_core.py | 30 ++++
104 files changed, 672 insertions(+), 371 deletions(-)
delete mode 100644 _update-notifier-last-checked
delete mode 100644 superset-frontend/src/featureFlags.ts
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%)