This is an automated email from the ASF dual-hosted git repository.
EnxDev pushed a change to branch
enxdev/feat/dashboard-excel-export-sync-fallback
in repository https://gitbox.apache.org/repos/asf/superset.git
from c8c5f863383 Merge branch 'master' into
enxdev/feat/dashboard-excel-export-sync-fallback
add 6323b37f50a fix(dashboard): prevent and repair self-nested layout
components (#44303)
add 7c7b3adf745 fix(export): keep the acting user in streaming CSV exports
(#44425)
add c0c688d3e4b fix(mcp): return a specific error per failure class on
tool calls (#44387)
add a071d23b41f fix(dashboard): guest sessions, pluggable storage, and
streamed downloads for the Excel export (#43805)
add d7a918b814c fix(ci): make check_pot_drift extract from an isolated git
snapshot (#44578)
add 775f7c5a1fd fix(db2): Use DATE_TRUNC to improve timegrain expressions
(#43236)
add 298aa2f0ba4 fix(dataset): bump changed_on on column refresh so chart
cache invalidates (#43921)
add 55092f213f8 Merge remote-tracking branch 'origin/master' into
enxdev/feat/dashboard-excel-export-sync-fallback
No new revisions were added by this update.
Summary of changes:
UPDATING.md | 74 ++-
docs/admin_docs/configuration/mcp-server.mdx | 16 +
.../using-superset/exporting-dashboard-data.mdx | 135 ++--
docs/static/resources/openapi.json | 78 ++-
pyproject.toml | 14 +-
scripts/translations/check_pot_drift.py | 77 ++-
.../src/dashboard/actions/hydrate.test.ts | 85 ++-
superset-frontend/src/dashboard/actions/hydrate.ts | 28 +-
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 670 ++++++++++++++++---
.../components/menu/DownloadMenuItems/index.tsx | 216 ++++++-
.../src/dashboard/reducers/dashboardLayout.test.ts | 62 ++
.../src/dashboard/reducers/dashboardLayout.ts | 26 +
.../src/dashboard/util/getDropPosition.test.ts | 83 +++
.../src/dashboard/util/getDropPosition.ts | 13 +
.../util/removeUnreachableComponents.test.ts | 283 ++++++++
.../dashboard/util/removeUnreachableComponents.ts | 225 +++++++
.../util/updateComponentParentsList.test.ts | 17 +
.../dashboard/util/updateComponentParentsList.ts | 7 +-
superset/commands/dashboard/update.py | 7 +-
superset/commands/distributed_lock/acquire.py | 9 +-
superset/commands/streaming_export/base.py | 41 +-
superset/config.py | 60 +-
superset/connectors/sqla/models.py | 53 +-
superset/daos/dashboard.py | 5 +
superset/dashboards/api.py | 269 +++++++-
superset/dashboards/excel_export/download_link.py | 160 +++++
superset/dashboards/excel_export/email.py | 29 +-
superset/dashboards/excel_export/storage.py | 11 +-
superset/dashboards/excel_export/workbook.py | 25 +-
superset/dashboards/layout.py | 269 ++++++++
superset/db_engine_specs/db2.py | 27 +-
superset/db_engine_specs/ibmi.py | 21 +
superset/key_value/types.py | 1 +
superset/mcp_service/chart/compile.py | 29 +-
superset/mcp_service/constants.py | 28 +
.../dashboard/tool/generate_dashboard.py | 3 +-
superset/mcp_service/middleware.py | 287 ++++++++-
superset/tasks/export_dashboard_excel.py | 261 +++++++-
superset/translations/messages.pot | 15 +-
superset/utils/export_storage.py | 76 +++
superset/utils/gcs.py | 101 +++
superset/utils/s3.py | 124 ++--
tests/integration_tests/dashboards/api_tests.py | 485 +++++++++++++-
tests/integration_tests/datasets/api_tests.py | 15 +-
tests/integration_tests/security_tests.py | 8 +
.../chart/streaming_export_command_test.py | 61 ++
tests/unit_tests/commands/dashboard/update_test.py | 46 ++
tests/unit_tests/connectors/sqla/models_test.py | 234 +++++++
tests/unit_tests/dao/dashboard_test.py | 139 ++++
tests/unit_tests/dashboards/api_test.py | 116 ++++
tests/unit_tests/dashboards/layout_test.py | 325 ++++++++++
.../dashboards/test_excel_export_download_link.py | 65 ++
.../dashboards/test_excel_export_storage.py | 24 +-
tests/unit_tests/db_engine_specs/test_db2.py | 35 +-
tests/unit_tests/db_engine_specs/test_ibmi.py | 76 +++
.../distributed_lock/distributed_lock_tests.py | 22 +
.../dashboard/tool/test_dashboard_generation.py | 63 ++
.../mcp_service/test_error_classification.py | 679 ++++++++++++++++++++
.../tasks/test_export_dashboard_excel.py | 714 +++++++++++++++++++--
tests/unit_tests/utils/gcs_tests.py | 120 ++++
tests/unit_tests/utils/s3_tests.py | 102 ++-
61 files changed, 6774 insertions(+), 575 deletions(-)
create mode 100644
superset-frontend/src/dashboard/util/removeUnreachableComponents.test.ts
create mode 100644
superset-frontend/src/dashboard/util/removeUnreachableComponents.ts
create mode 100644 superset/dashboards/excel_export/download_link.py
create mode 100644 superset/dashboards/layout.py
create mode 100644 superset/utils/export_storage.py
create mode 100644 superset/utils/gcs.py
create mode 100644 tests/unit_tests/dashboards/layout_test.py
create mode 100644
tests/unit_tests/dashboards/test_excel_export_download_link.py
create mode 100644 tests/unit_tests/db_engine_specs/test_ibmi.py
create mode 100644 tests/unit_tests/mcp_service/test_error_classification.py
create mode 100644 tests/unit_tests/utils/gcs_tests.py