Ville Brofeldt
a70f4dc52f
chore: upgrade black ( #19410 )
2022-04-03 19:13:17 +03:00
Beto Dealmeida
90f4d77422
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
(cherry picked from commit d01fdad1d8 )
2022-04-03 14:02:23 +03:00
Michael S. Molina
959b15eeca
feat: Adds a key-value endpoint to store charts form data ( #17882 )
...
* feat: Adds a key-value endpoint to store charts form data
* Fixes linting problems
* Removes the query_params from the endpoints
* Refactors the commands
* Removes unused imports
* Changes the parameters to use dataclass
* Adds more access tests
* Gets the first dataset while testing
* Adds unit tests for the check_access function
* Changes the can_access check
* Always check for dataset access
2022-01-20 16:27:57 -03:00
Beto Dealmeida
c49545aec1
fix: dataset extra import/export ( #17740 )
...
* fix: dataset extra import/export
* Update superset/datasets/commands/importers/v1/utils.py
2021-12-22 09:41:31 -08:00
Beto Dealmeida
37cc2c4d15
fix: column extra in import/export ( #17738 )
2021-12-14 18:33:52 -08:00
Beto Dealmeida
1fbce88a46
fix: set correct schema on config import ( #16041 )
...
* fix: set correct schema on config import
* Fix lint
* Fix test
* Fix tests
* Fix another test
* Fix another test
* Fix base test
* Add helper function
* Fix examples
* Fix test
* Fix test
* Fixing more tests
2021-11-04 11:09:08 -07:00
Hugh A. Miles II
331de0c4ae
fix: Fix Uniqueness check before update for Sqllab Overwrites ( #16859 )
...
* add condition to make sure columns are available before throwing
* fix
* remove database_id from history changed
* refactor update call to datasets
* cleanup
* oops
* prettier
2021-09-29 13:38:29 -04:00
Beto Dealmeida
493e804320
chore: log URI before downloading data on import ( #16762 )
2021-09-21 14:22:37 -07:00
Beto Dealmeida
092ef5bdfc
fix: set importer as owner ( #16656 )
...
* fix: set importer as owner
* Fix tests
2021-09-15 12:27:02 -07:00
Ville Brofeldt
ac1d779a30
chore(ci): bump pylint to 2.10.2 ( #16463 )
2021-08-26 20:30:41 +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
John Bodley
24b43beff9
chore(pylint): Bump Pylint to 2.9.6 ( #16146 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-14 10:32:28 +12:00
Ville Brofeldt
d6f9c48aa1
feat(dao): admin can remove self from object owners ( #15149 )
2021-08-13 12:42:48 +03:00
Beto Dealmeida
7de54d016e
feat: import configuration from directory ( #15686 )
...
* feat: command to import configuration from a directory
This allows us to keep Superset updated from a repo:
```bash
$ superset import-directory /path/to/configs/
```
For example, I created a simple dashboard with a single chart:
PLACEHOLDER
I then exported it to a file `dashboard_export_20210714T104600.zip` and
unzipped it. After deleting the dashboard, chart, dataset, and database
I imported everything back with:
```bash
$ superset import-directory ~/Downloads/dashboard_export_20210714T104600/
```
I then changed the chart title in `~/Downloads/dashboard_export_20210714T104600/charts/Cnt_per_country_1.yaml` and ran the command again. The chart was succesfully updated:
PLACEHOLDER
* Small fixes
2021-08-11 18:42:50 -07:00
Beto Dealmeida
42cb5266fa
fix: import metrics with extra ( #15047 )
...
* fix: import metrics with extra
* Fix test
2021-06-08 18:56:55 -07:00
Beto Dealmeida
5e95d4638c
fix: import dataset with extra; Vertica URI ( #14698 )
...
* fix: import dataset with extra; Vertica URI
* Fix lint
2021-05-18 20:51:33 -07:00
Sam Faber-Manning
11260b3117
chore: add stack trace to all calls of logger.error ( #14382 )
2021-04-30 09:22:05 -07:00
Beto Dealmeida
ffcacc3393
fix: new import/export CLI ( #13921 )
...
* fix: CLI for import/export
* Add tests
* Remove debug
2021-04-23 10:50:49 -07:00
Beto Dealmeida
3b11654c5a
fix: import dataset/dashboard empty keys ( #13979 )
2021-04-06 20:55:15 -07:00
ʈᵃᵢ
3e646799a1
fix(datasets): log create exceptions as warning ( #13652 )
2021-03-22 14:46:18 -07:00
Jesse Yang
55c8f9ba60
feat(explore): allow opening charts with missing dataset ( #12705 )
2021-01-25 15:09:03 -08:00
Beto Dealmeida
9a159b30c4
fix(load_examples): better fix for load_data ( #12702 )
...
* fix(load_examples): better fix for load_data
* Address changes
2021-01-22 16:32:39 -08:00
Beto Dealmeida
8f83afcf49
feat: new Slack dashboard ( #12415 )
...
* feat: new Slack dashboard
* Add ASL license
* Fix test
2021-01-12 15:24:44 -08:00
Daniel Vaz Gaspar
f354bb3d1b
fix(load examples): load examples creating unnecessary main database ( #12351 )
...
* fix(load examples): load examples creating unnecessary main database connection
* fix lint
2021-01-08 21:57:35 +00:00
Beto Dealmeida
6b2b208b3b
fix: load example data into correct DB ( #12292 )
...
* fix: load example data into correct DB
* Fix force_data
* Fix lint
2021-01-05 17:52:42 -08:00
Beto Dealmeida
3acfd826de
feat: add new dashboard with FCC data ( #12163 )
2020-12-23 14:54:50 -08:00
Beto Dealmeida
8e3f71df4d
fix: specify VARCHAR size when loading examples ( #12186 )
2020-12-22 13:39:40 -08:00
Beto Dealmeida
c281e52f81
feat: add new dashboard with video game sales ( #12162 )
2020-12-22 08:53:18 -08:00
Beto Dealmeida
77cae64ccd
feat: Add new default dashboard ( #12044 )
...
* feat: Add new default dashboard
* Fix license
* Update data URL
2020-12-15 14:21:51 -08:00
Beto Dealmeida
5e811a14ef
feat: load examples from config instead of code ( #12026 )
...
* feat: load examples from config instead of code
* Remove database
* Update data URL
2020-12-15 13:44:23 -08: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
e0288bf76b
chore: add unit tests for the current import functionality ( #11786 )
...
* chore: add unit tests for the current import functionality
* Improve comment
* Fix unit test
2020-12-03 14:48:43 -08:00
Hugh A. Miles II
a0b81357cd
fix(datasets): renaming openAPI columns ( #11858 )
2020-11-30 12:01:11 -08:00
Hugh A. Miles II
0689738e7c
feat: Sqllab to Explore UX improvements api changes ( #11836 )
2020-11-30 09:23:11 -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
Beto Dealmeida
45738ffc1d
chore: consolidate datasource import logic ( #11533 )
...
* Consolidate dash import logic
* WIP
* Add license
* Fix lint
* Retrigger tests
* Fix lint
2020-11-11 22:04:16 -08: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
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
Daniel Vaz Gaspar
9e9dac68f7
feat(datasets): REST API bulk delete ( #11237 )
...
* feat(datasets): REST API bulk delete
* doc HTTP 400
2020-10-12 13:40:05 +01:00
Bogdan
03eebd3019
fix: fix table existence validation function ( #11066 )
...
* Fix table existance validation function
* Drop left over table name index in mysql db
* Do not modify model
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-09-29 15:01:01 -07:00