Commit Graph
6336 Commits
Author SHA1 Message Date
Kamil GabryjelskiandVille Brofeldt 88ae1455a4 feat(explore): metrics and filters controls redesign (#12095)
* Redesign metrics control

* Redesign filters control

* Bugfixes

* Fix unit tests

* Fix tests

* Code review fixes
2021-01-07 20:08:46 +02:00
4253edd91a feat: Support multiple queries per request (#11880)
* refactor: add queriesData fields for multiple queries

* feat: support multi queries request

* lint: fix lint

* lint: fix lint

* lint: fix lint

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

* fix: fix error case for multi queries

* feat: change queryResponse to queriesResponse

* fix: revert webpack

* test: fix tests

* chore: lint

* chore: adjust asyncEvent to multiple results

* fix: lint

* fix: eslint

* fix: another eslint rule

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-01-07 20:08:39 +02:00
Kamil GabryjelskiandHenry Yeh b744308cba fix(explore): bugs in Custom SQL editor in filter popover (#12278)
* Fix Save button disabled until clause is switched

* Fix 'undefined undefined' when sql query is empty

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit e660723a2f)
2021-01-06 12:15:11 -08:00
Kamil GabryjelskiandHenry Yeh 5f8cf8ce11 Bump superset-ui deps (#12280)
(cherry picked from commit d0668fa7e4)
2021-01-06 12:14:47 -08:00
Beto DealmeidaandHenry Yeh 08136cffc9 fix: load example data into correct DB (#12292)
* fix: load example data into correct DB

* Fix force_data

* Fix lint

(cherry picked from commit 6b2b208b3b)
2021-01-06 12:11:29 -08:00
Beto DealmeidaandHenry Yeh e25e869b50 fix: CTAS on multiple statements (#12188)
* WIP

* Add unit tests for sql_parse

* Add unit tests for sql_lab

(cherry picked from commit 164db3e5a1)
2021-01-06 11:51:34 -08:00
Henry Yeh d973bd8602 superset-ui: bump version to 0.16.4 (https://github.com/apache-superset/superset-ui/pull/886) 2021-01-06 11:35:15 -08:00
Daniel Vaz GasparandHenry Yeh ce05a3dde3 fix: database alpha permissions (#12136)
* fix: database alpha permissions

* add test

(cherry picked from commit 2f0add3aec)
v2020.51.1
2020-12-21 15:18:19 -08:00
Beto DealmeidaandHenry Yeh c6a08fdc46 fix: make example table name safe (#12135)
(cherry picked from commit 81f5631fe5)
2020-12-21 15:14:02 -08:00
Jesse YangandHenry Yeh 09589059a1 fix: properly render booleans in FilterBox and explore page data preview (#12116)
(cherry picked from commit 8e625e0a64)
2020-12-21 15:13:49 -08:00
Jesse YangandHenry Yeh 666e08b819 fix: FilterBox select lose focus when focused (#12114)
(cherry picked from commit af130ea5e9)
2020-12-21 15:13:36 -08:00
Daniel Vaz GasparandGitHub 1a20552c2b fix(reports): increase crontab size and alert fixes (#12056)
* fix(reports): increase crontab size

* update to current alembic revision

* Merge branch 'master' into feat/security-converge-datasets

# Conflicts:
#	tests/security_tests.py

* Merge branch 'master' into feat/security-converge-datasets

# Conflicts:
#	tests/security_tests.py

* Merge branch 'master' into feat/security-converge-datasets

# Conflicts:
#	tests/security_tests.py

* lint

* update alembic revision

* fix related fields

* fix test
v2020.51.0
2020-12-17 18:03:05 +00:00
Alan LaMielleandGitHub a3be325b99 Small typo fix in Athena connection docs (#12099) 2020-12-17 09:22:24 -08:00
Daniel Vaz GasparandGitHub 5d9721e6ba feat(queries): security perm simplification (#12072)
* feat(queries): security perm simplification

* fix mig

* update alembic down revision
2020-12-17 14:27:14 +00:00
Daniel Vaz GasparandGitHub 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
Daniel Vaz GasparandGitHub dd5cdb1b5f feat(dashboards): security permissions simplification (#12012)
* feat(dashboards): security perm simplification

* fix tests

* fix tests

* remove unnecessary mapping

* fix JS tests

* fix cypress test and explore endpoint

* update alembic down revision

* Merge branch 'master' into feat/security-converge-dashboards

# Conflicts:
#	superset/constants.py
#	tests/security_tests.py
2020-12-17 09:53:13 +00:00
Kasia KucharczykandGitHub 700dee6db6 feat(logs): security permissions simplification (#12061)
* Added migration for logs security converge

* Changed class permission name and method permission in LogModelView and LogRestApi

* Updated recent revision and filename

* Changed name of Log perm in manager. Updated TestRolePermission to have correct menu and permission.

* Updated latest migration revision

* Updated latest migration revision
2020-12-17 00:50:31 -08:00
51c3b7156c chore: Remove unused CodeModal (#11972)
* Transform code modal to tsx

* Fix

* Fix

* Remove unused modal

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2020-12-16 23:44:58 -08:00
Jesse YangandGitHub 02c6a0befc Fix typescript error (#12074) 2020-12-16 21:50:56 -08:00
Beto DealmeidaandGitHub dd0c53158f fix: handle context-dependent feature flags in CLI (#12088) 2020-12-16 21:34:23 -08:00
Hugh A. Miles IIandGitHub 655834b25c fix: Fix "View in SQLLab" bug (#12086) 2020-12-16 21:59:46 -05:00
Moriah KreegerandGitHub 08b3ebea5e feat(alert/report): add 'not null' condition option to modal (#12077) 2020-12-16 17:13:37 -08:00
Evan RusackasandGitHub 90ca49f3d6 bumping superset ui to 15.18 and deckgl to 0.3.2 (#12078) 2020-12-16 15:46:37 -08:00
c306368f3c fix: Python dependencies in #11499 (#12079)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-12-17 11:52:21 +13:00
Moriah KreegerandGitHub 8d29381446 reset active tab on open (#12048) 2020-12-16 14:38:29 -08:00
Beto DealmeidaandGitHub 69185eed67 fix: improve import flow UI/UX (#12070)
* fix: improve import flow UI/UX

* Reset modal after import

* Adjust margin before overwrite text
2020-12-16 13:08:39 -08:00
ʈᵃᵢandGitHub e299dbf797 feat(alerts/reports): delete and bulk delete actions (#12053) 2020-12-16 12:57:29 -08:00
Evan RusackasandGitHub 9be9034f1a feat: Global nav menus open on hover (#12025)
* hover opens menus

* hover opens menus

* linting, removing some styles I added

* moving useState up (non-conditional)

* just a tweak to prevent a conflict.
2020-12-16 11:55:38 -08:00
Rob DiCiuccioandGitHub 148a0017b7 Remove e2e pull_request event trigger (#12076) 2020-12-16 11:38:55 -08:00
Rob DiCiuccioandGitHub 8fe9ee04c8 build(cypress): Use pull_request_target event to run cypress (#11750)
* Use pull_request_target event to run cypress in order to access repo secrets

* Summary job for branch protection requirements

* Restore pull_request trigger

* Use merge base for e2e tests

* Restore push trigger for all branches
2020-12-16 10:45:21 -08:00
Nikola GigićandGitHub 48fb8c0b77 fix(dataset): Page blanks on large data load (#11979)
* Implement pagination in <TableView> for Samples preview

* Increase page size

* Fix lint

* Render cells based on width

* Fix lint errors

* Additional tests and changes

* Search bar fix

* Additional fixes

* Suggested changes
2020-12-16 16:35:12 +02:00
Daniel Vaz GasparandGitHub 2302adb61a feat(datasets): security perm simplification (#12000)
* feat(datasets): security perm simplification

* feat(datasets): security perm simplification

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* include SqlMetricInlineView converge and fix JS tests

* update to current alembic revision
2020-12-16 11:49:03 +00:00
Kasia KucharczykandGitHub 9c8b65d03f feat(annotations): security permissions simplification (#12014)
* Changed security permissions for annotations and annotation layers

* Updated permissions in annotation layers list

* Created test for retrieving premissions info. Updated uris from f-strings to strings

* Updated annotations in security_tests and added annotations to NEW_SECURITY_CONVERGE_VIEWS

* Added migration for annotations security converge

* Updated current revision after rebase master

* Updated migration name to annotations security converge

* Updated annotations permissions names in AnnotationLayersList and updated test since 'can_write' has wider permissions

* Updated annotations migration to current
2020-12-16 09:08:06 +00:00
GeidoandGitHub 0ee03ae440 fix: Closes #11864 - Duplicate PropertiesModal (#12038)
* Closes #11864

* Fix typo
2020-12-16 10:01:34 +02:00
Kamil GabryjelskiandGitHub 794d318989 refactor: Migrate react-select to Antd Select in Metrics and Filters popovers (#12042)
* Migrate react-select to Antd select in Metrics popover

* Fix tests

* Migrate react-select to Antd select in Filters popover

* Migrate SelectControl to Antd Select

* Add label with number of options left
2020-12-15 21:20:10 -08:00
Beto DealmeidaandGitHub 8bda6b0bd9 feat: show missing parameters in query (#12049)
* feat: show missing parameters in query

* Fix lint

* Address comments

* Simplify error message

* Use f-string in helper function
2020-12-15 18:47:40 -08:00
Grace GuoandGitHub 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
Jesse YangandGitHub 76f9f185fb refactor: optimize backend log payload (#11927) 2020-12-15 17:22:23 -08:00
Beto DealmeidaandGitHub 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 DealmeidaandGitHub 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 DealmeidaandGitHub e0079bb5ae fix: small fixes to the new import/export (#12064) 2020-12-15 12:24:24 -08:00
Moriah KreegerandGitHub 52e970a520 fix(annotation layers): remove redirect on layer edit (#12063) 2020-12-15 12:21:10 -08:00
Beto DealmeidaandGitHub 862c251924 feat: handle new export in CLI (#11803)
* feat: handle new export in CLI

* Fix imports

* Fix lint

* Set options based on feature flag

* Fix lint

* Fix lint

* Add better error messages
2020-12-15 11:21:13 -08:00
adam-stasiak-polideaandGitHub 7dac150dc6 fixed CONTRIBUTING typos (#12057) 2020-12-15 09:07:34 -08:00
12e086dc61 refactor: Transform URLShortLinkModal to Typescript (#11971)
* Transform jsx modal to tsx modal

* Change required type

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2020-12-15 08:12:00 -08:00
Daniel Vaz GasparandGitHub f79e52f48e feat(charts): security perm simplification (#11981)
* feat(charts): security perm simplification

* fix superset explore

* fix JS test

* fix cypress test

* fix split heads

* fix favorite permission

* fix permission

* update with new async permission

* fix new permission coming from master

* fix core permission assert

* black

* update alembic down revision
2020-12-15 11:27:06 +00:00
Ville BrofeldtandGitHub 821b01737d fix(viz): remove orderby from sample request (#12055) 2020-12-15 12:54:32 +02:00
Evan RusackasandGitHub 2df519eab0 upgrade react-split (#12054) 2020-12-15 00:54:35 -08:00
Daniel Vaz GasparandGitHub 0f979dea06 feat(reports): security perm simplification (#11853)
* feat: security converge report

* black

* fix: comment

* add frontend changes and rebase

* fix multiple heads
2020-12-15 08:48:00 +00:00
Daniel Vaz GasparandGitHub 832267c776 fix(reports): log duration and sort column (#12039) 2020-12-15 08:44:30 +00:00