Daniel Vaz Gaspar
0cf57756f0
fix: add config to disable dataset ownership on the old api ( #13051 )
...
* fix: add config to disable dataset ownership on the old api
* fix CI docker build
* fix logic
* add deprecation comment on the config
2021-02-11 18:18:27 +00:00
Jesse Yang
55c8f9ba60
feat(explore): allow opening charts with missing dataset ( #12705 )
2021-01-25 15:09:03 -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
Grace Guo
8da1900d8a
feat: add hook for dataset health check ( #11970 )
...
* feat: add hook for dataset health check
* add event log
* optimize datasource json data like certified data
* add unit test
* fix review comments
* extra code review comments
2020-12-15 18:12:06 -08:00
Ville Brofeldt
ecdff724ea
feat: enable metadata sync for virtual tables ( #10645 )
...
* feat: enable metadata sync for virtual tables
* add migration and check for empty schema name
* simplify request
* truncate trailing column attributes for MySQL
* add unit test
* use db_engine_spec func to truncate collation and charset
* Remove redundant migration
* add more tests
* address review comments and apply templating to query
* add todo for refactoring
* remove schema from tests
* check column datatype
2020-10-27 07:58:38 +02: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
7645fc85c3
chore: Cleanup database sessions ( #10427 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-07-30 23:07:56 -07:00
John Bodley
63e0188f45
style(mypy): Enforcing typing for superset.views ( #9939 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-06-05 08:44:11 -07:00
Erik Ritter
83ec7365a7
feat: convert backend chart errors to the new error type ( #9753 )
2020-05-12 18:15:53 -07:00
Maxime Beauchemin
116200cf73
fix: change database save in DatasourceEditor ( #9255 )
...
* fix: change database save in DatasourceEditor
This addresses the issue where pointing a datasource to another database
in the datasource editor is not reflected.
Also addresses:
- a minorcosmetic issue in the datasource editor.
- user/owners list not getting populated
* tests
2020-03-10 09:20:37 -07:00
Craig Rueda
2a94150097
Moving appbuilder.xxx out of view files and into app.py ( #8912 )
...
* Moving appbuilder.xxx out of view files ands into app.py
* Pulled url map converters out into their own file
* Adding license blurb
* Linting
* Linting again...
2020-01-08 18:04:05 +00:00
Ville Brofeldt
5b690f9411
chore: refactor, add typing and fix uncovered errors ( #8900 )
...
* Add type annotations and fix inconsistencies
* Address review comments
* Remove incorrect typing of jsonable obj
2019-12-31 09:26:23 +02:00
Will Barrett
60914fa76a
re-enable Pylint on a number of view files ( #8773 )
...
* re-enable pylint for superset/views/tags.py
* Re-enable pylint for superset/views/dashboard.py
* Re-enable pylint for superset/views/sql_lab.py
* Re-enable pylint for superset/views/datasource.py
* Re-enable pylint for superset/views/utils.py
* Re-enable pylint for superset/views/log/__init__.py
* pylint fix
* Improve naming
2019-12-11 09:49:19 -08:00
ʈᵃᵢ
a94464b9c9
guard against duplicate columns in datasource save ( #8712 )
...
* catch IntegrityError in datasource save
* catch duplicate columns and wrap in exception handling decorators
* use 409
* isort
2019-12-04 11:05:06 -08:00
John Bodley
9fc37ea9f1
[ci] Deprecate flake8 ( #8409 )
...
* [ci] Deprecate flake8
* Addressing @villebro's comments
2019-10-18 14:44:27 -07:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -07:00
John Bodley
c771625f10
[datasource] Ensuring consistent behavior of datasource editing/saving. ( #7037 )
...
* Update datasource.py
* Update datasource.py
2019-03-18 09:56:52 -07:00
michellethomas
ba9523c7c4
Adding dropdown to DatasourceControl and ability to change datasource ( #6816 )
...
* Adding dropdown to DatasourceControl and ability to change datasource
* Style fixes
* Adding unit tests for datasource/get endpoint
* Fixing issue with dropdown overflow and style changes
* Fixing issues rebasing metadata button and fixing sort for datasource with no name
2019-02-20 14:32:33 -08:00
Maxime Beauchemin
1dd4d7a587
Apply ASF licenses throughout the code base ( #5800 )
...
* Add license headers
* reabased
* lint
* Removing licenses from vendors folder
2019-01-15 15:53:27 -08:00
Maxime Beauchemin
da813b7ee3
[table editor] allow selecting physical table ( #6046 )
...
* [table editor] allow selecting physical table
* Using classes for padding
2019-01-15 08:53:24 -08:00
leakingoxide
fd0338614a
Make owner a m2m relation on datasources ( #6544 )
...
* Make owner a m2m relation on datasources
* Fix pylint
* Make migration work in mysql & sqlite
2018-12-20 20:35:32 -08:00
Maxime Beauchemin
3f29a1dd70
Secure unsecured views and prevent regressions ( #6553 )
...
* Secure views and prevent regressions
* Force POST on shortner
* Fix tests
2018-12-18 11:57:13 -08:00
timifasubaa
46c86672c8
remove utf8 declaration ( #6096 )
2018-10-15 11:53:24 -07:00
timifasubaa
dd9eeda03e
remove future ( #6065 )
2018-10-13 09:39:04 -07:00
Maxime Beauchemin
50042af25d
[bug] 'an error has ooccured' when saving datasource ( #5683 )
...
The check_ownership was failing when Alpha user was saving a datasource
from the datasource editor.
2018-08-21 10:10:44 -07:00
Maxime Beauchemin
68ba63fcd9
Implement a React-based table editor ( #5186 )
...
* A React table editor
* addressing comments
* Fix SelectAsyncControl error on clear
* fix tests
* more corrections
* Removed <strong>
2018-08-06 15:30:13 -07:00