Diego Medina
14878a160f
chore: Migrate /superset/queries/<last_updated_ms> to API v1 ( #22611 )
2023-01-27 13:20:56 -05:00
Diego Medina
bed10a0e2b
chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> ( #22496 )
2023-01-27 11:50:19 -05:00
Jack Fragassi
050cbe938f
chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ ( #22789 )
2023-01-25 09:26:50 +00:00
Diego Medina
3ed288d4ee
chore: Migrate /superset/stop_query/ to API v1 ( #22624 )
2023-01-16 14:07:52 +00:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements ( #22150 )
...
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com >
2023-01-11 09:42:54 -07:00
Diego Medina
44c9cf4de5
chore: Migrate /superset/search_queries to API v1 ( #22579 )
2023-01-11 09:22:41 -07:00
wanghong1314
8bf6d80155
fix: Stop query in SQL Lab with impala engine ( #22635 )
2023-01-10 16:52:07 +02:00
EugeneTorap
30dab3a00a
chore: Bump flask libs ( #22355 )
2023-01-09 10:10:31 +00:00
John Bodley
7e54b88a51
chore: Change get_table_names/get_view_names return type ( #22085 )
2022-11-18 12:41:21 -08:00
Hugh A. Miles II
e23efefc46
feat: refactor all get_sqla_engine to use contextmanager in codebase ( #21943 )
2022-11-15 13:45:14 -05:00
Daniel Vaz Gaspar
06f87e1467
chore: deprecate /superset/datasources/ ( #22116 )
2022-11-15 15:27:00 +00:00
Daniel Vaz Gaspar
ed1f50eab6
refactor: add deprecated decorator for old SupersetView's ( #22113 )
2022-11-14 13:34:01 +00:00
Daniel Vaz Gaspar
7c6fabb033
chore: deprecate /superset/fetch_datasource_metadata mig to API v1 ( #22102 )
2022-11-14 08:51:26 +00:00
Beto Dealmeida
4496748cd9
chore: update Druid ( #22067 )
2022-11-08 15:03:58 -08:00
Daniel Vaz Gaspar
358a4ecedd
fix: deprecate approve and request_access endpoint ( #22022 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2022-11-07 08:55:15 +00:00
Ville Brofeldt
dc7399540b
chore: bubble up more db error messages ( #21982 )
2022-11-01 07:54:27 +02:00
John Bodley
3936e9ed5f
fix: Fix regression introduced in #20893 ( #21743 )
2022-10-12 18:31:26 -07:00
Daniel Vaz Gaspar
3057e4270c
feat: deprecate created_slices API endpoint ( #21664 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2022-10-04 09:13:11 +01: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
Ville Brofeldt
e1e9fda72b
fix: remove extras from all adhoc_filters controls ( #21450 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com >
2022-09-13 15:52:21 +03: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
Zef Lin
c4b6fc5a6a
chore: migrate available_domains to api/v1 ( #21173 )
2022-09-01 16:38:02 +01: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
463406ff09
fix: save dataset and repopulate state ( #20965 )
...
* save dataset and repopulate state
* disable dashboard button if dataset is missing
* fix error message
* fix tests
2022-08-05 14:32:49 -07:00
Hugh A. Miles II
0d8889dc9c
fix: Save dataset + chart when Chart source is Query ( #20880 )
...
* feat: save dataset savemodal
* fix lint
* add comments
* enable chart power query
* clean up
* added test
* fix overwrite
* add proper error messaging for save datasetModal
* lint
* fix ts lint
* fix
* Disables Save button while network call is in progress, removing second Chart saved toast message
* change naming
* err
* Update superset-frontend/src/explore/components/SaveModal.tsx
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com >
* Update SaveModal.tsx
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com >
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com >
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com >
2022-07-29 17:30:28 -04:00
John Bodley
50d2e5a15d
fix: Address performance regression introduced in #11785 ( #20893 )
2022-07-28 22:56:39 -07:00
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07:00
Hugh A. Miles II
2c010974e8
fix: Timeseries visualization with Chart Source = Query ( #20795 )
...
* fix timmeseries
* update other references
* fix
* fix linting
2022-07-22 13:30:24 -04:00
Michael S. Molina
34278c2d56
fix: Redirects old Explore URLs to the new one ( #20812 )
2022-07-21 22:26:29 -06:00
Phillip Kelley-Dotson
1d9d505a6e
fix: datasourcedao datasource not found error ( #20725 )
...
* first fix
* remove prints
* run pc
* fix linter
* commit
2022-07-19 13:45:46 -07: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
John Bodley
e1fd90697c
fix(csv): Do not coerce persisted data integer columns to float ( #20760 )
...
* Replace pd.DataFrame.from_records with pd.DataFrame
* Remove unused code
* Update core.py
* Update core.py
* Update csv.py
* Update core.py
2022-07-19 09:52:47 -07:00
Jesse Yang
2cb4fd31f1
refactor(test): add login_as_admin in global conftest ( #20703 )
2022-07-14 18:10:31 -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
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
Daniel Vaz Gaspar
92bf1b8ef6
fix: welcome page user authentication check ( #20605 )
2022-07-05 17:04:47 +01:00
Jesse Yang
cadd259788
feat: save active tabs in dashboard permalink ( #19983 )
2022-06-29 09:43:52 -07:00
John Bodley
3483446c28
refactor: Cleanup user get_id/get_user_id ( #20492 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-06-24 17:57:04 -07:00
Michael S. Molina
20163361b9
feat: Adds the /explore endpoint to the v1 API ( #20399 )
...
* feat: Adds the /explore endpoint to the v1 API
* Fixes pylint errors
* Fixes tests
* Changes the tests logic
* Removes ABC reference
* Improves indentation
* Addresses review comments
* Rebases code
* Improves dataset and slice assertions
* Fixes tests
* Removes schema and table name assertions
* Removes fixed IDs
* Fixes datasource ID
2022-06-24 08:23:30 -03:00
cccs-Dustin
daded10992
feat(SQL Lab): Make SQL Lab explore use the default viz from the config file ( #20056 )
...
* Modified SQL Lab so it uses the default viz to explore a new dataset with
* Added a comment to the config file
* Remove trailing whitespace
* [CLDN-1312] Removed the 'viz_type' variable so that when it is undefinded in the back-end, it gets set to the default viz
* [CLDN-1312] Only sets the 'all_columns' variable if the default viz type is a 'table'
* Will only pop 'selectedColumns' out of 'form_data' if it is present
* [CLDN-1312] Updated files so that the default viz is now being used again in SQL Lab Explore
2022-06-22 11:33:44 -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
Hugh A. Miles II
9432c62ec1
fix: move columns to datasource object for bootstrap data ( #20203 )
...
* move columns to datasource
* address concerns
2022-05-31 23:37:49 +02:00
Hugh A. Miles II
7a2eb8b602
add columns for bootstrap_data ( #20134 )
2022-05-26 11:26:11 -04:00
Hugh A. Miles II
660af409a4
feat: Save column data into json_metadata for all Query executions ( #20059 )
...
* add save_metadata function to QueryDAO
* use set_extra_json_key
* added test
* Update queries_test.py
* fix pylint
* add to session
* add to session
* refactor
* forgot the return
2022-05-18 13:11:14 -04: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
Beto Dealmeida
f2881e5bbd
feat: RLS for SQL Lab ( #19999 )
...
* feat: RLS for SQL Lab
* Small fixes
* Pass username to security manager
* Update docstrings
* Add tests
* Remove type from docstring
2022-05-12 11:03:01 -07:00
Zef Lin
7b7de9592b
feat: deprecate /superset/testconn and migrate to api v1 ( #20002 )
...
* feat: deprecate /superset/testconn and migrate to api v1
* bring back core_tests
2022-05-10 21:26:25 +01:00
Daniel Vaz Gaspar
87a4379d0a
feat: deprecate /superset/validate_sql_json migrate to api v1 ( #19935 )
...
* feat: deprecate /superset/validate_sql_json migrate to api v1
* use new error handling
* migrate SQLLAb frontend and add tests
* debug test
* debug test
* fix frontend test on sqllab
* fix tests
* fix frontend test on sqllab
* fix tests
* fix tests
* fix tests
* fix tests
2022-05-10 21:25:39 +01:00