You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2023/01/27 21:24:03 UTC

[superset] branch lyndsi/enable-dataset-creation-fixed updated (2166c5b14e -> 1fa9d6d26a)

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

lyndsi pushed a change to branch lyndsi/enable-dataset-creation-fixed
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard 2166c5b14e Fix bug: already existing datasets are not marked as "already exists" in dataset creation page
 discard 1914d417a6 Better solution for top nav create dataset disabled bug
 discard f88f49dc4f Revert "Revert "feat(RLS): RESTful apis and react view for RLS (#22325)""
 discard 961bd37c25 Fix bug: Create dataset disabled in topnav + menu
 discard 63068036ac Revert "feat(RLS): RESTful apis and react view for RLS (#22325)"
 discard 9f1516cd08 Fix bugs
 discard 8c6cf99e75 Remove user-selected db from local storage when db is deleted
 discard 2e171bcb5f Add filter by database ID to rison in queryParams
 discard 68cf04b261 Change text on footer create button
 discard 4c496df59c Add table_name query to /chart/add/ redirect
 discard 34082a3b0e Fix DatabaseModal test by mocking useHistory hook
 discard 337159db42 Add path back into error message
 discard 3f7204d200 fix lint
 discard 419ff01b2a Fix useEffect warnings and autosetting db from local storage, add translations, change window.location.href redirect to use history.push()
 discard dd0c245f8f Fix lint
 discard 01db695cd7 Add dangerToasts to error handling
 discard faf84b2a57 Address Cody's review comments
 discard 52050d2aec Use useHistory instead of window.location.href
 discard 34ff009003 Fix tests
 discard 28cea70b07 Delete AddDatasetModal
 discard cf1efedf2e Create dataset returns user to dataset list
 discard 1a66548921 Cancel now redirects to the previous page
 discard cb64eb6a67 Change all add dataset entrances to use new create page
 discard bcbb76dfed Make defaultPageSize a const and move emptyStateComponent into src/components/EmptyState
 discard 51be32ce0c Create dataset polish/bug fix
 discard cd142641f4 Remove console.log
 discard 635557e1c6 optimized setDatasets call
     add 9ed2326a20 feat: Move cross filters to Dashboard (#22785)
     add 88a5d987da fix(cpq): Add `schema` to Query.data() payload (#22791)
     add 5da09bf341 fix(Annotation Layers): Error when render options with renamed columns (#22453)
     add 8c38878048 build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.48.2 to 5.49.0 in /superset-websocket (#22838)
     add 02e5dcbbf2 chore(misc): Spelling (#19678)
     add a2ca24682d build(deps): bump ua-parser-js from 0.7.31 to 0.7.33 in /docs (#22858)
     add f8edcd7ae2 docs(cache): update doc strings (#22865)
     add 2400179fb0 chore: migrate react-diff-viewer to react-diff-viewer-continued for react 18 upgrade (#22834)
     add 6021d6f699 chore: upgrade react-table for react 18 upgrade (#22780)
     add 446d1779e1 chore: upgrade react-reverse-portal for react upgrade (#22779)
     add 6998f65e1d chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852)
     add 3fd4718ecb fix: Convert TIMESTAMP_* to TIMESTAMP in Snowflake (#22872)
     add 0045816772 fix(sqllab): reverts #22695 (#22861)
     add d6a4a5da79 feat(ssh_tunnel): Add feature flag to SSH Tunnel API (#22805)
     add 8226110be8 fix: revert RESTful apis and react view for RLS (#22818)
     add bed10a0e2b chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> (#22496)
     add d00ba15c78 chore: add statsd support to base API and refactor (#22887)
     add 14878a160f chore: Migrate /superset/queries/<last_updated_ms> to API v1 (#22611)
     add 0706bcfe2a docs: add Skyscanner to users list (#22888)
     add 6cf434e5c1 feat: Add excel export (#22006)
     add 0e1f682bee build(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#22891)
     add 742889fc79 optimized setDatasets call
     add 838ab92bec Remove console.log
     add 41d6794543 Create dataset polish/bug fix
     add a82422ac60 Make defaultPageSize a const and move emptyStateComponent into src/components/EmptyState
     add d7f03e120c Change all add dataset entrances to use new create page
     add 43150aa074 Cancel now redirects to the previous page
     add 3f1b6f1a31 Create dataset returns user to dataset list
     add 678bbf5f64 Delete AddDatasetModal
     add f23ff80536 Fix tests
     add dcac6767c0 Use useHistory instead of window.location.href
     add aeed1770a6 Address Cody's review comments
     add 0d6ae0e696 Add dangerToasts to error handling
     add de4cca0620 Fix lint
     add 99f2942456 Fix useEffect warnings and autosetting db from local storage, add translations, change window.location.href redirect to use history.push()
     add 35ed4c35ec fix lint
     add c516cb5d7c Add path back into error message
     add 043c6d6896 Fix DatabaseModal test by mocking useHistory hook
     add aa1bdff248 Add table_name query to /chart/add/ redirect
     add 097d6b13f9 Change text on footer create button
     add bfeb64b232 Add filter by database ID to rison in queryParams
     add cdf769035d Remove user-selected db from local storage when db is deleted
     add 7db8a17eed Fix bugs
     add 0923101208 Fix bug: Create dataset disabled in topnav + menu
     add fe50a1f400 Better solution for top nav create dataset disabled bug
     add 1fa9d6d26a Fix bug: already existing datasets are not marked as "already exists" in dataset creation page

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   (2166c5b14e)
            \
             N -- N -- N   refs/heads/lyndsi/enable-dataset-creation-fixed (1fa9d6d26a)

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.

No new revisions were added by this update.

Summary of changes:
 RELEASING/Dockerfile.from_local_tarball            |   2 +-
 RELEASING/Dockerfile.from_svn_tarball              |   2 +-
 RESOURCES/INTHEWILD.md                             |   3 +
 UPDATING.md                                        |   1 -
 docs/static/resources/openapi.json                 | 988 ++++++++++++++++++++-
 docs/yarn.lock                                     |  12 +-
 requirements/base.txt                              |   2 +
 scripts/cancel_github_workflows.py                 |   2 +-
 scripts/permissions_cleanup.py                     |  12 +-
 scripts/python_tests.sh                            |   2 +-
 scripts/tests/run.sh                               |   2 +-
 setup.py                                           |   1 +
 .../cypress/integration/chart_list/filter.test.ts  |  94 +-
 .../integration/dashboard/nativeFilters.test.ts    |   6 +-
 .../integration/dashboard_list/filter.test.ts      |  60 +-
 .../cypress-base/cypress/utils/index.ts            |   6 +-
 superset-frontend/package-lock.json                | 125 ++-
 superset-frontend/package.json                     |   6 +-
 .../src/sections/echartsTimeSeriesQuery.tsx        |   2 -
 .../ColumnConfigControl/ColumnConfigControl.tsx    |  17 -
 .../components/ColumnConfigControl/constants.tsx   |  13 -
 .../src/shared-controls/customControls.tsx         |  19 -
 .../shared-controls/emitFilterControl.test.tsx     |  26 -
 .../src/chart/models/ChartProps.ts                 |   7 +
 .../src/controlPanel.tsx                           |   2 +-
 .../legacy-preset-chart-nvd3/src/NVD3Controls.tsx  |   2 +-
 .../src/BoxPlot/EchartsBoxPlot.tsx                 |   4 +-
 .../src/BoxPlot/controlPanel.ts                    |   2 -
 .../src/BoxPlot/transformProps.ts                  |   4 +-
 .../plugin-chart-echarts/src/BoxPlot/types.ts      |   2 -
 .../src/Funnel/EchartsFunnel.tsx                   |   4 +-
 .../src/Funnel/controlPanel.tsx                    |   2 -
 .../src/Funnel/transformProps.ts                   |   4 +-
 .../plugin-chart-echarts/src/Funnel/types.ts       |   2 -
 .../src/Gauge/EchartsGauge.tsx                     |   4 +-
 .../src/Gauge/controlPanel.tsx                     |   2 -
 .../src/Gauge/transformProps.ts                    |  15 +-
 .../plugin-chart-echarts/src/Gauge/types.ts        |   2 -
 .../src/MixedTimeseries/EchartsMixedTimeseries.tsx |   6 +-
 .../src/MixedTimeseries/controlPanel.tsx           |   9 -
 .../src/MixedTimeseries/transformProps.ts          |   6 +-
 .../src/MixedTimeseries/types.ts                   |   2 -
 .../plugin-chart-echarts/src/Pie/EchartsPie.tsx    |   4 +-
 .../plugin-chart-echarts/src/Pie/controlPanel.tsx  |   2 -
 .../plugin-chart-echarts/src/Pie/transformProps.ts |   4 +-
 .../plugins/plugin-chart-echarts/src/Pie/types.ts  |   2 -
 .../src/Radar/EchartsRadar.tsx                     |   4 +-
 .../src/Radar/controlPanel.tsx                     |   2 -
 .../src/Radar/transformProps.ts                    |   4 +-
 .../plugin-chart-echarts/src/Radar/types.ts        |   2 -
 .../src/Sunburst/EchartsSunburst.tsx               |   7 +-
 .../src/Sunburst/controlPanel.tsx                  |   2 -
 .../src/Sunburst/transformProps.ts                 |   4 +-
 .../plugin-chart-echarts/src/Sunburst/types.ts     |   2 -
 .../src/Timeseries/EchartsTimeseries.tsx           |   7 +-
 .../src/Timeseries/constants.ts                    |   1 -
 .../plugin-chart-echarts/src/Timeseries/index.ts   |   4 +-
 .../src/Timeseries/transformProps.ts               |   4 +-
 .../plugin-chart-echarts/src/Timeseries/types.ts   |   1 -
 .../src/Treemap/EchartsTreemap.tsx                 |   4 +-
 .../src/Treemap/controlPanel.tsx                   |   2 -
 .../src/Treemap/transformProps.ts                  |   4 +-
 .../plugin-chart-echarts/src/Treemap/types.ts      |   2 -
 .../plugins/plugin-chart-echarts/src/types.ts      |   2 +-
 .../test/BoxPlot/buildQuery.test.ts                |   1 -
 .../test/MixedTimeseries/buildQuery.test.ts        |   2 -
 .../src/plugin/controlPanel.tsx                    |   2 -
 .../plugins/plugin-chart-handlebars/src/types.ts   |   1 -
 .../src/PivotTableChart.tsx                        |  10 +-
 .../src/plugin/controlPanel.tsx                    |   2 -
 .../src/plugin/transformProps.ts                   |   4 +-
 .../plugins/plugin-chart-pivot-table/src/types.ts  |   2 +-
 .../test/plugin/transformProps.test.ts             |   3 +-
 .../plugins/plugin-chart-table/package.json        |   7 +-
 .../plugins/plugin-chart-table/src/TableChart.tsx  |  28 +-
 .../plugin-chart-table/src/controlPanel.tsx        |   3 -
 .../plugin-chart-table/src/transformProps.ts       |   4 +-
 .../plugins/plugin-chart-table/src/types.ts        |   3 +-
 .../spec/fixtures/mockDashboardState.js            |   2 +-
 superset-frontend/src/SqlLab/actions/sqlLab.js     |  14 +-
 .../src/SqlLab/actions/sqlLab.test.js              |  48 -
 .../SqlLab/components/QueryAutoRefresh/index.tsx   |  20 +-
 .../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx     |   4 +-
 .../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx     |  97 +-
 .../SqlLab/components/SqlEditorLeftBar/index.tsx   |   1 +
 .../src/SqlLab/hooks/useQueryEditor/index.ts       |  33 +-
 .../hooks/useQueryEditor/useQueryEditor.test.ts    |  28 +-
 superset-frontend/src/SqlLab/types.ts              |   2 +-
 superset-frontend/src/components/Chart/Chart.jsx   |   1 +
 .../src/components/Chart/ChartRenderer.jsx         |   7 +-
 .../src/components/Chart/chartAction.js            |  36 +-
 .../src/components/Checkbox/Checkbox.tsx           |   9 +-
 .../DeprecatedSelect/OnPasteSelect.test.jsx        |   2 +-
 .../components/DropdownSelectableIcon/index.tsx    |  73 +-
 .../src/components/Table/Table.stories.tsx         |  10 +-
 .../src/dashboard/actions/dashboardInfo.ts         |  54 +-
 .../src/dashboard/actions/dashboardState.js        |   7 +-
 superset-frontend/src/dashboard/actions/hydrate.js |   5 +
 .../OverwriteConfirmModal.test.tsx                 |   2 +-
 .../OverwriteConfirm/OverwriteConfirmModal.tsx     |   2 +-
 .../src/dashboard/components/SliceHeader/index.tsx |   4 +
 .../components/SliceHeaderControls/index.tsx       |   8 +-
 .../dashboard/components/gridComponents/Chart.jsx  |   4 +
 .../FilterBarOrientationSelect.test.tsx            | 175 ----
 .../FilterBar/FilterBarOrientationSelect/index.tsx |  88 --
 .../FilterBarSettings/FilterBarSettings.test.tsx   | 299 +++++++
 .../FilterBar/FilterBarSettings/index.tsx          | 192 ++++
 .../nativeFilters/FilterBar/Header/index.tsx       |  15 +-
 .../nativeFilters/FilterBar/Horizontal.tsx         |   4 +-
 .../FilterBar/HorizontalFilterBar.test.tsx         |  18 +-
 .../FiltersConfigForm/FilterScope/utils.ts         |   2 +-
 .../src/dashboard/containers/Chart.jsx             |   1 +
 .../src/dashboard/reducers/dashboardInfo.js        |   6 +
 superset-frontend/src/dashboard/types.ts           |   2 +
 .../dashboard/util/crossFilters.ts}                |  18 +-
 .../AnnotationLayerControl/AnnotationLayer.jsx     |  17 +-
 .../controls/AnnotationLayerControl/index.jsx      |   2 +-
 .../useExploreAdditionalActionsMenu/index.jsx      |  22 +
 .../src/explore/controlPanels/sections.tsx         |   2 +-
 .../controlUtils/standardizedFormData.test.ts      |   1 -
 .../exploreUtils/getAnnotationJsonUrl.test.ts      |  51 --
 .../src/explore/exploreUtils/index.js              |  10 +-
 .../src/utils/getClientErrorObject.ts              |  31 +
 .../DatabaseConnectionForm/CommonParameters.tsx    |   2 +-
 .../rowlevelsecurity/RowLevelSecurityList.test.tsx | 259 ------
 .../CRUD/rowlevelsecurity/RowLevelSecurityList.tsx | 351 --------
 .../RowLevelSecurityModal.test.tsx                 | 295 ------
 .../rowlevelsecurity/RowLevelSecurityModal.tsx     | 480 ----------
 .../src/views/CRUD/rowlevelsecurity/constants.ts   |  31 -
 .../src/views/CRUD/rowlevelsecurity/types.ts       |  51 --
 superset-frontend/src/views/routes.tsx             |  10 -
 superset-websocket/package-lock.json               | 234 ++---
 superset-websocket/package.json                    |   2 +-
 superset-websocket/spec/index.test.ts              |   2 +-
 .../utils/client-ws-app/views/index.pug            |   2 +-
 superset/advanced_data_type/api.py                 |   6 +-
 superset/async_events/api.py                       |   8 +-
 superset/available_domains/api.py                  |   9 +-
 superset/cachekeys/api.py                          |   6 +-
 superset/charts/data/api.py                        |  28 +-
 superset/common/chart_data.py                      |   6 +
 superset/common/query_context_processor.py         |  16 +-
 superset/config.py                                 |  19 +-
 superset/connectors/sqla/views.py                  | 117 ++-
 superset/constants.py                              |   1 +
 superset/dao/base.py                               |  11 -
 superset/dashboards/dao.py                         |   1 +
 superset/dashboards/permalink/api.py               |  14 +-
 superset/dashboards/schemas.py                     |   1 +
 superset/databases/api.py                          |  20 +-
 superset/databases/commands/create.py              |   7 +-
 superset/databases/commands/test_connection.py     |  17 +-
 superset/databases/commands/update.py              |   8 +-
 superset/databases/decorators.py                   |   5 +-
 superset/databases/ssh_tunnel/commands/delete.py   |   4 +
 .../databases/ssh_tunnel/commands/exceptions.py    |   5 +
 superset/db_engine_specs/snowflake.py              |   2 +-
 superset/explore/api.py                            |   9 +-
 superset/explore/form_data/api.py                  |  18 +-
 superset/explore/permalink/api.py                  |  16 +-
 superset/extensions/__init__.py                    |   5 +-
 .../health.py => extensions/stats_logger.py}       |  22 +-
 superset/importexport/api.py                       |   8 +-
 superset/initialization/__init__.py                |  27 +-
 ...1c4c6_migrate_num_period_compare_and_period_.py |   2 +-
 superset/models/sql_lab.py                         |   1 +
 superset/queries/api.py                            |  62 +-
 superset/queries/dao.py                            |  14 +-
 superset/queries/schemas.py                        |   8 +
 superset/row_level_security/api.py                 | 349 --------
 superset/row_level_security/commands/__init__.py   |  16 -
 .../row_level_security/commands/bulk_delete.py     |  52 --
 superset/row_level_security/commands/create.py     |  57 --
 superset/row_level_security/commands/exceptions.py |  29 -
 superset/row_level_security/commands/update.py     |  63 --
 superset/row_level_security/dao.py                 |  23 -
 superset/row_level_security/schemas.py             | 154 ----
 superset/security/api.py                           |   7 +-
 superset/tasks/cache.py                            |   8 +-
 superset/temporary_cache/api.py                    |   5 +-
 superset/utils/core.py                             |   6 +-
 .../{temporary_cache/utils.py => utils/excel.py}   |  12 +-
 superset/utils/log.py                              |   7 +-
 superset/views/base.py                             |  11 +
 superset/views/base_api.py                         | 138 +--
 superset/views/core.py                             |   3 +
 superset/views/database/mixins.py                  |   2 +-
 superset/views/users/api.py                        |   8 +-
 tests/integration_tests/celery_tests.py            |   2 +-
 tests/integration_tests/charts/data/api_tests.py   |  50 +-
 tests/integration_tests/core_tests.py              |   2 +-
 tests/integration_tests/csv_upload_tests.py        |   2 +-
 tests/integration_tests/dashboards/api_tests.py    |   2 +-
 tests/integration_tests/databases/api_tests.py     | 106 ++-
 .../ssh_tunnel/commands/commands_tests.py          |   4 +-
 tests/integration_tests/datasets/api_tests.py      |   2 +-
 tests/integration_tests/datasets/commands_tests.py |   2 +-
 tests/integration_tests/datasource_tests.py        |   2 +-
 .../db_engine_specs/postgres_tests.py              |   2 +-
 tests/integration_tests/model_tests.py             |   6 +-
 tests/integration_tests/queries/api_tests.py       |  57 +-
 tests/integration_tests/query_context_tests.py     |   2 +-
 tests/integration_tests/reports/api_tests.py       |   2 +-
 .../security/row_level_security_tests.py           | 419 +--------
 tests/integration_tests/sqllab_tests.py            |   2 +-
 tests/unit_tests/charts/test_post_processing.py    |   4 +-
 tests/unit_tests/dao/queries_test.py               |  56 ++
 tests/unit_tests/databases/api_test.py             |   8 +
 .../databases/ssh_tunnel/commands/delete_test.py   |  11 +-
 tests/unit_tests/db_engine_specs/test_snowflake.py |   5 +-
 tests/unit_tests/fixtures/assets_configs.py        |   1 +
 tests/unit_tests/sql_parse_tests.py                |   2 +-
 tests/unit_tests/utils/date_parser_tests.py        |   4 +-
 213 files changed, 2912 insertions(+), 4070 deletions(-)
 delete mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/shared-controls/emitFilterControl.test.tsx
 delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarOrientationSelect/FilterBarOrientationSelect.test.tsx
 delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarOrientationSelect/index.tsx
 create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarSettings/FilterBarSettings.test.tsx
 create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterBarSettings/index.tsx
 copy superset-frontend/{plugins/plugin-chart-table/src/consts.ts => src/dashboard/util/crossFilters.ts} (72%)
 delete mode 100644 superset-frontend/src/explore/exploreUtils/getAnnotationJsonUrl.test.ts
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityList.test.tsx
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityList.tsx
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityModal.test.tsx
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/RowLevelSecurityModal.tsx
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/constants.ts
 delete mode 100644 superset-frontend/src/views/CRUD/rowlevelsecurity/types.ts
 copy superset/{views/health.py => extensions/stats_logger.py} (71%)
 delete mode 100644 superset/row_level_security/api.py
 delete mode 100644 superset/row_level_security/commands/__init__.py
 delete mode 100644 superset/row_level_security/commands/bulk_delete.py
 delete mode 100644 superset/row_level_security/commands/create.py
 delete mode 100644 superset/row_level_security/commands/exceptions.py
 delete mode 100644 superset/row_level_security/commands/update.py
 delete mode 100644 superset/row_level_security/dao.py
 delete mode 100644 superset/row_level_security/schemas.py
 copy superset/{temporary_cache/utils.py => utils/excel.py} (73%)