Beto Dealmeida
ab3f4bd94b
feat: add separate endpoint to fetch function names for autocomplete ( #12840 )
...
* WIP
* Add unit test for API
* Add spec
* Fix unit test
* Fix unit test
* Fix test
* Fix test
* Add period to error message
2021-02-02 18:01:01 -08:00
Beto Dealmeida
7bef5ab4d2
fix: ignore system files on import ( #12526 )
2021-01-15 15:53:55 -08:00
Ville Brofeldt
40a334aacf
feat(db-engine-specs): add support for Postgres root cert ( #11720 )
...
* feat(db-engine-specs): add support for Postgres root cert
* remove logging of json decode exception message
* fix error message
* fix error message
2021-01-13 13:39:28 +02:00
Daniel Vaz Gaspar
0f731f27e4
fix(api): prefix class names on events actions ( #12354 )
...
* fix(api): prefix class names on events actions
* fix bulk delete
2021-01-12 10:52:35 +00:00
Daniel Vaz Gaspar
c685c9ea8f
refactor: test connection raises only command exceptions ( #12307 )
...
* refactor: test connection raises only command exceptions
* fix tests
* fix tests
* fix tests
* lint fix
2021-01-08 13:10:11 +00:00
Daniel Vaz Gaspar
2b6a58780a
fix(database): OpenAPI spec for test_connection ( #12274 )
...
* fix(database): OpenAPI spec for test_connection
* updated OpenAPI spec on superset docs
* EOL
2021-01-06 10:29:05 +00:00
Beto Dealmeida
877b153331
feat: estimate query cost in Postgres ( #12130 )
...
* feat: estimate query cost in Postgres
* Add example in config
* Fix lint
2020-12-18 16:08:53 -08:00
Daniel Vaz Gaspar
790ac5ef87
feat(databases): security perm simplification ( #12036 )
...
* feat(databases): security perm simplification
* fix tests
* fix JS tests
2020-12-17 12:37:05 +00:00
Beto Dealmeida
e0079bb5ae
fix: small fixes to the new import/export ( #12064 )
2020-12-15 12:24:24 -08:00
Beto Dealmeida
475f59cb1c
feat: confirm overwrite when importing ( #11982 )
...
* feat: confirm overwrite when importing
* Skip flaky test
2020-12-10 14:50:10 -08: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
Beto Dealmeida
fbb458fa8b
feat: add modal to import datasets ( #11910 )
2020-12-07 16:20:25 -08:00
Beto Dealmeida
2b9695c520
feat: add modal to import databases ( #11884 )
...
* feat: add modal to import databases
* Fix test
* Improve hook
* Remove log and needless store.
* Change JS functions
2020-12-07 11:22:45 -08:00
Daniel Vaz Gaspar
bac84a3aac
fix: delete chart, dashboards, dbs with assoc reports ( #11801 )
...
* fix: delete chart or dashboards with assoc reports
* database constraint to reports and tests
* add tests for dashboards and database
* fix exceptions default text
2020-11-26 08:45:49 +00:00
Beto Dealmeida
c354e7e0ab
fix: remove root dir from ZIP bundle ( #11805 )
...
* fix: remove root dir from ZIP bundle
* Fix lint
* Fix tests
* Improve tests
* Fix dashboard as well
2020-11-25 11:47:48 -08:00
Maxime Beauchemin
0504cf1a00
chore: improve analytics ( #11714 )
...
* chore: improve analytics
* lint
* log more events, add note in UPDATING.md
* handling base class
* more events\!
* get ref through
* right before @expose
* fix context
* touchups
2020-11-25 08:45:02 -08:00
Beto Dealmeida
501b9d47c5
feat: API endpoint to import dashboards ( #11751 )
...
* ImportChartsCommand
* feat: add a command to import dashboards
* feat: API endpoint to import dashboards
* Add dispatcher
* Raise specific exception
* Fix test
* Remove print calls
* Add logging when passing
2020-11-24 22:45:35 -08:00
Craig Rueda
8bdf943687
fix: Adding __init__.py in superset.commands.importers ( #11740 )
...
* Adding __init__.py in superset.commands.importers
* Linting
* Linting again...
2020-11-18 13:19:04 -08:00
Beto Dealmeida
cce716a821
feat: API endpoints to upload dataset/db ( #11728 )
...
* feat: API endpoints to upload dataset/db
* Fix method call
2020-11-17 14:49:33 -08:00
Beto Dealmeida
7bc353f8a8
feat: new import commands for dataset and databases ( #11670 )
...
* feat: commands for importing databases and datasets
* Refactor code
2020-11-16 17:11:20 -08:00
Jesse Yang
ec8ccd4cf1
feat: keep modal open when saving database failed ( #11618 )
2020-11-12 16:10:14 -08:00
Jesse Yang
302c9603c4
fix: database connection validation when creation ( #11653 )
2020-11-12 08:00:38 +00: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
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
Daniel Vaz Gaspar
bf3e41d006
fix(api): don't log db conn failures on db create/update ( #11503 )
2020-10-30 12:52:52 +00:00
John Bodley
8ee6493233
chore: Update testconn logic ( #11315 )
...
* chore: Update testconn logic
* [databases] Address @dpgaspar's comments
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-10-27 09:15:05 +00:00
Beto Dealmeida
00e394451f
feat: export datasets as ZIP files ( #11332 )
...
* Export datasets as ZIP files
* Add logging when failing to parse extra
* Fix logging
2020-10-22 10:32:08 -07:00
Beto Dealmeida
94e23bfc82
feat: export databases as a ZIP bundle ( #11229 )
...
* Export databases as Zip file
* Fix tests
* Address comments
* Implement mulexport for database
* Fix lint
* Fix lint
2020-10-16 11:10:39 -07:00
Yongjie Zhao
5099dbef6b
fix: babel script broken by format string ( #10902 )
2020-09-16 13:35:35 -07:00
Yongjie Zhao
38edb69d95
Feat: Adding table comment and columns comment for SQLLab ( #10844 )
...
* Adding table comment and columns comment for backend
* fix mypy
* Fix CI
* adding wider catch
* use logger
* fix lint
2020-09-14 21:11:48 -07:00
Lily Kuang
f0545bfe50
fix(databases): test connection api endpoint ( #10824 )
...
* fix test connection with extra
* fix lint and allow_none server_cert
* update test connection tests
2020-09-10 21:49:14 +01:00
Lily Kuang
8a3ac70c06
feat(databases): test connection api ( #10723 )
...
* test connection api on databases
* update test connection tests
* update database api test and open api description
* moved test connection to commands
* update error message
* fix isort
* fix mypy
* fix black
* fix mypy pre commit
2020-09-09 13:37:48 -07:00
Daniel Vaz Gaspar
782f678732
fix: Database API missing allow none on fields ( #10795 )
...
* fix: Database API missing allow none on fields
* one missing
2020-09-09 09:35:27 +01:00
ʈᵃᵢ
50672bb11b
feat: database delete warning ( #10800 )
2020-09-08 18:54:02 -07:00
ʈᵃᵢ
7bccb38a60
feat: SIP-34 table list view for databases ( #10705 )
2020-09-02 11:48:21 -07:00
Daniel Vaz Gaspar
77a3167412
feat(database): POST, PUT, DELETE API endpoints ( #10741 )
...
* feat(database): POST, PUT, DELETE API endpoints
* post tests
* more tests
* lint
* lint
* debug ci
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* cleanup
* handle db connection failures
* lint
* skip hive and presto for connection fail test
* fix typo
2020-09-02 09:58:08 -07:00
ʈᵃᵢ
78cad9a4a8
refactor(listviews): use correct filter endpoints for charts and datasets ( #10442 )
2020-07-29 11:00:19 -07:00
Daniel Vaz Gaspar
671461d0d0
feat(api): database schemas migration to new API ( #10436 )
...
* fix(log): log crashes if expired or not authenticated
* fix lint and rison
* add tests
* more tests
* perm fix
* fix test not found
* JS lint
* fix Jest test
2020-07-29 09:33:15 +01:00
ʈᵃᵢ
6f56cd5e9d
feat(listviews): SIP-34 filters for charts, dashboards, datasets ( #10335 )
2020-07-27 10:14:11 -07:00
Daniel Vaz Gaspar
4529812a10
refactor: database API OpenAPI spec and location ( #10303 )
...
* refactor: database API OpenAPI spec and location
* fix isort and license
* fix description
2020-07-16 09:01:56 +01:00