This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a change to branch refactorReports
in repository https://gitbox.apache.org/repos/asf/superset.git.
discard 0f36532 refactor: Reports - ReportModal (#16622)
omit 6878bf9 continued refactoring (#16377)
omit b80cea1 Fetch bug fixed (#16376)
omit 3d76011 code dry (#16358)
omit 171d254 fix: Header Actions test refactor (#16336)
omit 7996a0f refactor progress (#16339)
omit f196497 pexdax refactor (#16333)
add 359383b feat: Add Aurora Data API engine spec (#16535)
add be77ad2 refactor: sql_json view endpoint: encapsulate ctas parameters
(#16548)
add e60b489 refactor sql_json view endpoint: separate concern into ad hod
method (#16595)
add df5c0fb feat: Experimental cross-filter plugins (#16594)
add 7cbced8 chore(deps): bump superset-ui to 0.18.2 (#16601)
add 3fe2e6e Remove export CSV in old filter box (#16592)
add 7faa5c6 perf(dashboard): reduce rerenders of DragDroppable (#16525)
add effcf3b perf(dashboard): decrease number of rerenders of FiltersBadge
(#16545)
add 9de2196 fix: TemporalWrapperType string representation (#16614)
add 37c2020 chore: Merges latest Select changes (#16587)
add 519baa6 fix: params in sql lab are jumpy in the ace editor (#16536)
add 420dd5b chore: Pylint downgrade (#16617)
add 9dfa33f fix(dnd): make clicked dnd metrics unique (#16632)
add 7e09b72 chore: Bump FAB to 3.3.2 (#16615)
add 788c0c3 fix(dashboard): label colors included in explore url (#16621)
add c66f278 feat: Backend Validation for Creation Method (#16375)
add 6465ee7 fix(sqla): support for date adhoc filter (#16634)
add d0f69f2 fix: pybabel extract fails (#16629)
add e9e6c5d chore: Writes the tests for the new Select component (#16638)
add df7d9d5 refactor sql_json view endpoint: separate save query concern
into ad hod method (#16646)
add 3d0ebd5 chore: Bump Flask-OpenID to 1.3.0 (#16648)
add 62637f2 refactor sql_json view endpoint: separate validate the query
concern into ad hod method (#16647)
add 267b327 refactor sql_json view endpoint: separate query rendering
concern into ad hod method (#16649)
add dad55a7 refactor sql_json view endpoint: separate set the query's
limiting concern into ad hod method (#16653)
add 4b70d46 feat(dashboard): Native filters - add type to native filter
configuration (#16549)
add bb014b5 fix: fix assignment in FilterBoxViz (#16662)
add 4dc859f fix: Ensure alerts & reports aren't schduled when flag is off
(#16639)
add 1429d9d refactor sql_json view endpoint: extract methods and
rearrange code ordering (#16675)
add 51acada refactor sql_json view endpoint: separate a response creation
(#16676)
add 668ae23 feat: Tabs in column (#16593)
add 1cc7263 refactor: sql_json view endpoint: use execution context
instead of query (#16677)
add f2bc139 feat: feature flag configurable custom backend (#16618)
add 83581b1 feat(sqla): add time grain and time column to jinja params
(#16680)
add 29b635a refactor sql_json view endpoint: move all logic from view to
ExecuteSqlCommand (#16682)
add b0b9965 fix: reset perf logger timer for soft navigation for SPA
pages (#16668)
add c6ac107 feat: show build number value in the About if present in the
config (#14955)
add 1669947 chore(pylint): Reenable too-many-lines check (#16287)
add 376c685 feat: adding logging to validation (#16527)
add d984c10 fix: Normalise `*.sh` File Endings (#16608)
add ad60c0c fix: remove useless-suppression for pylint (#16696)
add 5ac8ac0 fix: don't send invalid URLs back to the user (#16687)
add c99cacb fix(explore): only refresh data panel on relevant changes
(#16699)
add 9e00e4e fix(dataset): create ES-View dataset raise exception #16623
(#16624)
add fecd412 fix: Select refactoring known issues (#16666)
add 1d890f8 fix(explore): make clicked dnd filters unique (#16700)
add 9f5f679 bump sasl (#16669)
add 540277e chore: Add option to set a custom color scheme as default
(#16540)
add 7f804d6 feat: show nice error page in prod (#16695)
add b0ac5d1 perf(dashboard): fix filter-box performance bug (#16702)
add adc3d24 fix: Ignore case and special keys when searching (#16706)
add fb4650a chore(pylint): Remove top-level disable (#16589)
add 88c09c2 feat(jinja): improve url parameter formatting (#16711)
add 00ca21e fix: report with timeout chart (#16674)
add 86290cc chore: Improves the Select component to avoid additional
queries when all values have been loaded (#16712)
add 092ef5b fix: set importer as owner (#16656)
add 21f98dd fix: catch exception when create connection (#16692)
add 836b5e2 feat: add support for generic series limit (#16660)
add a839649 fix(pandas-postprocessing): percentage compare to use correct
column (#16716)
add 633f29f Helm chart: Support hostAliases (#16703)
add 4e3d4f6 feat: add global max row limit (#16683)
add 986ed68 chore: bump path parse module in websocket sidecar app
(#16720)
add a4f6001 add semantic title to the pull request template (#16693)
add cc1c6c1 feat: add resample operator in post processing (#16607)
add 7586e47 other: Provide option to add environment variables to only
supersetNode (#16627)
add 67b1330 chore: bump superset-ui 0.18.5 (#16725)
add 985aa06 chore: Upgrade immer package version (#16741)
add b92358b ci: bump npm to version 7 (#16748)
add 2a25e2d update execution logs and states for alerts (#16736)
add a8d5342 chore: add browser info to template (#16732)
add f032cc2 fix shared query (#16753)
add d375538 only fetch db function when db exists in sql lab (#16754)
add 493e804 chore: log URI before downloading data on import (#16762)
new 9802d18 pexdax refactor (#16333)
new 6ced7db refactor progress (#16339)
new 2e28e6a fix: Header Actions test refactor (#16336)
new 5a9cb98 code dry (#16358)
new a044707 Fetch bug fixed (#16376)
new 478ddc0 continued refactoring (#16377)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (0f36532)
\
N -- N -- N refs/heads/refactorReports (478ddc0)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitattributes | 1 +
.github/ISSUE_TEMPLATE/bug_report.md | 1 +
.github/PULL_REQUEST_TEMPLATE.md | 6 +
.github/workflows/bashlib.sh | 3 +-
.pylintrc | 3 +-
RELEASING/changelog.py | 3 -
UPDATING.md | 4 +
.../src/pages/docs/installation/sql_templating.mdx | 39 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-beat.yaml | 3 +
helm/superset/templates/deployment-worker.yaml | 3 +
helm/superset/templates/deployment.yaml | 9 +
helm/superset/values.yaml | 10 +
requirements/base.in | 2 +-
requirements/base.txt | 6 +-
requirements/testing.in | 2 +-
requirements/testing.txt | 6 +-
scripts/ci_check_no_file_changes.sh | 2 +-
setup.py | 3 +-
superset-frontend/package-lock.json | 1378 ++++++++++++--------
superset-frontend/package.json | 61 +-
.../spec/fixtures/mockNativeFilters.ts | 3 +
.../dashboard/fixtures/mockNativeFilters.ts | 4 +-
.../dashboard/util/isValidChild_spec.ts | 2 +-
.../spec/javascripts/sqllab/actions/sqlLab_spec.js | 48 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 33 +-
.../src/SqlLab/components/AceEditorWrapper.tsx | 17 +-
.../src/SqlLab/components/ShareSqlLabQuery.tsx | 10 +-
superset-frontend/src/SqlLab/types.ts | 13 +
.../src/addSlice/AddSliceContainer.tsx | 22 +-
.../src/components/Menu/Menu.test.tsx | 7 +-
superset-frontend/src/components/Menu/Menu.tsx | 1 +
.../src/components/Menu/MenuRight.tsx | 9 +-
.../HeaderReportActionsDropdown/index.tsx | 37 +-
.../src/components/Select/DeprecatedSelect.tsx | 9 +-
.../src/components/Select/Select.stories.tsx | 22 +-
.../src/components/Select/Select.test.tsx | 662 +++++++++-
superset-frontend/src/components/Select/Select.tsx | 322 +++--
superset-frontend/src/components/Select/utils.ts | 4 +-
superset-frontend/src/dashboard/actions/hydrate.js | 4 +-
.../src/dashboard/components/Dashboard.jsx | 1 +
.../DashboardBuilder/DashboardBuilder.tsx | 110 +-
.../src/dashboard/components/DashboardGrid.jsx | 22 +-
.../dashboard/components/FiltersBadge/index.tsx | 133 +-
.../dashboard/components/FiltersBadge/selectors.ts | 94 +-
.../src/dashboard/components/SliceHeader/index.tsx | 15 +-
.../SliceHeaderControls.test.tsx | 31 +-
.../components/SliceHeaderControls/index.tsx | 12 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 2 +-
.../components/gridComponents/ChartHolder.jsx | 15 +-
.../dashboard/components/gridComponents/Column.jsx | 2 +
.../dashboard/components/gridComponents/Row.jsx | 2 +
.../dashboard/components/gridComponents/Tab.jsx | 22 +-
.../dashboard/components/gridComponents/Tabs.jsx | 14 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 16 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 10 +-
.../nativeFilters/FiltersConfigModal/types.ts | 3 +-
.../nativeFilters/FiltersConfigModal/utils.ts | 1 +
.../dashboard/components/nativeFilters/types.ts | 6 +
.../dashboard/components/nativeFilters/utils.ts | 2 +
.../dashboard/containers/DashboardComponent.jsx | 1 +
.../util/charts/getFormDataWithExtraFilters.ts | 15 +-
.../src/dashboard/util/isValidChild.ts | 19 +-
.../explore/components/DataTablesPane/index.tsx | 2 +-
.../explore/components/DatasourcePanel/types.ts | 10 +
.../src/explore/components/ExploreChartPanel.jsx | 19 +-
.../components/controls/ColorSchemeControl.jsx | 5 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 10 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 20 +-
.../src/filters/components/GroupBy/index.ts | 1 +
.../src/filters/components/Range/index.ts | 1 +
.../src/filters/components/Select/index.ts | 1 +
.../src/filters/components/Time/index.ts | 1 +
.../src/filters/components/TimeColumn/index.ts | 1 +
.../src/filters/components/TimeGrain/index.ts | 1 +
superset-frontend/src/logger/LogUtils.ts | 10 +-
superset-frontend/src/setup/setupColors.ts | 69 +-
superset-frontend/src/views/App.tsx | 59 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 6 +-
superset-websocket/package-lock.json | 12 +-
.../utils/client-ws-app/package-lock.json | 181 +--
superset/charts/api.py | 1 +
superset/charts/commands/importers/v1/utils.py | 4 +
superset/charts/schemas.py | 42 +-
superset/commands/importers/v1/examples.py | 6 +-
superset/common/query_actions.py | 5 -
superset/common/query_context.py | 3 +-
superset/common/query_object.py | 127 +-
superset/config.py | 42 +-
superset/connectors/druid/views.py | 13 +-
superset/connectors/sqla/models.py | 144 +-
superset/connectors/sqla/utils.py | 6 +-
superset/dashboards/commands/importers/v1/utils.py | 4 +
superset/dashboards/filters.py | 12 +-
superset/databases/api.py | 1 +
superset/databases/commands/test_connection.py | 4 +
superset/databases/commands/validate.py | 2 +
superset/datasets/commands/importers/v1/utils.py | 6 +-
superset/db_engine_specs/__init__.py | 14 +-
superset/db_engine_specs/aurora.py | 46 +
superset/db_engine_specs/base.py | 60 +-
superset/db_engine_specs/bigquery.py | 10 +-
superset/db_engine_specs/presto.py | 3 +-
superset/db_engine_specs/rockset.py | 1 -
superset/db_engines/hive.py | 3 +-
superset/examples/countries.py | 1 +
superset/examples/deck.py | 3 +-
superset/initialization/__init__.py | 3 +-
superset/jinja_context.py | 22 +-
...4fbb_add_type_to_native_filter_configuration.py | 121 ++
superset/models/core.py | 46 +-
superset/models/slice.py | 4 +-
superset/models/sql_types/base.py | 10 +-
superset/reports/api.py | 1 -
superset/reports/commands/create.py | 17 +-
superset/reports/commands/exceptions.py | 5 +
superset/reports/commands/execute.py | 30 +-
superset/reports/dao.py | 18 +
superset/security/manager.py | 6 +-
superset/sql_lab.py | 24 +-
superset/sql_validators/base.py | 7 +-
.../charts => superset/sqllab}/__init__.py | 0
superset/sqllab/command.py | 413 ++++++
.../exceptions.py => sqllab/command_status.py} | 8 +-
superset/tasks/async_queries.py | 22 +-
superset/tasks/cache.py | 10 +-
superset/tasks/scheduler.py | 4 +-
superset/tasks/schedules.py | 5 +-
superset/utils/core.py | 23 +
superset/utils/date_parser.py | 3 +-
superset/utils/feature_flag_manager.py | 18 +-
superset/utils/logging_configurator.py | 7 +-
superset/utils/mock_data.py | 5 +-
superset/utils/pandas_postprocessing.py | 31 +-
superset/utils/sqllab_execution_context.py | 112 +-
superset/utils/webdriver.py | 1 +
superset/views/base.py | 15 +-
superset/views/core.py | 386 +-----
superset/views/filters.py | 3 +-
superset/views/redirects.py | 2 +-
superset/viz.py | 1034 ++++++++-------
tests/integration_tests/base_tests.py | 13 +-
tests/integration_tests/celery_tests.py | 7 +-
tests/integration_tests/charts/api_tests.py | 91 +-
tests/integration_tests/charts/commands_tests.py | 15 +-
tests/integration_tests/charts/schema_tests.py | 17 +-
tests/integration_tests/commands_test.py | 2 -
tests/integration_tests/dashboards/api_tests.py | 1 -
.../integration_tests/dashboards/commands_tests.py | 12 +-
tests/integration_tests/databases/api_tests.py | 5 +-
.../integration_tests/databases/commands_tests.py | 1 -
tests/integration_tests/datasets/api_tests.py | 48 +-
tests/integration_tests/datasets/commands_tests.py | 14 +-
.../db_engine_specs/presto_tests.py | 6 +-
tests/integration_tests/feature_flag_tests.py | 45 +-
tests/integration_tests/fixtures/importexport.py | 2 -
tests/integration_tests/fixtures/pyodbcRow.py | 5 +-
tests/integration_tests/fixtures/query_context.py | 2 +-
tests/integration_tests/jinja_context_tests.py | 31 +
tests/integration_tests/model_tests.py | 25 +
.../pandas_postprocessing_tests.py | 21 +-
tests/integration_tests/query_context_tests.py | 11 +-
tests/integration_tests/reports/api_tests.py | 118 +-
tests/integration_tests/reports/commands_tests.py | 72 +-
tests/integration_tests/reports/scheduler_tests.py | 22 +
tests/integration_tests/security/api_tests.py | 1 -
tests/integration_tests/sql_validator_tests.py | 1 -
tests/integration_tests/sqllab_tests.py | 2 +-
tests/integration_tests/utils/core_tests.py | 1 -
tests/integration_tests/utils/csv_tests.py | 1 -
tests/integration_tests/utils/hashing_tests.py | 1 -
.../utils/public_interfaces_test.py | 9 +-
tests/integration_tests/viz_tests.py | 45 +
tests/unit_tests/db_engine_specs/test_gsheets.py | 1 -
tests/unit_tests/tasks/test_cron_util.py | 2 -
175 files changed, 4935 insertions(+), 2427 deletions(-)
create mode 100644 .gitattributes
create mode 100644 superset/db_engine_specs/aurora.py
create mode 100644
superset/migrations/versions/021b81fe4fbb_add_type_to_native_filter_configuration.py
copy {tests/unit_tests/charts => superset/sqllab}/__init__.py (100%)
create mode 100644 superset/sqllab/command.py
copy superset/{reports/notifications/exceptions.py =>
sqllab/command_status.py} (84%)