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 2020/11/30 16:04:05 UTC
[incubator-superset] branch hugh/SO-1117-modal updated (49e4e86 ->
4173174)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/SO-1117-modal
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from 49e4e86 dsf
add 141cb45 fix: Fixing issue around requirements-local.txt (#11769)
add 2f4f877 feat: add a command to import charts (#11743)
add a3a2a68 feat: API endpoint to import charts (#11744)
add fbe4a66 feat: SQL preview modal for Query History (#11634)
add db73869 chore: fix typo (#11772)
add a062cbb Fix docker healthcheck. (#11747)
add fd7e6c7 fix: style multiselect input (#11732)
add 2566319 docs: add Xite to users list (#11775)
add 25345be feat: add a command to import dashboards (#11749)
add 872a54d fix: annotation layer crashes when clearing type select (#11787)
add f49525f chore: enabled v1 verification in filter and url_params test files (#11712)
add d364d03 add tool tip to cards (#11791)
add 6cb8205 chore: controls.test supporting v1 charts and added force=true to url when r… (#11754)
add 91bcbc8 refactor: Replace SqlLab components' styles using Emotion & theme variables (#11780)
add 6019113 refactor: use rison for list view filters stateful urls (#11675)
add 67c4447 build: split python CI jobs (#11794)
add 302357f update docs around email reports (#11783)
add c0224aa feat: add certification info to table selector (#11785)
add 75086f8 fix: docker healthcheck (#11798)
add 9b68b65 refactor: Replace react-bootstrap tooltips with Antd tooltips (#11737)
add e4d0288 chore: unbreak frontend ci (#11806)
add 501b9d4 feat: API endpoint to import dashboards (#11751)
add f27ebc4 feat: new reports scheduler (#11711)
add 38f67a4 fix: mutating input df in viz.py (#11795)
add ac0dd3f fix: attachment filename error in sqllab with i18n (#11762)
add 84c8a62 docs: 0.38.0 CHANGELOG and UPDATING (#11809)
add 9215a31 chore: type src/logger (#10815)
add 0504cf1 chore: improve analytics (#11714)
add 4cbf482 fix: add feature flag for domain sharding (#11797)
add c354e7e fix: remove root dir from ZIP bundle (#11805)
add 9c69679 feat: filter by me on CRUD list view (#11683)
add 13c51d5 chore: Fix TableModelView super call (#11815)
add bac84a3 fix: delete chart, dashboards, dbs with assoc reports (#11801)
add 1591d75 fix(setup): disallow python 3.6 for pip install (#11825)
add 3578410 docs(release): small fixes and deprecate apache docs (#11827)
add f121107 ci(docker): build image on release (#11828)
add 62924ba Merge branch 'master' of https://github.com/apache/incubator-superset into hugh/SO-1117-modal
add 4173174 fix typing errors
No new revisions were added by this update.
Summary of changes:
.github/workflows/docker.yml | 9 +-
.github/workflows/docker_build_push.sh | 3 +
.github/workflows/superset-python-misc.yml | 72 +++
.github/workflows/superset-python-mysql.yml | 51 ++
.github/workflows/superset-python-postgres.yml | 52 ++
.github/workflows/superset-python-presto-hive.yml | 119 +++++
.github/workflows/superset-python-sqlite.yml | 44 ++
.github/workflows/superset-python.yml | 322 -------------
CHANGELOG.md | 415 ++++++++++++++++
Dockerfile | 2 +-
INTHEWILD.md | 1 +
RELEASING/README.md | 42 +-
RELEASING/make_docs.sh | 55 ---
RELEASING/make_docs_entrypoint.sh | 26 -
UPDATING.md | 23 +-
docker-compose.yml | 15 +-
docker/.env | 2 +-
.../{docker-entrypoint.sh => docker-bootstrap.sh} | 33 +-
docker/docker-init.sh | 5 +
docs/installation.rst | 1 +
docs/src/pages/docs/installation/email_reports.mdx | 1 +
setup.py | 5 +-
.../cypress/integration/chart_list/filter.test.ts | 20 +
.../cypress/integration/dashboard/controls.test.js | 85 ++--
.../cypress/integration/dashboard/filter.test.ts | 55 ++-
.../integration/dashboard/url_params.test.js | 41 +-
.../integration/dashboard_list/filter.test.ts | 20 +
.../cypress-base/cypress/utils/vizPlugins.ts | 3 +-
superset-frontend/jest.config.js | 5 +-
superset-frontend/package-lock.json | 67 +--
superset-frontend/package.json | 3 +-
.../App.jsx => spec/helpers/ProviderWrapper.tsx} | 35 +-
superset-frontend/spec/helpers/theming.ts | 7 +-
.../components/AlteredSliceTag_spec.jsx | 26 +-
.../FilterableTable/FilterableTable_spec.tsx | 3 +-
.../components/ListView/ListView_spec.jsx | 4 +-
.../javascripts/components/TableSelector_spec.jsx | 3 +-
.../AdhocMetricEditPopoverTitle_spec.jsx | 14 +-
.../explore/components/DateFilterControl_spec.jsx | 22 +-
.../explore/components/EmbedCodeButton_spec.jsx | 16 +-
.../spec/javascripts/sqllab/ColumnElement_spec.tsx | 2 +-
.../annotationlayers/AnnotationLayersList_spec.jsx | 8 +-
.../views/CRUD/chart/ChartList_spec.jsx | 18 +-
.../CRUD/csstemplates/CssTemplatesList_spec.jsx | 8 +-
.../views/CRUD/dashboard/DashboardList_spec.jsx | 17 +-
.../views/CRUD/data/database/DatabaseList_spec.jsx | 8 +-
.../views/CRUD/data/dataset/DatasetList_spec.jsx | 6 +-
.../CRUD/data/savedquery/SavedQueryList_spec.jsx | 4 +-
superset-frontend/src/CRUD/Field.jsx | 20 +-
.../src/SqlLab/components/ColumnElement.tsx | 48 +-
.../src/SqlLab/components/QuerySearch.jsx | 10 +-
.../src/SqlLab/components/QueryTable.jsx | 21 +-
.../src/SqlLab/components/ResultSet.tsx | 11 +-
.../src/SqlLab/components/ScheduleQueryButton.jsx | 14 +-
.../src/SqlLab/components/SqlEditor.jsx | 25 +-
.../src/SqlLab/components/SqlEditorLeftBar.jsx | 22 +-
.../src/SqlLab/components/TemplateParamsEditor.jsx | 11 +-
superset-frontend/src/SqlLab/main.less | 22 -
superset-frontend/src/SqlLab/types.ts | 3 +
superset-frontend/src/api/dataset.ts | 2 +-
superset-frontend/src/chart/chartAction.js | 2 +
.../src/common/components/InfoTooltip.tsx | 2 +-
.../src/common/components/Tooltip.tsx | 16 +-
.../src/common/components/common.stories.tsx | 2 +-
superset-frontend/src/common/components/index.tsx | 1 +
superset-frontend/src/components/Button/index.tsx | 30 +-
.../src/components/CertifiedIconWithTooltip.tsx | 9 +-
.../src/components/CopyToClipboard.jsx | 44 +-
.../src/components/FacePile/index.tsx | 3 +-
superset-frontend/src/components/Link.tsx | 27 +-
.../src/components/ListView/Filters.tsx | 12 +-
.../src/components/ListView/ListView.tsx | 22 +-
superset-frontend/src/components/ListView/types.ts | 2 +
superset-frontend/src/components/ListView/utils.ts | 102 +++-
.../src/components/ListViewCard/index.tsx | 17 +-
.../src/components/Select/SupersetStyledSelect.tsx | 12 +-
superset-frontend/src/components/Select/styles.tsx | 33 +-
superset-frontend/src/components/TableSelector.tsx | 27 +-
.../src/components/TooltipWrapper.jsx | 9 +-
.../dashboard/components/SliceHeaderControls.jsx | 2 +-
.../components/AdhocMetricEditPopoverTitle.jsx | 27 +-
.../src/explore/components/ControlHeader.jsx | 31 +-
.../src/explore/components/QueryAndSaveBtns.jsx | 12 +-
.../components/controls/AnnotationLayer.jsx | 3 +
.../components/controls/DatasourceControl.jsx | 2 +-
.../components/controls/DateFilterControl.jsx | 21 +-
.../explore/components/controls/VizTypeControl.jsx | 20 +-
superset-frontend/src/featureFlags.ts | 5 +-
.../src/logger/{LogUtils.js => LogUtils.ts} | 2 +-
.../src/logger/actions/{index.js => index.ts} | 6 +-
.../src/messageToasts/enhancers/withToasts.tsx | 7 +
superset-frontend/src/utils/hostNamesConfig.js | 11 +
superset-frontend/src/views/App.tsx | 5 +-
.../CRUD/annotationlayers/AnnotationLayersList.tsx | 5 +
.../src/views/CRUD/chart/ChartList.tsx | 5 +
.../views/CRUD/csstemplates/CssTemplatesList.tsx | 5 +
.../src/views/CRUD/dashboard/DashboardList.tsx | 5 +
.../components/SyntaxHighlighterCopy/index.tsx | 117 +++++
.../src/views/CRUD/data/dataset/DatasetList.tsx | 5 +
superset-frontend/src/views/CRUD/data/hooks.ts | 75 +++
.../src/views/CRUD/data/query/QueryList.test.tsx | 19 +-
.../src/views/CRUD/data/query/QueryList.tsx | 111 +++--
.../CRUD/data/query/QueryPreviewModal.test.tsx | 179 +++++++
.../views/CRUD/data/query/QueryPreviewModal.tsx | 179 +++++++
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 6 +-
.../data/savedquery/SavedQueryPreviewModal.tsx | 82 +---
superset-frontend/src/views/CRUD/types.ts | 32 ++
superset-frontend/src/views/CRUD/utils.tsx | 11 +-
superset/annotation_layers/api.py | 5 +
superset/cachekeys/api.py | 2 +-
superset/charts/api.py | 68 ++-
superset/charts/commands/bulk_delete.py | 10 +
superset/charts/commands/delete.py | 10 +
superset/charts/commands/exceptions.py | 15 +-
.../charts/commands/importers}/__init__.py | 0
.../commands/importers/dispatcher.py | 13 +-
.../commands/importers/v1/__init__.py | 46 +-
.../commands/importers/v1/utils.py | 16 +-
superset/charts/schemas.py | 8 +
superset/commands/exceptions.py | 5 +
superset/commands/export.py | 2 +-
superset/commands/importers/v1/utils.py | 12 +-
superset/config.py | 4 +
superset/connectors/sqla/models.py | 7 +
superset/connectors/sqla/views.py | 4 +-
superset/css_templates/api.py | 2 +
superset/dao/base.py | 8 +-
superset/dashboards/api.py | 66 +++
superset/dashboards/commands/bulk_delete.py | 10 +
superset/dashboards/commands/delete.py | 10 +
superset/dashboards/commands/exceptions.py | 13 +
superset/dashboards/commands/export.py | 5 +-
.../commands/importers/dispatcher.py | 13 +-
.../commands/importers/v1/__init__.py | 97 +++-
.../commands/importers/v1/utils.py | 31 +-
superset/dashboards/schemas.py | 11 +
superset/databases/api.py | 20 +-
superset/databases/commands/delete.py | 11 +
superset/databases/commands/exceptions.py | 9 +
.../databases/commands/importers/dispatcher.py | 3 +-
.../databases/commands/importers/v1/__init__.py | 5 +-
superset/datasets/api.py | 19 +-
superset/datasets/commands/exceptions.py | 5 +
superset/datasets/commands/importers/dispatcher.py | 3 +-
.../datasets/commands/importers/v1/__init__.py | 5 +-
superset/exceptions.py | 4 +-
...e_perms.py => a8173232b786_add_path_to_logs.py} | 26 +-
superset/models/core.py | 3 +
superset/models/helpers.py | 10 +-
superset/models/reports.py | 4 +-
superset/models/slice.py | 1 +
superset/queries/api.py | 2 +
superset/reports/commands/alert.py | 101 ++++
superset/reports/commands/exceptions.py | 37 ++
superset/reports/commands/execute.py | 256 ++++++++++
.../commands/{bulk_delete.py => log_prune.py} | 43 +-
superset/reports/dao.py | 103 +++-
.../alerts => reports/notifications}/__init__.py | 17 +
superset/reports/notifications/base.py | 62 +++
superset/reports/notifications/email.py | 98 ++++
.../notifications/exceptions.py} | 4 +
superset/reports/notifications/slack.py | 89 ++++
superset/reports/schemas.py | 2 +-
superset/tasks/celery_app.py | 2 +-
superset/tasks/scheduler.py | 69 +++
superset/utils/log.py | 75 ++-
superset/utils/urls.py | 12 +-
superset/views/base_api.py | 51 +-
superset/views/core.py | 64 ++-
superset/viz.py | 1 +
tests/charts/api_tests.py | 167 ++++++-
tests/charts/commands_tests.py | 159 +++++-
tests/core_tests.py | 7 +-
tests/dashboards/api_tests.py | 183 ++++++-
tests/dashboards/commands_tests.py | 179 +++++++
tests/databases/api_tests.py | 69 ++-
tests/databases/commands_tests.py | 4 +-
tests/datasets/api_tests.py | 40 +-
tests/datasets/commands_tests.py | 35 +-
tests/fixtures/importexport.py | 106 ++++
tests/queries/api_tests.py | 2 +
tests/reports/api_tests.py | 60 +--
tests/reports/commands_tests.py | 531 +++++++++++++++++++++
tests/reports/utils.py | 68 +++
184 files changed, 5352 insertions(+), 1336 deletions(-)
create mode 100644 .github/workflows/superset-python-misc.yml
create mode 100644 .github/workflows/superset-python-mysql.yml
create mode 100644 .github/workflows/superset-python-postgres.yml
create mode 100644 .github/workflows/superset-python-presto-hive.yml
create mode 100644 .github/workflows/superset-python-sqlite.yml
delete mode 100644 .github/workflows/superset-python.yml
delete mode 100755 RELEASING/make_docs.sh
delete mode 100755 RELEASING/make_docs_entrypoint.sh
copy docker/{docker-entrypoint.sh => docker-bootstrap.sh} (58%)
copy superset-frontend/{src/dashboard/App.jsx => spec/helpers/ProviderWrapper.tsx} (62%)
rename superset-frontend/src/logger/{LogUtils.js => LogUtils.ts} (99%)
rename superset-frontend/src/logger/actions/{index.js => index.ts} (85%)
create mode 100644 superset-frontend/src/views/CRUD/data/components/SyntaxHighlighterCopy/index.tsx
create mode 100644 superset-frontend/src/views/CRUD/data/hooks.ts
create mode 100644 superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.test.tsx
create mode 100644 superset-frontend/src/views/CRUD/data/query/QueryPreviewModal.tsx
copy {tests/security => superset/charts/commands/importers}/__init__.py (100%)
copy superset/{databases => charts}/commands/importers/dispatcher.py (90%)
copy superset/{datasets => charts}/commands/importers/v1/__init__.py (71%)
copy superset/{databases => charts}/commands/importers/v1/utils.py (77%)
copy superset/{datasets => dashboards}/commands/importers/dispatcher.py (90%)
copy superset/{datasets => dashboards}/commands/importers/v1/__init__.py (51%)
copy superset/{databases => dashboards}/commands/importers/v1/utils.py (60%)
copy superset/migrations/versions/{e46f2d27a08e_materialize_perms.py => a8173232b786_add_path_to_logs.py} (64%)
create mode 100644 superset/reports/commands/alert.py
create mode 100644 superset/reports/commands/execute.py
copy superset/reports/commands/{bulk_delete.py => log_prune.py} (51%)
copy superset/{tasks/alerts => reports/notifications}/__init__.py (53%)
create mode 100644 superset/reports/notifications/base.py
create mode 100644 superset/reports/notifications/email.py
copy superset/{annotation_layers/annotations/commands/__init__.py => reports/notifications/exceptions.py} (94%)
create mode 100644 superset/reports/notifications/slack.py
create mode 100644 superset/tasks/scheduler.py
create mode 100644 tests/reports/commands_tests.py
create mode 100644 tests/reports/utils.py