This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/text-db-config
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 5594c5c Update superset/errors.py
add 83b8d1b build(deps): bump y18n from 4.0.0 to 4.0.1 in
/superset-frontend (#13886)
add 4e15e00 build(deps): bump y18n from 4.0.0 to 4.0.1 in /docs (#13874)
add 5969386 build(deps): bump three from 0.68.87 to 0.125.0 in /docs
(#13391)
add 353038e build(deps): bump socket.io from 2.3.0 to 2.4.1 in /docs
(#12636)
add b77477a feat: invalid hostname and password error messages (MySQL)
(#14089)
add c8a7943 refactor: Bootstrap to AntD - ListGroup (#13996)
add cfe927b test: Adds tests for the FixedOrMetricControl component
(#13705)
add ff71f12 Ad missing __init__.py (#14113)
add 321db46 feat: invalid hostname and password error messages (Redshift)
(#14111)
add a548b69 build(deps): bump urijs from 1.19.4 to 1.19.6 in
/superset-frontend (#13393)
add 474f1e2 test: Add tests for Dashboard Header and
HeaderActionsDropdown components (#13973)
add ef1f048 feat: add Echarts gauge chart (#14072)
add 21f973f feat: error messages when connecting to MSSQL (#14093)
add 36bd6d8 feat: FE: Import for Queries II (#14091)
add 6755083 fix(dashboard): incorrect perm for users with multiple roles
(#14148)
add f1acb2f horizontal scroll (#14140)
add 68e11cd fix(dashboard): filter set hydration not working (#14129)
add 8ef572a refactor(native-filters): update dataMask and ExtraFormData
schema (#13983)
add eadff5f feat: invalid DB name error messages
(MySQL/Postgres/Redshift) (#14146)
add 19d2e10 chore: update RELEASING readme (#14152)
add fbf0149 refactor(userInfo): userinfo panel to styled component
(#14090)
add 3294f77 feat: Add health endpoint to WebSocket server (#14110)
add c1cb361 feat: script to benchmark DB migrations (#13561)
add 21c6efe chore: rename connection errors (#14169)
add df7e2b6 feat(alert/report): chart as csv format attachment for email
and slack (#13828)
add 38a1f65 chore(toggle thumbnails): use localstorage for toggle (#14013)
add ec75dc1 chore: Moves CronPicker to the components folder (#14125)
add e4c8084 chore: Moves DropdownButton to the components folder (#14127)
add 018caa5 chore: Moves Switch to the components folder (#14135)
add be78cd1 chore: Configures Jest to ignore storybook files when
collecting coverage statistics (#14164)
add cab110e Enable the new pivot table (#14187)
add fe21de3 fix(viz): time shift read-only error (#14191)
add 7e0e9ac feat(viz): add mixed and radar chart (#14197)
add a49e0b2 feat: Adding encrypted field factory (#14109)
add c3e89d5 feat: publish superset helm chart (#14163)
add 01f13c5 chore: type some SQL Lab components (#14178)
add a3e3023 fix: Add extra requires for shillelagh (#14180)
add 8db7be1 fix: Switching to local codecov script (#14170)
add df04c3a feat: error messages when connecting to mssql (#14171)
add 2ff335a fix merge conflicts
add c4c1507 fix merge again
No new revisions were added by this update.
Summary of changes:
.github/workflows/bashlib.sh | 7 +-
.github/workflows/codecov.sh | 1903 ++++++++++++++++++++
.github/workflows/superset-frontend.yml | 3 +-
.github/workflows/superset-helm-lint.yml | 45 +
.github/workflows/superset-helm-release.yml | 35 +
.github/workflows/superset-python-presto-hive.yml | 4 +-
.github/workflows/superset-python-unittest.yml | 6 +-
.pylintrc | 2 +-
RELEASING/README.md | 6 +
docs/package-lock.json | 169 +-
docs/package.json | 2 +-
.../docs/Connecting to Databases/google-sheets.mdx | 4 +-
.../pages/docs/Connecting to Databases/index.mdx | 2 +-
docs/src/pages/docs/Miscellaneous/issue_codes.mdx | 19 +-
helm/superset/values.yaml | 2 +
lintconf.yaml | 58 +
requirements/base.txt | 2 +
scripts/benchmark_migration.py | 215 +++
setup.cfg | 2 +-
setup.py | 5 +-
superset-frontend/babel.config.js | 1 +
.../integration/explore/annotations.test.ts | 2 +-
.../visualizations/{pie.test.js => gauge.test.js} | 42 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 1076 ++++++-----
superset-frontend/package.json | 57 +-
.../spec/fixtures/mockNativeFilters.ts | 73 +-
.../components/HeaderActionsDropdown_spec.jsx | 174 --
.../dashboard/components/Header_spec.jsx | 244 ---
.../dashboard/fixtures/mockNativeFilters.ts | 15 +-
.../util/getFormDataWithExtraFilters_spec.ts | 13 +-
.../components/FixedOrMetricControl_spec.jsx | 43 -
.../spec/javascripts/filters/utils_spec.ts | 144 +-
.../spec/javascripts/profile/UserInfo_spec.tsx | 3 +-
.../javascripts/sqllab/ShareSqlLabQuery_spec.jsx | 12 +-
.../views/CRUD/alert/AlertList_spec.jsx | 2 +-
.../views/CRUD/alert/AlertReportModal_spec.jsx | 2 +-
.../CRUD/data/savedquery/SavedQueryList_spec.jsx | 73 +-
.../{QueryHistory.jsx => QueryHistory.tsx} | 55 +-
.../{QueryStateLabel.jsx => QueryStateLabel.tsx} | 14 +-
.../src/SqlLab/components/RunQueryActionButton.tsx | 2 +-
.../src/SqlLab/components/ShareSqlLabQuery.tsx | 77 +-
.../{TabStatusIcon.jsx => TabStatusIcon.tsx} | 13 +-
superset-frontend/src/SqlLab/main.less | 3 +-
superset-frontend/src/SqlLab/types.ts | 18 +-
superset-frontend/src/chart/Chart.jsx | 3 +
superset-frontend/src/chart/ChartRenderer.jsx | 13 +-
superset-frontend/src/chart/chartAction.js | 29 +-
.../src/common/components/common.stories.tsx | 11 +-
superset-frontend/src/common/components/index.tsx | 1 +
.../components/CronPicker/CronPicker.test.tsx | 0
.../components/CronPicker/CronPicker.tsx | 0
.../{common => }/components/CronPicker/index.ts | 0
.../DropdownButton/DropdownButton.stories.tsx | 0
.../components/DropdownButton/index.tsx | 0
.../src/components/ErrorMessage/types.ts | 15 +-
.../components/Switch/Switch.stories.tsx | 0
.../src/{common => }/components/Switch/index.tsx | 0
superset-frontend/src/dashboard/actions/hydrate.js | 64 +-
.../src/dashboard/actions/nativeFilters.ts | 15 +-
.../dashboard/components/FiltersBadge/selectors.ts | 6 +-
.../dashboard/components/Header/Header.test.tsx | 288 +++
.../HeaderActionsDropdown.test.tsx | 200 ++
.../HeaderActionsDropdown/index.jsx} | 20 +-
.../components/{Header.jsx => Header/index.jsx} | 15 +-
.../src/dashboard/components/Header/types.ts | 98 +
.../src/dashboard/components/SliceHeader/index.tsx | 3 +-
.../components/SliceHeaderControls/index.jsx | 2 +-
.../dashboard/components/gridComponents/Chart.jsx | 9 +-
.../CascadeFilters/CascadePopover/index.tsx | 11 +-
.../FilterBar/FilterControls/FilterControls.tsx | 6 +-
.../FilterBar/FilterControls/FilterValue.tsx | 3 +
.../FilterBar/FilterControls/state.ts | 4 +-
.../FilterBar/FilterSets/EditSection.test.tsx | 2 +-
.../FilterBar/FilterSets/EditSection.tsx | 6 +-
.../FilterBar/FilterSets/FilterSetUnit.tsx | 6 +-
.../FilterBar/FilterSets/FilterSets.test.tsx | 2 +-
.../FilterBar/FilterSets/FiltersHeader.test.tsx | 2 +-
.../FilterBar/FilterSets/FiltersHeader.tsx | 6 +-
.../nativeFilters/FilterBar/FilterSets/index.tsx | 71 +-
.../FilterSets/utils/findExistingFilterSet.test.ts | 38 +-
.../FilterBar/FilterSets/utils/index.ts | 31 +-
.../nativeFilters/FilterBar/Header/Header.test.tsx | 4 +-
.../nativeFilters/FilterBar/Header/index.tsx | 16 +-
.../components/nativeFilters/FilterBar/index.tsx | 16 +-
.../components/nativeFilters/FilterBar/state.ts | 14 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 4 +-
.../dashboard/components/nativeFilters/types.ts | 4 +-
.../dashboard/components/nativeFilters/utils.ts | 66 +-
.../src/dashboard/containers/Chart.jsx | 4 +-
.../src/dashboard/containers/Dashboard.jsx | 5 +-
.../src/dashboard/reducers/nativeFilters.ts | 1 +
superset-frontend/src/dashboard/reducers/types.ts | 2 +-
.../dashboard/util/activeAllDashboardFilters.ts | 5 +-
.../util/charts/getFormDataWithExtraFilters.ts | 12 +-
.../src/dashboard/util/charts/getOwnDataCharts.ts | 9 +-
.../src/dashboard/util/findPermission.test.ts | 59 +
.../src/dashboard/util/findPermission.ts | 18 +-
.../src/dashboard/util/getPermissions.ts | 39 -
superset-frontend/src/dataMask/actions.ts | 34 +-
superset-frontend/src/dataMask/reducer.ts | 40 +-
superset-frontend/src/dataMask/types.ts | 23 +-
.../DataTablesPane/DataTablesPane.test.tsx | 6 +-
.../explore/components/DataTablesPane/index.tsx | 5 +-
.../src/explore/components/ExploreChartHeader.jsx | 2 +
.../src/explore/components/ExploreChartPanel.jsx | 6 +-
.../explore/components/ExploreViewContainer.jsx | 10 +-
.../controls/AnnotationLayerControl/index.jsx | 21 +-
.../CollectionControl/CollectionControl.less | 21 -
.../CollectionControl/CollectionControl.test.tsx | 6 +-
.../controls/CollectionControl/index.jsx | 86 +-
.../components/controls/CustomListItem/index.tsx} | 77 +-
.../FixedOrMetricControl.test.tsx | 105 ++
.../index.jsx} | 8 +-
.../controls/MetricControl/MetricsControl.jsx | 2 +-
.../explore/components/controls/VizTypeControl.jsx | 2 +-
.../src/explore/exploreUtils/index.js | 4 +
.../filters/components/Range/RangeFilterPlugin.tsx | 28 +-
.../src/filters/components/Range/index.ts | 2 +-
.../src/filters/components/Range/transformProps.ts | 11 +-
.../src/filters/components/Range/types.ts | 4 +-
.../components/Select/SelectFilterPlugin.tsx | 26 +-
.../src/filters/components/Select/buildQuery.ts | 2 +-
.../src/filters/components/Select/index.ts | 2 +-
.../filters/components/Select/transformProps.ts | 2 +
.../src/filters/components/Select/types.ts | 6 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 32 +-
.../src/filters/components/Time/index.ts | 2 +-
.../src/filters/components/Time/transformProps.ts | 11 +-
.../src/filters/components/Time/types.ts | 8 +-
.../TimeColumn/TimeColumnFilterPlugin.tsx | 38 +-
.../src/filters/components/TimeColumn/index.ts | 2 +-
.../components/TimeColumn/transformProps.ts | 11 +-
.../src/filters/components/TimeColumn/types.ts | 8 +-
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 26 +-
.../src/filters/components/TimeGrain/index.ts | 2 +-
.../filters/components/TimeGrain/transformProps.ts | 10 +-
.../src/filters/components/TimeGrain/types.ts | 10 +-
superset-frontend/src/filters/utils.ts | 51 +-
.../src/profile/components/UserInfo.tsx | 55 +-
superset-frontend/src/setup/setupErrorMessages.ts | 22 +-
.../src/views/CRUD/alert/AlertList.tsx | 2 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 213 +--
.../components/AlertReportCronScheduler.test.tsx | 2 +-
.../alert/components/AlertReportCronScheduler.tsx | 4 +-
.../CRUD/alert/components/NotificationMethod.tsx | 168 ++
superset-frontend/src/views/CRUD/alert/types.ts | 1 +
.../src/views/CRUD/chart/ChartCard.tsx | 8 +-
.../src/views/CRUD/chart/ChartList.tsx | 8 +
.../src/views/CRUD/dashboard/DashboardCard.tsx | 9 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 8 +
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 52 +
superset-frontend/src/views/CRUD/types.ts | 7 +-
superset-frontend/src/views/CRUD/utils.tsx | 1 +
.../src/views/CRUD/welcome/ChartTable.tsx | 3 -
.../src/views/CRUD/welcome/DashboardTable.tsx | 2 -
.../src/views/CRUD/welcome/Welcome.tsx | 8 +-
.../src/visualizations/presets/MainPreset.js | 10 +
superset-websocket/README.md | 20 +-
superset-websocket/spec/index.test.ts | 54 +
superset-websocket/src/index.ts | 22 +
superset/app.py | 6 +
superset/config.py | 12 +
superset/connectors/druid/models.py | 6 +-
superset/constants.py | 30 +
superset/databases/commands/test_connection.py | 11 +-
superset/db_engine_specs/base.py | 8 +-
superset/db_engine_specs/mssql.py | 43 +
superset/db_engine_specs/mysql.py | 36 +
superset/db_engine_specs/postgres.py | 40 +-
superset/db_engine_specs/presto.py | 6 +-
superset/db_engine_specs/redshift.py | 56 +
superset/errors.py | 43 +-
superset/examples/big_data.py | 2 +-
superset/extensions.py | 2 +
...1b9c3_add_report_format_to_report_schedule_.py} | 28 +-
.../289ce07647b_add_encrypted_password_field.py | 5 +-
.../b5998378c225_add_certificate_to_dbs.py | 4 +-
...acd2cf3df2_alter_type_of_dbs_encrypted_extra.py | 6 +-
.../versions/e553e78e90c5_add_druid_auth_py_py.py | 2 +-
...3a3a8ff221_migrate_filter_sets_to_new_format.py | 233 +++
superset/models/core.py | 9 +-
superset/models/reports.py | 7 +-
.../saved_queries/commands/importers}/__init__.py | 0
superset/reports/api.py | 4 +-
superset/reports/commands/exceptions.py | 8 +
superset/reports/commands/execute.py | 56 +-
superset/reports/notifications/base.py | 3 +-
superset/reports/notifications/email.py | 15 +-
superset/reports/notifications/slack.py | 14 +-
superset/reports/schemas.py | 9 +
superset/utils/core.py | 52 +-
superset/utils/csv.py | 21 +-
superset/utils/encrypt.py | 66 +
superset/utils/{data.py => mock_data.py} | 148 +-
superset/viz.py | 4 +-
tests/databases/api_tests.py | 2 +-
tests/db_engine_specs/mssql_tests.py | 159 ++
tests/db_engine_specs/mysql_tests.py | 112 ++
tests/db_engine_specs/postgres_tests.py | 114 +-
tests/db_engine_specs/redshift_tests.py | 179 ++
tests/{tasks => migrations}/__init__.py | 0
tests/migrations/fc3a3a8ff221_tests.py | 364 ++++
tests/reports/commands_tests.py | 352 +++-
tests/reports/utils.py | 3 +
tests/utils/encrypt_tests.py | 63 +
tests/utils_tests.py | 28 +-
207 files changed, 7270 insertions(+), 2441 deletions(-)
create mode 100755 .github/workflows/codecov.sh
create mode 100644 .github/workflows/superset-helm-lint.yml
create mode 100644 .github/workflows/superset-helm-release.yml
create mode 100644 lintconf.yaml
create mode 100644 scripts/benchmark_migration.py
copy
superset-frontend/cypress-base/cypress/integration/explore/visualizations/{pie.test.js
=> gauge.test.js} (62%)
delete mode 100644
superset-frontend/spec/javascripts/dashboard/components/HeaderActionsDropdown_spec.jsx
delete mode 100644
superset-frontend/spec/javascripts/dashboard/components/Header_spec.jsx
delete mode 100644
superset-frontend/spec/javascripts/explore/components/FixedOrMetricControl_spec.jsx
rename superset-frontend/src/SqlLab/components/{QueryHistory.jsx =>
QueryHistory.tsx} (58%)
rename superset-frontend/src/SqlLab/components/{QueryStateLabel.jsx =>
QueryStateLabel.tsx} (78%)
rename superset-frontend/src/SqlLab/components/{TabStatusIcon.jsx =>
TabStatusIcon.tsx} (79%)
rename superset-frontend/src/{common =>
}/components/CronPicker/CronPicker.test.tsx (100%)
rename superset-frontend/src/{common => }/components/CronPicker/CronPicker.tsx
(100%)
rename superset-frontend/src/{common => }/components/CronPicker/index.ts (100%)
rename superset-frontend/src/{common =>
}/components/DropdownButton/DropdownButton.stories.tsx (100%)
rename superset-frontend/src/{common => }/components/DropdownButton/index.tsx
(100%)
rename superset-frontend/src/{common => }/components/Switch/Switch.stories.tsx
(100%)
rename superset-frontend/src/{common => }/components/Switch/index.tsx (100%)
create mode 100644
superset-frontend/src/dashboard/components/Header/Header.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/Header/HeaderActionsDropdown/HeaderActionsDropdown.test.tsx
rename superset-frontend/src/dashboard/components/{HeaderActionsDropdown.jsx
=> Header/HeaderActionsDropdown/index.jsx} (93%)
rename superset-frontend/src/dashboard/components/{Header.jsx =>
Header/index.jsx} (97%)
create mode 100644 superset-frontend/src/dashboard/components/Header/types.ts
create mode 100644 superset-frontend/src/dashboard/util/findPermission.test.ts
copy docs/src/pages/404.jsx =>
superset-frontend/src/dashboard/util/findPermission.ts (70%)
delete mode 100644 superset-frontend/src/dashboard/util/getPermissions.ts
delete mode 100644
superset-frontend/src/explore/components/controls/CollectionControl/CollectionControl.less
copy superset-frontend/src/{common/components/Collapse/Collapse.stories.tsx =>
explore/components/controls/CustomListItem/index.tsx} (52%)
create mode 100644
superset-frontend/src/explore/components/controls/FixedOrMetricControl/FixedOrMetricControl.test.tsx
rename
superset-frontend/src/explore/components/controls/{FixedOrMetricControl.jsx =>
FixedOrMetricControl/index.jsx} (95%)
create mode 100644
superset-frontend/src/views/CRUD/alert/components/NotificationMethod.tsx
copy
superset/migrations/versions/{e68c4473c581_allow_multi_schema_metadata_fetch.py
=> 19e978e1b9c3_add_report_format_to_report_schedule_.py} (70%)
create mode 100644
superset/migrations/versions/fc3a3a8ff221_migrate_filter_sets_to_new_format.py
copy {tests/tasks =>
superset/queries/saved_queries/commands/importers}/__init__.py (100%)
create mode 100644 superset/utils/encrypt.py
rename superset/utils/{data.py => mock_data.py} (51%)
create mode 100644 tests/db_engine_specs/redshift_tests.py
copy tests/{tasks => migrations}/__init__.py (100%)
create mode 100644 tests/migrations/fc3a3a8ff221_tests.py
create mode 100644 tests/utils/encrypt_tests.py