This is an automated email from the ASF dual-hosted git repository.
villebro pushed a change to branch 7.0
in repository https://gitbox.apache.org/repos/asf/superset.git
from ceef26f9015 chore(i18n): regenerate translation catalogs for
backported strings
new 259c9e51bed fix(security): reject new dashboard/chart viewers while
ENABLE_VIEWERS is off (#45951)
new 97eefb47525 fix(reports): stamp login time on machine-auth sessions
(#45876)
new 5533831c97c fix(export): stream CSV exports inside their request
context (#45952)
new 97a197e4594 fix(databricks): restore the dynamic connection form
(driver-mapping part of #45989)
new 6199472df19 fix(date-parser): stop HOLIDAY returning 500 for its
country argument (#45260)
new 1eec284270f fix(dashboard): show placeholder for archived charts in
version preview (#45745)
new 358ecc3ae8d fix(models): close has_view connection (has_view part of
#45861)
new fa67c7da8bc fix(partition): keep the tooltip within the chart near the
right edge (#45570)
new 4fa4adcd4e8 fix(database): keep entered values when switching
connection mode (#45872)
new 506aa487c70 fix(trino): emit OFFSET before LIMIT for paginated queries
(#42899)
new afd4c21b7a2 fix(filters): avoid ESCAPE clause for ClickHouse
filter-value search (#45926)
new 943cc544011 fix(chart): include semantic views in datasource filter
(#46021)
new 2962df4effa fix(security): bind promiscuous viewer access to the
dashboard's and chart's own requests (reduced backport of #44215)
new 491c10cc290 fix(version-history): warn before removing dashboard
charts (#45746)
new faa312530a7 fix(dashboard): keep guest identity independent of
username value (#45644)
new 738fb6739f2 fix(embedded): validate guest token identity fields
(#45452)
new c515cd331c7 fix(charts): coerce chart and dashboard ids in the query
log context (#45454)
new 1eb0a37462c fix(docker): install libatomic before Playwright setup
(#46124)
new 4879cf8f1e2 fix(mcp): disambiguate x_axis between column and axis
styling (#42841)
new d079eb5d5e4 fix(reports): keep native filters with quoted values in
report permalinks (#46060)
new 67b0fd39e6a fix(api): return 200 from the database and tag _info
endpoints without a filter (#46058)
new cd55a791650 fix(a11y): WCAG 1.3.5 — add autocomplete attributes to
form inputs (#39232)
new 9fb3b1a1ba8 fix(chart): correct resizable modal resize direction for
top/left handles (#43333)
new b0be1d45e8e fix(radar-chart): make inside label positions render where
their names say (#38119)
new 1dd144718f4 fix(i18n): correct es, it and ca catalog strings (catalog
parts of #45958 and #45973)
new 1463000ff98 fix(select): comprehensive hardening for option
deduplication and new option handling (#44894)
new a88caa417a5 fix(i18n): backfill missing German translations (catalog
part of #45886)
new 44008373645 chore(deps): bump flask-appbuilder from 5.2.2 to 5.3.0
(#44400 and #45922)
new bcbb5733244 fix(security): bump pyarrow to 26.0.1 for CVE-2026-111497
(#45412 and #46018)
new e0cdadd095e test(reports): drop a master-only patch from the #46060
backport test
new 4b3c307e3e3 fix(security): preserve Snowflake catalog identity in SQL
Lab (#46055)
new 6e6779c490c chore(i18n): regenerate translation catalogs for
backported strings
The 32 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Dockerfile | 6 +-
SECURITY.md | 1 +
UPDATING.md | 62 +-
docs/admin_docs/installation/docker-builds.mdx | 3 +
docs/admin_docs/security/security.mdx | 11 +-
.../creating-your-first-dashboard.mdx | 5 +
docs/docs/using-superset/version-history.mdx | 10 +
docs/static/feature-flags.json | 2 +-
docs/static/resources/openapi.json | 19 +
pyproject.toml | 4 +-
requirements/base.in | 4 +-
requirements/base.txt | 4 +-
requirements/development.txt | 4 +-
superset-frontend/jest.config.js | 2 +-
.../src/components/Modal/Modal.resize.test.tsx | 413 +++++
.../src/components/Modal/Modal.tsx | 93 +-
.../src/components/Select/AsyncSelect.stories.tsx | 48 +
.../src/components/Select/AsyncSelect.test.tsx | 141 ++
.../src/components/Select/AsyncSelect.tsx | 62 +-
.../src/components/Select/Select.stories.tsx | 23 +
.../src/components/Select/Select.test.tsx | 17 +
.../src/components/Select/Select.tsx | 22 +-
.../src/components/Select/styles.tsx | 15 +
.../src/components/Select/types.ts | 19 +-
.../src/components/Select/utils.test.ts | 75 +
.../src/components/Select/utils.tsx | 77 +-
.../src/Radar/transformProps.ts | 26 +-
.../test/Radar/transformProps.test.ts | 122 +-
.../plugin-chart-partition/src/Partition.ts | 18 +-
.../plugin-chart-partition/test/Partition.test.ts | 129 ++
.../src/components/ImportModal/index.tsx | 8 +-
superset-frontend/src/components/ListView/types.ts | 1 +
.../components/DateFunctionTooltip.tsx | 4 +-
.../DatabaseConnectionForm/OAuth2ClientField.tsx | 1 +
.../databases/DatabaseModal/SSHTunnelForm.tsx | 6 +
.../databases/DatabaseModal/index.test.tsx | 221 +++
.../src/features/databases/DatabaseModal/index.tsx | 30 +-
.../src/features/userInfo/UserInfoModal.tsx | 10 +-
.../src/features/users/UserListModal.tsx | 11 +-
.../versionHistory/RestoreConfirmModal.test.tsx | 152 ++
.../versionHistory/RestoreConfirmModal.tsx | 55 +-
.../src/features/versionHistory/api.test.ts | 51 +
.../src/features/versionHistory/api.ts | 40 +-
.../useDashboardVersionPreview.test.tsx | 38 +
.../versionHistory/useDashboardVersionPreview.ts | 15 +-
.../features/versionHistory/useVersionActions.tsx | 2 +
superset-frontend/src/pages/ActionLog/index.tsx | 2 +
.../src/pages/ChartList/ChartList.test.tsx | 87 +-
.../src/pages/ChartList/ChartList.testHelpers.tsx | 6 +-
superset-frontend/src/pages/ChartList/index.tsx | 23 +-
superset-frontend/src/pages/Login/index.tsx | 2 +
superset-frontend/src/pages/Register/index.tsx | 1 +
superset/charts/api.py | 2 +
superset/charts/data/api.py | 15 +-
superset/charts/filters.py | 42 +-
superset/commands/dashboard/update.py | 8 +-
superset/commands/streaming_export/base.py | 211 ++-
superset/commands/utils.py | 39 +-
superset/config.py | 24 +-
superset/daos/dashboard.py | 127 +-
superset/dashboards/api.py | 76 +-
superset/db_engine_specs/__init__.py | 10 +-
superset/db_engine_specs/base.py | 60 +
superset/db_engine_specs/databricks.py | 8 +-
superset/db_engine_specs/hive.py | 5 +
superset/db_engine_specs/presto.py | 7 +
superset/db_engine_specs/snowflake.py | 101 +-
superset/mcp_service/app.py | 2 +-
superset/mcp_service/chart/schemas.py | 59 +-
.../dashboard/tool/manage_dashboard_roles.py | 55 +-
superset/mcp_service/guest_token_verifier.py | 11 +
superset/models/core.py | 28 +-
superset/models/helpers.py | 47 +-
superset/reports/models.py | 7 +-
superset/security/api.py | 3 +
superset/security/guest_token.py | 112 ++
superset/security/manager.py | 352 ++++-
superset/sql/parse.py | 12 +
superset/subjects/exceptions.py | 17 +
superset/thumbnails/digest.py | 35 +-
superset/translations/ar/LC_MESSAGES/messages.po | 39 +-
superset/translations/ca/LC_MESSAGES/messages.po | 37 +-
superset/translations/cs/LC_MESSAGES/messages.po | 36 +-
superset/translations/de/LC_MESSAGES/messages.po | 1574 +++++++++++++-------
superset/translations/en/LC_MESSAGES/messages.po | 35 +-
superset/translations/es/LC_MESSAGES/messages.po | 229 ++-
superset/translations/fa/LC_MESSAGES/messages.po | 35 +-
superset/translations/fi/LC_MESSAGES/messages.po | 35 +-
superset/translations/fr/LC_MESSAGES/messages.po | 35 +-
superset/translations/it/LC_MESSAGES/messages.po | 40 +-
superset/translations/ja/LC_MESSAGES/messages.po | 34 +-
superset/translations/ko/LC_MESSAGES/messages.po | 34 +-
superset/translations/lv/LC_MESSAGES/messages.po | 36 +-
superset/translations/messages.pot | 35 +-
superset/translations/mi/LC_MESSAGES/messages.po | 35 +-
superset/translations/nl/LC_MESSAGES/messages.po | 35 +-
superset/translations/pl/LC_MESSAGES/messages.po | 35 +-
superset/translations/pt/LC_MESSAGES/messages.po | 35 +-
.../translations/pt_BR/LC_MESSAGES/messages.po | 35 +-
superset/translations/ro/LC_MESSAGES/messages.po | 36 +-
superset/translations/ru/LC_MESSAGES/messages.po | 36 +-
superset/translations/sk/LC_MESSAGES/messages.po | 36 +-
superset/translations/sl/LC_MESSAGES/messages.po | 37 +-
superset/translations/sr/LC_MESSAGES/messages.po | 36 +-
.../translations/sr_Latn/LC_MESSAGES/messages.po | 36 +-
superset/translations/ta/LC_MESSAGES/messages.po | 35 +-
superset/translations/th/LC_MESSAGES/messages.po | 34 +-
superset/translations/tr/LC_MESSAGES/messages.po | 34 +-
superset/translations/uk/LC_MESSAGES/messages.po | 37 +-
superset/translations/zh/LC_MESSAGES/messages.po | 34 +-
.../translations/zh_TW/LC_MESSAGES/messages.po | 34 +-
superset/utils/date_parser.py | 31 +-
superset/utils/machine_auth.py | 7 +-
superset/utils/screenshots.py | 38 +-
superset/versioning/api_helpers.py | 18 +-
superset/versioning/membership.py | 25 +
superset/views/base_api.py | 29 +
tests/integration_tests/dashboards/api_tests.py | 158 ++
tests/integration_tests/security/api_tests.py | 41 +-
tests/integration_tests/sqllab_tests.py | 13 +-
.../unit_tests/charts/data/test_log_context_ids.py | 58 +
tests/unit_tests/charts/test_filters.py | 109 ++
.../chart/streaming_export_command_test.py | 337 ++++-
tests/unit_tests/commands/report/execute_test.py | 78 +
.../sql_lab/streaming_export_command_test.py | 25 +-
tests/unit_tests/dao/dashboard_test.py | 32 +-
.../dashboards/screenshot_guest_dispatch_test.py | 320 ++++
tests/unit_tests/databases/api_test.py | 28 +
tests/unit_tests/db_engine_specs/test_base.py | 19 +
.../unit_tests/db_engine_specs/test_databricks.py | 7 +-
tests/unit_tests/db_engine_specs/test_init.py | 22 +
tests/unit_tests/db_engine_specs/test_snowflake.py | 603 +++++++-
tests/unit_tests/db_engine_specs/test_trino.py | 93 ++
tests/unit_tests/jinja_context_test.py | 2 +-
.../mcp_service/chart/test_chart_schemas.py | 79 +
.../dashboard/tool/test_get_dashboard_layout.py | 1 +
.../dashboard/tool/test_manage_dashboard_roles.py | 102 +-
.../mcp_service/test_guest_token_auth.py | 46 +-
tests/unit_tests/models/core_test.py | 80 +
tests/unit_tests/models/helpers_test.py | 95 ++
tests/unit_tests/reports/model_test.py | 128 +-
.../security/guest_user_detection_test.py | 228 +++
tests/unit_tests/security/manager_test.py | 14 +-
.../security/snowflake_catalog_case_test.py | 561 +++++++
.../security/test_guest_token_identity.py | 201 +++
.../security/typed_datasource_access_test.py | 2 +
tests/unit_tests/sql/parse_tests.py | 55 +-
tests/unit_tests/sql_lab_test.py | 45 +
.../subjects/test_creator_group_call_sites.py | 12 +
.../subjects/test_creator_group_defaults.py | 9 +-
.../subjects/test_promiscuous_dashboard_access.py | 487 ++++++
tests/unit_tests/subjects/test_raise_for_access.py | 10 +-
tests/unit_tests/subjects/test_utils.py | 135 +-
tests/unit_tests/thumbnails/guest_digest_test.py | 131 ++
tests/unit_tests/utils/date_parser_tests.py | 39 +
tests/unit_tests/utils/machine_auth_test.py | 176 +++
tests/unit_tests/utils/screenshot_test.py | 13 +
.../unit_tests/versioning/test_restore_warning.py | 164 ++
.../test_dashboard_permalink_native_filters.py | 103 ++
tests/unit_tests/views/test_info_without_filter.py | 132 ++
160 files changed, 10545 insertions(+), 1108 deletions(-)
create mode 100644
superset-frontend/packages/superset-ui-core/src/components/Modal/Modal.resize.test.tsx
create mode 100644
superset-frontend/plugins/plugin-chart-partition/test/Partition.test.ts
create mode 100644
superset-frontend/src/features/versionHistory/RestoreConfirmModal.test.tsx
create mode 100644 tests/unit_tests/charts/data/test_log_context_ids.py
create mode 100644
tests/unit_tests/dashboards/screenshot_guest_dispatch_test.py
create mode 100644 tests/unit_tests/security/guest_user_detection_test.py
create mode 100644 tests/unit_tests/security/snowflake_catalog_case_test.py
create mode 100644 tests/unit_tests/security/test_guest_token_identity.py
create mode 100644
tests/unit_tests/subjects/test_promiscuous_dashboard_access.py
create mode 100644 tests/unit_tests/thumbnails/guest_digest_test.py
create mode 100644 tests/unit_tests/utils/machine_auth_test.py
create mode 100644 tests/unit_tests/versioning/test_restore_warning.py
create mode 100644
tests/unit_tests/views/test_dashboard_permalink_native_filters.py
create mode 100644 tests/unit_tests/views/test_info_without_filter.py