This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/so-1119-virtual-ds
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from c542f94 remove old test
add 71c567b feat(css templates): security perm simplification (#11856)
add 8c063ef fix(query): sorting by user for Query History list view
(#11897)
add 38b720b style: eslint curly rule (#11913)
add 53017e5 fix: Button storybook component size knob (#11912)
add 38d21ac fix: Check if annotation type is supported by the given chart
type (#11876)
add 0396c70 chore: Support SET & SHOW commands as read only SQL commands
(#11868)
add 9ae2f95 feat: Adding SaveDatasetModal component (#11861)
add 04f993e fix: adjust width for non multi select inputs (#11911)
add 54bf707 feat: run BQ queries as single statement (#11904)
add 5b19398 refactor: Move ProgressBar to Antd (#11875)
add e0288bf chore: add unit tests for the current import functionality
(#11786)
add 41d4fb9 fix: Forgot to remove bad comments from SaveDatasetModal
(#11919)
add 327a281 feat: add event and interval annotation support to chart data
ep (#11665)
add 77d362d fix: Remove expensive logs table migration (#11920)
add 60122a2 feat: filters for alerts and reports list view (#11900)
add 98dc657 Added check if SQL query is empty and disable shortcut for
run query (#11877)
add 8adc8b8 Quick fix for branch names in tags (#11930)
add fa68288 fix: make sure we log the logs (#11939)
add 64d6fb9 refactor: Extract copy functionality to utils (#11928)
add 2c32342 refactor: Move Badge to Antdesign (#11899)
add 66cd565 feat: add Postgres SQL validator (#11538)
add 41738df feat: Results table on Explore view (#11854)
add f98ae01 feat(releasing): support changelog csv export (#11893)
add 14ea444 fix(charts): screenshot API declaring an unnecessary rison
arg (#11931)
add a7bba92 chore: bump nvd3 plugin version (#11947)
add 2b9695c feat: add modal to import databases (#11884)
add fbb458f feat: add modal to import datasets (#11910)
add f37293a Merge branch 'master' of
https://github.com/apache/incubator-superset into hugh/so-1119-virtual-ds
No new revisions were added by this update.
Summary of changes:
.github/workflows/bashlib.sh | 2 +
.github/workflows/docker_build_push.sh | 4 +-
Dockerfile | 1 +
RELEASING/changelog.py | 106 ++++---
UPDATING.md | 1 +
requirements/base.txt | 37 +--
requirements/development.txt | 10 +-
requirements/docker.txt | 2 +-
requirements/integration.txt | 12 +-
requirements/testing.txt | 8 +-
setup.cfg | 2 +-
setup.py | 7 +-
superset-frontend/.eslintrc.js | 2 +
.../explore/visualizations/big_number.test.js | 6 +-
superset-frontend/package-lock.json | 239 +++++++++++-----
superset-frontend/package.json | 4 +-
.../explore/components/DisplayQueryButton_spec.jsx | 4 +-
.../spec/javascripts/sqllab/ResultSet_spec.jsx | 3 +-
.../javascripts/sqllab/SaveDatasetModal_spec.tsx | 51 ++++
.../views/CRUD/alert/AlertList_spec.jsx | 6 +-
.../CRUD/csstemplates/CssTemplatesList_spec.jsx | 4 +-
.../src/SqlLab/components/QueryTable.jsx | 9 +-
.../src/SqlLab/components/ResultSet.tsx | 6 +-
.../src/SqlLab/components/SaveDatasetModal.tsx | 180 ++++++++++++
.../src/SqlLab/components/SqlEditor.jsx | 12 +-
.../src/SqlLab/components/TemplateParamsEditor.jsx | 4 +-
superset-frontend/src/chart/Chart.jsx | 2 +
superset-frontend/src/chart/chartAction.js | 5 +-
.../Loading.tsx => common/components/Badge.tsx} | 43 ++-
.../src/common/components/ProgressBar.tsx | 54 ++++
.../src/common/components/common.stories.tsx | 15 +
superset-frontend/src/common/components/index.tsx | 8 +-
.../src/components/Button/Button.stories.jsx | 2 +-
.../src/components/CopyToClipboard.jsx | 49 +---
superset-frontend/src/components/Select/styles.tsx | 11 +-
.../components/ImportModal/ImportModal.test.tsx | 96 +++++++
.../src/database/components/ImportModal/index.tsx | 191 +++++++++++++
.../src/datasource/DatasourceEditor.jsx | 14 +-
.../components/ImportModal/ImportModal.test.tsx | 106 +++++++
.../datasource/components/ImportModal/index.tsx | 186 +++++++++++++
.../src/explore/components/DataTableControl.tsx | 105 +++++++
.../src/explore/components/DataTablesPane.tsx | 245 +++++++++++++++++
.../src/explore/components/DisplayQueryButton.jsx | 158 +----------
.../src/explore/components/ExploreChartPanel.jsx | 253 +++++++++++++----
.../components/controls/AnnotationLayer.jsx | 15 +-
.../src/profile/components/Security.tsx | 11 +-
superset-frontend/src/utils/copy.ts | 56 ++++
superset-frontend/src/utils/downloadAsImage.ts | 3 +-
.../src/views/CRUD/alert/AlertList.tsx | 87 ++++--
.../views/CRUD/csstemplates/CssTemplatesList.tsx | 6 +-
.../components/SyntaxHighlighterCopy/index.tsx | 41 +--
.../src/views/CRUD/data/database/DatabaseList.tsx | 34 +++
.../src/views/CRUD/data/database/DatabaseModal.tsx | 4 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 2 +-
.../src/views/CRUD/data/dataset/DatasetList.tsx | 42 ++-
.../views/CRUD/{alert => data/dataset}/types.ts | 57 ++--
.../src/views/CRUD/data/query/QueryList.tsx | 6 +-
.../CRUD/data/query/QueryPreviewModal.test.tsx | 12 +-
.../views/CRUD/data/savedquery/SavedQueryList.tsx | 41 +--
superset-frontend/src/views/CRUD/hooks.ts | 132 ++++++---
superset-frontend/src/views/CRUD/types.ts | 1 +
.../src/views/CRUD/welcome/SavedQueries.tsx | 3 +-
superset/charts/api.py | 1 -
superset/charts/schemas.py | 5 +-
superset/cli.py | 4 +-
superset/common/query_context.py | 100 ++++++-
superset/common/query_object.py | 30 +-
superset/config.py | 5 +-
superset/connectors/sqla/models.py | 8 +-
superset/css_templates/api.py | 6 +-
superset/databases/api.py | 9 +-
.../databases/commands/importers/dispatcher.py | 4 +-
.../databases/commands/importers/v1/__init__.py | 17 ++
superset/databases/schemas.py | 15 +-
superset/datasets/api.py | 9 +-
superset/datasets/commands/importers/dispatcher.py | 4 +-
superset/datasets/commands/importers/v0.py | 43 ++-
.../datasets/commands/importers/v1/__init__.py | 18 ++
superset/datasets/schemas.py | 16 +-
superset/db_engine_specs/base.py | 12 +-
superset/db_engine_specs/bigquery.py | 4 +
superset/db_engine_specs/hive.py | 12 +-
superset/db_engine_specs/presto.py | 7 +-
.../utils.py} | 40 ++-
...6_.py => 811494c0cc23_remove_path_from_logs.py} | 26 +-
...ee129739cf9_security_converge_css_templates.py} | 34 +--
.../versions/a8173232b786_add_path_to_logs.py | 20 +-
superset/models/core.py | 4 +-
superset/models/helpers.py | 11 +-
superset/reports/api.py | 2 +-
superset/sql_lab.py | 16 +-
superset/sql_parse.py | 20 +-
superset/sql_validators/__init__.py | 7 +-
superset/sql_validators/postgres.py | 54 ++++
superset/utils/core.py | 7 +
superset/utils/log.py | 19 +-
superset/views/core.py | 1 +
superset/views/css_templates.py | 8 +-
superset/viz.py | 17 +-
tests/annotation_layers/api_tests.py | 79 +-----
tests/annotation_layers/fixtures.py | 101 +++++++
tests/charts/api_tests.py | 52 +++-
tests/core_tests.py | 5 +-
tests/css_templates/api_tests.py | 14 +
tests/dashboards/commands_tests.py | 57 +++-
tests/databases/api_tests.py | 97 ++++++-
tests/databases/commands_tests.py | 20 ++
tests/datasets/commands_tests.py | 98 ++++++-
tests/db_engine_specs/base_engine_spec_tests.py | 17 +-
tests/db_engine_specs/hive_tests.py | 15 +-
tests/db_engine_specs/presto_tests.py | 14 +
tests/event_logger_tests.py | 5 +-
tests/fixtures/importexport.py | 306 ++++++++++++++++++++-
tests/fixtures/query_context.py | 73 +++++
tests/security_tests.py | 29 +-
tests/sql_parse_tests.py | 33 ++-
tests/sql_validator_tests.py | 31 ++-
117 files changed, 3612 insertions(+), 867 deletions(-)
create mode 100644
superset-frontend/spec/javascripts/sqllab/SaveDatasetModal_spec.tsx
create mode 100644 superset-frontend/src/SqlLab/components/SaveDatasetModal.tsx
copy superset-frontend/src/{components/Loading.tsx =>
common/components/Badge.tsx} (59%)
create mode 100644 superset-frontend/src/common/components/ProgressBar.tsx
create mode 100644
superset-frontend/src/database/components/ImportModal/ImportModal.test.tsx
create mode 100644
superset-frontend/src/database/components/ImportModal/index.tsx
create mode 100644
superset-frontend/src/datasource/components/ImportModal/ImportModal.test.tsx
create mode 100644
superset-frontend/src/datasource/components/ImportModal/index.tsx
create mode 100644
superset-frontend/src/explore/components/DataTableControl.tsx
create mode 100644 superset-frontend/src/explore/components/DataTablesPane.tsx
create mode 100644 superset-frontend/src/utils/copy.ts
copy superset-frontend/src/views/CRUD/{alert => data/dataset}/types.ts (50%)
copy
superset/migrations/{versions/72428d1ea401_add_tmp_schema_name_to_the_query_object.py
=> shared/utils.py} (54%)
copy superset/migrations/versions/{30bb17c0dc76_.py =>
811494c0cc23_remove_path_from_logs.py} (64%)
copy
superset/migrations/versions/{e38177dbf641_security_converge_saved_queries.py
=> 8ee129739cf9_security_converge_css_templates.py} (62%)
create mode 100644 superset/sql_validators/postgres.py
create mode 100644 tests/annotation_layers/fixtures.py