This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch fix/35774-query-context-validation
in repository https://gitbox.apache.org/repos/asf/superset.git
omit e79140fe627 fix(charts): reject invalid datasource type in
query_context validation
omit 2e8c77b9b8d fix(charts): treat empty query_context.queries as
complete, validate datasource shape
omit 36bb96e27de fix(i18n): regenerate messages.pot for the OAuth2-move
connection error string
omit 6fac1bcbfdf fix(charts): reject query_context missing
datasource/queries on save (#35774)
add 838376dbc28 fix(mongodb): treat the Mongo database as the SQL Lab
schema so Data Preview returns rows (#44141)
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 3df835de342 fix(charts): reject query_context missing
datasource/queries on save (#35774)
add 52a55f46a30 fix(charts): treat empty query_context.queries as
complete, validate datasource shape
add 101de64c047 fix(charts): reject invalid datasource type in
query_context validation
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 (e79140fe627)
\
N -- N -- N refs/heads/fix/35774-query-context-validation
(101de64c047)
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:
UPDATING.md | 48 +-
docs/admin_docs/configuration/mcp-server.mdx | 16 +
.../using-superset/exporting-dashboard-data.mdx | 116 +++-
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 | 616 +++++++++++++++++--
.../components/menu/DownloadMenuItems/index.tsx | 210 ++++++-
.../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 | 59 +-
superset/daos/dashboard.py | 5 +
superset/dashboards/api.py | 264 +++++++-
superset/dashboards/excel_export/download_link.py | 160 +++++
superset/dashboards/excel_export/email.py | 29 +-
superset/dashboards/layout.py | 269 ++++++++
superset/db_engine_specs/mongodb.py | 63 +-
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 | 272 ++++++--
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 | 435 ++++++++++++-
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/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 ++
tests/unit_tests/db_engine_specs/test_mongodb.py | 205 ++++++-
.../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 | 681 ++++++++++++++++++++-
tests/unit_tests/utils/gcs_tests.py | 120 ++++
tests/unit_tests/utils/s3_tests.py | 102 ++-
53 files changed, 6529 insertions(+), 384 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/mcp_service/test_error_classification.py
create mode 100644 tests/unit_tests/utils/gcs_tests.py