You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/06/30 12:29:13 UTC

[superset] branch 3.0 updated (e538fe9971 -> eb42fa7a2e)

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

michaelsmolina pushed a change to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard e538fe9971 Updates CHANGELOG.md and UPDATING.md
     add 0ddc0a6738 chore: remove marshmallow-enum dependency and bump FAB (#24499)
     add 3f17945745 fix(charts): big-number display broken in echarts (#24492)
     add 750113441c chore: update d3-colors (#24505)
     add a846e8a58d feat(tags): move tags from navbar to settings (#24518)
     add 262b769d19 fix(native-filters): Infinite load when filter with default first value is out of scope in horizontal bar (#24542)
     add a90f740a81 fix: Release scripts Python version (#24544)
     add cdbe4f3fa7 fix: Revert enable strong session protection by default (#24256) (#24545)
     add 0986423d30 chore: Constrain selenium version (#24538)
     add e402c94a9f fix: Use Celery task ETA for alert/report schedule (#24537)
     add 83ff4cd86a feat: Implement currencies formatter for saved metrics (#24517)
     add 71f3fcab74 fix: SQL Lab - correct setting name from DISPLAY_MAX_ROWS to DISPLAY_MAX_ROW (#24519)
     add c81975eed3 fix(permalink): Incorrect component schema reference (#24482)
     add 0d72e63491 fix(translations): typo mistake (translation to Spanish) (#24475)
     add 1e7ee8c4ad fix(docs): Typo in filter migration. (#24541)
     add f1b003f109 refactor: pkg_resources -> importlib.metadata (#24514)
     add 75543af550 chore(dao): Add explicit ON DELETE CASCADE when deleting datasets (#24488)
     add 66f59e5797 fix: heads (#24548)
     add bb1db9e86f fix: Deque mutated during iteration (#24550)
     add 38df1a873f chore: Un-revert enabling CSP by default (#24543)
     add bf9338129a docs: updating images and markdown (#24462)
     add 46159fd190 build(docker): add dockerize image (#24534)
     add 6a8f60f9fd chore: deprecate FLASK_ENV and improve conf.ENVIRONMENT_TAG_CONFIG (#24404)
     add 0d976765ec build(deps): bump semver from 7.3.8 to 7.5.3 in /superset-websocket/utils/client-ws-app (#24501)
     add b543756957 build(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.60.1 in /superset-websocket (#24522)
     add 89225d3938 build(deps-dev): bump @types/node from 20.3.1 to 20.3.2 in /superset-websocket (#24524)
     add 2dfb50b83a build(deps): bump tox from 4.6.1 to 4.6.3 in /requirements (#24452)
     add 2b1275d8c4 fix: Error when searching for a dashboard in the chart list (#24546)
     add 19deb9141d feat: add description column to Tags (#24553)
     add 8ba0b81957 fix(sqllab): Add threshold for checking inactive queries (#24536)
     add be9eb0f3a3 feat: customize screenshot width for alerts/reports (#24547)
     add aa6870b23c chore: better styling alerts/reports modal (#24558)
     add a740c2c06e feat: screenshot reports with custom width (#24549)
     add c238d9733a fix: docker compose refusing to start (#24565)
     add 5bdb774504 fix: Metric is truncated in tooltip (#24555)
     add eb42fa7a2e chore: Updates CHANGELOG.md and UPDATING.md

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   (e538fe9971)
            \
             N -- N -- N   refs/heads/3.0 (eb42fa7a2e)

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:
 .flaskenv                                          |   2 +-
 .github/workflows/docker_build_push.sh             |  11 ++
 .github/workflows/superset-applitool-cypress.yml   |   2 +-
 .github/workflows/superset-e2e.yml                 |   2 +-
 CHANGELOG.md                                       |  75 +++++++++-
 CONTRIBUTING.md                                    |  10 +-
 Dockerfile                                         |   2 +-
 RELEASING/Dockerfile.from_local_tarball            |   2 +-
 RELEASING/Dockerfile.from_svn_tarball              |   2 +-
 RELEASING/Dockerfile.make_docs                     |   2 +-
 RELEASING/Dockerfile.make_tarball                  |   2 +-
 RELEASING/README.md                                |   4 +-
 RELEASING/from_tarball_entrypoint.sh               |   7 +-
 UPDATING.md                                        |  14 ++
 docker/.env                                        |   2 +-
 docker/.env-non-dev                                |   1 -
 docker/docker-bootstrap.sh                         |   2 +-
 dockerize.Dockerfile                               |  13 ++
 docs/docs/contributing/local-backend.mdx           |   6 +-
 .../creating-your-first-dashboard.mdx              |   8 +-
 .../docs/miscellaneous/native-filter-migration.mdx |   2 +-
 docs/docs/security.mdx                             |  55 ++++---
 docs/static/img/tutorial/tutorial_chart_resize.png | Bin 157971 -> 86804 bytes
 docs/static/img/tutorial/tutorial_edit_button.png  | Bin 0 -> 14099 bytes
 .../img/tutorial/tutorial_first_dashboard.png      | Bin 150931 -> 99255 bytes
 docs/static/img/tutorial/tutorial_pencil_edit.png  | Bin 18098 -> 0 bytes
 helm/superset/Chart.yaml                           |   2 +-
 helm/superset/README.md                            |   6 +-
 helm/superset/values.yaml                          |   4 +-
 requirements/base.txt                              |  17 ++-
 requirements/docker.txt                            |   4 +
 requirements/integration.txt                       |   6 +-
 setup.cfg                                          |   2 +-
 setup.py                                           |   5 +-
 superset-frontend/jest.config.js                   |   2 +-
 superset-frontend/package-lock.json                |  62 +++++---
 superset-frontend/package.json                     |   3 +-
 .../src/components/labelUtils.tsx                  |   7 +
 .../superset-ui-chart-controls/src/fixtures.ts     |   2 +
 .../superset-ui-chart-controls/src/types.ts        |   2 +
 .../test/utils/columnChoices.test.tsx              |   1 +
 .../test/utils/defineSavedMetrics.test.tsx         |   1 +
 .../src/chart/models/ChartMetadata.ts              |   6 +
 .../src/currency-format/CurrencyFormatter.ts       |  79 +++++++++++
 .../colorSchemes => currency-format}/index.ts      |   4 +-
 .../packages/superset-ui-core/src/index.ts         |   1 +
 .../src/models/ExtensibleFunction.ts               |   3 +-
 .../superset-ui-core/src/query/types/Datasource.ts |   8 ++
 .../superset-ui-core/src/query/types/Metric.ts     |   1 +
 .../packages/superset-ui-core/src/types/index.ts   |   5 +
 .../test/currency-format/CurrencyFormatter.test.ts | 158 +++++++++++++++++++++
 .../src/BigNumber/BigNumberTotal/index.ts          |   9 +-
 .../src/BigNumber/BigNumberTotal/transformProps.ts |  25 +++-
 .../src/BigNumber/BigNumberWithTrendline/index.ts  |   9 +-
 .../BigNumberWithTrendline/transformProps.ts       |  18 ++-
 .../plugin-chart-echarts/src/BigNumber/types.ts    |   4 +-
 .../plugin-chart-echarts/src/BoxPlot/index.ts      |   9 +-
 .../plugin-chart-echarts/src/Funnel/index.ts       |   9 +-
 .../src/Funnel/transformProps.ts                   |  14 +-
 .../plugin-chart-echarts/src/Gauge/index.ts        |   9 +-
 .../src/Gauge/transformProps.ts                    |  15 +-
 .../plugin-chart-echarts/src/Graph/index.ts        |   9 +-
 .../src/MixedTimeseries/index.ts                   |   9 +-
 .../plugins/plugin-chart-echarts/src/Pie/index.ts  |   9 +-
 .../plugin-chart-echarts/src/Pie/transformProps.ts |  15 +-
 .../plugin-chart-echarts/src/Radar/index.ts        |   9 +-
 .../plugin-chart-echarts/src/Sunburst/index.ts     |   9 +-
 .../src/Timeseries/Area/index.ts                   |   9 +-
 .../src/Timeseries/Regular/Bar/index.ts            |   9 +-
 .../src/Timeseries/Regular/Line/index.ts           |   9 +-
 .../src/Timeseries/Regular/Scatter/index.ts        |   9 +-
 .../src/Timeseries/Regular/SmoothLine/index.ts     |   9 +-
 .../src/Timeseries/Step/index.ts                   |   9 +-
 .../plugin-chart-echarts/src/Timeseries/index.ts   |   9 +-
 .../src/Timeseries/transformProps.ts               |  78 +++++++++-
 .../src/Timeseries/transformers.ts                 |   4 +-
 .../plugins/plugin-chart-echarts/src/Tree/index.ts |   9 +-
 .../plugin-chart-echarts/src/Treemap/index.ts      |   9 +-
 .../src/Treemap/transformProps.ts                  |  17 ++-
 .../plugins/plugin-chart-echarts/src/types.ts      |  19 +++
 .../plugin-chart-echarts/src/utils/forecast.ts     |   4 +-
 .../plugin-chart-echarts/src/utils/series.ts       |   3 +-
 .../src/utils/valueFormatter.ts                    |  63 ++++++++
 .../test/BigNumber/transformProps.test.ts          |  25 ++++
 .../plugin-chart-echarts/test/index.test.ts        | 108 ++++++++++++--
 .../src/PivotTableChart.tsx                        |  31 +++-
 .../src/plugin/transformProps.ts                   |   3 +-
 .../plugins/plugin-chart-pivot-table/src/types.ts  |   2 +
 .../test/plugin/buildQuery.test.ts                 |   1 +
 .../test/plugin/transformProps.test.ts             |   1 +
 .../plugins/plugin-chart-table/package.json        |  42 +++---
 .../plugin-chart-table/src/transformProps.ts       |   8 +-
 .../plugins/plugin-chart-table/src/types.ts        |   7 +-
 .../plugin-chart-table/src/utils/formatValue.ts    |   1 -
 .../plugin-chart-table/src/utils/isEqualColumns.ts |   1 +
 .../plugin-chart-table/test/TableChart.test.tsx    |  21 +++
 .../plugins/plugin-chart-table/test/testData.ts    |  11 ++
 superset-frontend/src/SqlLab/actions/sqlLab.js     |   4 +-
 .../SqlLab/components/QueryAutoRefresh/index.tsx   |   4 +-
 .../src/SqlLab/components/ResultSet/index.tsx      |   2 +-
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |   1 +
 .../src/components/Chart/chartAction.js            |  19 ++-
 .../src/components/Datasource/DatasourceEditor.jsx |  70 +++++++++
 .../Datasource/DatasourceEditor.test.jsx           |  86 ++++++++++-
 .../src/components/Datasource/DatasourceModal.tsx  |  32 ++++-
 .../src/components/DropdownContainer/index.tsx     |   7 +-
 .../src/components/Popover/Popover.test.tsx        |   5 +
 .../BooleanCell/index.tsx => Popover/Popover.tsx}  |  14 +-
 superset-frontend/src/components/Popover/index.tsx |   4 +-
 .../src/components/ReportModal/index.tsx           |  28 ++++
 .../src/components/ReportModal/styles.tsx          |   4 +
 superset-frontend/src/components/Tooltip/index.tsx |   7 +
 .../FilterBar/FilterControls/FilterControls.tsx    |   1 +
 superset-frontend/src/dashboard/constants.ts       |   1 +
 .../src/explore/actions/datasourcesActions.test.ts |   2 +
 .../src/explore/actions/hydrateExplore.ts          |   1 +
 .../controls/MetricControl/AdhocMetric.js          |   3 +-
 .../src/explore/controlUtils/controlUtils.test.tsx |   1 +
 ...etControlValuesCompatibleWithDatasource.test.ts |   1 +
 .../src/explore/exploreUtils/exploreUtils.test.jsx |  16 ++-
 .../src/explore/exploreUtils/index.js              |  11 +-
 .../exploreUtils/shouldUseLegacyApi.test.ts        |  11 +-
 superset-frontend/src/explore/fixtures.tsx         |   2 +
 .../src/features/alerts/AlertReportModal.tsx       |  59 ++++++--
 superset-frontend/src/features/alerts/types.ts     |   3 +-
 superset-frontend/src/features/datasets/types.ts   |   3 +
 superset-frontend/src/pages/ChartList/index.tsx    |   8 +-
 superset-frontend/src/reports/types.ts             |   1 +
 .../src/utils/getDatasourceUid.test.ts             |   1 +
 superset-websocket/package-lock.json               | 157 +++++++++++++++++---
 superset-websocket/package.json                    |   4 +-
 .../utils/client-ws-app/package-lock.json          |  12 +-
 superset/charts/api.py                             |   4 +-
 superset/charts/commands/warm_up_cache.py          |   1 -
 superset/charts/schemas.py                         |   9 +-
 superset/config.py                                 |  53 +++++--
 superset/connectors/base/models.py                 |  21 +++
 superset/connectors/sqla/models.py                 |  11 +-
 superset/connectors/sqla/views.py                  |   1 +
 superset/daos/dataset.py                           |  26 ++--
 superset/dashboards/permalink/api.py               |   2 +-
 superset/dashboards/schemas.py                     |   4 +-
 superset/databases/api.py                          |   4 +-
 superset/databases/schemas.py                      |   5 +-
 superset/datasets/api.py                           |   2 +
 superset/datasets/commands/bulk_delete.py          |  30 +---
 superset/datasets/commands/delete.py               |  18 +--
 superset/datasets/commands/warm_up_cache.py        |   1 -
 superset/datasets/schemas.py                       |   2 +
 superset/db_engine_specs/__init__.py               |   6 +-
 superset/db_engine_specs/base.py                   |   1 +
 superset/explore/schemas.py                        |   1 +
 superset/initialization/__init__.py                |  17 +--
 ...90139bf715e4_add_currency_column_to_metrics.py} |  20 +--
 ..._add_on_delete_cascade_for_tables_references.py |  94 ++++++++++++
 ...b0fb85b9a_add_custom_size_columns_to_report.py} |  25 ++--
 ...240d23c7f86f_update_tag_model_w_description.py} |  21 +--
 superset/reports/api.py                            |   2 +
 superset/reports/commands/execute.py               |  15 +-
 superset/reports/models.py                         |   3 +
 superset/reports/schemas.py                        |  57 +++++++-
 superset/security/api.py                           |   3 +-
 superset/tags/models.py                            |   3 +-
 superset/tasks/scheduler.py                        |  15 +-
 .../appbuilder/general/widgets/base_list.html      |   3 +-
 .../appbuilder/general/widgets/search.html         |   3 +-
 superset/templates/superset/export_dashboards.html |   3 +-
 .../templates/superset/form_view/csv_scripts.html  |   4 +-
 .../form_view/csv_to_database_view/edit.html       |   3 +-
 .../form_view/database_schemas_selector.html       |   3 +-
 .../superset/{flash_wrapper.html => macros.html}   |   8 +-
 .../templates/superset/models/database/macros.html |   9 +-
 .../templates/superset/partials/asset_bundle.html  |   3 +-
 superset/templates/superset/theme.html             |  15 +-
 superset/translations/de/LC_MESSAGES/messages.json |   4 +-
 superset/translations/de/LC_MESSAGES/messages.po   |   4 +-
 superset/translations/en/LC_MESSAGES/messages.json |   2 +-
 superset/translations/en/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/es/LC_MESSAGES/messages.json |   4 +-
 superset/translations/es/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/fr/LC_MESSAGES/messages.json |   2 +-
 superset/translations/fr/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/it/LC_MESSAGES/messages.json |   2 +-
 superset/translations/it/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/ja/LC_MESSAGES/messages.json |   2 +-
 superset/translations/ja/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/ko/LC_MESSAGES/messages.json |   2 +-
 superset/translations/ko/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/nl/LC_MESSAGES/messages.json |   2 +-
 superset/translations/nl/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/pt/LC_MESSAGES/messages.json |   2 +-
 superset/translations/pt/LC_MESSAGES/messages.po   |   2 +-
 .../translations/pt_BR/LC_MESSAGES/messages.json   |   4 +-
 .../translations/pt_BR/LC_MESSAGES/messages.po     |   4 +-
 superset/translations/ru/LC_MESSAGES/messages.json |   4 +-
 superset/translations/ru/LC_MESSAGES/messages.po   |   4 +-
 superset/translations/sk/LC_MESSAGES/messages.json |   2 +-
 superset/translations/sk/LC_MESSAGES/messages.po   |   2 +-
 superset/translations/sl/LC_MESSAGES/messages.json |   4 +-
 superset/translations/sl/LC_MESSAGES/messages.po   |   4 +-
 superset/translations/zh/LC_MESSAGES/messages.json |   4 +-
 superset/translations/zh/LC_MESSAGES/messages.po   |   4 +-
 superset/utils/core.py                             |  21 ++-
 superset/utils/screenshots.py                      |  18 ++-
 superset/views/base.py                             |  38 +++--
 tests/integration_tests/base_api_tests.py          |   2 +-
 tests/integration_tests/charts/api_tests.py        |   2 -
 tests/integration_tests/charts/commands_tests.py   |   1 -
 tests/integration_tests/commands_test.py           |   3 +-
 .../integration_tests/dashboards/commands_tests.py |   1 -
 tests/integration_tests/databases/api_tests.py     |  17 ++-
 tests/integration_tests/datasets/api_tests.py      |   2 -
 tests/integration_tests/datasets/commands_tests.py |   5 +-
 .../db_engine_specs/postgres_tests.py              |   1 -
 tests/integration_tests/reports/api_tests.py       |   6 +-
 tests/integration_tests/reports/scheduler_tests.py |   4 +-
 tests/integration_tests/sqla_models_tests.py       |   9 +-
 tests/unit_tests/databases/ssh_tunnel/dao_tests.py |   2 +-
 tests/unit_tests/datasets/commands/export_test.py  |   1 +
 .../unit_tests/db_engine_specs/test_databricks.py  |   1 -
 tests/unit_tests/db_engine_specs/test_init.py      |   1 -
 221 files changed, 2051 insertions(+), 607 deletions(-)
 create mode 100644 dockerize.Dockerfile
 create mode 100644 docs/static/img/tutorial/tutorial_edit_button.png
 delete mode 100644 docs/static/img/tutorial/tutorial_pencil_edit.png
 create mode 100644 superset-frontend/packages/superset-ui-core/src/currency-format/CurrencyFormatter.ts
 copy superset-frontend/packages/superset-ui-core/src/{color/colorSchemes => currency-format}/index.ts (88%)
 create mode 100644 superset-frontend/packages/superset-ui-core/test/currency-format/CurrencyFormatter.test.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/utils/valueFormatter.ts
 copy superset-frontend/src/components/{Table/cell-renderers/BooleanCell/index.tsx => Popover/Popover.tsx} (75%)
 copy superset/migrations/versions/{2017-09-15_15-09_19a814813610_adding_metric_warning_text.py => 2023-06-21_14-02_90139bf715e4_add_currency_column_to_metrics.py} (69%)
 create mode 100644 superset/migrations/versions/2023-06-22_13-39_6fbe660cac39_add_on_delete_cascade_for_tables_references.py
 copy superset/migrations/versions/{2020-12-03_10-11_5daced1f0e76_reports_add_working_timeout_column.py => 2023-06-27_16-54_8e5b0fb85b9a_add_custom_size_columns_to_report.py} (66%)
 copy superset/migrations/versions/{2015-11-21_11-18_289ce07647b_add_encrypted_password_field.py => 2023-06-29_18-38_240d23c7f86f_update_tag_model_w_description.py} (72%)
 copy superset/templates/superset/{flash_wrapper.html => macros.html} (87%)