You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/06/01 17:41:35 UTC
(superset) branch template_less updated (9c7b676bfc -> 926d2bf031)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git
from 9c7b676bfc fix Tooltip-related imports/exports
add 950a3313d8 fix(table): table sort by fix (#33540)
add c03964dc5f chore: remove useless-suppression (#33549)
add b7d3ff1e85 fix(user settings): Update forked cosmo theme to resolve down chevron in caret style (#30514) (#30577)
add 875f538d54 fix: text => JSON migration util (#33516)
add 5b2f1bbf9e feat(stack by dimension): add a stack by dimension dropdown list (#32707)
add 546945e7a6 fix(AllEntities): Display action buttons according to the user permissions (#33553)
add adeed60fe0 feat: implement limit extraction in sqlglot (#33456)
add 8013b32f0e chore: remove is_select_query (#33457)
add 38868f9ff4 fix(sankey): incorrect nodeValues (#33431)
add d932837a3c chore(deps-dev): bump eslint from 9.17.0 to 9.27.0 in /superset-websocket (#33477)
add 513047c3bb chore(deps): bump less-loader from 11.1.4 to 12.3.0 in /docs (#33488)
add 630e0e0240 chore(deps-dev): bump babel-loader from 9.2.1 to 10.0.0 in /superset-frontend (#33489)
add 0c89914a6d chore(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.1.5 in /superset-websocket (#33478)
add c928f23e1b docs(docker build): add more packages needed for production features (#33566)
add 57183da315 fix: Adjust viz migrations to also migrate the queries object (#33285)
add bdfb698aa4 fix(Radar): Radar chart normalisation (#33559)
add 1409b1a25b fix: correct typos (#33586)
add cc8ab2c556 chore(alerts & reports): increase Playwright timeout from 30 -> 60 seconds (#33567)
add 8de58b9848 feat: use sqlglot to set limit (#33473)
add ce9759785a fix: Missing processor context when rendering Jinja (#33596)
add b7ba50033a fix: Makes time compare migration more resilient (#33592)
add 1393f7d3d2 chore: sql/parse cleanup (#33515)
add 0fa3feb088 chore: remove parse_sql (#33474)
add deef923825 feat(Action Logs): Migrate Action Log FAB to React (#33298)
add e205846845 feat: implement CTEs logic in sqlglot (#33518)
add 0abe6eed89 feat: implement RLS in sqlglot (#33524)
add ea5a609d0b feat: implement CVAS/CTAS in sqlglot (#33525)
add f0b6e87091 chore: update Dockerfile - Upgrade to 3.11.12 (#33612)
add a4bb11c755 chore: bump FAB to 4.7.0 (#33607)
add 429935a277 fix(big number with trendline): add None option to the aggregation method dropdown (#33407)
add e20a08cb14 fix: add query identifier to legend items in mixed time series charts (#33519)
add fdea4e21b0 feat: current_user_rls_rules Jinja macro (#33614)
add 235c9d2ebf chore(deps-dev): bump fastify from 4.29.0 to 4.29.1 in /superset-frontend (#33622)
add ed20d2a917 fix(Security): Apply permissions to the AllEntities list/get_objects API endpoint (#33577)
add f219dc1794 chore: make DB syntax errors 400 (#33619)
add cf315388f2 feat(sqllab): use sqlglot instead of sqlparse (#33542)
add 401ce56fa1 feat: use sqlglot to validate adhoc subquery (#33560)
add c09f8f6f76 fix(sqllab): save datasets with template parameters (#33195)
add bd77f82cc9 Merge branch 'master' into template_less
add 926d2bf031 fix type errors
No new revisions were added by this update.
Summary of changes:
.github/workflows/superset-docs-verify.yml | 2 +-
Dockerfile | 2 +-
docs/docs/configuration/sql-templating.mdx | 8 +
docs/docs/installation/docker-builds.mdx | 5 +
docs/package.json | 2 +-
docs/yarn.lock | 8 +-
pyproject.toml | 2 +-
requirements/base.txt | 2 +-
requirements/development.txt | 2 +-
superset-frontend/package-lock.json | 151 +-
superset-frontend/package.json | 2 +-
.../src/operators/aggregateOperator.ts | 2 +-
.../src/shared-controls/customControls.tsx | 5 +-
.../packages/superset-ui-demo/package.json | 2 +-
.../BigNumberWithTrendline/buildQuery.test.ts | 86 ++
.../BigNumber/BigNumberWithTrendline/buildQuery.ts | 34 +-
.../src/MixedTimeseries/transformProps.ts | 32 +-
.../src/Radar/transformProps.ts | 117 +-
.../plugin-chart-echarts/src/Radar/types.ts | 17 +-
.../plugin-chart-echarts/src/Radar/utils.ts | 92 ++
.../src/Sankey/transformProps.ts | 22 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 35 +-
.../src/Timeseries/transformProps.ts | 18 +
.../plugin-chart-echarts/src/Timeseries/types.ts | 1 +
.../src/utils/metricDisplayName.ts | 59 +
.../test/MixedTimeseries/transformProps.test.ts | 13 +-
.../test/Radar/transformProps.test.ts | 127 ++
.../plugin-chart-table/src/controlPanel.tsx | 35 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 4 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 85 ++
.../SqlLab/components/SaveDatasetModal/index.tsx | 48 +-
.../features/allEntities/AllEntitiesTable.test.tsx | 50 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 45 +-
.../src/features/{users => groups}/types.ts | 12 +-
superset-frontend/src/features/groups/utils.ts | 74 +
superset-frontend/src/features/tags/tags.ts | 14 -
superset-frontend/src/pages/ActionLog/index.tsx | 285 ++++
superset-frontend/src/pages/AllEntities/index.tsx | 26 +-
superset-frontend/src/utils/datasourceUtils.js | 1 +
superset-frontend/src/views/routes.tsx | 7 +
superset-websocket/package-lock.json | 240 ++--
superset-websocket/package.json | 4 +-
superset-websocket/src/index.ts | 2 +-
superset/commands/database/test_connection.py | 6 +-
superset/commands/database/validate.py | 2 +-
superset/commands/sql_lab/execute.py | 2 +-
superset/commands/sql_lab/export.py | 9 +-
superset/config.py | 4 +-
superset/daos/tag.py | 192 ++-
superset/datasets/schemas.py | 1 +
superset/db_engine_specs/base.py | 184 +--
superset/db_engine_specs/db2.py | 4 +-
superset/db_engine_specs/firebird.py | 3 +-
superset/db_engine_specs/hana.py | 2 +-
superset/db_engine_specs/hive.py | 1 +
superset/db_engine_specs/kusto.py | 17 +-
superset/db_engine_specs/lib.py | 20 +-
superset/db_engine_specs/mssql.py | 4 +-
superset/db_engine_specs/ocient.py | 1 -
superset/db_engine_specs/oracle.py | 3 +-
superset/db_engine_specs/teradata.py | 5 +-
superset/examples/flights.py | 6 +-
superset/exceptions.py | 51 +
superset/initialization/__init__.py | 24 +-
superset/jinja_context.py | 99 +-
superset/migrations/shared/migrate_viz/base.py | 31 +-
.../migrations/shared/migrate_viz/processors.py | 330 ++++-
.../shared/migrate_viz/query_functions.py | 1507 ++++++++++++++++++++
superset/migrations/shared/utils.py | 25 +-
superset/models/core.py | 28 +-
superset/models/helpers.py | 81 +-
superset/models/sql_lab.py | 5 +-
superset/security/manager.py | 2 +-
superset/sql/parse.py | 709 +++++++--
superset/sql_lab.py | 382 ++---
superset/sql_parse.py | 39 +-
superset/sqllab/sqllab_execution_context.py | 15 +-
superset/tags/api.py | 4 +-
superset/utils/date_parser.py | 26 +-
superset/views/all_entities.py | 3 +-
superset/views/log/api.py | 19 +-
superset/views/{users_list.py => logs.py} | 4 +-
tests/integration_tests/base_tests.py | 6 +-
tests/integration_tests/celery_tests.py | 214 ++-
tests/integration_tests/charts/data/api_tests.py | 12 +-
tests/integration_tests/databases/api_tests.py | 4 +-
tests/integration_tests/datasource_tests.py | 5 +-
.../db_engine_specs/ascend_tests.py | 4 +-
.../db_engine_specs/base_engine_spec_tests.py | 120 +-
.../db_engine_specs/base_tests.py | 36 -
.../db_engine_specs/bigquery_tests.py | 4 +-
.../db_engine_specs/databricks_tests.py | 4 +-
.../db_engine_specs/elasticsearch_tests.py | 4 +-
.../db_engine_specs/gsheets_tests.py | 4 +-
.../db_engine_specs/hive_tests.py | 2 +-
.../db_engine_specs/mysql_tests.py | 6 +-
.../db_engine_specs/pinot_tests.py | 4 +-
.../db_engine_specs/postgres_tests.py | 4 +-
.../db_engine_specs/presto_tests.py | 6 +-
.../db_engine_specs/redshift_tests.py | 4 +-
tests/integration_tests/log_api_tests.py | 4 +-
tests/integration_tests/log_model_view_tests.py | 37 -
...c747c78868b6_migrating_legacy_treemap__tests.py | 91 --
tests/integration_tests/model_tests.py | 6 +-
tests/integration_tests/query_context_tests.py | 8 -
tests/integration_tests/sql_lab/api_tests.py | 6 +-
tests/integration_tests/sqla_models_tests.py | 2 +-
tests/integration_tests/sqllab_tests.py | 128 +-
tests/integration_tests/tags/api_tests.py | 137 +-
tests/integration_tests/tags/dao_tests.py | 40 +-
tests/unit_tests/db_engine_specs/test_base.py | 43 +-
tests/unit_tests/db_engine_specs/test_kusto.py | 34 -
tests/unit_tests/db_engine_specs/test_mssql.py | 56 +-
tests/unit_tests/db_engine_specs/test_teradata.py | 43 -
tests/unit_tests/jinja_context_test.py | 97 +-
.../viz/dual_line_to_mixed_chart_test.py | 2 +
.../migrations/viz/heatmap_v1_v2_test.py | 22 +-
.../migrations/viz/histogram_v1_v2_test.py | 2 +
.../viz/nvd3_bubble_chart_to_echarts_test.py | 6 +-
.../migrations/viz/pivot_table_v1_v2_test.py | 2 +
.../migrations/viz/time_related_fields_test.py | 2 +
tests/unit_tests/migrations/viz/utils.py | 5 +-
tests/unit_tests/models/core_test.py | 142 ++
tests/unit_tests/security/api_test.py | 1 +
tests/unit_tests/sql/parse_tests.py | 1240 +++++++++++++++-
tests/unit_tests/sql_lab_test.py | 262 +---
tests/unit_tests/sql_parse_tests.py | 40 -
127 files changed, 6440 insertions(+), 2091 deletions(-)
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/buildQuery.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Radar/utils.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/utils/metricDisplayName.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Radar/transformProps.test.ts
copy superset-frontend/src/features/{users => groups}/types.ts (81%)
create mode 100644 superset-frontend/src/features/groups/utils.ts
create mode 100644 superset-frontend/src/pages/ActionLog/index.tsx
create mode 100644 superset/migrations/shared/migrate_viz/query_functions.py
copy superset/views/{users_list.py => logs.py} (94%)
delete mode 100644 tests/integration_tests/db_engine_specs/base_tests.py
delete mode 100644 tests/integration_tests/log_model_view_tests.py
delete mode 100644 tests/integration_tests/migrations/c747c78868b6_migrating_legacy_treemap__tests.py
delete mode 100644 tests/unit_tests/db_engine_specs/test_teradata.py