This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch geido/refactor/dashboard-screenshot
in repository https://gitbox.apache.org/repos/asf/superset.git
from d65a34d385 Fail on 404
add 66bc8ceddd chore(Table): Add aria-label to Table page size selector
(#29391)
add ed3c66b6a6 chore(deps): bump scroll-into-view-if-needed from 2.2.28 to
3.1.0 in /superset-frontend (#28816)
add f128718d34 docs: fix typos (#29400)
add a3f0d00714 refactor(src/explore/comp/controls/metricControl): migrate
Enzyme test to RTL syntax (#29380)
add 8fb8199a55 chore(dao/command): Add transaction decorator to try to
enforce "unit of work" (#24969)
add e274925b2a chore(frontend): remove obsolete ESLint rules in tests
(#29405)
add 5c9352fae4 docs: update INTHEWILD.md with bluquist (#29399)
add ba405bacbf docs: Update INTHEWILD.md with Aveti Learning (#29413)
add 179cf269c6 fix: SQL label missing for non-group-by queries (#29420)
add 42773b9b1c chore(deps): bump stream from 0.0.2 to 0.0.3 in /docs
(#29431)
add cfe29406e5 chore(deps-dev): bump typescript from 5.4.5 to 5.5.2 in
/docs (#29432)
add 5aac1b59b1 chore(deps): bump rehype-raw from 6.1.1 to 7.0.0 in
/superset-frontend (#29433)
add 7727b9dc79 chore(deps-dev): bump eslint-import-resolver-typescript
from 2.5.0 to 3.6.1 in /superset-frontend (#29435)
add 0cf676b574 chore(deps-dev): bump ts-jest from 29.1.2 to 29.1.5 in
/superset-websocket (#29423)
add 7d6e933348 chore(key-value): convert command to dao (#29344)
add 028665030f chore: Added 10Web to the list of organizations that use
Apache Superset (#29442)
add 446a3b22dc chore: move all GHAs to ubuntu-22.04 (#29447)
add 839ca82a19 chore(deps): bump react-markdown from 8.0.3 to 8.0.7 in
/superset-frontend (#29439)
add 1e73820277 chore(deps): bump @algolia/client-search from 4.23.3 to
4.24.0 in /docs (#29428)
add cf031bbee4 chore(deps-dev): bump webpack from 5.91.0 to 5.92.1 in
/docs (#29429)
add 7a0ae36c4a chore(deps): bump actions/checkout from 2 to 4 (#29434)
add 3449b8f9dc chore(deps-dev): update @types/lodash requirement from
^4.17.4 to ^4.17.6 in /superset-frontend/plugins/plugin-chart-handlebars
(#29425)
add 7bb7fc0f49 chore(deps): bump deck.gl from 9.0.12 to 9.0.20 in
/superset-frontend/plugins/legacy-preset-chart-deckgl (#29426)
add 7f3c8efab0 fix(metastore-cache): import dao in methods (#29451)
add fb1f2c4f18 fix: re-add missing code from PR #28132 (#29446)
add d5c0506faa fix: OAuth2 in async DBs (#29461)
add 35da6ac270 fix: Dashboard hangs when initial filters cannot be loaded
(#29456)
add 6b73b69b41 feat(CLI command): Apache Superset "Factory Reset" CLI
command #27207 (#27221)
add 5231e86b6c docs(docker compose): fix step 4 list formatting (#29468)
add 48f6fe6d69 chore(i18n): Translated charts and filters into Russian
(#29377)
add 145694d828 chore: run babel_update.sh to update po files (#29476)
add 4e861cf86e chore(utils): Support select_columns with
getUserOwnedObjects and split recentActivityObjs (#29459)
add 6d2b3b8698 fix: Enable explore button on SQL Lab view when connected
to Apache Pinot as a database (#28364)
add 0f60701995 chore(Home): Avoid firing API requests when a custom Home
is used (#29493)
add d89648147f feat(dashboard): add API endpoints for generating and
downloading screenshots (#29187)
add 221cd75bec Merge branch 'master' of https://github.com/apache/superset
into geido/refactor/dashboard-screenshot
No new revisions were added by this update.
Summary of changes:
.github/workflows/bump-python-package.yml | 2 +-
.github/workflows/cancel_duplicates.yml | 2 +-
.github/workflows/check_db_migration_confict.yml | 2 +-
.github/workflows/dependency-review.yml | 2 +-
.github/workflows/docker.yml | 4 +-
.github/workflows/embedded-sdk-release.yml | 4 +-
.github/workflows/embedded-sdk-test.yml | 2 +-
.github/workflows/ephemeral-env-pr-close.yml | 4 +-
.github/workflows/ephemeral-env.yml | 8 +-
.github/workflows/generate-FOSSA-report.yml | 4 +-
.github/workflows/github-action-validator.yml | 2 +-
.github/workflows/issue_creation.yml | 2 +-
.github/workflows/labeler.yml | 2 +-
.github/workflows/latest-release-tag.yml | 2 +-
.github/workflows/license-check.yml | 2 +-
.github/workflows/no-hold-label.yml | 2 +-
.github/workflows/pr-lint.yml | 2 +-
.github/workflows/pre-commit.yml | 2 +-
.github/workflows/prefer-typescript.yml | 2 +-
.github/workflows/release.yml | 4 +-
.github/workflows/superset-applitool-cypress.yml | 4 +-
.../workflows/superset-applitools-storybook.yml | 4 +-
.github/workflows/superset-cli.yml | 2 +-
.github/workflows/superset-docs-deploy.yml | 8 +-
.github/workflows/superset-docs-verify.yml | 2 +-
.github/workflows/superset-e2e.yml | 8 +-
.github/workflows/superset-frontend.yml | 2 +-
.github/workflows/superset-helm-lint.yml | 2 +-
.github/workflows/superset-helm-release.yml | 2 +-
.../workflows/superset-python-integrationtest.yml | 6 +-
.github/workflows/superset-python-misc.yml | 4 +-
.github/workflows/superset-python-presto-hive.yml | 4 +-
.github/workflows/superset-python-unittest.yml | 2 +-
.github/workflows/superset-translations.yml | 4 +-
.github/workflows/superset-websocket.yml | 2 +-
.github/workflows/supersetbot.yml | 2 +-
.github/workflows/tag-release.yml | 4 +-
.github/workflows/tech-debt.yml | 4 +-
.github/workflows/welcome-new-users.yml | 2 +-
RESOURCES/INTHEWILD.md | 3 +
docs/docs/configuration/databases.mdx | 5 +
docs/docs/contributing/development.mdx | 10 +-
docs/docs/contributing/howtos.mdx | 1 +
docs/docs/installation/docker-builds.mdx | 4 +-
docs/docs/installation/docker-compose.mdx | 21 +-
docs/package.json | 20 +-
docs/yarn.lock | 512 +-
pyproject.toml | 3 +-
scripts/permissions_cleanup.py | 7 +-
scripts/python_tests.sh | 1 +
scripts/translations/babel_update.sh | 1 +
superset-frontend/package-lock.json | 1580 ++++-
superset-frontend/package.json | 4 +-
.../packages/superset-ui-core/package.json | 4 +-
.../legacy-preset-chart-deckgl/package.json | 2 +-
.../plugins/plugin-chart-handlebars/package.json | 2 +-
.../src/DataTable/components/SelectPageSize.tsx | 7 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 9 +-
.../src/SqlLab/actions/sqlLab.test.js | 1 -
.../components/ErrorMessage/BasicErrorAlert.tsx | 2 +-
.../DashboardBuilder/DashboardBuilder.tsx | 27 +-
.../dashboard/components/DashboardBuilder/state.ts | 14 +-
.../src/explore/actions/exploreActions.test.js | 1 -
.../components/controls/CheckboxControl.test.tsx | 1 -
.../FormattingPopoverContent.test.tsx | 121 +
.../FormattingPopoverContent.tsx | 10 +-
.../AdhocFilterControl/AdhocFilterControl.test.jsx | 1 -
.../AdhocFilterEditPopover.test.jsx | 1 -
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 1 -
.../AdhocMetricEditPopover.test.jsx | 1 -
.../MetricControl/AdhocMetricOption.test.jsx | 1 -
.../MetricControl/FilterDefinitionOption.test.jsx | 1 -
.../MetricControl/MetricDefinitionOption.test.jsx | 53 -
.../MetricControl/MetricDefinitionOption.test.tsx | 60 +
.../MetricControl/MetricDefinitionValue.test.jsx | 1 -
.../controls/MetricControl/MetricsControl.test.jsx | 1 -
.../components/controls/SelectControl.test.jsx | 1 -
.../components/controls/TextAreaControl.test.jsx | 1 -
.../components/controls/ViewportControl.test.jsx | 1 -
superset-frontend/src/pages/Home/Home.test.tsx | 25 +
superset-frontend/src/pages/Home/index.tsx | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 60 +-
superset-websocket/package-lock.json | 20 +-
superset-websocket/package.json | 2 +-
superset/cachekeys/api.py | 8 +-
superset/cli/examples.py | 2 +
superset/cli/main.py | 2 +
superset/cli/reset.py | 74 +
superset/cli/test.py | 11 +-
superset/cli/update.py | 3 +
.../commands/annotation_layer/annotation/create.py | 10 +-
.../commands/annotation_layer/annotation/delete.py | 11 +-
.../commands/annotation_layer/annotation/update.py | 12 +-
superset/commands/annotation_layer/create.py | 10 +-
superset/commands/annotation_layer/delete.py | 11 +-
superset/commands/annotation_layer/update.py | 12 +-
superset/commands/chart/create.py | 14 +-
superset/commands/chart/delete.py | 11 +-
superset/commands/chart/importers/v1/utils.py | 2 +-
superset/commands/chart/update.py | 27 +-
superset/commands/css/delete.py | 11 +-
superset/commands/dashboard/create.py | 13 +-
superset/commands/dashboard/delete.py | 11 +-
superset/commands/dashboard/importers/v0.py | 3 +-
superset/commands/dashboard/importers/v1/utils.py | 2 +-
superset/commands/dashboard/permalink/create.py | 56 +-
superset/commands/dashboard/permalink/get.py | 9 +-
superset/commands/dashboard/update.py | 33 +-
superset/commands/database/create.py | 14 +-
superset/commands/database/delete.py | 11 +-
superset/commands/database/ssh_tunnel/create.py | 11 +-
superset/commands/database/ssh_tunnel/delete.py | 10 +-
superset/commands/database/ssh_tunnel/update.py | 29 +-
superset/commands/database/update.py | 32 +-
superset/commands/database/uploaders/base.py | 10 +-
superset/commands/dataset/columns/delete.py | 11 +-
superset/commands/dataset/create.py | 19 +-
superset/commands/dataset/delete.py | 11 +-
superset/commands/dataset/duplicate.py | 115 +-
superset/commands/dataset/importers/v0.py | 5 +-
superset/commands/dataset/importers/v1/utils.py | 2 +-
superset/commands/dataset/metrics/delete.py | 11 +-
superset/commands/dataset/refresh.py | 14 +-
superset/commands/dataset/update.py | 27 +-
.../commands/distributed_lock/__init__.py | 0
.../base.py} | 29 +-
superset/commands/distributed_lock/create.py | 64 +
.../delete.py | 39 +-
.../user.py => commands/distributed_lock/get.py} | 38 +-
superset/commands/explore/permalink/create.py | 64 +-
superset/commands/explore/permalink/get.py | 8 +-
superset/commands/importers/v1/__init__.py | 6 +-
superset/commands/importers/v1/assets.py | 18 +-
superset/commands/importers/v1/examples.py | 5 +-
superset/commands/key_value/__init__.py | 16 -
superset/commands/key_value/create.py | 103 -
superset/commands/key_value/delete.py | 64 -
superset/commands/key_value/delete_expired.py | 65 -
superset/commands/key_value/get.py | 71 -
superset/commands/key_value/update.py | 90 -
superset/commands/key_value/upsert.py | 100 -
superset/commands/query/delete.py | 11 +-
superset/commands/report/create.py | 10 +-
superset/commands/report/delete.py | 11 +-
superset/commands/report/execute.py | 7 +-
superset/commands/report/log_prune.py | 14 +-
superset/commands/report/update.py | 13 +-
superset/commands/security/create.py | 9 +-
superset/commands/security/delete.py | 10 +-
superset/commands/security/reset.py | 94 +
superset/commands/security/update.py | 12 +-
superset/commands/sql_lab/execute.py | 22 +-
superset/commands/tag/create.py | 54 +-
superset/commands/tag/delete.py | 27 +-
superset/commands/tag/update.py | 20 +-
superset/commands/temporary_cache/create.py | 11 +-
superset/commands/temporary_cache/delete.py | 11 +-
superset/commands/temporary_cache/update.py | 11 +-
superset/config.py | 2 +
superset/connectors/sqla/models.py | 5 +-
superset/daos/base.py | 48 +-
superset/daos/chart.py | 2 -
superset/daos/dashboard.py | 12 +-
superset/daos/database.py | 6 +-
superset/daos/dataset.py | 17 +-
superset/daos/exceptions.py | 24 -
superset/daos/key_value.py | 145 +
superset/daos/query.py | 2 -
superset/daos/report.py | 40 +-
superset/daos/tag.py | 66 +-
superset/daos/user.py | 1 -
superset/dashboards/api.py | 194 +-
superset/dashboards/schemas.py | 53 +-
superset/databases/api.py | 3 +-
superset/db_engine_specs/gsheets.py | 2 +-
superset/db_engine_specs/hive.py | 2 +-
superset/db_engine_specs/impala.py | 2 +-
superset/db_engine_specs/pinot.py | 4 -
superset/db_engine_specs/presto.py | 2 +-
superset/db_engine_specs/trino.py | 1 +
.../lock.py => distributed_lock/__init__.py} | 75 +-
.../distributed_lock/types.py | 7 +-
.../hashing.py => distributed_lock/utils.py} | 35 +-
superset/examples/bart_lines.py | 1 -
superset/examples/birth_names.py | 3 -
superset/examples/country_map.py | 1 -
superset/examples/css_templates.py | 2 -
superset/examples/deck.py | 1 -
superset/examples/energy.py | 3 -
superset/examples/flights.py | 1 -
superset/examples/helpers.py | 3 -
superset/examples/long_lat.py | 1 -
superset/examples/misc_dashboard.py | 1 -
superset/examples/multiformat_time_series.py | 1 -
superset/examples/paris.py | 1 -
superset/examples/random_time_series.py | 2 -
superset/examples/sf_population_polygons.py | 1 -
superset/examples/supported_charts_dashboard.py | 3 -
superset/examples/tabbed_dashboard.py | 3 -
superset/examples/world_bank.py | 6 +-
superset/exceptions.py | 6 +
superset/extensions/metastore_cache.py | 47 +-
superset/extensions/pylint.py | 17 +
superset/initialization/__init__.py | 2 +
superset/key_value/shared_entries.py | 20 +-
superset/key_value/types.py | 9 +-
superset/key_value/utils.py | 4 +-
superset/models/dashboard.py | 2 +-
superset/models/helpers.py | 4 +-
superset/queries/api.py | 4 +-
superset/row_level_security/api.py | 6 +-
superset/security/manager.py | 4 -
superset/sql_lab.py | 35 +-
superset/sqllab/sql_json_executer.py | 3 +
superset/tags/models.py | 1 +
superset/tasks/celery_app.py | 2 +-
superset/tasks/thumbnails.py | 39 +
superset/translations/ar/LC_MESSAGES/messages.po | 6671 +-----------------
superset/translations/de/LC_MESSAGES/messages.po | 6702 +-----------------
superset/translations/en/LC_MESSAGES/messages.po | 6670 +-----------------
superset/translations/es/LC_MESSAGES/messages.po | 6698 +-----------------
superset/translations/fr/LC_MESSAGES/messages.po | 6703 +-----------------
superset/translations/it/LC_MESSAGES/messages.po | 6695 +-----------------
superset/translations/ja/LC_MESSAGES/messages.po | 6696 +-----------------
superset/translations/ko/LC_MESSAGES/messages.po | 6695 +-----------------
superset/translations/messages.pot | 6669 +-----------------
superset/translations/nl/LC_MESSAGES/messages.po | 6702 +-----------------
superset/translations/pt/LC_MESSAGES/messages.po | 6696 +-----------------
.../translations/pt_BR/LC_MESSAGES/messages.po | 6702 +-----------------
superset/translations/ru/LC_MESSAGES/messages.po | 7204 ++------------------
superset/translations/sk/LC_MESSAGES/messages.po | 6676 +-----------------
superset/translations/sl/LC_MESSAGES/messages.po | 6700 +-----------------
superset/translations/tr/LC_MESSAGES/messages.po | 6686 +-----------------
superset/translations/uk/LC_MESSAGES/messages.po | 6702 +-----------------
superset/translations/zh/LC_MESSAGES/messages.po | 6696 +-----------------
.../translations/zh_TW/LC_MESSAGES/messages.po | 6696 +-----------------
superset/utils/database.py | 5 +-
superset/utils/decorators.py | 63 +
superset/utils/log.py | 2 +-
superset/utils/oauth2.py | 2 +-
superset/views/base.py | 3 +-
superset/views/core.py | 4 +-
superset/views/dashboard/views.py | 2 +-
superset/views/datasource/views.py | 2 +-
superset/views/key_value.py | 2 +-
superset/views/sql_lab/views.py | 2 +-
tests/integration_tests/base_tests.py | 3 +-
tests/integration_tests/charts/api_tests.py | 1 -
tests/integration_tests/charts/data/api_tests.py | 3 +
tests/integration_tests/conftest.py | 4 -
tests/integration_tests/core_tests.py | 2 +-
tests/integration_tests/dashboard_tests.py | 6 +-
tests/integration_tests/dashboards/api_tests.py | 146 +
.../integration_tests/dashboards/commands_tests.py | 1 -
tests/integration_tests/databases/api_tests.py | 3 -
tests/integration_tests/datasets/api_tests.py | 17 +-
tests/integration_tests/datasource_tests.py | 2 -
tests/integration_tests/embedded/api_tests.py | 1 +
tests/integration_tests/embedded/dao_tests.py | 6 +-
tests/integration_tests/embedded/test_view.py | 2 +
.../explore/permalink/commands_tests.py | 9 +-
.../extensions/metastore_cache_test.py | 9 +-
.../fixtures/unicode_dashboard.py | 5 +-
tests/integration_tests/key_value/__init__.py | 16 -
.../key_value/commands/__init__.py | 16 -
.../key_value/commands/create_test.py | 96 -
.../key_value/commands/delete_test.py | 84 -
.../key_value/commands/fixtures.py | 69 -
.../key_value/commands/get_test.py | 103 -
.../key_value/commands/update_test.py | 97 -
.../key_value/commands/upsert_test.py | 101 -
tests/integration_tests/model_tests.py | 23 +
.../security/row_level_security_tests.py | 2 -
tests/integration_tests/sqla_models_tests.py | 3 +-
tests/integration_tests/sqllab_tests.py | 1 -
tests/integration_tests/superset_test_config.py | 1 +
tests/integration_tests/tags/dao_tests.py | 3 +-
tests/unit_tests/commands/databases/create_test.py | 2 -
tests/unit_tests/commands/databases/update_test.py | 4 -
tests/unit_tests/dao/key_value_test.py | 395 ++
tests/unit_tests/dao/tag_test.py | 7 -
tests/unit_tests/dao/user_test.py | 1 -
tests/unit_tests/databases/api_test.py | 2 +-
.../databases/ssh_tunnel/commands/create_test.py | 2 +-
tests/unit_tests/databases/ssh_tunnel/dao_tests.py | 1 -
.../unit_tests/distributed_lock/__init__.py | 0
.../distributed_lock_tests.py} | 26 +-
tests/unit_tests/fixtures/common.py | 26 +-
tests/unit_tests/security/manager_test.py | 1 -
tests/unit_tests/sql_lab_test.py | 4 +-
290 files changed, 7969 insertions(+), 126619 deletions(-)
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.test.tsx
delete mode 100644
superset-frontend/src/explore/components/controls/MetricControl/MetricDefinitionOption.test.jsx
create mode 100644
superset-frontend/src/explore/components/controls/MetricControl/MetricDefinitionOption.test.tsx
create mode 100644 superset/cli/reset.py
copy docs/static/.nojekyll => superset/commands/distributed_lock/__init__.py
(100%)
copy superset/commands/{chart/data/create_async_job_command.py =>
distributed_lock/base.py} (58%)
create mode 100644 superset/commands/distributed_lock/create.py
copy superset/commands/{temporary_cache => distributed_lock}/delete.py (52%)
copy superset/{daos/user.py => commands/distributed_lock/get.py} (55%)
delete mode 100644 superset/commands/key_value/__init__.py
delete mode 100644 superset/commands/key_value/create.py
delete mode 100644 superset/commands/key_value/delete.py
delete mode 100644 superset/commands/key_value/delete_expired.py
delete mode 100644 superset/commands/key_value/get.py
delete mode 100644 superset/commands/key_value/update.py
delete mode 100644 superset/commands/key_value/upsert.py
create mode 100644 superset/commands/security/reset.py
create mode 100644 superset/daos/key_value.py
rename superset/{utils/lock.py => distributed_lock/__init__.py} (53%)
copy docs/static/.asf.yaml => superset/distributed_lock/types.py (91%)
copy superset/{utils/hashing.py => distributed_lock/utils.py} (55%)
delete mode 100644 tests/integration_tests/key_value/__init__.py
delete mode 100644 tests/integration_tests/key_value/commands/__init__.py
delete mode 100644 tests/integration_tests/key_value/commands/create_test.py
delete mode 100644 tests/integration_tests/key_value/commands/delete_test.py
delete mode 100644 tests/integration_tests/key_value/commands/fixtures.py
delete mode 100644 tests/integration_tests/key_value/commands/get_test.py
delete mode 100644 tests/integration_tests/key_value/commands/update_test.py
delete mode 100644 tests/integration_tests/key_value/commands/upsert_test.py
create mode 100644 tests/unit_tests/dao/key_value_test.py
copy docs/static/.nojekyll => tests/unit_tests/distributed_lock/__init__.py
(100%)
rename tests/unit_tests/{utils/lock_tests.py =>
distributed_lock/distributed_lock_tests.py} (72%)