You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/03/30 19:51:13 UTC

[superset] branch rm-time-range updated (a2159fe -> 238dceb)

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

hugh pushed a change to branch rm-time-range
in repository https://gitbox.apache.org/repos/asf/superset.git.


    from a2159fe  Update superset/migrations/versions/2ed890b36b94_rm_time_range_endpoints_from_qc.py
     add 63b5e2e  perf: improve perf in SIP-68 migration (#19416)
     add a8e7624  chore: attempt to force docs deploy (#19424)
     add fa35109  fix: add missing init on python pkg key_value (#19428)
     add 2451937  fix: missing init on importexport pkg (#19435)
     add 1937448  chore: Disables no literal colors for the theme configuration (#19437)
     add a4c261d  docs: add 1.4.2 changelog entries (#19411)
     add 8e29ec5  feat: Embedded dashboard configuration (#19364)
     add 238dceb  Merge branch 'master' of https://github.com/apache/superset into rm-time-range

No new revisions were added by this update.

Summary of changes:
 CHANGELOG.md                                       |  10 +
 docs/docs/contributing/contributing-page.mdx       |   4 +-
 scripts/benchmark_migration.py                     |   5 +-
 setup.py                                           |   3 +-
 superset-embedded-sdk/package.json                 |   2 +-
 superset-embedded-sdk/src/index.ts                 |   2 +-
 superset-frontend/.eslintrc.js                     |   1 +
 .../components/DashboardEmbedControls.tsx          | 228 +++++++++++++++++++++
 .../Header/HeaderActionsDropdown/index.jsx         |  14 ++
 .../src/dashboard/components/Header/index.jsx      |  23 +++
 .../src/dashboard/containers/DashboardPage.tsx     |   8 +-
 .../containers/DashboardRoute.tsx}                 |  14 +-
 superset-frontend/src/dashboard/types.ts           |   6 +
 superset-frontend/src/embedded/index.tsx           |  28 +--
 .../src/hooks/apiResources/dashboards.ts           |   5 +-
 superset-frontend/src/preamble.ts                  |   3 +
 superset-frontend/src/views/routes.tsx             |   6 +-
 superset/common/query_context_processor.py         |   2 +-
 superset/connectors/sqla/models.py                 |  36 ++--
 superset/connectors/sqla/utils.py                  |  87 +++++++-
 superset/dao/base.py                               |  28 ++-
 superset/dashboards/api.py                         | 217 ++++++++++++++++++--
 superset/dashboards/commands/export.py             |   7 +-
 superset/dashboards/filters.py                     |  26 ++-
 superset/dashboards/permalink/commands/create.py   |   2 +
 superset/dashboards/schemas.py                     |  12 ++
 superset/databases/dao.py                          |   3 +-
 .../views => superset/embedded}/__init__.py        |   0
 superset/embedded/dao.py                           |  53 +++++
 superset/embedded/view.py                          |  80 ++++++++
 superset/explore/permalink/commands/create.py      |   2 +
 .../views => superset/importexport}/__init__.py    |   0
 superset/initialization/__init__.py                |   2 +
 .../key_value/commands}/__init__.py                |   0
 superset/key_value/commands/create.py              |   1 +
 superset/key_value/commands/update.py              |   1 +
 superset/key_value/commands/upsert.py              |  16 +-
 superset/migrations/shared/utils.py                |  66 ++++++
 .../versions/b8d3a24d9131_new_dataset_models.py    | 122 +++++++++--
 superset/models/dashboard.py                       |   5 +
 superset/models/embedded_dashboard.py              |  57 ++++++
 superset/security/manager.py                       |  30 ++-
 superset/sqllab/command.py                         |   2 +-
 superset/views/dashboard/views.py                  |   1 +
 tests/integration_tests/dashboards/api_tests.py    |  64 +++++-
 .../embedded}/__init__.py                          |   0
 tests/integration_tests/embedded/dao_tests.py      |  51 +++++
 .../key_value/commands/update_test.py              |   2 +
 .../key_value/commands/upsert_test.py              |   3 +
 .../security/guest_token_security_tests.py         | 108 +++++-----
 tests/integration_tests/security_tests.py          |   2 +
 tests/unit_tests/{views => migrations}/__init__.py |   0
 .../{views => migrations/shared}/__init__.py       |   0
 tests/unit_tests/migrations/shared/utils_test.py   |  56 +++++
 54 files changed, 1327 insertions(+), 179 deletions(-)
 create mode 100644 superset-frontend/src/dashboard/components/DashboardEmbedControls.tsx
 copy superset-frontend/src/{components/Icons/IconType.ts => dashboard/containers/DashboardRoute.tsx} (72%)
 copy {tests/unit_tests/views => superset/embedded}/__init__.py (100%)
 create mode 100644 superset/embedded/dao.py
 create mode 100644 superset/embedded/view.py
 copy {tests/unit_tests/views => superset/importexport}/__init__.py (100%)
 copy {tests/unit_tests/views => superset/key_value/commands}/__init__.py (100%)
 create mode 100644 superset/models/embedded_dashboard.py
 copy tests/{unit_tests/views => integration_tests/embedded}/__init__.py (100%)
 create mode 100644 tests/integration_tests/embedded/dao_tests.py
 copy tests/unit_tests/{views => migrations}/__init__.py (100%)
 copy tests/unit_tests/{views => migrations/shared}/__init__.py (100%)
 create mode 100644 tests/unit_tests/migrations/shared/utils_test.py