Jesse Yang
0129c4253d
feat: move ace-editor and mathjs to async modules ( #10837 )
...
Follow up on #10831 , move brace and mathjs to async modules so that the initial page load for dashboards most pages can be faster.
2020-09-15 14:12:06 -07:00
Evan Rusackas
5d529fd844
fixing broken links ( #10885 )
2020-09-15 13:18:42 -07:00
John Bodley
b48dd4b7d9
chore: Using cache factory method ( #10887 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-09-15 12:48:19 -07:00
Bogdan
9c420d6efe
feat: implement cache invalidation api ( #10761 )
...
* Add cache endpoints
* Implement cache endpoint
* Tests and address feedback
* Set cache config
* Address feedback
* Expose only invalidate endpoint
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-15 11:17:21 -07:00
Ville Brofeldt
838a70ea8d
docs: fix ubuntu 20.04 installation instructions ( #10888 )
2020-09-15 21:16:57 +03:00
ʈᵃᵢ
045335a687
fix(cypress): wait for filterValues request ( #10884 )
2020-09-15 09:52:44 -07:00
Kasia Kucharczyk
2a6bcbb1eb
Reviewed and repaired disabled pylint in dashboard file ( #10877 )
...
* Improved exceptions and unused method arguments which were disabled in linting
* Applied black to dashboard.py
2020-09-15 08:26:04 -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
Jesse Yang
4502690ef9
chore: clean up aphrodite ( #10883 )
2020-09-14 17:47:39 -07:00
Kamil Gabryjelski
01f90107e1
ESLint: Re-enable rule no-unused-vars ( #10865 )
...
* Re-enable rule no-unused-vars
* fixup! Re-enable rule no-unused-vars
2020-09-14 15:42:06 -07:00
Kamil Gabryjelski
e28f3d6220
Re-enable rule line-between-class-members ( #10862 )
2020-09-14 15:41:32 -07:00
Kamil Gabryjelski
91b8c8afc9
Re-enable rule state-in-constructor ( #10873 )
2020-09-14 13:31:11 -07:00
Kamil Gabryjelski
767044bfe5
ESLint: Re-enable rule control-has-associated-label ( #10866 )
...
* Re-enable rule control-has-associated-label
* Change aria-label message in DatasourceControl
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-09-14 13:00:39 -07:00
Kamil Gabryjelski
2d8f4e3aaf
Re-enable rule no-else-return ( #10861 )
2020-09-14 13:00:07 -07:00
Kamil Gabryjelski
76275ec410
Enable rule no-plusplus ( #10876 )
2020-09-14 11:59:32 -07:00
Maxime Beauchemin
08ec509dc9
docs(style): make more responsive for mobile ( #10853 )
...
* docs(style): make more responsive for mobile
* Make a responsive navbar
* more fixes and tweaks
* Add README instructions
2020-09-14 11:58:45 -07:00
Kamil Gabryjelski
d93b2b99b2
Re-enable rule sort-comp ( #10872 )
2020-09-14 10:45:05 -07:00
Kamil Gabryjelski
a75c36281d
Re-enable rule jsx-curly-brace-presence ( #10869 )
2020-09-14 10:44:03 -07:00
Kamil Gabryjelski
c5193ca018
Re-enable rule no-non-null-assertion ( #10864 )
2020-09-14 10:40:20 -07:00
Kamil Gabryjelski
1908a94c7e
ESLint: Re-enable rule no-restricted-globals ( #10863 )
...
* Re-enable rule no-restricted-globals
* Fix missing semicolons
2020-09-14 10:39:46 -07:00
Kamil Gabryjelski
7f1012360a
Re-enable no-useless-path-segments rule ( #10860 )
2020-09-14 10:38:18 -07:00
Kamil Gabryjelski
906a629b33
Re-enable rule no-unused-state ( #10871 )
2020-09-14 10:31:16 -07:00
Kamil Gabryjelski
352e8a1afd
Re-enable rule prefer-destructuring (only for objects) ( #10867 )
2020-09-14 10:11:20 -07:00
Kamil Gabryjelski
c51168a30a
Re-enable no-confusing-arrow rule ( #10874 )
2020-09-14 10:03:37 -07:00
Yongjie Zhao
a324fbd2eb
Adding editorconfig setting for IDE hints ( #10855 )
...
* Adding editorconfig setting for IDE hints
* adding license to new file
2020-09-14 08:19:23 -07:00
Yongjie Zhao
b4df053156
Improvement contributing.md ( #10859 )
...
* Improvement contributing.md
* update
2020-09-14 08:12:53 -07:00
Kamil Gabryjelski
8a774d59ed
Eslint dependencies versions updates ( #10839 )
...
* Update eslint version to 7.8.1
* Give names to unnamed functions to fix lint errors
* Update eslint-import-resolver-webpack
* Update eslint-plugin-cypress
* Add eslint-plugin-react-hooks
* Update necessary peer dependencies for eslint-config-airbnb
* Update eslint airbnb config and ts plugins
* Remove "this" from functional component
* Disable all rules that cause new errors
* Fix linting errors in tests
* Add licenses to .eslintrc files
* Add path and zlib to package.json
* Disable incompatible rule in eslint-plugin-cypress
* Remove redundant config for typescript linting
* Mark disabled rules with comments
* Remove path and zlib from deps, disable import rule for webpack files
2020-09-13 23:59:02 -07:00
Jesse Yang
1f31e0eb38
feat: server side dashboard css for less repaint ( #10850 )
2020-09-13 21:32:43 -07:00
Moriah Kreeger
686c19abcf
Fix test_connection POST body ( #10846 )
2020-09-11 23:33:43 -07:00
Maxime Beauchemin
6cb67017a5
style: white toolbar for SQL Lab ( #10851 )
2020-09-11 23:27:25 -07:00
Phillip Kelley-Dotson
85a916036c
docs(new docs site): removes old sphinx doc site with gatsby ( #10784 )
...
* Remove old apache sphinx doc site with refreshed gatsby
* remove rando
* add licenses
* excluing .mdx files from license checks
* fixes
* Clean up sphinx references
* Addressed comments
* colors and tweaks
* more fixes
* add dummy docs/requirements.txt to satisfy stupid fossa
* cp .prettierrc
* more licenses
* minor touchups
* reqs
* removing old videos
* add github buttons
* prettier
* tweaks
* Eugenia/Fix some of the images and modified some of database pages
* add subheadernav
* add side headers nav and more responsive design for docs
* update resources page and other styling updates
* linting
* tweaks
* removing windows and align:center
* update resources
* remove links and and card hearder
* lots of styling tweaks
* Tweaks and minor improvements
* lint
* fix CI
* trigger pre-comimt
* rererefix CI
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
Co-authored-by: Eugenia Moreno <eugenia@Eugenias-MBP.fios-router.home>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-09-11 22:59:12 -07:00
Moriah Kreeger
7cd96edcdf
feat: add/edit database modal form sections UI ( #10745 )
2020-09-11 09:53:18 -07:00
Daniel Vaz Gaspar
7b2200437e
fix(test): missing auth on tests ( #10842 )
...
* fix(test): missing auth on tests
* fix mock
* make test login more inline with other tests
2020-09-11 14:28:41 +01:00
cyw233
7c11c9ce16
update all python version in the Dockerfile to 3.7 ( #10841 )
...
* update all python version in the Dockerfile to 3.7
* update ubuntu 18.04 to ubuntu 20.04
2020-09-11 14:33:15 +03:00
Daniel Vaz Gaspar
136f90f87c
feat: SavedQuery REST API for bulk delete and new API fields ( #10793 )
...
* feat: SavedQuery REST API for bulk delete
* fix, singular msg and test
* remove 403 from OpenAPI spec
* filter by current user using created_by add sql_tables field
* fixes for new filter, add user field on pre_update, pre_add
* add lru cache to property
* Revert "add lru cache to property"
This reverts commit ad0d9428
2020-09-11 09:36:47 +01:00
John Bodley
a3e2e65121
fix: Making the database read-only ( #10823 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-09-10 16:23:24 -07:00
Jesse Yang
d80f406239
build: optimize webpack code split ( #10831 )
2020-09-10 15:11:21 -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
Bogdan
ac2937a6c5
fix: use nullpool in the celery workers ( #10819 )
...
* Use nullpool in the celery workers
* Address comments
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-10 13:29:57 -07:00
Jesse Yang
dd7f3d5402
build: split hive and presto tests to separate jobs ( #10821 )
...
* build: split hive and presto tests to separate jobs
* Must install doc dependencies, too
2020-09-10 13:12:00 -07:00
Ville Brofeldt
8a9ae811d0
fix(sql-lab): relax column name restrictions ( #10816 )
2020-09-10 07:54:37 +03:00
Daniel Vaz Gaspar
e6a4808cb7
fix(tests): export dataset tests fails with presto ( #10818 )
...
* fix(tests): export dataset tests fails with presto
* debug
* debug
* skip dataset export test on presto
* add TODO on failing test
2020-09-09 21:46:28 -07:00
Grace Guo
c2216e029d
Revert "chore: add logging for "dashboard" action ( #10744 )" ( #10822 )
...
This reverts commit e0ad9935c1
.
2020-09-09 14:44:07 -07:00
rubenSastre
e4ffaecc72
Spanish translations ( #10798 )
...
* regenerate pot and some spanish translations
* keep apache license text
* json format
* priettier applied to json
* end of file test
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* Update superset/translations/es/LC_MESSAGES/messages.po
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
* consistency for Charts translation
* json file with standarize Chart
* solve CI errors
* fix trailing-whitespace
Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
2020-09-09 13:38:18 -07: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
Jesse Yang
9a59bdda48
refactor: merge/upgrade superset-ui packages ( #10790 )
...
* refactor: merge/upgrade superset-ui packages
* Fix flaky big number test
* Fix Flaky AdhocFilters test
2020-09-09 13:18:55 -07:00
Fabio Guarini
3b4a992861
fix: bump node version on Dockerfile to be on par with docker-compose ( #10813 )
2020-09-09 07:53:03 -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
Ville Brofeldt
9a6697141d
chore: deprecate python 3.6 support ( #10803 )
2020-09-09 08:51:55 +03:00
ʈᵃᵢ
50672bb11b
feat: database delete warning ( #10800 )
2020-09-08 18:54:02 -07:00