This is an automated email from the ASF dual-hosted git repository.
amitmiran pushed a change to branch feat/extra_strategies
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 6eb5dbb chore: split to modules
add ddb5005 fix: test (#16137)
add b07c80a Adjust width (#16092)
add df50a47 chore: add stats logging to thumbnail api (#16133)
add 2db1615 feat: add profiling to Superset pages (#16136)
add 6ac4f4e chore(explore): change dnd placeholders (#16116)
add 578a9e9 build: Removed jsx-remove-data-test-id usage from code for
multi-build-variant testing (#15386)
add b7cc89c fix(explore): dnd error when dragging metric if multi: false
(#16088)
add a518513 feat: added google alert to DB Connection Form (#16095)
add 5ce3883 feat: better errors for report in charts and dashboard
(#16131)
add 606a7bf fix: change Alert Permissions (#16118)
add 3712ee0 additional params field fixed (#16161)
add 79e8d77 chore: remove TerserPlugin step for build (#16163)
add bb1d8fe fix: boolean type into SQL 'in' operator (#16107)
add 07f3399 fix: Multiple dashboard refresh triggers for the same session
(#16094)
add 273ab3d fix: Safari is not showing scroll bars in Explore (#16089)
add a702487 feat: add sticky state to tables and loadingcards state.
(#16102)
add 6e1d16d feat(explore): each control can define its own canDrop for
dnd (#16090)
add 5488a8a add config to hide some user menu items (#16156)
add 63ace7b feat(cross-filters): add support for temporal filters (#16139)
add f0e3b68 fix: ensure that users viewing chart does not automatically
save edit data (#16077)
add fd80ae3 fix: Make sheet_name into a `ValidationInputError` (#16056)
add 3f86a54 fix: turn on SSL in database edit form show 500 error
(#16151)
add 7b3fce7 fix: revert data endpoint name (#16162)
add 5e64d65 Hide Safari default tooltip (#16145)
add a310248 feat: add chart image info to reports from charts (#16158)
add 9f52c10 fix: isDynamic function (#16175)
add 2dc0bdd feat: Added multi-regional IPs to Database Connections
(#16170)
add 628169a feat: change query predicate to text (#16160)
add 6df16c4 feat: CLI cleanup (#16178)
add a0c9b9d fix: ensure created user entities do not show inside examples
(#16176)
add 9841c78 chore: switch back tag name to popular from highly-used
(#16174)
add a30d884 fix: change listivew card layouts to the new homepage card
layout (#16171)
add 3aefa69 update covid dashboard (#16183)
add 4df3672 chore: bump superset-ui to 0.17.82 (#16186)
add 98fc29c fix(explore): metric label disappearing in some scenarios
(#16190)
add 6c304b8 feat: Changing Dataset names (#16199)
add ccfc95f fix(explore): adhoc metrics popover resets label after
hovering outside (#16196)
add b4555df fix: sorting on "Modified By" in chart table (#16208)
add c79de7a initial fix (#16212)
add 5a84841 fix: pyinstrument dependency (#16211)
add 7de54d0 feat: import configuration from directory (#15686)
add b61c34f fix(viz): deduce metric name if empty (#16194)
add a16e290 fix(explore): conditional formatting value validators (#16230)
add 16a9d21 chore: Add feature flags to PR template (#16215)
add 2c5731a Show/hide tooltips (#16192)
add a1e18ed fix(Explore): Show the tooltip only when label does not fit
the container in METRICS/FILTERS/GROUP BY/SORT BY of the DATA panel (#16060)
add 67c4c01 fix: remove encryption from db params (#16214)
add 1715143 feat: Allow users to connect via legacy SQLA form (#16201)
add 9d0dc56 Revert "feat: Changing Dataset names (#16199)" (#16235)
add cdcc161 fix: Remove Advanced Analytics tag for 2 charts (#16240)
add 5d3d6b6 fix: validate_parameters and query (#16241)
add 517a678 fix(dashboard): cross filter chart highlight when filters
badge icon clicked (#16233)
add d6f9c48 feat(dao): admin can remove self from object owners (#15149)
add 6cd15d5 refactor: external metadata fetch API (#16193)
add 2611681 fix: skip perms on query context update (#16250)
add 4ae88ce chore: bump py version for integration test (#16213)
add c09f6ed fix(Dashboard): Omnibar dropdown visibility and keyboard
commands (#16168)
add 720e5b1 chore: Shows the dataset description in the gallery dropdown
(#16200)
add f946954 chore: bump superset-ui packages to 0.17.84 (#16251)
add a5dbe6a fix examples tab for dashboard (#16253)
add 24b43be chore(pylint): Bump Pylint to 2.9.6 (#16146)
add 9b2dffe fix: pivot columns with ints for name (#16259)
add d46dc9a chore: upgrade mypy and add type guards (#16227)
add 3709131 check roles before fetching reports (#16260)
add 202704a Merge remote-tracking branch 'upstream/master' into
feat/extra_strategies
add 887fe2a chore: pre-commit
No new revisions were added by this update.
Summary of changes:
.github/PULL_REQUEST_TEMPLATE.md | 1 +
.pre-commit-config.yaml | 3 +-
.pylintrc | 2 +-
Dockerfile | 2 +-
RELEASING/changelog.py | 4 +-
docker-compose.yml | 3 +
requirements/base.in | 1 +
requirements/base.txt | 99 +-
requirements/development.in | 2 +-
requirements/development.txt | 55 +-
requirements/docker.txt | 8 +-
requirements/integration.in | 3 +
requirements/integration.txt | 48 +-
requirements/testing.in | 5 +-
requirements/testing.txt | 60 +-
scripts/benchmark_migration.py | 10 +-
setup.py | 6 +-
superset-frontend/babel.config.js | 3 +
superset-frontend/package-lock.json | 2545 +++++++++++++++-----
superset-frontend/package.json | 61 +-
.../explore/components/MetricsControl_spec.jsx | 237 +-
.../explore/components/VizTypeControl_spec.jsx | 2 +-
.../src/addSlice/AddSliceContainer.test.tsx | 22 +-
.../src/addSlice/AddSliceContainer.tsx | 143 +-
superset-frontend/src/addSlice/App.tsx | 2 +-
superset-frontend/src/components/Form/Form.tsx | 2 +
superset-frontend/src/components/Form/index.tsx | 4 +-
.../src/components/ListView/CardCollection.tsx | 20 +-
.../src/components/ListView/ListView.tsx | 3 +
.../src/components/Menu/MenuRight.tsx | 8 +-
.../OmniContainer/OmniContainer.test.tsx | 46 +-
.../src/components/OmniContainer/index.tsx | 12 +-
.../src/components/ReportModal/index.test.tsx | 7 +
.../src/components/ReportModal/index.tsx | 105 +-
.../src/components/ReportModal/styles.tsx | 28 +
.../src/components/TimezoneSelector/index.tsx | 2 +-
superset-frontend/src/components/Tooltip/index.tsx | 27 +-
.../components/dataViewCommon/TableCollection.tsx | 2 +-
.../DetailsPanel/DetailsPanel.test.tsx | 5 +
.../components/FiltersBadge/DetailsPanel/index.tsx | 10 +
.../dashboard/components/FiltersBadge/selectors.ts | 65 +-
.../src/dashboard/components/Header/index.jsx | 68 +-
.../src/dashboard/util/setPeriodicRunner.ts | 2 +-
.../src/datasource/DatasourceEditor.jsx | 29 +-
.../DatasourcePanelDragOption.test.tsx} | 20 +-
.../index.tsx | 43 +-
.../explore/components/DatasourcePanel/index.tsx | 54 +-
.../src/explore/components/ExploreChartHeader.jsx | 53 +-
.../src/explore/components/ExploreChartPanel.jsx | 3 +-
.../explore/components/ExploreViewContainer.jsx | 5 +-
.../FormattingPopoverContent.tsx | 330 ++-
.../DndColumnSelect.test.tsx | 2 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 9 +-
.../DndFilterSelect.test.tsx | 8 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 10 +-
.../DndMetricSelect.test.tsx | 4 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 14 +-
.../DndColumnSelectControl/DndSelectLabel.test.tsx | 2 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 6 +-
.../DndColumnSelectControl/OptionWrapper.test.tsx | 15 +-
.../DndColumnSelectControl/OptionWrapper.tsx | 65 +-
.../controls/DndColumnSelectControl/types.ts | 12 +-
.../controls/MetricControl/AdhocMetricOption.jsx | 3 +
.../MetricControl/MetricDefinitionValue.jsx | 2 +
.../controls/MetricControl/MetricsControl.jsx | 487 ++--
.../components/controls/OptionControls/index.tsx | 50 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 6 +-
.../src/explore/components/optionRenderers.tsx | 1 +
superset-frontend/src/reports/actions/reports.js | 15 +-
.../src/views/CRUD/chart/ChartList.tsx | 72 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 49 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 27 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 4 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 191 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 5 +-
.../src/views/CRUD/data/database/types.ts | 16 +-
superset-frontend/src/views/CRUD/hooks.ts | 39 +-
superset-frontend/src/views/CRUD/storageKeys.ts | 3 +-
superset-frontend/src/views/CRUD/types.ts | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 24 +-
.../src/views/CRUD/welcome/ActivityTable.tsx | 6 +-
.../src/views/CRUD/welcome/ChartTable.tsx | 9 +-
.../src/views/CRUD/welcome/DashboardTable.tsx | 9 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 4 +-
.../src/views/CRUD/welcome/Welcome.tsx | 47 +-
.../TimeTable/TimeTableChartPlugin.js | 1 -
superset-frontend/tsconfig.json | 2 +-
superset-frontend/webpack.config.js | 9 -
superset/charts/api.py | 19 +-
superset/charts/commands/create.py | 11 +-
superset/charts/commands/update.py | 31 +-
superset/charts/post_processing.py | 2 +-
superset/charts/schemas.py | 25 +
superset/cli.py | 56 +-
superset/commands/base.py | 41 +-
superset/commands/importers/v1/examples.py | 16 +-
superset/commands/utils.py | 20 +-
superset/common/query_object.py | 7 +-
superset/common/tags.py | 2 +-
superset/config.py | 9 +-
superset/connectors/base/models.py | 2 +
superset/connectors/connector_registry.py | 5 +-
superset/connectors/druid/models.py | 21 +-
superset/connectors/sqla/models.py | 76 +-
superset/connectors/sqla/utils.py | 5 +
superset/constants.py | 2 +-
superset/dashboards/api.py | 5 +-
superset/dashboards/commands/create.py | 8 +-
superset/dashboards/commands/importers/v1/utils.py | 2 +-
superset/dashboards/commands/update.py | 8 +-
superset/datasets/api.py | 2 +
superset/datasets/commands/create.py | 7 +-
superset/datasets/commands/importers/v1/utils.py | 11 +-
superset/datasets/commands/update.py | 7 +-
superset/db_engine_specs/base.py | 14 +-
superset/db_engine_specs/gsheets.py | 27 +-
superset/examples/__init__.py | 2 +-
.../dashboards/COVID_Vaccine_Dashboard.yaml | 288 +--
.../examples/configs/datasets/examples/users.yaml | 378 +--
.../examples/users_channels-uzooNNtSRO.yaml | 87 +-
.../configs/datasets/examples/users_channels.yaml | 58 +-
.../datasets/examples/video_game_sales.yaml | 240 +-
superset/examples/energy.py | 2 +-
superset/examples/flights.py | 7 +-
superset/examples/helpers.py | 4 +-
superset/examples/utils.py | 45 +-
superset/examples/world_bank.py | 4 +-
superset/extensions.py | 10 +
superset/initialization/__init__.py | 8 +-
superset/jinja_context.py | 4 +-
...13dd52_change_fetch_values_predicate_to_text.py | 84 +
...d20ba9ecb33_add_last_saved_at_to_slice_model.py | 66 +
superset/models/core.py | 8 +-
superset/models/schedules.py | 3 +
superset/models/slice.py | 9 +-
superset/models/tags.py | 2 +
superset/reports/commands/create.py | 6 +-
superset/reports/commands/execute.py | 5 +-
superset/reports/commands/update.py | 6 +-
superset/tasks/alerts/validator.py | 10 +-
superset/tasks/caching/cache_strategy.py | 27 +-
superset/tasks/celery_app.py | 2 +-
superset/tasks/schedules.py | 6 +-
superset/typing.py | 42 +-
superset/utils/async_query_manager.py | 4 +-
superset/utils/core.py | 170 +-
superset/utils/memoized.py | 2 +-
superset/utils/pandas_postprocessing.py | 2 +-
superset/utils/profiler.py | 59 +
superset/views/base.py | 6 +-
superset/views/chart/views.py | 10 +-
superset/views/core.py | 4 +-
superset/views/database/views.py | 2 +-
.../views/datasource}/__init__.py | 0
superset/views/datasource/schemas.py | 54 +
.../views/{datasource.py => datasource/views.py} | 68 +-
superset/views/utils.py | 4 +-
superset/viz.py | 6 +-
tests/integration_tests/alerts_tests.py | 2 +-
tests/integration_tests/charts/api_tests.py | 83 +-
tests/integration_tests/charts/commands_tests.py | 26 +
tests/integration_tests/dashboards/api_tests.py | 39 +-
.../dashboards/security/security_rbac_tests.py | 4 +-
tests/integration_tests/datasets/api_tests.py | 2 +
tests/integration_tests/datasource_tests.py | 73 +-
tests/integration_tests/import_export_tests.py | 5 +-
tests/integration_tests/model_tests.py | 9 +-
tests/integration_tests/sqla_models_tests.py | 39 +
tests/integration_tests/utils/core_tests.py | 51 +-
tests/integration_tests/utils_tests.py | 60 +-
tests/integration_tests/viz_tests.py | 12 +-
tests/unit_tests/core_tests.py | 100 +
tests/unit_tests/db_engine_specs/test_gsheets.py | 31 +-
173 files changed, 5393 insertions(+), 2898 deletions(-)
rename
superset-frontend/src/explore/components/DatasourcePanel/{DatasourcePanelDragWrapper/DatasourcePanelDragWrapper.test.tsx
=> DatasourcePanelDragOption/DatasourcePanelDragOption.test.tsx} (75%)
rename
superset-frontend/src/explore/components/DatasourcePanel/{DatasourcePanelDragWrapper
=> DatasourcePanelDragOption}/index.tsx (52%)
create mode 100644
superset/migrations/versions/07071313dd52_change_fetch_values_predicate_to_text.py
create mode 100644
superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py
create mode 100644 superset/utils/profiler.py
copy {tests/unit_tests/charts => superset/views/datasource}/__init__.py (100%)
create mode 100644 superset/views/datasource/schemas.py
rename superset/views/{datasource.py => datasource/views.py} (77%)
create mode 100644 tests/unit_tests/core_tests.py