This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch ds-404-test
in repository https://gitbox.apache.org/repos/asf/superset.git
from 6f7f9fae76 add license
add 65a11b6f45 refactor: introduce react-query on api resource hook
(#21240)
add 222f1e7ea8 fix(sqllab): invalid table metadata request (#21304)
add 2aa3bb6c00 fix(utils): use getaddrinfo for hostname check to support
ipv6 (#21042)
add 38782bb98a fix(utils): use getaddrinfo response to support dual-stack
port checks (#21043)
add 2d70ef670e feat(sqllab): Make LeftBar width resizable (#21300)
add f71ee2e7bc fix: flaky test when sync metadata (#21306)
add 60db0bb47e chore: Bump pandas to 1.4.4 (#21285)
add fbe980779e feat: Adds a helper text option to the Select component
(#21269)
add 99a4f05069 fix: DB connection modal connect bug (#21299)
add 34a79add04 feat: filter parameters from DB API (#21248)
add 1cc2148538 fix(ViewQuery-Modal): Copy icon is out of box when resize
query modal (#21243)
add 79525dfaf2 feat(explore): standardized controls for time pivot chart
(#21321)
add d994babe75 fix(dashboard): padding between rows within tabs (#21323)
add b71182f013 chore: refactor ChartHolder to typescript + tests (#20910)
add c3f8417139 fix: disallow users from viewing other user's profile on
config (#21302)
add a27c7ae7d0 chore: upgrade yeoman-generator to fix security warnings
(#21324)
add 29c233fc92 chore: bump FAB to 4.1.4 (#21329)
add d130b4a24f fix: database modal crashed when use SQLAlchemy URI string
(#21342)
add f603295678 chore: refactor ResultSet to functional component (#21186)
add acd9515353 fix(sqllab): Copy link doesn't apply the unsaved changes
(#21311)
add 9be4870c7f feat: only show active user for chart/dashboard/datasource
owner drop… (#20837)
add 286474c3d8 fix: revert permission refactoring PR (#21313)
add c382d53478 fix: Add locale for DatePicker component (#20063)
add 875e9f8a04 fix(dashboard): Fix scrolling on "View as table" modal
(#21282)
add ce3d38d2e7 feat: apply Time Grain to X-Axis column (#21163)
add 8c2719b11c feat: add tableselector to dataset creation page (#21075)
add 935fe2483f Merge branch 'master' of https://github.com/apache/superset
into ds-404-test
No new revisions were added by this update.
Summary of changes:
UPDATING.md | 2 +
requirements/base.txt | 4 +-
setup.py | 4 +-
.../integration/dashboard/nativeFilters.test.ts | 4 +-
superset-frontend/package-lock.json | 3217 +++++---------------
superset-frontend/package.json | 1 +
.../packages/generator-superset/package.json | 38 +-
.../src/sections/echartsTimeSeriesQuery.tsx | 5 +
.../src/sections/sections.tsx | 15 +-
.../src/shared-controls/index.tsx | 17 +
.../src/query/buildQueryContext.ts | 7 +-
.../packages/superset-ui-core/src/query/index.ts | 1 +
.../src/query/normalizeTimeColumn.ts | 83 +
.../superset-ui-core/src/query/types/Column.ts | 2 +
.../test/query/buildQueryContext.test.ts | 47 +
.../test/query/normalizeTimeColumn.test.ts | 247 ++
.../src/TimePivot/controlPanel.ts | 5 +
.../src/MixedTimeseries/controlPanel.tsx | 4 +-
.../src/Timeseries/Area/controlPanel.tsx | 2 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 2 +-
.../src/Timeseries/Regular/Line/controlPanel.tsx | 2 +-
.../Timeseries/Regular/Scatter/controlPanel.tsx | 2 +-
.../Timeseries/Regular/SmoothLine/controlPanel.tsx | 2 +-
.../src/Timeseries/Step/controlPanel.tsx | 2 +-
superset-frontend/spec/helpers/testing-library.tsx | 7 +
superset-frontend/src/SqlLab/App.jsx | 15 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 5 +-
.../src/SqlLab/actions/sqlLab.test.js | 74 +-
.../components/ExploreCtasResultsButton/index.tsx | 25 +-
.../components/ExploreResultsButton/index.tsx | 1 +
.../src/SqlLab/components/QueryTable/index.tsx | 1 -
.../SqlLab/components/ResultSet/ResultSet.test.jsx | 219 --
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 216 ++
.../src/SqlLab/components/ResultSet/index.tsx | 573 ++--
.../ShareSqlLabQuery/ShareSqlLabQuery.test.jsx | 46 +-
.../SqlLab/components/ShareSqlLabQuery/index.tsx | 22 +-
.../src/SqlLab/components/SouthPane/index.tsx | 3 -
.../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 | 4 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 20 +-
.../src/SqlLab/reducers/sqlLab.test.js | 22 +
.../src/components/Datasource/DatasourceEditor.jsx | 10 +-
.../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 | 3 +-
superset-frontend/src/components/Modal/Modal.tsx | 48 +-
.../src/components/ProgressBar/index.tsx | 2 +-
.../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 | 136 +-
.../src/dashboard/components/AnchorLink/index.tsx | 3 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 12 +-
.../DashboardBuilder/DashboardBuilder.tsx | 88 +-
.../dashboard/components/PropertiesModal/index.tsx | 8 +-
.../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 +
.../components/ResultsPaneOnDashboard.tsx | 34 +-
.../explore/components/PropertiesModal/index.tsx | 8 +-
.../components/CustomFrame.test.tsx | 101 +-
.../DateFilterControl/components/CustomFrame.tsx | 12 +
.../controls/DateFilterControl/utils/constants.ts | 17 +
superset-frontend/src/explore/types.ts | 1 +
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/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 | 73 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 3 +-
.../src/views/CRUD/data/database/types.ts | 2 +-
.../data/dataset/AddDataset/AddDataset.test.tsx | 8 +-
.../AddDataset/LeftPanel/LeftPanel.test.tsx | 208 +-
.../data/dataset/AddDataset/LeftPanel/index.tsx | 250 +-
.../views/CRUD/data/dataset/AddDataset/index.tsx | 31 +-
.../views/CRUD/data/dataset/AddDataset/types.tsx | 19 +-
.../dataset/DatasetLayout/DatasetLayout.test.tsx | 8 +-
.../Item.tsx => views/QueryProvider.tsx} | 43 +-
superset/config.py | 1 +
superset/connectors/sqla/models.py | 25 +-
superset/connectors/sqla/utils.py | 28 +-
superset/constants.py | 2 +
superset/databases/api.py | 2 +-
superset/databases/commands/create.py | 6 +
superset/databases/commands/test_connection.py | 16 +-
superset/databases/commands/update.py | 8 +
superset/databases/commands/validate.py | 18 +-
superset/databases/dao.py | 24 +
superset/databases/schemas.py | 17 +-
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/models/core.py | 42 +-
superset/models/helpers.py | 2 +-
superset/security/manager.py | 40 -
superset/superset_typing.py | 2 +
superset/utils/core.py | 11 +
superset/utils/network.py | 25 +-
.../utils/pandas_postprocessing/contribution.py | 3 -
superset/views/base.py | 1 +
superset/views/base_api.py | 22 +
superset/views/core.py | 9 +-
superset/views/utils.py | 26 +-
tests/integration_tests/base_api_tests.py | 48 +-
tests/integration_tests/conftest.py | 43 +-
tests/integration_tests/core_tests.py | 12 +
tests/integration_tests/databases/api_tests.py | 6 +-
tests/integration_tests/datasets/api_tests.py | 8 +-
.../db_engine_specs/postgres_tests.py | 10 +-
.../db_engine_specs/trino_tests.py | 12 +-
.../queries/saved_queries/api_tests.py | 3 +-
tests/integration_tests/query_context_tests.py | 182 ++
tests/integration_tests/security_tests.py | 202 --
tests/integration_tests/sqla_models_tests.py | 7 +-
tests/unit_tests/conftest.py | 1 +
tests/unit_tests/core_tests.py | 1 -
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 +-
147 files changed, 5383 insertions(+), 4429 deletions(-)
create mode 100644
superset-frontend/packages/superset-ui-core/src/query/normalizeTimeColumn.ts
create mode 100644
superset-frontend/packages/superset-ui-core/test/query/normalizeTimeColumn.test.ts
delete mode 100644
superset-frontend/src/SqlLab/components/ResultSet/ResultSet.test.jsx
create mode 100644
superset-frontend/src/SqlLab/components/ResultSet/ResultSet.test.tsx
create mode 100644 superset-frontend/src/components/ResizableSidebar/index.tsx
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.test.ts
=> components/ResizableSidebar/useStoredSidebarWidth.test.ts} (68%)
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.ts
=> components/ResizableSidebar/useStoredSidebarWidth.ts} (62%)
delete mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
delete mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.test.jsx
create mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.tsx
create mode 100644
superset-frontend/src/dashboard/util/useFilterFocusHighlightStyles.test.tsx
create mode 100644
superset-frontend/src/dashboard/util/useFilterFocusHighlightStyles.ts
create mode 100644 superset-frontend/src/hooks/apiResources/tables.test.ts
create mode 100644 superset-frontend/src/hooks/apiResources/tables.ts
copy superset-frontend/src/{components/Pagination/Item.tsx =>
views/QueryProvider.tsx} (62%)