Daniel Vaz Gaspar
d00ba15c78
chore: add statsd support to base API and refactor ( #22887 )
2023-01-27 17:52:08 +00:00
Antonio Rivero Martinez
d6a4a5da79
feat(ssh_tunnel): Add feature flag to SSH Tunnel API ( #22805 )
2023-01-26 16:53:36 -08:00
Beto Dealmeida
6f0fed77cf
feat: export/import allow_dml flag ( #22806 )
2023-01-24 19:16:46 -08:00
Antonio Rivero Martinez
ad758c0802
feat(ssh_tunnel): Rename allow_ssh_tunneling and change the default value to False ( #22723 )
2023-01-17 19:11:41 -08:00
Hugh A. Miles II
2de19f1d66
feat: Add logging for ssh tunneling test_connection attempts ( #22625 )
2023-01-12 21:49:35 +00:00
Antonio Rivero Martinez
539936522f
feat(ssh_tunnel): SQLAlchemy Form UI ( #22513 )
...
Co-authored-by: hughhhh <hughmil3s@gmail.com >
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2023-01-11 19:29:52 +00:00
Hugh A. Miles II
ebaad10d6c
feat(ssh-tunnelling): Setup SSH Tunneling Commands for Database Connections ( #21912 )
...
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com >
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2023-01-03 17:22:42 -05:00
Beto Dealmeida
481b020e9d
chore: show database UUID in API ( #22411 )
2022-12-13 15:55:27 -08:00
EugeneTorap
394fb2f2d0
fix: slug is empty if filename is non-ASCII ( #22118 )
2022-11-16 10:53:30 -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
John Bodley
9f7bd1e63f
fix(presto/trino): Ensure get_table_names only returns real tables ( #21794 )
2022-11-09 14:30:49 -08:00
Ville Brofeldt
dc7399540b
chore: bubble up more db error messages ( #21982 )
2022-11-01 07:54:27 +02:00
Antonio Rivero Martinez
203b289021
feat(bigquery): Custom message when Service Account doesnt have the correct Roles and Permissions ( #21838 )
2022-10-26 19:44:09 -04:00
Beto Dealmeida
a88dfe24c7
fix: check that imports are ZIPs ( #21875 )
2022-10-26 12:15:46 -07:00
Beto Dealmeida
1388f21ee3
fix: accept old database payload ( #21923 )
2022-10-25 10:29:29 -07:00
Hugh A. Miles II
882bfb67ae
fix: gsheets editing with dynamic forms ( #21710 )
2022-10-06 19:57:12 -07:00
Elizabeth Thompson
e98943e580
refactor: pass all properties to validate_parameters ( #21487 )
2022-10-03 17:48:54 -07:00
Antonio Rivero Martinez
b36bd3f083
fix(databases): GSheets and Clickhouse DBs are not allowed to upload files ( #21065 )
2022-09-26 10:08:11 -07:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint ( #21284 )
2022-09-13 08:22:12 -07:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API ( #21248 )
2022-09-02 11:50:04 -07:00
Daniel Vaz Gaspar
3f2e894af3
fix: dataset name change and permission change ( #21161 )
...
* fix: dataset name change and permission change
2022-08-31 18:11:03 +01:00
Beto Dealmeida
8772e2cdb3
fix: improve get_db_engine_spec_for_backend ( #21171 )
...
* fix: improve get_db_engine_spec_for_backend
* Fix tests
* Fix docs
* fix lint
* fix fallback
* Fix engine validation
* Fix test
2022-08-29 11:42:42 -07:00
Diego Medina
15b9f83150
chore: support trailing slashes in database api ( #21123 )
2022-08-22 15:15:04 +08:00
Diego Medina
6ce027d2f8
fix(import): error with disable_data_preview field ( #20932 )
2022-08-02 14:16:45 -06:00
Daniel Vaz Gaspar
bfd2a3d79f
fix: database permissions on update and delete (avoid orphaned perms) ( #20081 )
...
* fix: database permissions on update and delete (avoid orphaned perms)
* fix event transaction
* fix test
* fix lint
* update datasource access permissions
* add tests
* fix import
* fix tests
* update slice and dataset perms also
* fix lint
* fix tests
* fix lint
* fix lint
* add test for edge case, small refactor
* add test for edge case, small refactor
* improve code
* fix lint
2022-08-02 18:28:46 +01: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
Beto Dealmeida
998624b1a5
feat: allow setting db UUID ( #20412 )
...
* WIP
* feat: allow passing UUID when creating a DB
* Test
* Fix field
2022-06-16 15:53:59 -07:00
Smart-Codi
80974033c0
fix database import with cancel_query.. extra field ( #20187 )
2022-06-03 12:51:06 -06:00
Elizabeth Thompson
32bb1ce3ff
feat!: pass datasource_type and datasource_id to form_data ( #19981 )
...
* pass datasource_type and datasource_id to form_data
* add datasource_type to delete command
* add datasource_type to delete command
* fix old keys implementation
* add more tests
2022-06-02 16:48:16 -07:00
Phillip Kelley-Dotson
5111011de9
fix: dbmodal test connection error timeout ( #20068 )
...
* fix: check for connect on ping
* clean up merge
* fix merge
* precommit
2022-05-17 10:04:52 -07: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
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
Daniel Vaz Gaspar
4fdf230a56
feat: deprecate /superset/extra_table_metadata migrate to api v1 ( #19921 )
...
* feat: deprecate /superset/extra_table_metadata migrate to api v1
* use can_read to table_extra_metadata
* troubleshoot sqlite
* fix test
* fix test
* fix test
* fix frontend test on sqllab
2022-05-04 14:55:52 +01:00
Daniel Vaz Gaspar
5dd3ea154b
fix: OpenAPI docs small fixes ( #19936 )
2022-05-04 09:59:16 +01:00
AAfghahi
57157c8b15
fix: remove expose ( #19700 )
...
* bumping shillelagh
* remove expose
2022-04-16 22:02:23 -07:00
Ville Brofeldt
3a231f6b87
fix(database-api): allow search for all columns ( #19662 )
2022-04-12 13:50:57 +03:00
AAfghahi
4bf4d58423
fix: update Permissions for right nav ( #19051 )
...
* draft pr
* finished styling
* add filter
* added testing
* added tests
* added permissions tests
* Empty-Commit
* new test
* Update superset-frontend/src/views/components/MenuRight.tsx
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
* revisions
* added to CRUD view
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2022-04-11 16:50:59 -04:00
Elizabeth Thompson
aa419b8119
fix: check type of url before performing string actions ( #19569 )
...
* ensure url is a string
* return url if param is a url
2022-04-06 17:32:10 -07:00
Beto Dealmeida
1b4d8ddf71
chore: blacklist unsafe functions ( #19537 )
2022-04-05 14:55:30 -07:00
Craig Rueda
f64d654de3
chore(database): Creating helper make_url_safe to wrap potential errors ( #19526 )
...
* Creating helper make_url_safe to wrap potential errors
* Fixing imports
* Fixing imports again
* Adding comment
* Linting
* Fixing test
* Fixing test again...
* Fixing import
2022-04-05 11:17:30 -07:00
David Aaron Suddjian
8e29ec5a66
feat: Embedded dashboard configuration ( #19364 )
...
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
2022-03-30 12:34:05 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Beto Dealmeida
d304849b46
feat: disable edits on external assets ( #19344 )
...
* feat: disable edits on external assets
* Update tests
2022-03-28 16:32:57 -07:00
Beto Dealmeida
c7f9060a2f
feat: import external management columns ( #19315 )
...
* feat: import flags
* Add tests
2022-03-24 10:41:22 -07:00
Richard Whaling
202e34a259
feat: add duckdb as DataSource - Fixes #14563 ( #19317 )
...
* + duckdb support
needs the forked version of [duckdb-engine](https://github.com/alitrack/duckdb_engine )
* Update duckdb.py
update _time_grain_expressions
* removed superfluous get_all_datasource_names def in duckdb engine spec
* added exception handling for duckdb single-threaded RuntimeError
* fixed linter blips and other stylistic cleanup in duckdb.py
* one last round of linter tweaks in test_connection.py for duckdb support
Co-authored-by: Steven Lee <admin@alitrack.com >
Co-authored-by: Richard Whaling <richardwhaling@Richards-MacBook-Pro.local >
2022-03-24 15:07:57 +08:00
Beto Dealmeida
9766726b26
feat: external management flags in CRUD ( #19318 )
2022-03-23 15:38:33 -07: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
cccs-Dustin
02ef9ca4cd
feat(sqllab): Add a configuration option to disable data preview ( #19104 )
2022-03-17 15:22:57 +02:00
Beto Dealmeida
d01fdad1d8
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
2022-03-16 16:03:06 -07:00
Smart-Codi
e97cdba092
fix database import error ( #19037 )
2022-03-09 21:23:13 -07:00