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
John Bodley
1b5a6790f0
chore: Remove obsolete legacy visualizations ( #24694 )
2023-07-18 08:17:52 -07:00
Daniel Vaz Gaspar
23bb1c48a1
chore: remove deprecated apis and ENABLE_BROAD_ACTIVITY_ACCESS ( #24400 )
2023-06-15 22:11:24 +01:00
Daniel Vaz Gaspar
c8e958fb7e
chore: remove deprecated apis stop_query, queries, search_queries ( #24360 )
2023-06-13 15:56:06 +01:00
Daniel Vaz Gaspar
6f145dfe36
chore: remove deprecated apis on superset, testconn, validate_sql_json, schemas_access_for_file_upload, extra_table_metadata ( #24354 )
2023-06-13 11:03:19 +01:00
Daniel Vaz Gaspar
93ba59d868
chore: remove deprecated apis estimate_query_cost, results, sql_json, csv ( #24359 )
2023-06-13 09:31:16 +01:00
Michael S. Molina
a7f7f6645d
feat: Convert ENABLE_BROAD_ACTIVITY_ACCESS and MENU_HIDE_USER_INFO into feature flags ( #24345 )
2023-06-12 10:40:22 -07:00
Daniel Vaz Gaspar
e0253a4b25
chore: remove deprecated api /superset/tables/<int:db_id>/... ( #24342 )
2023-06-12 15:31:48 +01:00
Daniel Vaz Gaspar
2df699c99c
chore: remove deprecated api /superset/filter/... ( #24335 )
2023-06-12 14:17:23 +01:00
John Bodley
0e3f1f638c
chore: Remove deprecated ENABLE_ACCESS_REQUEST workflow ( #24266 )
2023-06-09 18:54:31 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Daniel Vaz Gaspar
97482c57b5
chore: bump werkzeug and Flask ( #23965 )
2023-05-12 15:01:30 +01:00
Josh Soref
78ede590ee
chore(frontend): Spelling ( #19676 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Jack Fragassi
54f7a248a6
chore: deprecate /superset/filter/... endpoint, migrate to apiv1 ( #22882 )
2023-01-30 11:02:49 +00: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
EugeneTorap
30dab3a00a
chore: Bump flask libs ( #22355 )
2023-01-09 10:10:31 +00:00
Hugh A. Miles II
d18c7d6128
fix(ssh-tunnel): fix dataset creation flow through modal for DB with tunnel ( #22581 )
2023-01-06 13:52:05 -05:00
Hugh A. Miles II
9b26794419
chore: Update dataset_id & dataset_type datasource_id & datasource_type for SPA explore ( #22461 )
2022-12-22 19:46:00 -05:00
Daniel Vaz Gaspar
a77b2d6ebf
chore: remove annotation layer FAB CRUD model view ( #22178 )
2022-11-22 16:19:57 +00:00
Michael S. Molina
2c7323a87d
fix: Supports form_data param in old Explore endpoint ( #21469 )
2022-09-14 18:00:11 -03:00
Bogdan
44654e5abc
perf: Memoize the common_bootstrap_payload and include user param ( #21018 ) ( #21439 )
...
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-09-13 08:52:08 -07:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint ( #21284 )
2022-09-13 08:22:12 -07:00
Daniel Vaz Gaspar
094400c308
fix: cached common bootstrap Revert ( #21018 ) ( #21419 )
2022-09-10 01:02:24 +01:00
Daniel Vaz Gaspar
c3f8417139
fix: disallow users from viewing other user's profile on config ( #21302 )
2022-09-05 13:32:48 +01:00
Bogdan
495a205dec
Memoize the common_bootstrap_payload ( #21018 )
...
Try patch
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-16 08:27:12 -07:00
EugeneTorap
a2b21b55be
fix: Validate required fields in sql_json API ( #21003 )
...
* fix: Validate required params for sql_json API
* Test required params in sql_json API
* Refactoring: use marshmallow Schema for validation sql_json API
* Update SqlJsonPayloadSchema
* Update SqlJsonPayloadSchema
* Refactoring
* Refactoring
* Refactoring
2022-08-11 23:37:53 +08:00
Elizabeth Thompson
7445eab5a2
add test for tab state ( #20949 )
2022-08-10 16:45:31 -04:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation ( #20673 )
...
* Update explore URLs.
* More URL fixes.
* Make frontend accept true/false query params case-insensitively.
* Fix URL mistake.
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
Beto Dealmeida
e60083b45b
chore: upgrade SQLAlchemy to 1.4 ( #19890 )
...
* chore: upgrade SQLAlchemy
* Convert integration test to unit test
* Fix SQLite
* Update method names/docstrings
* Skip test
* Fix SQLite
2022-07-18 15:21:38 -07:00
Jesse Yang
2cb4fd31f1
refactor(test): add login_as_admin in global conftest ( #20703 )
2022-07-14 18:10:31 -07:00
Michael S. Molina
662bab1e6d
feat: Renders Explore in SPA ( #20572 )
...
* feat: Renders Explore in SPA
* Adds permalink support
* Replaces navigation from Welcome page
* Fix initializing feature flags
* Remove redundant import
* Adds saveSlice workaround
* Fixes paths
* Fixes lint error
* Fixes tests
* Fix url to explore from Datasets view
* Fix explore page height
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03:00
John Bodley
449d08b25e
fix: Refactor SQL username logic ( #19914 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-12 21:03:05 -07:00
Elizabeth Thompson
060b5c0e17
chore: remove druid datasource from the config ( #19770 )
...
* remove druid datasource from the config
* remove config related references to DruidDatasource
* Update __init__.py
* Update __init__.py
* Update manager.py
* remove config related references to DruidDatasource
* raise if instance type is not valid
2022-05-04 12:48:48 -07:00
Phillip Kelley-Dotson
0968f86584
chore: remove deprecated config keys and endpoints code 2.0 ( #19361 )
...
* remove depracted keys and associated methods
* remove api methods and tablemodel views
* remove deprecated api and unsued vars
* reremove schedules
* readd code
* fix pylint
* run black
* remove test
* core select start test
* add suggested changes
2022-03-29 13:23:05 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Daniel Vaz Gaspar
f37fc1a7f0
chore: bump majors on celery and Flask ( #19168 )
...
* chore: bump celery, Flask, flask-jwt-extended, pyJWT
* fix pyJWT breaking change
* fix pyJWT breaking change 2
* test
* fixed test
* fixed test
* fixed test
* revert since mypy won't pick the correct signature
* lint 1
* fix test
* fix test
* docs and celery config migration
* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES
* update docs for new celery config keys
* downgrade celery to 5.2.2
* ref FAB to final 4.0.0 release
* remove conflict left over
2022-03-24 09:16:53 +00:00
David Aaron Suddjian
97abc28a1f
chore!: remove ENABLE_REACT_CRUD_VIEWS
feature flag (permanently enable) ( #19231 )
...
* remove ENABLE_REACT_CRUD_VIEWS feature flag
* docs
* deal with problematic tests
* empty test suite
* skip test
* test conditions changed
* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
cccs-Dustin
02ef9ca4cd
feat(sqllab): Add a configuration option to disable data preview ( #19104 )
2022-03-17 15:22:57 +02:00
Ville Brofeldt
b7a0559aaf
feat: add permalink to dashboard and explore ( #19078 )
...
* rename key_value to temporary_cache
* add migration
* create new key_value package
* add commands
* lots of new stuff
* fix schema reference
* remove redundant filter state from bootstrap data
* add missing license headers
* fix pylint
* fix dashboard permalink access
* use valid json mocks for filter state tests
* fix temporary cache tests
* add anchors to dashboard state
* lint
* fix util test
* fix url shortlink button tests
* remove legacy shortner
* remove unused imports
* fix js tests
* fix test
* add native filter state to anchor link
* add UPDATING.md section
* address comments
* address comments
* lint
* fix test
* add utils tests + other test stubs
* add key_value integration tests
* add filter box state to permalink state
* fully support persisting url parameters
* lint, add redirects and a few integration tests
* fix test + clean up trailing comma
* fix anchor bug
* change value to LargeBinary to support persisting binary values
* fix urlParams type and simplify urlencode
* lint
* add optional entry expiration
* fix incorrect chart id + add test
2022-03-17 01:15:52 +02: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
Sujith Kumar S
b8aef10098
fix(mssql): support cte in virtual tables ( #18567 )
...
* Fix for handling regular CTE queries with MSSQL,#8074
* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine
* Fix for handling regular CTE queries with MSSQL,#8074
* Moved the get_cte_query function from mssql.py to base.py for using irrespetcive of dbengine
* Unit test added for the db engine CTE SQL parsing.
Unit test added for the db engine CTE SQL parsing. Removed additional spaces from the CTE parsing SQL generation.
* implement in sqla model
* lint + cleanup
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-10 10:28:05 +02:00
Victor Arbues
5ee070c402
feat: datasource access to allow more granular access to tables on SQL Lab ( #18064 )
2022-02-09 22:05:25 +08:00
ofekisr
e53a50a155
chore(supeset.utils.core): move all database utils to database utils module ( #18058 )
2022-01-16 08:32:50 +02:00
Bogdan
afd2e9f2ca
chore: update fixtures scope that are loading data into the analytical db ( #17780 )
...
* Update db setup fixture scope
* Load data into db only once
* Update fixture scopes for data loading
* cleanup imports
* try import
* Update scope
* fix cleanup
* Import all fixtures
* Separate data log and metadata creation
* Retain table description
* fix dtype
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 16:11:47 -08:00
Ville Brofeldt
c4b04952d0
feat: customize recent activity access ( #17589 )
...
* feat: customize recent activity access
* address comments
* fix and add tests
* add alert assertion and UPDATING.md entry
* replace .get_id() with .id
* fix updating comment
* update config name
2021-12-08 11:30:23 +02:00