You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/09/02 17:48:58 UTC
[superset] branch data-ia-navbar-2 updated (6f020de448 -> ffd16c9f86)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch data-ia-navbar-2
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 6f020de448 fix: DB connection modal connect bug (#21299)
omit 5986a04274 feat: Adds a helper text option to the Select component (#21269)
omit 63d7d68f50 chore: Bump pandas to 1.4.4 (#21285)
omit 8fe17a8bc2 fix: flaky test when sync metadata (#21306)
omit 309771f76e feat(sqllab): Make LeftBar width resizable (#21300)
omit 074c9ec900 fix(utils): use getaddrinfo response to support dual-stack port checks (#21043)
omit adcae9cfb7 fix(utils): use getaddrinfo for hostname check to support ipv6 (#21042)
omit d41f24e50d fix(sqllab): invalid table metadata request (#21304)
omit 35c593155d refactor: introduce react-query on api resource hook (#21240)
omit a14796716e fix(plugin-chart-echarts): show zero value in tooltip (#21296)
omit 2dd2f3d29c fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294)
omit a862962f81 fix: Fix console errors about feature flags when running tests (#21275)
omit fa24064e28 chore: migrate available_domains to api/v1 (#21173)
omit 76eae81576 fix(explore): Incorrect conversion from simple bool filter to custom sql (#21293)
omit 1656f554f0 feat(embedded): provides filter bar visibility setting on embedded dashboard (#21069) (#21070)
omit e4e570837d chore: update release docs (#21270)
omit 5a399ea4b2 feat: adds TLS certificate validation option for SMTP (#21272)
omit 77b03b0dab chore: Renaming Line Chart to Line Chart v2 (#21278)
omit eb46a9488c chore: updating thrift (#20776)
omit 0869e573e7 chore(sqllab): Remove max-width on side panel (#21280)
omit a59745597f fix: Revert "#20095 - fix(database): make to display validation error msg when all … (#21277)
omit 3919e83d37 fix: dataset exists error in save Dataset modal (#21244)
omit 3d012e1ccd fix: bump min version of elastic search (#21274)
omit 7ef71c0316 fix: dataset name change and permission change (#21161)
omit 6ac7a8a577 fix: Table content disappears when switching between tabs (#21251)
omit e3504a83cf fix: SQLAlchemy coercing subquery warning on RLS (#21257)
omit 63b42cf04c fix(sqllab): unable to create new tabs (#21260)
omit de16ab2a53 fix: Add french translation missing (#20061)
omit 8a6a1f8ebf feat: filter with created_by for charts and dashboards (#21199)
omit b239927f60 chore: missing IconType on Icons (#21218)
omit 4fd1209269 fix(sqllab): update persistent queryEditor keys (#21246)
omit def4b01cf8 feat(helm): Added env variable SERVER_WORKER_AMOUNT (#21236)
omit 38999cc86b Revert "ok (#21116)" (#21247)
omit 28ece7b40f fix(celery cache warmup): add auth and use warm_up_cache endpoint (#21076)
omit e79a454f36 fix(dev-server run): Check for environment tag not being undefined (#21232)
omit 1fb7bafb71 fix(database-list): hidden upload file button if no permission (#21216)
omit 901581788e fix: improve get_db_engine_spec_for_backend (#21171)
omit 2ae67147f5 chore: Minor Applitools enhancements (#21239)
omit 32cf2559fb chore: Drill to detail Modal tests (#21148)
omit 5f814d60d3 chore: Keeps context menu in viewport (#21212)
omit 1fd029310d chore: E2E tests for the Drill to detail modal (#21187)
omit a63955501b fix(Trino): create `PrestoBaseEngineSpec` base class to share common code between Trino and Presto (#21066)
omit 6a42121266 fix: Fixes error caused by step id placed in wrong location (#21226)
omit 910511d4da fixed guest role permissions (#21208)
omit 3a3d7227c1 fix: add back custom sql filtering with Query as source (#21190)
omit 45ac644f70 Update chromatic PR action to have access to Job outputs (#21224)
omit 3314c25c0c Removes if statement causing comment not to run (#21222)
omit 8a7824762a fix: Update exception for DatasourceNotFound from `DatasourceDao.get_datasource()` (#21217)
omit 7a3d569df4 feat: Environment tag (#20295)
omit f569ae3de8 feat: Virtual dataset duplication (#20309)
omit e3bad628a5 Splitting into two separate chromatic jobs to reduce conditional logic causing run issues (#21219)
This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.
* -- * -- N refs/heads/data-ia-navbar-2 (ffd16c9f86)
\
O -- O -- O (6f020de448)
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:
.github/workflows/chromatic-master.yml | 55 -
.../workflows/{chromatic-pr.yml => chromatic.yml} | 60 +-
RELEASING/README.md | 12 +-
docker/pythonpath_dev/superset_config.py | 10 -
docs/docs/databases/trino.mdx | 18 +-
docs/docs/installation/alerts-reports.mdx | 1 -
docs/static/resources/openapi.json | 1263 ++++----------------
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 +-
.../cypress-base/applitools.config.js | 3 +-
.../chart_list/chartlist.applitools.test.ts | 4 +-
.../integration/dashboard/dashboard.helper.ts | 13 +-
.../integration/dashboard/drilltodetail.test.ts | 271 -----
.../dashboardlist.applitools.test.ts | 4 +-
superset-frontend/package-lock.json | 96 --
superset-frontend/package.json | 1 -
.../test/utils/featureFlag.test.ts | 48 +-
.../BigNumberWithTrendline/transformProps.ts | 1 -
.../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 ++--
.../spec/fixtures/mockChartQueries.js | 1 -
superset-frontend/spec/fixtures/mockState.js | 5 -
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 +-
.../src/components/Chart/ChartContextMenu.tsx | 17 +-
.../src/components/Chart/DrillDetailModal.test.tsx | 110 --
.../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 -
.../src/components/ResizableSidebar/index.tsx | 82 --
.../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 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 12 +-
.../DashboardBuilder/DashboardBuilder.tsx | 88 +-
.../useStoredFilterBarWidth.test.ts} | 41 +-
.../DashboardBuilder/useStoredFilterBarWidth.ts} | 28 +-
.../DrillDetailPane/DrillDetailPane.test.tsx | 124 --
.../DrillDetailPane/TableControls.test.tsx | 109 --
.../components/DrillDetailPane/TableControls.tsx | 3 +-
.../SliceHeaderControls.test.tsx | 20 -
.../src/explore/components/RowCountLabel/index.tsx | 12 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 3 +
.../getControlValuesCompatibleWithDatasource.ts | 2 -
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/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 +-
.../views/CRUD/data/database/DatabaseList.test.jsx | 28 +-
.../src/views/CRUD/data/database/DatabaseList.tsx | 11 +-
.../data/database/DatabaseModal/index.test.jsx | 3 -
.../CRUD/data/database/DatabaseModal/index.tsx | 44 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 3 +-
.../views/CRUD/data/dataset/DatasetList.test.jsx | 44 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 70 +-
.../CRUD/data/dataset/DuplicateDatasetModal.tsx | 80 --
superset-frontend/src/views/QueryProvider.tsx | 43 -
.../src/views/components/Menu.test.tsx | 13 -
superset-frontend/src/views/components/Menu.tsx | 13 +-
.../src/views/components/RightMenu.tsx | 23 -
superset-frontend/src/views/components/types.ts | 4 -
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/cli/examples.py | 3 -
superset/config.py | 22 +-
superset/connectors/sqla/models.py | 7 +-
superset/dao/exceptions.py | 1 -
superset/dashboards/api.py | 3 +-
superset/dashboards/filters.py | 17 +-
superset/databases/api.py | 4 +-
superset/databases/commands/update.py | 34 -
superset/databases/commands/validate.py | 27 +-
superset/databases/schemas.py | 43 +-
superset/datasets/api.py | 82 +-
superset/datasets/commands/create.py | 11 +-
superset/datasets/commands/delete.py | 24 +
superset/datasets/commands/duplicate.py | 133 ---
superset/datasets/commands/exceptions.py | 4 -
superset/datasets/schemas.py | 5 -
superset/db_engine_specs/__init__.py | 48 +-
superset/db_engine_specs/base.py | 62 +-
superset/db_engine_specs/databricks.py | 19 +-
superset/db_engine_specs/hive.py | 5 +
superset/db_engine_specs/presto.py | 308 +++--
superset/db_engine_specs/shillelagh.py | 6 +-
superset/db_engine_specs/trino.py | 75 +-
superset/examples/data_loading.py | 1 -
superset/examples/echarts_dashboard.py | 250 ----
superset/explore/commands/get.py | 4 +-
superset/initialization/__init__.py | 2 -
superset/models/core.py | 21 +-
superset/models/helpers.py | 31 +-
superset/models/sql_lab.py | 4 -
superset/security/manager.py | 644 +++-------
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 | 14 -
superset/views/core.py | 5 -
.../available_domains/__init__.py | 16 -
.../available_domains/api_tests.py | 30 -
tests/integration_tests/charts/api_tests.py | 28 -
tests/integration_tests/dashboards/api_tests.py | 36 -
tests/integration_tests/databases/api_tests.py | 2 +-
.../databases/schema_tests.py | 114 +-
tests/integration_tests/datasets/api_tests.py | 102 +-
.../db_engine_specs/base_engine_spec_tests.py | 4 +-
.../db_engine_specs/postgres_tests.py | 8 +-
.../db_engine_specs/trino_tests.py | 24 +-
tests/integration_tests/email_tests.py | 29 +-
tests/integration_tests/model_tests.py | 4 +-
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 | 3 -
tests/unit_tests/conftest.py | 3 -
tests/unit_tests/db_engine_specs/test_presto.py | 6 +-
tests/unit_tests/models/core_test.py | 77 +-
160 files changed, 1827 insertions(+), 6772 deletions(-)
delete mode 100644 .github/workflows/chromatic-master.yml
rename .github/workflows/{chromatic-pr.yml => chromatic.yml} (55%)
delete mode 100644 superset-frontend/cypress-base/cypress/integration/dashboard/drilltodetail.test.ts
delete mode 100644 superset-frontend/src/components/Chart/DrillDetailModal.test.tsx
delete mode 100644 superset-frontend/src/components/ResizableSidebar/index.tsx
rename superset-frontend/src/{components/ResizableSidebar/useStoredSidebarWidth.test.ts => dashboard/components/DashboardBuilder/useStoredFilterBarWidth.test.ts} (68%)
rename superset-frontend/src/{components/ResizableSidebar/useStoredSidebarWidth.ts => dashboard/components/DashboardBuilder/useStoredFilterBarWidth.ts} (62%)
delete mode 100644 superset-frontend/src/dashboard/components/DrillDetailPane/DrillDetailPane.test.tsx
delete mode 100644 superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx
delete mode 100644 superset-frontend/src/hooks/apiResources/tables.test.ts
delete mode 100644 superset-frontend/src/hooks/apiResources/tables.ts
delete mode 100644 superset-frontend/src/views/CRUD/data/dataset/DuplicateDatasetModal.tsx
delete mode 100644 superset-frontend/src/views/QueryProvider.tsx
delete mode 100644 superset/available_domains/__init__.py
delete mode 100644 superset/available_domains/api.py
delete mode 100644 superset/available_domains/schemas.py
delete mode 100644 superset/datasets/commands/duplicate.py
delete mode 100644 superset/examples/echarts_dashboard.py
delete mode 100644 tests/integration_tests/available_domains/__init__.py
delete mode 100644 tests/integration_tests/available_domains/api_tests.py
rename tests/{unit_tests => integration_tests}/databases/schema_tests.py (57%)