Sebastian Bernauer
e82b815296
fix: Allow exporting saved queries without schema information ( #26889 )
...
(cherry picked from commit 4c5176eea8 )
2024-02-01 11:38:30 -05:00
John Bodley
49605e763c
chore(command): Condense delete/bulk-delete operations ( #24607 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit a156816064 )
2023-07-13 13:36:20 -03:00
John Bodley
71eff954ba
chore(dao): Condense delete/bulk-delete operations ( #24466 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit 7409289762 )
2023-07-12 11:17:04 -03: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
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
John Bodley
d583ca9ef5
chore: Embrace the walrus operator ( #24127 )
2023-05-19 00:37:13 -07:00
Geido
66fb4867dc
chore: Remove unnecessary information from response ( #24056 )
2023-05-17 20:07:47 +03:00
EugeneTorap
4a828f57f4
chore: Update mypy and fix stubs issue ( #24033 )
2023-05-12 08:47:14 +01:00
Daniel Vaz Gaspar
694f93326d
fix: methods incorrect type and update deprecated targets ( #23935 )
2023-05-05 18:57:27 +01:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
Antonio Rivero
3484e8ea7b
feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials ( #23099 )
2023-02-24 09:36:21 -08:00
cccs-RyanK
a40c12d63e
feat: Frontend tagging ( #20876 )
...
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com >
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Daniel Vaz Gaspar
d4362a3676
fix: reorganize role permissions ( #23096 )
2023-02-21 10:19:42 +00:00
Diego Medina
14878a160f
chore: Migrate /superset/queries/<last_updated_ms> to API v1 ( #22611 )
2023-01-27 13:20:56 -05:00
Diego Medina
3ed288d4ee
chore: Migrate /superset/stop_query/ to API v1 ( #22624 )
2023-01-16 14:07:52 +00:00
Daniel Vaz Gaspar
7926a43aed
refactor: rename filter_rel_fields to base_related_field_filters ( #22508 )
2022-12-24 00:39:53 +00:00
Beto Dealmeida
a88dfe24c7
fix: check that imports are ZIPs ( #21875 )
2022-10-26 12:15:46 -07:00
Mayur
61319fd759
feat(sqllab): save query parameters in database ( #21682 )
2022-10-07 12:49:14 +05:30
Daniel Vaz Gaspar
ab7cfec975
feat: new config to filter specific users from dropdown lists ( #21515 )
2022-09-29 12:30:07 +01:00
Moriah Kreeger
83dd85166f
feat: add extension point for workspace home page ( #21033 )
...
* updates to allow insertion of workspace home sidescroll/table UI
* fix types
* fix User type import
* add welcome message to ui registry
* add extra fields to individual chart/query GET results (for workspace home required info)
* update list view card to support a subtitle
* add id to individual chart fetch
* update chart api test
* another test fix
* fix saved query test
* update extension types + insert point
* fix typing
* fix type name
2022-08-15 12:16:40 -07:00
John Bodley
7a1aa79c52
fix: Ensure consistent rollback logic ( #20811 )
2022-07-25 08:18:53 -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
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
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
Diego Medina
e3dbe8d8af
fix: Query execution time is displayed as invalid date ( #19605 )
...
* fix: Query execution time is displayed as invalid date
* PR comment
* Fix test
* unify response
* lint
2022-04-27 11:22:50 +08:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03: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
Ville Brofeldt
299635c580
docs: add password example to dataset import API ( #18580 )
2022-02-07 09:38:55 +02:00
Adam Dobrawy
dad6f78419
refactor: extract json_required view decorator ( #18170 )
...
* refactor: extract json_required view decorator
* chore: rename json_required to requires_json
* refactor: add requires_form_data decorator and use it
* fix: fix lint issue, raise InvalidPayloadFormatError for invalid payload
2022-01-31 08:53:48 -03:00
John Bodley
7e4c940314
chore(pylint): Enable useless-suppression check ( #16388 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-24 03:58:41 +12: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
Beto Dealmeida
53df152362
feat: show spinner on exports ( #15107 )
...
* feat: show spinner on exports
* Set cookie only if token is passed
* Use iframe
* Small fixes
* Fix lint
* Remove stale test
* Add explicit type
2021-06-11 17:25:00 -07:00
Beto Dealmeida
2313e3ef4f
fix: show error on invalid import ( #14851 )
...
* fix: show error on invalid import
* Add unit test
* Remove unused imports
* Fix tests
2021-05-27 14:46:41 -07:00
Beto Dealmeida
f1ea1d74a7
fix: OpenAPI boolean type ( #14827 )
2021-05-25 14:46:41 -07:00
Beto Dealmeida
ff71f12fe2
Ad missing __init__.py ( #14113 )
2021-04-13 21:18:32 -07:00
AAfghahi
b5e5b3aa62
feat: create backend routes and API for importing saved queries ( #13893 )
...
* initial commit
* revisions
* started tests
* added unit tests
* revisions
* tests passing
* fixed api test
* Update superset/queries/saved_queries/commands/importers/v1/utils.py
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com >
* Revert "Update superset/queries/saved_queries/commands/importers/v1/utils.py"
This reverts commit 18580aad1e .
Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com >
2021-04-08 14:20:11 -04:00
Maxime Beauchemin
95a017aa2d
feat: add 'extra' column to saved_queries GET ( #13662 )
...
This column contains schedule information when the feature flag
`SCHEDULED_QUERIES` is enabled. Adding it here makes it available
through the REST API.
2021-03-19 21:38:06 +02:00
Moriah Kreeger
90ac8d02c6
add related field filter to queries/user ( #12261 )
2021-01-06 09:36:48 -08:00
Daniel Vaz Gaspar
5d9721e6ba
feat(queries): security perm simplification ( #12072 )
...
* feat(queries): security perm simplification
* fix mig
* update alembic down revision
2020-12-17 14:27:14 +00:00
Beto Dealmeida
9256b6fb3d
chore: consolidate common code in importers ( #11936 )
...
* chore: consolidate common code in importers
* Small fixes
* Small fixes
2020-12-10 10:11:58 -08:00
ʈᵃᵢ
011724750f
feat: list view filters for Query History ( #11702 )
2020-11-30 14:21:53 -08:00
Daniel Vaz Gaspar
9dd33d5566
feat(saved queries): security perm simplification ( #11764 )
...
* feat(saved queries): security perm simplification
* migration script and frontend
* add downgrade procedure
* downgrade procedure, inferred from the upgrade data
* fix JS test
* improve code
* add tests for role migration
* more tests and a short description for each one
* Improve readability
* simplify dataclass creation
* fix dataclass
2020-11-30 13:07:39 +00:00
ʈᵃᵢ
fbe4a6622e
feat: SQL preview modal for Query History ( #11634 )
2020-11-20 16:01:06 -08:00
ʈᵃᵢ
432e5ab460
feat: Query History CRUD list view ( #11574 )
2020-11-12 11:55:13 -10:00
Beto Dealmeida
cf868891be
chore: rename IMPORT_EXPORT_VERSION ( #11636 )
2020-11-10 09:45:45 -08:00
Beto Dealmeida
1ebeffa104
chore: remove directory importexport ( #11531 )
2020-11-03 17:10:52 -08:00
Beto Dealmeida
fd10c47bc6
chore: remove sanitize ( #11532 )
...
* chore: remove sanitize
* Fix lint
2020-11-02 15:13:44 -08:00
Daniel Vaz Gaspar
34ae29e59b
feat: query REST API more fields and tests ( #11482 )
...
* feat: query REST API more fields and tests
* fix missing field
2020-10-31 10:18:34 +00:00
Beto Dealmeida
fbcfaacda3
feat: create base class for export commands ( #11463 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
* Rename ImportMixin to ImportExportMixin
* Create base class for exports
* Add saved queries as well
* Add constant, small fixes
* Fix wrong import
* Fix lint
2020-10-30 11:52:11 -07:00
Beto Dealmeida
21f722c9bc
feat: add endpoint to export saved queries using new format ( #11447 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
2020-10-30 08:32:16 -07:00