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
Amit Miran
8ccf2e8f1e
feat(dashboard_rbac): dashboards API support for roles create/update + roles validation ( #12865 )
2021-02-07 16:16:19 +02:00
Jesse Yang
55c8f9ba60
feat(explore): allow opening charts with missing dataset ( #12705 )
2021-01-25 15:09:03 -08:00
Beto Dealmeida
7bef5ab4d2
fix: ignore system files on import ( #12526 )
2021-01-15 15:53:55 -08:00
Daniel Vaz Gaspar
a078296330
fix: impose dataset ownership check on old API ( #12491 )
...
* fix: impose dataset ownership check on old API
* update UPDATING.md
* partially protect the old MVC also
* prevent metric and column add and update
2021-01-13 18:06:41 +00:00
Beto Dealmeida
e47350ef96
fix: import ZIP files that have been modified ( #12425 )
...
* fix: import ZIP files that have been modified
* Add unit test
2021-01-12 12:56:26 -08: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
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
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
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
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
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
Beto Dealmeida
25345bea64
feat: add a command to import dashboards ( #11749 )
...
* feat: add a command to import dashboards
* Fix lint
* Remove print()
2020-11-23 16:28:26 -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
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
cf868891be
chore: rename IMPORT_EXPORT_VERSION ( #11636 )
2020-11-10 09:45:45 -08:00
Beto Dealmeida
51712bf7ce
fix: CommandInvalidError had invalid init ( #11635 )
2020-11-10 07:41:03 -08:00
Beto Dealmeida
1ebeffa104
chore: remove directory importexport ( #11531 )
2020-11-03 17:10:52 -08:00
Erik Ritter
fd2d1c58c5
Revert "chore: Cleanup database sessions ( #10427 )" ( #10537 )
...
This reverts commit 7645fc85c3 .
2020-08-06 15:33:48 -07:00
John Bodley
cda764fd4b
chore: Adding pip-compile-multi et al. ( #10499 )
...
* chore: Adding pip-compile-multi et al
* Specify requirements.txt path for fossa
* [ci] Fixing CI
Co-authored-by: John Bodley <john.bodley@airbnb.com >
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com >
2020-08-04 19:31:52 -07:00
John Bodley
7645fc85c3
chore: Cleanup database sessions ( #10427 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-07-30 23:07:56 -07:00
Daniel Vaz Gaspar
878dbcda3f
feat(api): bump marshmallow and FAB to version 3 ( #9964 )
...
* feat(api): bump marshmallow and FAB to version 3
* revert query context tests changes
* obey mypy
* fix tests
* ignore types that collide with marshmallow
* preparing for RC2
* fix tests for marshmallow 3
* typing fixes for marshmallow
* fix tests and black
* fix tests
* bump to RC3 and lint
* Test RC4
* Final 3.0.0
* Address comments, fix tests, better naming, docs
* fix test
* couple of fixes, addressing comments
* bumping marshmallow
2020-07-07 13:26:54 +01:00
Will Barrett
8e23d4f369
chore: Upgrade pylint to 2.5.3 and fix most new rules ( #10101 )
...
* Bump pylint version to 2.5.3
* Add a global disable for the most common new pylint error
* Fix a bunch of files containing very few errors
* More pylint tweakage, low-hanging fruit
* More easy stuff...
* Fix more erroring files
* Fix the last couple of errors, clean pylint!
* Black
* Fix mypy issue in connectors/druid/models.py
2020-06-18 14:03:42 -07:00
Daniel Vaz Gaspar
f9db3faade
[mypy] Enforcing typing for superset.dashboards ( #9418 )
...
* [mypy] Enforcing typing for superset.dashboards
* Make return types equal on all commands
* Make return types equal on all commands
* [dashboard] address comments same return type on commands
* lint
* lint
2020-04-07 12:52:14 +01:00
John Bodley
5e55e09e3e
[mypy] Enforcing typing for some modules ( #9416 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-04 12:45:14 -07:00
John Bodley
ec795a4711
[mypy] Enforcing typing for charts ( #9411 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-03-29 13:39:36 -07:00
Daniel Vaz Gaspar
ccb22dc976
[dataset] columns and metrics API (nested) ( #9268 )
...
* [dataset] columns and metrics API (nested)
* [dataset] tests and validation
* [datasets] Fix, revert list field name to database_name
2020-03-24 17:24:08 +00:00
Daniel Vaz Gaspar
f51ab59748
[charts] Refactor API using SIP-35 ( #9329 )
...
* [charts] Refactor charts API using SIP-35
* [charts] Fix, copy pasta
* [charts] simplify
2020-03-24 10:05:11 +00:00
Daniel Vaz Gaspar
c34df6b7b3
[dashboard] Refactor API using SIP-35 ( #9315 )
...
* [dashboard] Refactor API using SIP-35
* [dashboard] Fix, import
* [dashboard] more tests
* [dashboards] a misc of improvements
* [charts] Fix, DAO and tests
* [dashboards] small exceptions refactor
* [dashboards] lint
* [dashboards] Improves comments on base classes
* [dashboards] lint
2020-03-20 16:32:03 +00:00
Daniel Vaz Gaspar
52c59d6890
[datasets] new, API using command pattern ( #9129 )
...
* [datasets] new, API using command pattern
* [datasets] tests and improvements
* [datasets] lint
* [database] address comments
* [datasets] lint
* [datasets] Address PR comments
* [dataset] Fix, dataset expects a Dict now
* [dataset] lint and optional commits
* [dataset] mypy
* [dataset] Fix, license and parent class
* [dataset] Make CRUD DAO raise exceptions
2020-03-08 09:13:08 +00:00