Joe Li
47d3425064
test(subdirectory): align test expectations with Superset.route_base=""
...
After Superset.route_base="" (c531185d0a ) and the FAB-link migration
(28b845ead4 ), `url_for` for the core blueprint emits `/dashboard/...`,
`/explore/...`, `/explore_json/...`, `/welcome/...` etc. (no `/superset/`
segment). Likewise the Tag component renders `/all_entities/?id=<id>`,
and rewritePermalinkOrigin substitutes window.location.origin into
backend permalinks at the frontend boundary.
Update test expectations to match:
* Python unit: tests/unit_tests/commands/report/execute_test.py drops
`superset/` from the 12 `dashboard/p/...` expected paths and the
`superset/dashboard/` membership check (kept assertion meaningful
via the existing `dashboard/p/` negative check).
* Python integration: drop `/superset/` from URLs hit by tests and
from URLs asserted against API payloads in core_tests, dashboard_tests,
dashboards/api_tests, event_logger_tests, log_api_tests, security_tests,
strategy_tests, utils_tests, reports/commands_tests,
reports/commands/execute_dashboard_report_tests. Fixed the regex in
test_new_dashboard to match the new Location header shape.
* Jest: ChartList tag-link assertion drops `/superset/`, and
URLShortLinkButton tests assert the rewritten URL
(`${window.location.origin}/123`) the component renders after
rewritePermalinkOrigin, instead of the raw backend `http://fakeurl.com/123 `.
These were called out in PROJECT.md as the queued "integration test sweep
for old `/superset/<endpoint>/` shapes" — this commit closes that item.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-14 19:48:15 -07:00
Vitor Avila
3745e37182
fix(OAuth2): Support OAuth2 exception with legacy endpoint ( #39897 )
2026-05-05 21:21:48 -03:00
Maxime Beauchemin
088ecdd0bf
refactor: Enable G logging rules and comprehensive ruff improvements ( #35081 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-15 12:42:49 -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
Maxime Beauchemin
dd129fa403
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor ( #31590 )
...
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com >
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
Co-authored-by: Geido <60598000+geido@users.noreply.github.com >
Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com >
Co-authored-by: Damian Pendrak <dpendrak@gmail.com >
Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com >
Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com >
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2025-06-20 13:38:58 -07:00
Beto Dealmeida
a26e1d822a
chore: remove sqlparse ( #33564 )
2025-06-04 19:31:41 -04:00
Jillian
93fa39a14f
fix(lang): patch FAB's LocaleView to redirect to previous page ( #31692 )
2025-04-15 09:46:06 -07:00
Martyn Gigg
4f97b739b1
fix: Broken Python tests on master after merging prefix branch ( #33095 )
2025-04-11 08:52:35 -07:00
Enzo Martellucci
4f0020d0df
feat(List Roles): Migrate FAB view to React ( #32432 )
...
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
2025-04-02 14:06:17 +03:00
Evan Rusackas
90651dfe3e
fix(dev/ci): pre-commit fixes galore ( #32352 )
2025-02-24 11:26:45 -07:00
Michael S. Molina
687f762457
refactor: Removes the legacy dataset editor ( #31976 )
2025-01-24 14:52:22 -03:00
JUST.in DO IT
2874096e27
refactor(sqllab): migrate share queries via kv by permalink ( #29163 )
2025-01-17 16:16:02 -08:00
Michael S. Molina
547b8b9314
chore: Re-enable skipped tests ( #31795 )
2025-01-16 15:33:22 -03:00
Maxime Beauchemin
274aa143d3
chore: python version to 3.11 (while supporting 3.10) ( #31503 )
2025-01-13 18:22:49 -08:00
Michael S. Molina
bbdc195a3b
chore: Skips integration tests affected by legacy charts removal ( #31791 )
2025-01-10 14:53:54 -03: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
Michael S. Molina
c2885a166e
fix: Exception handling for SQL Lab views ( #30897 )
2024-11-12 08:54:58 -08:00
Maxime Beauchemin
a849c29288
chore: enable lint PT009 'use regular assert over self.assert.*' ( #30521 )
2024-10-07 13:17:27 -07:00
John Bodley
8fb8199a55
chore(dao/command): Add transaction decorator to try to enforce "unit of work" ( #24969 )
2024-06-28 12:33:56 -07:00
Maxime Beauchemin
514eda82fb
fix: don't strip SQL comments in Explore - 2nd try ( #28753 )
2024-06-20 14:30:03 -07:00
Maxime Beauchemin
8d57a35531
feat: bake translations as part of the build processes ( #28483 )
2024-05-29 16:58:08 -07: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
Eyal Ezer
56f0fc4ec2
refactor: Migration of json utilities from core ( #28522 )
...
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com >
2024-05-20 10:27:22 -07:00
Michael S. Molina
c9aa4a1f84
fix: Revert "fix: don't strip SQL comments in Explore ( #28363 )" ( #28567 )
2024-05-17 15:01:23 -03:00
Maxime Beauchemin
c618767c6b
fix: don't strip SQL comments in Explore ( #28363 )
2024-05-07 14:49:46 -07:00
Beto Dealmeida
6cf681df68
feat(SIP-95): new endpoint for table metadata ( #28122 )
2024-04-25 12:23:49 -04:00
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
Daniel Vaz Gaspar
54387b4589
feat: new CSV upload form and API ( #27840 )
2024-04-15 09:38:51 +01:00
John Bodley
481a63da55
chore(tests): Remove ineffectual login ( #27149 )
2024-04-09 09:52:02 -07:00
Kamil Gabryjelski
5083ca0e81
fix: Persist query params appended to permalink ( #27601 )
2024-03-22 10:24:31 +01:00
Michael S. Molina
6e528426dd
feat: Adds option to disable drill to detail per database ( #27536 )
2024-03-21 15:51:09 -03:00
Beto Dealmeida
26d8077e97
chore: improve SQL parsing ( #26767 )
2024-03-13 18:27:01 -04:00
John Bodley
8749d9f386
chore(tests): Remove unnecessary explicit Flask-SQLAlchemy session expunges ( #27136 )
2024-02-17 07:05:22 +13:00
Daniel Vaz Gaspar
c96e38c07c
fix: removes old deprecated sqllab endpoints ( #27117 )
2024-02-15 15:58:48 +00:00
John Bodley
847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) ( #26909 )
2024-02-14 06:20:15 +13:00
Michael S. Molina
a84d86fe26
refactor: Removes the deprecated redirect endpoint ( #26377 )
2024-01-19 11:39:04 -03:00
Michael S. Molina
8f8c435d7c
refactor: Removes the Profile feature ( #26462 )
2024-01-18 15:36:40 -03:00
Michael S. Molina
cf20b3439c
refactor: Removes the deprecated ENABLE_EXPLORE_JSON_CSRF_PROTECTION feature flag ( #26344 )
2024-01-18 10:29:51 -03:00
Ville Brofeldt
91a8b69d36
fix: flaky test_explore_json_async test v2 ( #26106 )
2023-11-28 10:21:13 -03:00
John Bodley
07bcfa9b5f
chore(command): Organize Commands according to SIP-92 ( #25850 )
2023-11-22 16:55:54 -03:00
Michael S. Molina
2b88225ee1
fix: Flaky test_explore_json_async test ( #26059 )
...
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2023-11-22 09:11:09 -03:00
Igor Khrol
99f79f5143
fix: avoid 500 errors with SQLLAB_BACKEND_PERSISTENCE ( #25553 )
2023-10-13 13:30:19 -06:00
JUST.in DO IT
5ab1e7eae4
feat(sqllab): SPA migration ( #25151 )
2023-10-04 15:21:41 -04:00
Craig Rueda
515452c7e2
chore(async): Making create app configurable ( #25346 )
2023-09-20 10:04:58 -07:00
Michael S. Molina
9df1b26654
fix: Bumps Flask Caching to fix RCE vulnerability ( #25090 )
2023-08-31 08:44:48 -03:00
Michael S. Molina
712e1f760c
feat: Moves Profile to Single Page App (SPA) ( #25001 )
2023-08-17 11:01:24 -03:00
JUST.in DO IT
10abb68288
feat(sqllab): Add /sqllab endpoint to the v1 api ( #24983 )
2023-08-16 16:09:10 -07:00
Ville Brofeldt
f94dc49fd0
fix(snowflake): opt-in denormalization of column names ( #24982 )
2023-08-15 16:32:54 -07:00
JUST.in DO IT
a44c99899a
chore(sqllab): Relocate get bootstrap data logic ( #24936 )
2023-08-11 13:23:07 -07:00
John Bodley
5f49e0fdd0
fix(cache): Add cache warmup for non-legacy charts ( #24671 )
2023-07-19 11:12:36 -07:00