This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch late_config
in repository https://gitbox.apache.org/repos/asf/superset.git
discard e0ac5010ed minor
discard 2bc9ae98bb re-fix a/superset/views/base.py
discard e2fda6a518 rm functions again
discard 9fcc85df3c self.app.stats_logger
discard d5772f05d2 remove migration
discard 302227294e fixed migratinos
discard 3ac99c3d04 fix model creation
discard 11df9b3b70 fixin'
discard 03419c0cca rebase+minor touchup
discard 315f6a3ff5 factoring out migrations utils
discard b5e1912ac8 test
discard bf2126bfd9 fix merge conflict
discard 35730710bf add a note in UPDATING.md
discard 17e419aedb fix new migration
discard 42e9cca296 new files
discard 417131ae27 chore: module scope should not require the app context
add f7b273460d chore(🦾): bump python boto3 1.26.130 -> 1.34.112 (#28679)
add 4ad823e97a chore(🦾): bump python certifi 2023.7.22 -> 2024.2.2 (#28733)
add b53ccf893f chore(🦾): bump python google-auth 2.27.0 -> 2.29.0 (#28732)
add 57bd3c35c2 chore(🦾): bump python pyasn1 0.5.1 -> 0.6.0 (#28726)
add 0ed87c5d56 chore(🦾): bump python wcwidth 0.2.5 -> 0.2.13 (#28725)
add f988d997ff chore(🦾): bump python marshmallow-sqlalchemy 0.23.1 ->
0.28.2 (#28724)
add 4d252647ef chore(🦾): bump python mako 1.3.3 -> 1.3.5 (#28723)
add 22d8074c49 chore(🦾): bump python limits 3.4.0 -> 3.12.0 (#28717)
add 475364248f chore(🦾): bump python wrapt 1.15.0 -> 1.16.0 (#28722)
add 0fdb4b7c23 chore(tags): Handle tagging as part of asset update call
(#28570)
add 51dd41bb72 chore(🦾): bump python pytz 2021.3 -> 2024.1 (#28731)
add 307477a62a chore(🦾): bump python apsw 3.45.3.0 -> 3.46.0.0 (#28730)
add 4bdf7b560b chore(🦾): bump python attrs 23.1.0 -> 23.2.0 (#28729)
add 42e05ce494 chore(🦾): bump python prompt-toolkit 3.0.38 -> 3.0.44
(#28727)
add a59bad83d4 chore(🦾): bump python slack-sdk 3.21.3 -> 3.27.2 (#28721)
add 4ff17409ab fix: Handling of column types for Presto, Trino, et al.
(#28653)
add 03a62aaa33 chore(🦾): bump python markdown-it-py 2.2.0 -> 3.0.0 (#28720)
add 6a734e2746 chore(🦾): bump python cachetools 5.3.2 -> 5.3.3 (#28719)
add 18f327781d chore(🦾): bump python zipp 3.18.2 -> 3.19.0 (#28718)
add c67e3e7e1d chore(🦾): bump python importlib-resources 5.12.0 -> 6.4.0
(#28716)
add 8c3250396f chore(deps): bump pug from 3.0.2 to 3.0.3 in
/superset-websocket/utils/client-ws-app (#28742)
add e17724a73a feat: Adds Bar chart migration logic (#28602)
add 30dfd92577 chore(🦾): bump python celery 5.3.6 -> 5.4.0 (#28471)
add f9d2451b23 feat: add Nightingale chart support for echarts pie chart
(#28597)
add 87110ebce4 fix: dashboard performance (#28609)
add 07b2449bd7 refactor: Unify all json.(loads|dumps) usage to utils.json
(#28702)
add d5bc5088a2 chore: module scope should not require the app context
add e6eb823391 minor fix
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 (e0ac5010ed)
\
N -- N -- N refs/heads/late_config (e6eb823391)
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.
No new revisions were added by this update.
Summary of changes:
.pylintrc | 2 +-
pyproject.toml | 2 +-
requirements/base.txt | 51 ++-
requirements/development.txt | 17 +-
.../plugin-chart-echarts/Pie/Pie.stories.tsx | 90 ++++-
.../plugins/plugin-chart-echarts/Pie/data.ts | 11 +
.../plugin-chart-echarts/src/Pie/controlPanel.tsx | 18 +
.../plugin-chart-echarts/src/Pie/images/Pie3.jpg | Bin 50875 -> 31954 bytes
.../plugin-chart-echarts/src/Pie/images/Pie4.jpg | Bin 17000 -> 31291 bytes
.../plugins/plugin-chart-echarts/src/Pie/index.ts | 1 +
.../plugin-chart-echarts/src/Pie/transformProps.ts | 2 +
.../plugins/plugin-chart-echarts/src/Pie/types.ts | 2 +
.../src/components/Tags/utils.test.tsx | 6 +-
superset-frontend/src/components/Tags/utils.tsx | 14 +-
.../dashboard/components/PropertiesModal/index.tsx | 84 +----
.../explore/components/PropertiesModal/index.tsx | 77 +----
.../src/features/dashboards/DashboardCard.test.tsx | 158 +++++++++
.../src/features/dashboards/DashboardCard.tsx | 39 ++-
.../src/pages/DashboardList/DashboardList.test.jsx | 2 +-
.../src/pages/DashboardList/index.tsx | 26 ++
superset-frontend/src/types/TagType.ts | 2 +-
superset-frontend/src/views/CRUD/hooks.test.tsx | 105 ++++++
superset-frontend/src/views/CRUD/hooks.ts | 2 +
.../utils/client-ws-app/package-lock.json | 62 ++--
.../utils/client-ws-app/package.json | 2 +-
superset/annotation_layers/annotations/schemas.py | 7 +-
superset/async_events/async_query_manager.py | 2 +-
superset/charts/api.py | 6 +-
superset/charts/data/api.py | 11 +-
superset/charts/schemas.py | 10 +-
superset/cli/viz_migrations.py | 6 +
superset/commands/chart/export.py | 4 +-
superset/commands/chart/importers/v1/utils.py | 4 +-
superset/commands/chart/update.py | 19 +-
superset/commands/chart/warm_up_cache.py | 2 +-
superset/commands/dashboard/export.py | 6 +-
superset/commands/dashboard/importers/v0.py | 2 +-
superset/commands/dashboard/importers/v1/utils.py | 2 +-
superset/commands/dashboard/update.py | 25 +-
superset/commands/database/export.py | 4 +-
superset/commands/database/importers/v1/utils.py | 2 +-
superset/commands/database/validate.py | 4 +-
superset/commands/dataset/export.py | 8 +-
superset/commands/dataset/importers/v0.py | 2 +-
superset/commands/dataset/importers/v1/utils.py | 2 +-
superset/commands/exceptions.py | 10 +
superset/commands/explore/get.py | 3 +-
superset/commands/query/export.py | 4 +-
superset/commands/report/alert.py | 2 +-
superset/commands/report/create.py | 2 +-
superset/commands/report/execute.py | 2 +-
superset/commands/report/update.py | 2 +-
superset/commands/utils.py | 85 ++++-
superset/common/query_object.py | 3 +-
superset/connectors/sqla/models.py | 6 +-
superset/daos/dashboard.py | 2 +-
superset/daos/report.py | 2 +-
superset/dashboards/api.py | 5 +-
superset/dashboards/schemas.py | 14 +-
superset/databases/api.py | 2 +-
superset/databases/schemas.py | 4 +-
superset/datasets/api.py | 2 +-
superset/datasets/schemas.py | 2 +-
superset/db_engine_specs/base.py | 3 +-
superset/db_engine_specs/bigquery.py | 3 +-
superset/db_engine_specs/databricks.py | 2 +-
superset/db_engine_specs/druid.py | 3 +-
superset/db_engine_specs/gsheets.py | 2 +-
superset/db_engine_specs/postgres.py | 3 +-
superset/db_engine_specs/presto.py | 11 +-
superset/db_engine_specs/snowflake.py | 2 +-
superset/db_engine_specs/trino.py | 3 +-
superset/embedded/view.py | 6 +-
superset/examples/bart_lines.py | 2 +-
superset/examples/birth_names.py | 2 +-
superset/examples/deck.py | 2 +-
superset/examples/helpers.py | 2 +-
superset/examples/misc_dashboard.py | 2 +-
superset/examples/paris.py | 2 +-
superset/examples/sf_population_polygons.py | 2 +-
superset/examples/supported_charts_dashboard.py | 2 +-
superset/examples/tabbed_dashboard.py | 2 +-
superset/examples/world_bank.py | 3 +-
superset/extensions/pylint.py | 60 ++++
superset/forms.py | 3 +-
superset/importexport/api.py | 2 +-
superset/jinja_context.py | 2 +-
superset/migrations/shared/migrate_viz/base.py | 2 +-
.../migrations/shared/migrate_viz/processors.py | 54 ++-
superset/migrations/shared/native_filters.py | 2 +-
superset/migrations/shared/utils.py | 5 +-
...4_12-31_db0c65b146bd_update_slice_model_json.py | 3 +-
...7c195a_rewriting_url_from_shortner_with_new_.py | 2 +-
...-08_08-19_67a6ac9b727b_update_spatial_params.py | 3 +-
...2-17_11-06_21e88bc06c02_annotation_migration.py | 3 +-
.../2018-02-13_08-07_e866bd2d4976_smaller_grid.py | 3 +-
...9_bf706ae5eb46_cal_heatmap_metric_to_metrics.py | 3 +-
...018-06-04_11-12_c5756bec8b47_time_grain_sqla.py | 3 +-
...6-07_09-52_afb7730f6a9c_remove_empty_filters.py | 3 +-
...13_10-20_4451805bbaa1_remove_double_percents.py | 3 +-
.../2018-06-13_14-54_bddc498dd179_adhoc_filters.py | 3 +-
...4_14-31_80a67c5192fa_single_pie_chart_metric.py | 3 +-
...1c4c6_migrate_num_period_compare_and_period_.py | 2 +-
..._bebcf3fed1fe_convert_dashboard_v1_positions.py | 2 +-
.../versions/2018-08-01_11-47_7fcdcde0761c_.py | 2 +-
...08545_migrate_time_range_for_default_filters.py | 3 +-
...2018-12-11_22-03_fb13d49b72f9_better_filters.py | 2 +-
...a3f04bc82_add_parent_ids_in_dashboard_layout.py | 2 +-
.../2019-06-28_13-17_ab8c66efdd01_resample.py | 2 +-
.../2019-10-10_13-52_1495eb914ad3_time_range.py | 2 +-
...127d0d1d_reconvert_legacy_filters_into_adhoc.py | 2 +-
..._14-13_3325d4caccc8_dashboard_scoped_filters.py | 2 +-
...10-42_f9a30386bd74_cleanup_time_grainularity.py | 3 +-
...29_09-24_620241d1153f_update_time_grain_sqla.py | 14 +-
...978245563a02_migrate_iframe_to_dash_markdown.py | 2 +-
...b56500de1855_add_uuid_column_to_import_mixin.py | 6 +-
...60bf0649a77_migrate_x_dateunit_in_time_range.py | 2 +-
...2fdb_add_granularity_to_charts_where_missing.py | 3 +-
...-10_12-32_41ce8799acc3_rename_pie_label_type.py | 3 +-
...1412ec1e5a7b_legacy_force_directed_to_echart.py | 3 +-
...989bbe479899_rename_filter_configuration_in_.py | 3 +-
...ea61c5e7_remove_dataset_health_check_message.py | 2 +-
...88938_country_map_use_lowercase_country_name.py | 3 +-
...3a3a8ff221_migrate_filter_sets_to_new_format.py | 2 +-
...ed7ec95_migrate_native_filters_to_new_schema.py | 2 +-
...3605f370a_fix_schemas_allowed_for_csv_upload.py | 4 +-
...15da_migrate_pivot_table_v2_heatmaps_to_new_.py | 3 +-
...4fbb_add_type_to_native_filter_configuration.py | 2 +-
...453f4e2e_migrate_timeseries_limit_metric_to_.py | 3 +-
...12_11-15_32646df09c64_update_time_grain_sqla.py | 3 +-
...e5f1dacd_rename_to_schemas_allowed_for_file_.py | 6 +-
...5b9441_rename_big_viz_total_form_data_fields.py | 2 +-
...d1d2_move_pivot_table_v2_legacy_order_by_to_.py | 2 +-
...b0ca7944_change_adhoc_filter_b_from_none_to_.py | 3 +-
...14-38_a9422eeaae74_new_dataset_models_take_2.py | 6 +-
...d0249074e4_deprecate_time_range_endpoints_v2.py | 3 +-
...07e4fdbaba_rm_time_range_endpoints_from_qc_3.py | 5 +-
...665d_fix_table_chart_conditional_formatting_.py | 3 +-
...1_4ce1d9b25135_remove_filter_bar_orientation.py | 3 +-
...4-46_c0a3ea245b61_remove_show_native_filters.py | 3 +-
...ac08bb5b83_invert_horizontal_bar_chart_order.py | 3 +-
...7_13-24_b5ea9d343307_bar_chart_stack_options.py | 3 +-
...03-27_12-30_7e67aecbf3f1_chart_ds_constraint.py | 2 +-
...2a5681ddfd_convert_key_value_entries_to_json.py | 2 +-
...-41_4ea966691069_cross_filter_global_scoping.py | 2 +-
...delete_obsolete_druid_nosql_slice_parameters.py | 2 +-
...6f8b1280_cleanup_erroneous_parent_filter_ids.py | 2 +-
...9_17-54_ee179a490af9_deckgl_path_width_units.py | 2 +-
...ff00fe8_add_percent_calculation_type_funnel_.py | 3 +-
...47_be1b217cd8cd_big_number_kpi_single_metric.py | 3 +-
...9123a_update_charts_with_old_time_comparison.py | 2 +-
superset/models/core.py | 7 +-
superset/models/dashboard.py | 5 +-
superset/models/helpers.py | 6 +-
superset/models/slice.py | 5 +-
superset/models/sql_lab.py | 2 +-
superset/queries/saved_queries/api.py | 2 +-
superset/reports/notifications/email.py | 2 +-
superset/reports/notifications/slack.py | 2 +-
superset/result_set.py | 5 +-
superset/security/manager.py | 4 +-
superset/sql_lab.py | 10 +-
superset/sqllab/api.py | 10 +-
superset/sqllab/execution_context_convertor.py | 10 +-
superset/sqllab/sqllab_execution_context.py | 3 +-
superset/superset_typing.py | 5 +-
superset/tasks/cache.py | 2 +-
superset/utils/csv.py | 4 +-
.../utils/dashboard_filter_scopes_converter.py | 2 +-
superset/utils/hashing.py | 2 +-
superset/utils/json.py | 65 +++-
superset/utils/lock.py | 2 +-
superset/utils/log.py | 2 +-
superset/utils/mock_data.py | 2 +-
superset/utils/schema.py | 7 +-
superset/views/api.py | 7 +-
superset/views/base.py | 13 +-
superset/views/chart/views.py | 6 +-
superset/views/core.py | 19 +-
superset/views/dashboard/views.py | 6 +-
superset/views/datasource/views.py | 2 +-
superset/views/key_value.py | 3 +-
superset/views/sql_lab/views.py | 5 +-
superset/views/sqllab.py | 2 +-
superset/views/tags.py | 6 +-
superset/views/utils.py | 3 +-
superset/viz.py | 11 +-
.../advanced_data_type/api_tests.py | 2 +-
.../annotation_layers/api_tests.py | 3 +-
tests/integration_tests/async_events/api_tests.py | 2 +-
.../available_domains/api_tests.py | 3 +-
tests/integration_tests/base_api_tests.py | 2 +-
tests/integration_tests/base_tests.py | 2 +-
tests/integration_tests/cache_tests.py | 3 +-
tests/integration_tests/charts/api_tests.py | 261 ++++++++++++++-
tests/integration_tests/charts/commands_tests.py | 2 +-
tests/integration_tests/charts/data/api_tests.py | 2 +-
tests/integration_tests/commands_test.py | 2 +-
tests/integration_tests/core_tests.py | 7 +-
tests/integration_tests/css_templates/api_tests.py | 2 +-
tests/integration_tests/dashboard_utils.py | 2 +-
tests/integration_tests/dashboards/api_tests.py | 275 ++++++++++++++-
.../integration_tests/dashboards/commands_tests.py | 2 +-
tests/integration_tests/dashboards/dao_tests.py | 2 +-
.../dashboards/filter_state/api_tests.py | 2 +-
.../dashboards/security/security_dataset_tests.py | 3 +-
.../dashboards/security/security_rbac_tests.py | 2 +-
tests/integration_tests/databases/api_tests.py | 10 +-
.../databases/commands/upload_test.py | 3 +-
tests/integration_tests/datasets/api_tests.py | 2 +-
tests/integration_tests/datasource/api_tests.py | 2 +-
tests/integration_tests/datasource_tests.py | 2 +-
.../integration_tests/dict_import_export_tests.py | 2 +-
tests/integration_tests/explore/api_tests.py | 2 +-
.../explore/form_data/api_tests.py | 2 +-
.../explore/form_data/commands_tests.py | 2 +-
.../explore/permalink/api_tests.py | 2 +-
.../integration_tests/fixtures/tabbed_dashboard.py | 2 +-
.../fixtures/world_bank_dashboard.py | 2 +-
tests/integration_tests/import_export_tests.py | 2 +-
.../key_value/commands/create_test.py | 2 +-
.../key_value/commands/delete_test.py | 2 +-
.../key_value/commands/fixtures.py | 2 +-
.../key_value/commands/get_test.py | 2 +-
.../key_value/commands/update_test.py | 2 +-
.../key_value/commands/upsert_test.py | 2 +-
tests/integration_tests/log_api_tests.py | 2 +-
.../7e67aecbf3f1_chart_ds_constraint__tests.py | 3 +-
...baba_rm_time_range_endpoints_from_qc_3__test.py | 3 +-
...c747c78868b6_migrating_legacy_treemap__tests.py | 2 +-
.../fb13d49b72f9_better_filters__tests.py | 3 +-
tests/integration_tests/model_tests.py | 2 +-
tests/integration_tests/queries/api_tests.py | 2 +-
.../queries/saved_queries/api_tests.py | 2 +-
tests/integration_tests/reports/api_tests.py | 2 +-
tests/integration_tests/reports/commands_tests.py | 2 +-
tests/integration_tests/reports/utils.py | 2 +-
tests/integration_tests/security/api_tests.py | 3 +-
.../security/guest_token_security_tests.py | 2 +-
.../security/row_level_security_tests.py | 2 +-
tests/integration_tests/security_tests.py | 2 +-
tests/integration_tests/sql_lab/api_tests.py | 3 +-
tests/integration_tests/sqllab_tests.py | 2 +-
tests/integration_tests/tags/api_tests.py | 2 +-
tests/integration_tests/thumbnails_tests.py | 2 +-
tests/integration_tests/users/api_tests.py | 3 +-
tests/integration_tests/utils/__init__.py | 3 +-
tests/integration_tests/utils_tests.py | 79 +++--
.../charts/commands/importers/v1/utils_test.py | 3 +-
tests/unit_tests/commands/test_utils.py | 367 ++++++++++++++++++++-
tests/unit_tests/databases/api_test.py | 2 +-
.../databases/commands/importers/v1/import_test.py | 2 +-
tests/unit_tests/datasets/commands/export_test.py | 3 +-
.../datasets/commands/importers/v1/import_test.py | 2 +-
tests/unit_tests/db_engine_specs/test_bigquery.py | 2 +-
.../unit_tests/db_engine_specs/test_databricks.py | 2 +-
tests/unit_tests/db_engine_specs/test_duckdb.py | 2 +-
tests/unit_tests/db_engine_specs/test_gsheets.py | 2 +-
tests/unit_tests/db_engine_specs/test_presto.py | 61 ++--
tests/unit_tests/db_engine_specs/test_snowflake.py | 2 +-
tests/unit_tests/db_engine_specs/test_trino.py | 52 ++-
tests/unit_tests/importexport/api_test.py | 2 +-
tests/unit_tests/jinja_context_test.py | 2 +-
.../viz/nvd3_bar_chart_to_echarts_test.py | 64 ++++
tests/unit_tests/migrations/viz/utils.py | 2 +-
tests/unit_tests/models/core_test.py | 2 +-
tests/unit_tests/queries/dao_test.py | 2 +-
tests/unit_tests/utils/json_tests.py | 86 +++--
268 files changed, 2331 insertions(+), 758 deletions(-)
create mode 100644
superset-frontend/src/features/dashboards/DashboardCard.test.tsx
create mode 100644 superset-frontend/src/views/CRUD/hooks.test.tsx
create mode 100644 superset/extensions/pylint.py
create mode 100644
tests/unit_tests/migrations/viz/nvd3_bar_chart_to_echarts_test.py