This is an automated email from the ASF dual-hosted git repository. diegopucci pushed a commit to branch chore/cypress-runtime-enhancements in repository https://gitbox.apache.org/repos/asf/superset.git
commit d179a9510d3ec5902024e400c028b2ed88c4b495 Merge: 05049dee69 c3f8417139 Author: geido <[email protected]> AuthorDate: Mon Sep 5 17:34:42 2022 +0300 Merge branch 'master' of https://github.com/apache/superset into chore/cypress-runtime-enhancements RELEASING/README.md | 12 +- docker/pythonpath_dev/superset_config.py | 10 + docs/docs/installation/alerts-reports.mdx | 1 + helm/superset/Chart.yaml | 2 +- helm/superset/values.yaml | 14 +- requirements/base.txt | 2 +- requirements/development.txt | 2 +- setup.py | 8 +- superset-embedded-sdk/README.md | 7 +- superset-embedded-sdk/src/const.ts | 4 + superset-embedded-sdk/src/index.ts | 21 +- .../integration/dashboard/nativeFilters.test.ts | 4 +- superset-frontend/package-lock.json | 96 +++ superset-frontend/package.json | 1 + .../test/utils/featureFlag.test.ts | 48 +- .../src/TimePivot/controlPanel.ts | 5 + .../src/MixedTimeseries/transformProps.ts | 2 +- .../src/Timeseries/Regular/Line/index.ts | 2 +- .../plugin-chart-echarts/src/utils/forecast.ts | 5 +- .../test/utils/forecast.test.ts | 223 +++-- superset-frontend/spec/helpers/shim.ts | 1 + superset-frontend/spec/helpers/testing-library.tsx | 7 + superset-frontend/src/SqlLab/App.jsx | 15 +- superset-frontend/src/SqlLab/actions/sqlLab.js | 10 +- .../src/SqlLab/actions/sqlLab.test.js | 74 +- .../SqlLab/components/SaveDatasetModal/index.tsx | 5 +- .../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 9 +- .../src/SqlLab/components/SqlEditor/index.jsx | 54 +- .../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx | 124 +-- .../SqlLab/components/SqlEditorLeftBar/index.tsx | 14 +- .../TabbedSqlEditors/TabbedSqlEditors.test.jsx | 9 +- .../SqlLab/components/TabbedSqlEditors/index.jsx | 4 +- .../src/SqlLab/components/TableElement/index.tsx | 1 + superset-frontend/src/SqlLab/constants.ts | 1 + superset-frontend/src/SqlLab/main.less | 5 +- superset-frontend/src/SqlLab/reducers/sqlLab.js | 20 +- .../src/SqlLab/reducers/sqlLab.test.js | 22 + .../src/SqlLab/utils/newQueryTabName.ts | 2 +- .../SqlLab/utils/reduxStateToLocalStorageHelper.js | 2 +- .../components/Datasource/DatasourceModal.test.jsx | 9 +- .../components/ErrorMessage/ErrorAlert.test.tsx | 6 - .../src/components/ErrorMessage/ErrorAlert.tsx | 19 +- .../ErrorMessage/ErrorMessageWithStackTrace.tsx | 3 - .../src/components/FilterableTable/index.tsx | 2 + superset-frontend/src/components/Icons/index.tsx | 2 +- superset-frontend/src/components/ListView/types.ts | 2 + superset-frontend/src/components/Modal/Modal.tsx | 48 +- .../src/components/ResizableSidebar/index.tsx | 82 ++ .../useStoredSidebarWidth.test.ts} | 41 +- .../ResizableSidebar/useStoredSidebarWidth.ts} | 28 +- .../src/components/Select/AsyncSelect.test.tsx | 74 +- .../src/components/Select/AsyncSelect.tsx | 30 +- .../src/components/Select/Select.test.tsx | 14 + superset-frontend/src/components/Select/Select.tsx | 28 +- .../src/components/TableSelector/index.tsx | 132 ++- .../src/dashboard/components/AnchorLink/index.tsx | 3 +- .../DashboardBuilder/DashboardBuilder.test.tsx | 12 +- .../DashboardBuilder/DashboardBuilder.tsx | 88 +- .../src/dashboard/components/dnd/DragDroppable.jsx | 20 +- .../components/gridComponents/ChartHolder.jsx | 420 ---------- .../components/gridComponents/ChartHolder.test.jsx | 138 --- .../components/gridComponents/ChartHolder.test.tsx | 360 +++++++- .../components/gridComponents/ChartHolder.tsx | 333 ++++++++ .../src/dashboard/stylesheets/components/row.less | 6 + superset-frontend/src/dashboard/types.ts | 5 + .../util/useFilterFocusHighlightStyles.test.tsx | 209 +++++ .../util/useFilterFocusHighlightStyles.ts | 91 ++ superset-frontend/src/hooks/apiResources/index.ts | 1 + .../src/hooks/apiResources/tables.test.ts | 221 +++++ superset-frontend/src/hooks/apiResources/tables.ts | 97 +++ superset-frontend/src/types/Database.ts | 2 +- superset-frontend/src/utils/common.js | 4 +- superset-frontend/src/utils/common.test.jsx | 9 +- superset-frontend/src/utils/localStorageHelpers.ts | 2 + superset-frontend/src/views/App.tsx | 43 +- .../src/views/CRUD/chart/ChartList.tsx | 22 +- .../src/views/CRUD/dashboard/DashboardList.tsx | 10 +- .../DatabaseConnectionForm/EncryptedField.tsx | 3 +- .../data/database/DatabaseModal/ExtraOptions.tsx | 6 +- .../data/database/DatabaseModal/index.test.jsx | 3 + .../CRUD/data/database/DatabaseModal/index.tsx | 71 +- .../CRUD/data/database/DatabaseModal/styles.ts | 3 +- .../src/views/CRUD/data/database/types.ts | 2 +- .../views/QueryProvider.tsx} | 36 +- superset/available_domains/__init__.py | 16 + superset/available_domains/api.py | 75 ++ superset/available_domains/schemas.py | 21 + superset/charts/api.py | 2 + superset/charts/filters.py | 16 + superset/config.py | 6 +- superset/connectors/sqla/models.py | 7 +- superset/constants.py | 2 + superset/dashboards/api.py | 3 +- superset/dashboards/filters.py | 17 +- superset/databases/api.py | 2 +- superset/databases/commands/create.py | 6 + superset/databases/commands/test_connection.py | 16 +- superset/databases/commands/update.py | 42 + superset/databases/commands/validate.py | 18 +- superset/databases/dao.py | 24 + superset/databases/schemas.py | 17 +- superset/datasets/commands/create.py | 11 +- superset/datasets/commands/delete.py | 24 - superset/db_engine_specs/base.py | 34 +- superset/db_engine_specs/bigquery.py | 43 +- superset/db_engine_specs/gsheets.py | 41 +- superset/db_engine_specs/presto.py | 2 +- superset/db_engine_specs/trino.py | 5 +- superset/initialization/__init__.py | 2 + superset/models/core.py | 44 +- superset/models/helpers.py | 2 +- superset/security/manager.py | 641 ++++++++++---- superset/tasks/cache.py | 98 +-- superset/templates/superset/basic.html | 1 - superset/translations/fr/LC_MESSAGES/messages.json | 193 ++++- superset/translations/fr/LC_MESSAGES/messages.po | 356 +++++++- superset/translations/messages.pot | 10 + superset/utils/core.py | 34 +- superset/utils/network.py | 25 +- .../utils/pandas_postprocessing/contribution.py | 3 - superset/views/base.py | 1 + superset/views/core.py | 14 +- .../available_domains/__init__.py | 16 + .../available_domains/api_tests.py | 30 + tests/integration_tests/charts/api_tests.py | 28 + tests/integration_tests/core_tests.py | 12 + tests/integration_tests/dashboards/api_tests.py | 36 + tests/integration_tests/databases/api_tests.py | 6 +- tests/integration_tests/datasets/api_tests.py | 21 +- .../db_engine_specs/postgres_tests.py | 10 +- .../db_engine_specs/trino_tests.py | 12 +- tests/integration_tests/email_tests.py | 29 +- tests/integration_tests/security_tests.py | 931 ++++++++++++++++----- tests/integration_tests/sqla_models_tests.py | 7 +- tests/integration_tests/strategy_tests.py | 141 +--- tests/integration_tests/superset_test_config.py | 2 + tests/unit_tests/conftest.py | 4 + tests/unit_tests/databases/api_test.py | 108 ++- tests/unit_tests/db_engine_specs/test_bigquery.py | 36 +- tests/unit_tests/db_engine_specs/test_gsheets.py | 40 +- 140 files changed, 5018 insertions(+), 1913 deletions(-)
