Beto Dealmeida
482c674a0f
chore: improve types ( #36367 )
2025-12-04 13:51:35 -05:00
Beto Dealmeida
fb7d0e0e3d
chore: annotate important types ( #36034 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-17 14:41:20 -05:00
Sam Firke
aede3bb5ba
fix(auth): redirect anonymous attempts to view dashboard with next ( #35345 )
2025-10-16 16:33:37 -04:00
Maxime Beauchemin
abc2d46fed
refactor: remove obsolete Flask flash messaging system ( #35237 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-25 00:05:16 -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
Gabriel Torres Ruiz
42d9a78777
feat(theming): Introduce bootstrap-driven Superset theme configurations ( #34144 )
2025-07-15 09:43:08 -07:00
Enzo Martellucci
20519158d2
feat(UserInfo): Migrate User Info FAB to React ( #33620 )
2025-06-03 19:24:22 +02:00
Daniel Vaz Gaspar
15cf06699a
feat: security, user group support ( #32121 )
2025-03-04 09:54:12 +00: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
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
Maxime Beauchemin
cfc440c56c
feat: improve event logging for queries + refactor ( #27943 )
...
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2024-04-22 16:30:50 -07:00
Michael S. Molina
a84d86fe26
refactor: Removes the deprecated redirect endpoint ( #26377 )
2024-01-19 11:39:04 -03:00
John Bodley
df79522160
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session ( #26200 )
2024-01-18 08:27:29 +13:00
Ville Brofeldt
596f5569be
chore(sqlalchemy): import from correct path ( #26301 )
2023-12-18 13:01:50 -08:00
Sebastian Liebscher
e585db85b6
chore: use contextlib.surpress instead of passing on error ( #24896 )
...
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2023-08-29 10:09:01 -06:00
EugeneTorap
fc89718d48
chore: Update pylint to 2.17.4 ( #24700 )
...
Co-authored-by: John Bodley <john.bodley@gmail.com >
2023-07-24 17:13:49 -07:00
Hugh A. Miles II
93e1db4bd9
fix: save columns reference from sqllab save datasets flow ( #24248 )
2023-06-20 13:54:19 -04: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
Daniel Vaz Gaspar
d6a61c125a
chore: remove deprecated apis /slice_json/ and /annotation_json/ ( #24423 )
2023-06-16 15:14:46 +01:00
John Bodley
9adb023880
chore(druid): Remove legacy Druid NoSQL logic ( #23997 )
2023-06-09 15:33:23 -03:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Sebastian Liebscher
1583090623
chore(sqllab): remove deprecated PyArrow API ( #24135 )
2023-05-20 21:57:18 +03:00
John Bodley
d583ca9ef5
chore: Embrace the walrus operator ( #24127 )
2023-05-19 00:37:13 -07:00
EugeneTorap
4a828f57f4
chore: Update mypy and fix stubs issue ( #24033 )
2023-05-12 08:47:14 +01:00
Ville Brofeldt
a8230336ff
fix(dashboard-rbac): use normal rbac when no roles chosen ( #23586 )
2023-04-07 09:53:35 +03:00
Daniel Vaz Gaspar
35e0e5bfe6
chore: improve performance on bootstrap permissions ( #22083 )
2022-11-10 21:47:55 +00:00
Zef Lin
286474c3d8
fix: revert permission refactoring PR ( #21313 )
2022-09-06 19:18:22 +01:00
Bogdan
ed6212a1f9
Reimplement permissions fetching to do it in a single transaction ( #21156 )
...
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com >
2022-08-23 18:45:39 -07:00
John Bodley
f0ca158989
fix: Refactor ownership checks and ensure consistency ( #20499 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-07-07 11:04:27 -07:00
Reese
f9109583ce
fix: Allow dataset owners to explore their datasets ( #20382 )
...
* fix: Allow dataset owners to explore their datasets
* Re-order imports
* Give owners security manager permissions to their datasets
* Update test suite
* Add SqlaTable to is_owner types
* Add owners to datasource mock
* Fix VSCode import error
* Fix merge error
2022-07-06 11:27:50 -03:00
Michael S. Molina
a169b60712
fix: Changes the return type of get_permissions to be JSON friendly ( #20472 )
...
* fix: Changes the return type of get_permissions to be JSON friendly
* Removes dangling comma
* Removes unused import
* Fixes typing errors
2022-06-22 15:28:59 -06:00
Hugh A. Miles II
e3e37cb68f
chore: switching out ConnectorRegistry references for DatasourceDAO ( #20380 )
...
* rename and move dao file
* Update dao.py
* add cachekey
* Update __init__.py
* change reference in query context test
* add utils ref
* more ref changes
* add helpers
* add todo in dashboard.py
* add cachekey
* circular import error in dar.py
* push rest of refs
* fix linting
* fix more linting
* update enum
* remove references for connector registry
* big reafctor
* take value
* fix
* test to see if removing value works
* delete connectregistry
* address concerns
* address comments
* fix merge conflicts
* address concern II
* address concern II
* fix test
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com >
2022-06-21 13:22:39 +02:00
David Aaron Suddjian
7f8279b4b3
chore: get embedded user with roles and permissions ( #19813 )
...
* feat: get user roles endpoint
* add tests
* fix test
* get user with permission and roles with full user
* frontend
* type juggling
* the hash slinging slasher
* user reducer and action
* make it happy
* result
* lint
Co-authored-by: Lily Kuang <lily@preset.io >
2022-05-03 12:58:06 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
PApostol
c07a707eab
Various docstring fixes ( #18221 )
2022-03-21 13:01:57 -03:00
Craig Rueda
4b34817b19
feat(ui): Adding manifest prefix config ( #19141 )
...
* Adding manifest prefix config
* Fixing broken tests
* Fixing import
* Adding prefix for remaining assets
* Changing static prefix strategy
* Fixing DST test
* Fixing up formatting
* Fixing up async_query_manager.py types
2022-03-17 08:58:48 -07:00
Evan Rusackas
76b4a14d30
chore(config): Migrating ENABLE_JAVASCRIPT_CONTROLS from app config to a feature flag ( #19113 )
...
* first pass migrating config to ff
* nixing a console log from testing
* adding an entry to `UPDATING.md`
* linting ✨
* Adding ENABLE_JAVASCRIPT_CONTROLS to FEATURE_FLAGS.md
* no longer in need of state!
* Turning the flag back off
* linting... le sigh
* and more linting...
2022-03-14 08:54:02 -06:00
John Bodley
26486d01c1
chore: Remove legacy SIP-15 interim logic/flags ( #18936 )
...
* chore: Remove legacy SIP-15 logic
* Update ab9a9d86e695_deprecate_time_range_endpoints.py
* Update UPDATING.md
* Update UPDATING.md
* Update UPDATING.md
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-03-04 09:15:36 +13:00
David Aaron Suddjian
da3bc48803
feat: On window focus, redirect to login if the user has been logged out ( #18773 )
...
* /me api
* test it
* watch for window activation and check auth
* simplify
* more comment
* making ci happy
* mypy should ignore tests
2022-02-24 10:09:41 -08:00
Michael S. Molina
4b61c76742
fix: Explore long URL problem ( #18181 )
...
* fix: Explore long URL problem
* Fixes lint problems
* Fixes default value
* Removes duplicated test
* Fixes share menu items
* Fixes tests
* Debounces form_data updates
* Rewrites debounce function
* Moves history update outside the functional component
* Mocks lodash function in tests
* Fixes Cypress test
* Fixes Cypress test #2
2022-01-28 17:42:16 -03:00
Craig Rueda
ac76defc05
chore(datasets): Sanitizing /save response ( #17579 )
2021-11-29 20:07:06 -08:00
ofekisr
c520eb79b0
refactor: sqllab: move sqllab ralated enumns and utils to more logical place ( #16843 )
...
* refactor move QueryStatus to common
* refactor move apply_display_max_row_limit to sqllab package
* refactor move limiting_factor to sqllab package
* fix pylint issues
2021-09-26 21:15:57 +03:00
Rob DiCiuccio
4e380db3fd
fix: Support Jinja template functions in global async queries ( #16412 )
...
* Support Jinja template functions in async queries
* Pylint
* Add tests for async tasks
* Remove redundant has_request_context check
2021-09-03 14:33:29 +03:00
John Bodley
be7065faf8
chore(pylint): Reenable raise-missing-from check ( #16266 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 10:26:10 +12:00
John Bodley
24b43beff9
chore(pylint): Bump Pylint to 2.9.6 ( #16146 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-14 10:32:28 +12:00
aspedrosa
e5540b79ec
fix: no roles being returned for anonymous user ( #15585 )
2021-07-27 12:22:39 -06:00
cccs-jc
f652908a70
fix: renamed sqllab filters to _filters ( #14971 )
2021-06-03 21:22:50 +03:00
cccs-jc
eef489c667
feat: add support for filters in sqlLab ( #14765 )
2021-06-01 21:23:51 +03:00
Ville Brofeldt
66a4c94a1e
fix(chart-data): handle url_params in csv export and native filters ( #14526 )
2021-05-07 21:07:44 +03:00