Hugh A. Miles II
2d7ea4cebb
Merge branch 'master' into hughhhh/dashboard-export-spec-review
2026-06-20 23:13:23 -04:00
Vitor Avila
334b13c3d9
fix(chart API): apply dashboard filters by live scope, not stale chartsInScope ( #41214 )
2026-06-19 15:22:54 -03:00
Hugh A Miles II
712e1de330
Merge remote-tracking branch 'origin/master' into hughhhh/dashboard-export-spec-review
...
# Conflicts:
# superset/charts/data/api.py
# superset/charts/data/dashboard_filter_context.py
2026-06-18 22:23:03 -04:00
Vitor Avila
b4e3452bfd
fix(chart API): Do not duplicate Jinja-applied filters with filters_dashboard_id ( #41131 )
2026-06-18 14:25:54 -03:00
Hugh A Miles II
a8c1148aad
fix(dashboard): tolerate empty export_xlsx body + green up CI
...
- export_xlsx: use request.get_json(silent=True) so a POST with no JSON
content-type no longer raises 415/500 (returns 400/404/501 as intended).
- api_tests: register the FAB-generated can_export_xlsx permission in
test_info_security_dashboard; replace the gamma test (Gamma has can_export)
with a deterministic 404-for-inaccessible-dashboard check.
- type-annotate dict literals in the filter-context tests (mypy var-annotated).
- move MenuWrapperWithProps above first use (oxlint no-use-before-define).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-16 16:30:23 -07:00
Hugh A Miles II
161c4d81d7
Merge remote-tracking branch 'origin/master' into hughhhh/dashboard-export-spec-review
...
# Conflicts:
# UPDATING.md
# superset-frontend/package-lock.json
2026-06-16 15:59:03 -07:00
Elizabeth Thompson
09b4bc51a3
fix(charts): rename deprecated query object fields in schema before QueryObject construction ( #41056 )
2026-06-15 14:45:41 -07:00
Hugh A Miles II
5f5595e8df
feat(charts): apply active_data_mask in dashboard filter context
...
Extend get_dashboard_filter_context with an optional active_data_mask kwarg so
callers can resolve each in-scope native filter against live dashboard filter
state instead of saved defaults. A non-empty active extraFormData is applied,
an empty one clears the filter (no fallback to default), and filters absent
from the mask keep their defaults. Backward compatible: omitting the kwarg
reproduces initial-load behavior. Adds unit tests covering override, clear,
fallback, defaultToFirstItem, and out-of-scope cases.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-13 09:54:38 -07:00
Hugh A Miles II
5421799b68
refactor(charts): extract query-context filter merge helper
...
Extract the extra_form_data merge block from the chart data GET endpoint
into apply_extra_form_data_to_query_context_json() in dashboard_filter_context,
so it can be reused by the upcoming dashboard Excel export task. No behavior
change; adds unit tests for the extracted helper.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-13 09:52:46 -07:00
Evan Rusackas
08b8bdecbd
fix(charts): tighten chart schema input validation (query_context JSON, prophet/rolling bounds) ( #40634 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-06-10 08:17:12 -07:00
Evan Rusackas
0a1e51f542
fix(schemas): tighten guest dataset fields, external_url protocols, ssh creds, prophet bounds ( #40640 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-06-09 18:30:30 -07:00
Evan Rusackas
065578e48a
fix(commands,api): enforce command validation, sanitize export filename/token, set cache TTLs ( #40655 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-06-09 10:29:46 -07:00
Evan Rusackas
7b1e1e5668
fix(charts): route CSV result format through the escaping CSV writer ( #40859 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-06-09 09:33:46 -07:00
Evan Rusackas
381b99ae84
fix(csv): respect CSV_EXPORT config for decimal separator and delimiter ( #38170 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-06-05 17:57:21 -07:00
Vitor Avila
7406098708
fix(dashboard-filter): Consider dashboard filters to charts not declared in the dashboard position ( #40774 )
2026-06-04 16:43:38 -03:00
Evan Rusackas
b9dc9d722e
fix(export): sanitize user-supplied CSV export filename (charts + SQL Lab) ( #40632 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-06-03 00:14:48 -07:00
dependabot[bot]
09572cd5ef
chore(deps): bump tabulate from 0.9.0 to 0.10.0 ( #40315 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude <claude@anthropic.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
Co-authored-by: Evan <evan@preset.io >
2026-05-25 18:55:24 -07:00
Maxime Beauchemin
151d7d76da
fix(charts): set g.form_data for metric() Jinja macro on GET chart data endpoint ( #39347 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-20 19:36:03 -07:00
Deadman
4e0890ee1f
feat(api): Add filter_dashboard_id parameter to apply dashboard filters to chart/data endpoint ( #38638 )
...
Co-authored-by: Matthew Deadman <matthewdeadman@Matthews-MacBook-Pro-2.local >
Co-authored-by: Matthew Deadman <matthewdeadman@matthews-mbp-2.lan >
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
2026-04-08 15:32:46 -07:00
Vitor Avila
d14f502126
fix: store form_data as dict during viz type migration ( #36680 )
2025-12-16 18:32:29 -03:00
Joe Li
21d585d586
fix(explore): show validation errors in View Query modal ( #35969 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-10 14:47:52 -08:00
SkinnyPigeon
58758de93d
feat(reports): allow custom na values ( #35481 )
...
Co-authored-by: bito-code-review[bot] <188872107+bito-code-review[bot]@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2025-10-21 13:05:57 -04:00
Elizabeth Thompson
2465ab4a98
chore: add more csv tests ( #32663 )
2025-08-12 13:26:10 -07:00
Maxime Beauchemin
cb27d5fe8d
chore: proper current_app.config proxy usage ( #34345 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-31 19:27:42 -07:00
Asher Manangan
fd947a097d
feat(tags): Export and Import Functionality for Superset Dashboards and Charts ( #30833 )
...
Co-authored-by: Asher Manangan <amanangan@powercosts.com >
2025-04-07 15:12:22 -04:00
Beto Dealmeida
626736bdd3
chore: add logging to index error ( #31770 )
2025-03-06 14:47:40 -05:00
Daniel Vaz Gaspar
fc844d3dfd
fix: dashboard, chart and dataset import validation ( #32500 )
2025-03-05 08:47:49 +00:00
Beto Dealmeida
7458c4bbd5
chore: rename apply_post_process ( #31511 )
2024-12-19 10:13:28 -05:00
Maxime Beauchemin
e51b95ffa8
chore: enforce more ruff rules ( #31447 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2024-12-18 17:41:34 -08:00
Elizabeth Thompson
0e8fa54f81
fix: parse pandas pivot null values ( #29898 )
2024-09-25 13:50:04 -07:00
Michael S. Molina
d497dcad41
fix: Security manager incorrect calls ( #29884 )
2024-08-23 11:39:45 -03:00
Beto Dealmeida
8e15d4807f
chore: s/MockFixture/MockerFixture/g ( #29160 )
2024-06-10 12:35:07 -04:00
Eyal Ezer
07b2449bd7
refactor: Unify all json.(loads|dumps) usage to utils.json ( #28702 )
...
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com >
2024-05-28 14:17:41 -07:00
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
John Bodley
847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) ( #26909 )
2024-02-14 06:20:15 +13:00
Daniel Vaz Gaspar
5b34395689
fix: chart import validation ( #26993 )
2024-02-06 12:14:02 +00:00
Maxime Beauchemin
e86d4d3c92
fix(import): only import FORMULA annotations ( #26652 )
2024-01-19 15:13:18 -08:00
John Bodley
07bcfa9b5f
chore(command): Organize Commands according to SIP-92 ( #25850 )
2023-11-22 16:55:54 -03:00
Michael S. Molina
97d89d7340
feat: Adds Area chart migration logic ( #25952 )
2023-11-16 14:28:09 -03:00
Beto Dealmeida
a4d8f36863
fix: chart import ( #25425 )
2023-09-26 19:31:34 -07:00
Beto Dealmeida
abb8e28e49
feat: migrate charts on import ( #24703 )
2023-07-21 09:33:34 -07:00
John Bodley
3e76736874
chore(dao): Organize DAOs according to SIP-92 ( #24331 )
...
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com >
2023-06-18 18:32:32 -07:00
Michael S. Molina
522eb97b65
feat: Migrates Pivot Table v1 to v2 ( #23712 )
2023-06-08 10:13:39 -03:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
John Bodley
e8cfb31bff
fix: Ensure the reporting framework handles charts with no data ( #23585 )
2023-04-06 07:30:27 +12:00
Diego Medina
cdc7af11bf
chore: Migrate /superset/user_slices and /superset/fave_slices to API v1 ( #22964 )
...
Co-authored-by: hughhhh <hughmil3s@gmail.com >
2023-04-03 13:29:02 -04:00
Diego Medina
f2be53dd53
chore: Migrate /superset/favstar to API v1 ( #23165 )
...
Co-authored-by: hughhhh <hughmil3s@gmail.com >
2023-03-29 16:42:23 -04:00
Beto Dealmeida
ec6318b379
fix: permission checks on import ( #23200 )
2023-03-15 08:31:09 -07:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 ( #22772 )
2023-01-30 09:20:43 -07:00
Josh Soref
02e5dcbbf2
chore(misc): Spelling ( #19678 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2023-01-25 16:35:08 -07:00