This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch ref-get-sqla-engine-2
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 752161d706 update comment
     add 33fc57854d fix: error_parsing (#21946)
     add efefb66c2d chore: bump pyathena and related packages (#21958)
     add ae9a30b37c build(helm): Helm-docs + fix Helm chart release (#21963)
     add 3ea8f20f71 fix: bump expected npm version in superset-websocket 
(#21973)
     add bf001931c8 perf(native-filters): improve native filter modal form 
performance (#21821)
     add 66f166be0f perf(native-filters): reduce the re-rendering of native 
filter modal (#21781)
     add c9470cac91 fix: dashboard api cache decorator (#21964)
     add a02a778cc3 feat(reports): execute as other than selenium user (#21931)
     add 7f78778792 refactor: return initial exception and check if it's user 
error (#21836)
     add 3bb9187797 fix: invalid float number format by json-bigint (#21968)
     add 5c27aafc0b feat: Selectable dropdown triggered by icon component 
(#21955)
     add dc7399540b chore: bubble up more db error messages (#21982)
     add 72598a5b2a fix: rename datasource->dataset in error message (#21959)
     add 25be9ab4bc fix: bump gecko and mozilla in Dockerfile (#21995)
     add a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and 
move the Time Section away (#21767)
     add 3a023392e6 fix: invalid float number format by json-bigint (#21996)
     add 4a330a3630 chore: Refactor ownership (#21938)
     add 4e33235020 chore: Verify edit permission for Horizontal filter bar 
(#21990)
     add 429f246f7a refactor: clean up codes (#22002)
     add ba65f66897 fix: Change downloadAsImage to use Superset theme (#22011)
     add 4cbd70db34 fix: Revert shared controls typing change. (#22014)
     add 97e3e790a3 feat: Adds the DropdownContainer component (#21974)
     add d52d72ce64 refactor: Feature flags getter (#22015)
     add 68e8b00cde feat(dashboard): Support changing filter bar location 
(#22004)
     add 6bbf4f8718 fix: JSON serializers (#22029)
     add 5e1eecb3e7 chore(dataset): enable reload for schema and table (#22032)
     add 9b6322b640 fix(native-filters): panels are collapsed when switch 
native filters (#21976)
     add b040211970 feat: Adds more customization properties to 
DropdownContainer (#22031)
     add 7d1df3b78d feat: Improves SafeMarkdown HTML sanitization (#21895)
     add 9832bbd469 build: Mutli-stage build and slim image for websocket 
container (#21954)
     add c870fbe9e2 feat: Add 3 new extension points for inserting custom icons 
(#22027)
     add 358a4ecedd fix: deprecate approve and request_access endpoint (#22022)
     add e33a08693b fix: datasource save, improve data validation (#22038)
     add aa48cae6fb chore: Adds RTL tests to DropdownContainer (#22041)
     add 7a52b22237 test: Fix act errors in DndMetricSelect test (#22048)
     add cd1b379bdf fix: accept only JSON credentials (#22040)
     add 0ac6fb121b Merge branch 'master' of https://github.com/apache/superset 
into ref-get-sqla-engine-2

No new revisions were added by this update.

Summary of changes:
 .github/workflows/docker_build_push.sh             |   13 +
 .github/workflows/superset-helm-release.yml        |    7 +-
 .github/workflows/superset-python-misc.yml         |   19 +-
 .pre-commit-config.yaml                            |    9 +-
 Dockerfile                                         |    4 +-
 UPDATING.md                                        |    2 +
 docs/docs/installation/alerts-reports.mdx          |   28 +-
 helm/superset/Chart.yaml                           |    2 +-
 helm/superset/README.md                            |    2 +-
 requirements/base.txt                              |   15 +-
 requirements/development.txt                       |    2 +
 requirements/testing.txt                           |    2 +
 setup.py                                           |    5 +-
 .../cypress/integration/dashboard/editmode.test.ts |    2 +-
 superset-frontend/package-lock.json                | 2145 ++++++++++++++++----
 superset-frontend/package.json                     |    1 -
 .../{test => src}/fixtures.ts                      |    2 +-
 .../superset-ui-chart-controls/src/index.ts        |    1 +
 .../src/sections/sections.tsx                      |   28 +-
 .../src/shared-controls/dndControls.tsx            |    4 +-
 .../src/shared-controls/mixins.tsx                 |   56 +
 .../superset-ui-chart-controls/src/types.ts        |   11 +-
 .../src/utils/getTemporalColumns.ts                |   19 +-
 .../superset-ui-chart-controls/src/utils/index.ts  |    2 +-
 .../test/utils/getTemporalColumns.test.ts          |   13 +-
 .../packages/superset-ui-core/package.json         |   48 +-
 .../src/components/SafeMarkdown.tsx                |   54 +-
 .../src/connection/callApi/parseResponse.ts        |    7 +-
 .../src/query/buildQueryContext.ts                 |   20 +-
 .../superset-ui-core/src/query/types/Operator.ts   |    1 +
 .../superset-ui-core/src/query/types/Query.ts      |    1 +
 .../src/ui-overrides/ExtensionsRegistry.ts         |   20 +
 .../superset-ui-core/src/utils/featureFlags.ts     |    9 +-
 .../test/connection/callApi/parseResponse.test.ts  |   21 +-
 .../test/query/buildQueryContext.test.ts           |   59 +-
 .../superset-ui-core/test/query/getAxis.test.ts    |   55 +-
 .../test/utils/featureFlag.test.ts                 |   47 +-
 .../src/controlPanel.ts                            |    5 +-
 .../src/plugin/controlPanel.tsx                    |    2 +-
 .../spec/helpers/{shim.ts => shim.tsx}             |    6 +
 .../src/addSlice/AddSliceContainer.tsx             |   11 +-
 .../src/components/DatabaseSelector/index.tsx      |   17 +-
 .../DropdownContainer.stories.tsx                  |  108 +
 .../DropdownContainer/DropdownContainer.test.tsx   |  143 ++
 .../DropdownContainer/Overview.stories.mdx         |   17 +
 .../src/components/DropdownContainer/index.tsx     |  294 +++
 .../DropdownSelectableIcon.stories.tsx}            |   55 +-
 .../DropdownSelectableIcon.test.tsx                |   99 +
 .../components/DropdownSelectableIcon/index.tsx    |  108 +
 superset-frontend/src/components/Menu/index.tsx    |    3 +
 superset-frontend/src/components/Modal/Modal.tsx   |    1 +
 .../ReportModal/HeaderReportDropdown/index.tsx     |   28 +-
 .../src/components/Select/AsyncSelect.tsx          |    9 +-
 superset-frontend/src/components/Select/Select.tsx |    9 +-
 superset-frontend/src/components/Select/styles.tsx |   43 +-
 superset-frontend/src/components/Select/types.ts   |    4 +
 .../src/components/TableSelector/index.tsx         |   17 +-
 .../src/dashboard/actions/dashboardInfo.ts         |   68 +-
 .../src/dashboard/actions/dashboardState.js        |    2 +-
 superset-frontend/src/dashboard/actions/hydrate.js |    3 +
 .../components/gridComponents/Markdown.jsx         |    8 +
 .../components/gridComponents/Markdown.test.jsx    |   12 +-
 .../FilterBar/ActionButtons/index.tsx              |    6 +-
 .../nativeFilters/FilterBar/FilterBar.test.tsx     |    8 +-
 .../FilterBarLocationSelect.test.tsx               |  175 ++
 .../FilterBar/FilterBarLocationSelect/index.tsx    |   80 +
 .../FilterBar/FilterConfigurationLink/index.tsx    |   28 +-
 .../nativeFilters/FilterBar/Header/index.tsx       |   23 +-
 .../FiltersConfigModal/FilterConfigPane.test.tsx   |    8 -
 .../FiltersConfigModal/FilterConfigurePane.tsx     |   56 +-
 .../FiltersConfigForm/FiltersConfigForm.tsx        |   11 +-
 .../FiltersConfigModal/FiltersConfigForm/utils.ts  |    8 +-
 .../FiltersConfigModal/FiltersConfigModal.test.tsx |    3 +-
 .../FiltersConfigModal/FiltersConfigModal.tsx      |  235 ++-
 .../FiltersConfigModal/NativeFiltersModal.test.tsx |    2 +-
 .../src/dashboard/reducers/dashboardInfo.js        |   10 +-
 superset-frontend/src/dashboard/types.ts           |    6 +
 .../src/dashboard/util/permissionUtils.test.ts     |    2 +-
 .../src/dashboard/util/permissionUtils.ts          |    2 +-
 superset-frontend/src/explore/ExplorePage.tsx      |   15 +-
 .../src/explore/actions/hydrateExplore.test.ts     |    2 +
 .../src/explore/actions/hydrateExplore.ts          |    1 +
 .../src/explore/components/SaveModal.tsx           |   13 +-
 .../controls/DateFilterControl/DateFilterLabel.tsx |   95 +-
 .../DateFilterControl/components/CommonFrame.tsx   |    8 +-
 .../components/controls/DateFilterControl/index.ts |    6 +-
 .../{components => tests}/AdvancedFrame.test.tsx   |    2 +-
 .../{components => tests}/CustomFrame.test.tsx     |    2 +-
 .../tests/DateFilterLabel.test.tsx                 |   86 +
 .../{utils => tests}/utils.test.ts                 |    0
 .../components/controls/DateFilterControl/types.ts |    4 +-
 .../controls/DateFilterControl/utils/constants.ts  |   13 +-
 .../DateFilterControl/utils/dateFilterUtils.ts     |   11 +-
 .../DndAdhocFilterOption.tsx                       |    7 +-
 .../DndFilterSelect.test.tsx                       |   70 +-
 .../DndColumnSelectControl/DndFilterSelect.tsx     |   19 +-
 .../DndMetricSelect.test.tsx                       |    7 +
 .../controls/FilterControl/AdhocFilter/index.js    |    4 +-
 ...AdhocFilterEditPopoverSimpleTabContent.test.tsx |   36 +-
 .../index.tsx                                      |   86 +-
 .../FilterControl/AdhocFilterOption/index.tsx      |    7 +-
 .../controls/FilterControl/utils}/index.ts         |    4 +-
 .../utils/useDatePickerInAdhocFilter.tsx           |   52 +
 .../utils/useDatePickerInAdhocfilter.test.ts       |   64 +
 .../utils/useGetTimeRangeLabel.test.ts             |  103 +
 .../FilterControl/utils/useGetTimeRangeLabel.tsx   |   75 +
 superset-frontend/src/explore/constants.ts         |   10 +-
 .../src/explore/controlUtils/controlUtils.test.tsx |    1 +
 superset-frontend/src/explore/types.ts             |    1 +
 .../filters/components/Time/TimeFilterPlugin.tsx   |    2 -
 superset-frontend/src/types/Dashboard.ts           |    2 -
 superset-frontend/src/utils/common.js              |   13 -
 superset-frontend/src/utils/downloadAsImage.ts     |   10 +-
 .../src/utils/getClientErrorObject.ts              |   12 +
 .../src/views/CRUD/alert/AlertList.tsx             |   33 +-
 .../DatabaseConnectionForm/EncryptedField.tsx      |    1 +
 .../src/views/components/RightMenu.tsx             |   22 +-
 .../src/visualizations/presets/MainPreset.js       |    2 +-
 superset-frontend/webpack.config.js                |    2 +-
 superset-websocket/Dockerfile                      |   25 +-
 superset-websocket/package-lock.json               |    2 +-
 superset-websocket/package.json                    |    2 +-
 superset/common/query_context_processor.py         |   41 +-
 superset/common/query_object.py                    |    8 +-
 superset/common/query_object_factory.py            |   26 +-
 superset/common/utils/time_range_utils.py          |   77 +
 superset/config.py                                 |   44 +
 superset/connectors/sqla/models.py                 |   26 +-
 superset/constants.py                              |    2 +
 superset/dashboards/api.py                         |   12 +-
 superset/dashboards/schemas.py                     |    1 +
 superset/databases/api.py                          |    9 +-
 superset/datasets/api.py                           |    4 +-
 superset/datasets/commands/duplicate.py            |    6 +-
 superset/db_engine_specs/base.py                   |   16 +-
 superset/db_engine_specs/bigquery.py               |    4 +-
 superset/db_engine_specs/druid.py                  |   12 +-
 superset/db_engine_specs/exceptions.py             |    2 +-
 superset/db_engine_specs/sqlite.py                 |    6 +-
 superset/db_engine_specs/trino.py                  |   12 +-
 .../configs/dashboards/Slack_Dashboard.yaml        |  187 +-
 superset/explore/commands/get.py                   |   12 +-
 superset/models/core.py                            |   26 +-
 superset/models/helpers.py                         |    3 +-
 superset/reports/commands/exceptions.py            |    4 +-
 superset/reports/commands/execute.py               |   53 +-
 superset/reports/types.py                          |   10 +
 superset/reports/utils.py                          |   71 +
 superset/sqllab/command.py                         |   34 +-
 superset/utils/core.py                             |   93 +-
 superset/utils/date_parser.py                      |    2 +-
 superset/utils/machine_auth.py                     |    8 +-
 superset/utils/screenshots.py                      |   16 +-
 superset/utils/urls.py                             |   19 +-
 superset/utils/webdriver.py                        |   12 +-
 superset/views/base.py                             |    2 +
 superset/views/core.py                             |   77 +-
 superset/views/datasource/views.py                 |   17 +-
 superset/viz.py                                    |    2 +-
 tests/integration_tests/access_tests.py            |    6 +-
 tests/integration_tests/datasource_tests.py        |   38 +
 tests/integration_tests/query_context_tests.py     |   82 +
 .../commands/execute_dashboard_report_tests.py     |    2 +-
 tests/integration_tests/reports/commands_tests.py  |   92 +-
 tests/integration_tests/reports/scheduler_tests.py |   33 +-
 tests/integration_tests/reports/utils.py           |   67 +-
 tests/integration_tests/sqla_models_tests.py       |   59 +-
 tests/integration_tests/utils_tests.py             |   43 +-
 tests/unit_tests/common/test_time_range_utils.py   |   94 +
 tests/unit_tests/conftest.py                       |   27 +
 tests/unit_tests/notifications/email_tests.py      |    1 -
 .../unit_tests/reports}/__init__.py                |    0
 tests/unit_tests/reports/test_utils.py             |  178 ++
 tests/unit_tests/utils/urls_tests.py               |   26 +
 174 files changed, 5782 insertions(+), 1325 deletions(-)
 rename superset-frontend/packages/superset-ui-chart-controls/{test => 
src}/fixtures.ts (98%)
 rename superset-frontend/spec/helpers/{shim.ts => shim.tsx} (92%)
 create mode 100644 
superset-frontend/src/components/DropdownContainer/DropdownContainer.stories.tsx
 create mode 100644 
superset-frontend/src/components/DropdownContainer/DropdownContainer.test.tsx
 create mode 100644 
superset-frontend/src/components/DropdownContainer/Overview.stories.mdx
 create mode 100644 superset-frontend/src/components/DropdownContainer/index.tsx
 copy superset-frontend/src/components/{Card/Card.stories.tsx => 
DropdownSelectableIcon/DropdownSelectableIcon.stories.tsx} (60%)
 create mode 100644 
superset-frontend/src/components/DropdownSelectableIcon/DropdownSelectableIcon.test.tsx
 create mode 100644 
superset-frontend/src/components/DropdownSelectableIcon/index.tsx
 create mode 100644 
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarLocationSelect/FilterBarLocationSelect.test.tsx
 create mode 100644 
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarLocationSelect/index.tsx
 rename 
superset-frontend/src/explore/components/controls/DateFilterControl/{components 
=> tests}/AdvancedFrame.test.tsx (97%)
 rename 
superset-frontend/src/explore/components/controls/DateFilterControl/{components 
=> tests}/CustomFrame.test.tsx (99%)
 create mode 100644 
superset-frontend/src/explore/components/controls/DateFilterControl/tests/DateFilterLabel.test.tsx
 rename 
superset-frontend/src/explore/components/controls/DateFilterControl/{utils => 
tests}/utils.test.ts (100%)
 copy superset-frontend/{packages/superset-ui-core/src/dynamic-plugins => 
src/explore/components/controls/FilterControl/utils}/index.ts (85%)
 create mode 100644 
superset-frontend/src/explore/components/controls/FilterControl/utils/useDatePickerInAdhocFilter.tsx
 create mode 100644 
superset-frontend/src/explore/components/controls/FilterControl/utils/useDatePickerInAdhocfilter.test.ts
 create mode 100644 
superset-frontend/src/explore/components/controls/FilterControl/utils/useGetTimeRangeLabel.test.ts
 create mode 100644 
superset-frontend/src/explore/components/controls/FilterControl/utils/useGetTimeRangeLabel.tsx
 create mode 100644 superset/common/utils/time_range_utils.py
 create mode 100644 superset/reports/utils.py
 create mode 100644 tests/unit_tests/common/test_time_range_utils.py
 copy {superset/advanced_data_type => tests/unit_tests/reports}/__init__.py 
(100%)
 create mode 100644 tests/unit_tests/reports/test_utils.py

Reply via email to