[incubator-superset] branch master updated (e0c3da5 -> 848ac91)
This is an automated email from the ASF dual-hosted git repository. erikrit pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git. from e0c3da5 feat: paired t testchart control migration (#9916) add 848ac91 fix: bump nvd3 plugin for annotation styles (#9919) No new revisions were added by this update. Summary of changes: superset-frontend/package-lock.json | 6 +++--- superset-frontend/package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
[incubator-superset] branch master updated: feat: remove para controls (#9851)
This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new 1fffa37 feat: remove para controls (#9851) 1fffa37 is described below commit 1fffa37e85031d981c1609cbdc2af1733f74cd8a Author: Phillip Kelley-Dotson AuthorDate: Tue May 26 12:37:33 2020 -0700 feat: remove para controls (#9851) * remove para controls * update package version --- superset-frontend/package-lock.json| 6 +- superset-frontend/package.json | 2 +- .../src/explore/controlPanels/Para.js | 64 -- superset-frontend/src/setup/setupPlugins.ts| 2 - 4 files changed, 4 insertions(+), 70 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 75aef04..7b74b65 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -6840,9 +6840,9 @@ } }, "@superset-ui/legacy-plugin-chart-parallel-coordinates": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.13.3.tgz;, - "integrity": "sha512-qFyE5vEl5D5G5KpcCG+aE7sbxZnmljR1PBiaRJ2oIcuyk28qHnxLGW8NcPeOMZwwgOJ8KxWTBNu3pyxHf0065w==", + "version": "0.13.20", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-parallel-coordinates/-/legacy-plugin-chart-parallel-coordinates-0.13.20.tgz;, + "integrity": "sha512-qdkRVfav6zv2J59OjTuZZooXqJDD1yybiwFTbzGgLDAqeu63gtKSaIeJVmiLRHpu5Qg6n0Vd3eb6T4Z+XDVYcw==", "requires": { "d3": "^3.5.17", "prop-types": "^15.6.2" diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 8f4af84..74f422b 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -78,7 +78,7 @@ "@superset-ui/legacy-plugin-chart-map-box": "^0.13.16", "@superset-ui/legacy-plugin-chart-markup": "^0.13.12", "@superset-ui/legacy-plugin-chart-paired-t-test": "^0.13.5", -"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.13.3", +"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.13.20", "@superset-ui/legacy-plugin-chart-partition": "^0.13.11", "@superset-ui/legacy-plugin-chart-pivot-table": "^0.13.10", "@superset-ui/legacy-plugin-chart-rose": "^0.13.10", diff --git a/superset-frontend/src/explore/controlPanels/Para.js b/superset-frontend/src/explore/controlPanels/Para.js deleted file mode 100644 index 31526f8..000 --- a/superset-frontend/src/explore/controlPanels/Para.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -import { t } from '@superset-ui/translation'; - -export default { - controlPanelSections: [ -{ - label: t('Query'), - expanded: true, - controlSetRows: [ -['series'], -['metrics'], -['secondary_metric'], -['adhoc_filters'], -['limit', 'row_limit'], - ], -}, -{ - label: t('Options'), - expanded: true, - controlSetRows: [ -[ - { -name: 'show_datatable', -config: { - type: 'CheckboxControl', - label: t('Data Table'), - default: false, - renderTrigger: true, - description: t('Whether to display the interactive data table'), -}, - }, - { -name: 'include_series', -config: { - type: 'CheckboxControl', - label: t('Include Series'), - renderTrigger: true, - default: false, - description: t('Include series name as an axis'), -}, - }, -], -['linear_color_scheme'], - ], -}, - ], -}; diff --git a/superset-frontend/src/setup/setupPlugins.ts b/superset-frontend/src/setup/setupPlugins.ts index 52d73a1..1162e47 100644 ---
[incubator-superset] branch master updated: feat: paired t testchart control migration (#9916)
This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new e0c3da5 feat: paired t testchart control migration (#9916) e0c3da5 is described below commit e0c3da5df1e256e6bbacc16cd9cb586043bcbbfc Author: Phillip Kelley-Dotson AuthorDate: Tue May 26 14:11:03 2020 -0700 feat: paired t testchart control migration (#9916) * cherry pick * update package --- superset-frontend/package-lock.json| 6 +- superset-frontend/package.json | 2 +- .../src/explore/controlPanels/PairedTtest.js | 101 - superset-frontend/src/setup/setupPlugins.ts| 2 - 4 files changed, 4 insertions(+), 107 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 7b74b65..012d246 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -6823,9 +6823,9 @@ } }, "@superset-ui/legacy-plugin-chart-paired-t-test": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.13.5.tgz;, - "integrity": "sha512-Rj6Sd4q3gw8KfJgG4kYf/4TI7of+3a8TkbcDD5PJKXWprfNhIMdUcu6GphEw1t0JdIUbGw+1Zs401kizhFAggQ==", + "version": "0.13.21", + "resolved": "https://registry.npmjs.org/@superset-ui/legacy-plugin-chart-paired-t-test/-/legacy-plugin-chart-paired-t-test-0.13.21.tgz;, + "integrity": "sha512-j1trQdA1/QGCttTqsG93tFwrK01EMX4hJtwkzYPvuNGV80Q/iK3TDSy82mB6Mt9SzKHakm4jq+KUWKlpkez5pg==", "requires": { "distributions": "^1.0.0", "prop-types": "^15.6.2", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 74f422b..c177fa5 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -77,7 +77,7 @@ "@superset-ui/legacy-plugin-chart-iframe": "^0.13.16", "@superset-ui/legacy-plugin-chart-map-box": "^0.13.16", "@superset-ui/legacy-plugin-chart-markup": "^0.13.12", -"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.13.5", +"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.13.21", "@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.13.20", "@superset-ui/legacy-plugin-chart-partition": "^0.13.11", "@superset-ui/legacy-plugin-chart-pivot-table": "^0.13.10", diff --git a/superset-frontend/src/explore/controlPanels/PairedTtest.js b/superset-frontend/src/explore/controlPanels/PairedTtest.js deleted file mode 100644 index 27b605f..000 --- a/superset-frontend/src/explore/controlPanels/PairedTtest.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -import { t } from '@superset-ui/translation'; - -export default { - requiresTime: true, - controlPanelSections: [ -{ - label: t('Query'), - expanded: true, - controlSetRows: [ -['metrics'], -['adhoc_filters'], -['groupby'], -['limit', 'timeseries_limit_metric'], -[ - { -name: 'order_desc', -config: { - type: 'CheckboxControl', - label: t('Sort Descending'), - default: true, - description: t('Whether to sort descending or ascending'), -}, - }, - { -name: 'contribution', -config: { - type: 'CheckboxControl', - label: t('Contribution'), - default: false, - description: t('Compute the contribution to the total'), -}, - }, -], -['row_limit', null], - ], -}, -{ - label: t('Paired t-test'), - expanded: false, - controlSetRows: [ -[ - { -name: 'significance_level', -config: { - type: 'TextControl', - label: t('Significance Level'), - default: 0.05, - description: t( -
[incubator-superset] branch master updated: feat: bump superset-ui and implement queryFields in formData (#9908)
This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new 2c97e72 feat: bump superset-ui and implement queryFields in formData (#9908) 2c97e72 is described below commit 2c97e72959f7c79ab5ec686010e2ef7bfc118457 Author: Ville Brofeldt <33317356+ville...@users.noreply.github.com> AuthorDate: Tue May 26 20:19:33 2020 +0300 feat: bump superset-ui and implement queryFields in formData (#9908) * feat: Bump superset-ui packages for queryFields * feat: Implement queryField in formData --- superset-frontend/package-lock.json| 18 +- superset-frontend/package.json | 6 +++--- .../spec/javascripts/explore/controlUtils_spec.jsx | 6 +++--- superset-frontend/src/explore/controlUtils.js | 6 +++--- superset-frontend/src/explore/controls.jsx | 4 ++-- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index aabde03..75aef04 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -6587,9 +6587,9 @@ } }, "@superset-ui/control-utils": { - "version": "0.13.12", - "resolved": "https://registry.npmjs.org/@superset-ui/control-utils/-/control-utils-0.13.12.tgz;, - "integrity": "sha512-fxl9lWITCuvZjb2lTPE7X6WA01dM1BInnKktUForK7HP09K+oSaiInRdwZSVC5P9cH7xNlcbkPPh/AOC+Hk/Hg==", + "version": "0.13.21", + "resolved": "https://registry.npmjs.org/@superset-ui/control-utils/-/control-utils-0.13.21.tgz;, + "integrity": "sha512-KEDSkArY9/hTVW3wdmefbVxUdQNtOyjU3EJiJZ8zeGUZAn517MmEck9AWwKAL/UsOzccU5tq5HVwZ/eSSsmLqQ==", "requires": { "@types/react-bootstrap": "0.32.21", "lodash": "^4.17.15", @@ -6994,9 +6994,9 @@ } }, "@superset-ui/plugin-chart-word-cloud": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.13.9.tgz;, - "integrity": "sha512-2tUfQgXtzDETI7Gw4wSBDs+FnlrOkaKF4cpVqX2G/IuCc+h8UxuMbLKIp4NAMgeJ8mDbeEL+lKgnl+RDobks9w==", + "version": "0.13.21", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-word-cloud/-/plugin-chart-word-cloud-0.13.21.tgz;, + "integrity": "sha512-Y+n8jV4Nts0+qqo7qj4SjN+t4T4yAUAn8nHX1CqWnlYnVyBQfFTj3pflSQrT3Nv+jCEtbumdzFs+0tjY352gww==", "requires": { "@types/d3-cloud": "^1.2.1", "@types/d3-scale": "^2.0.2", @@ -7162,9 +7162,9 @@ } }, "@superset-ui/query": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@superset-ui/query/-/query-0.13.6.tgz;, - "integrity": "sha512-wJvqXuzv9vJNxDPKNAaHzCCly7LF8UP9AQ1zdoA88QcfYJqCzNvbt3j8XSR4nABrvNVZHnsn67wQNG4HS/IPpQ==" + "version": "0.13.21", + "resolved": "https://registry.npmjs.org/@superset-ui/query/-/query-0.13.21.tgz;, + "integrity": "sha512-cD4o7ChFBS/9k2joYKdxqXBIyV2ZlrFVAmitNk1U4tAUE1zaipofNhZ2imV1Q3H8p8c3Fgk8QiqYOSbpyXiuQQ==" }, "@superset-ui/style": { "version": "0.13.11", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 713e618..8f4af84 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -63,7 +63,7 @@ "@superset-ui/chart-composition": "^0.13.5", "@superset-ui/color": "^0.13.3", "@superset-ui/connection": "^0.13.5", -"@superset-ui/control-utils": "^0.13.12", +"@superset-ui/control-utils": "^0.13.21", "@superset-ui/core": "^0.13.5", "@superset-ui/dimension": "^0.13.3", "@superset-ui/legacy-plugin-chart-calendar": "^0.13.6", @@ -91,9 +91,9 @@ "@superset-ui/legacy-preset-chart-deckgl": "^0.2.3", "@superset-ui/legacy-preset-chart-nvd3": "^0.13.13", "@superset-ui/number-format": "^0.13.3", -"@superset-ui/plugin-chart-word-cloud": "^0.13.9", +"@superset-ui/plugin-chart-word-cloud": "^0.13.21", "@superset-ui/preset-chart-xy": "^0.13.11", -"@superset-ui/query": "^0.13.6", +"@superset-ui/query": "^0.13.21", "@superset-ui/style": "^0.13.11", "@superset-ui/time-format": "^0.13.15", "@superset-ui/translation": "^0.13.3", diff --git a/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx b/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx index be5dfcc..00e252e 100644 --- a/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx +++ b/superset-frontend/spec/javascripts/explore/controlUtils_spec.jsx @@ -109,7 +109,7 @@ describe('controlUtils', () => { name: 'all_columns', config: { type: 'SelectControl', -controlGroup: 'columns', +
[incubator-superset] branch master updated (7f6dbf8 -> e6a55d8)
This is an automated email from the ASF dual-hosted git repository. graceguo pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git. from 7f6dbf8 style: enforcing mypy typing for connectors (#9824) add e6a55d8 fix: [dashboard] should not trigger chart refresh when filter not applicable (#9891) No new revisions were added by this update. Summary of changes: .../dashboard/components/Dashboard_spec.jsx| 70 ++-- .../src/dashboard/components/Dashboard.jsx | 76 +++--- 2 files changed, 102 insertions(+), 44 deletions(-)
[incubator-superset] branch erik-ritter--prevent-non-typescript-files updated (7555161 -> 4463234)
This is an automated email from the ASF dual-hosted git repository. erikrit pushed a change to branch erik-ritter--prevent-non-typescript-files in repository https://gitbox.apache.org/repos/asf/incubator-superset.git. from 7555161 Rename prevent_non_typescript_files.yml to prefer_typescript.yml add 4463234 Update prefer_typescript.yml No new revisions were added by this update. Summary of changes: .github/workflows/prefer_typescript.yml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)
[incubator-superset] branch master updated: css: beautify roles CRUD (#9890)
This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new 92b843e css: beautify roles CRUD (#9890) 92b843e is described below commit 92b843e2ae898256e227ab9cee10779ca173c7e0 Author: Maxime Beauchemin AuthorDate: Tue May 26 22:32:13 2020 -0700 css: beautify roles CRUD (#9890) --- superset-frontend/stylesheets/superset.less | 3 +++ superset/security/manager.py| 4 2 files changed, 7 insertions(+) diff --git a/superset-frontend/stylesheets/superset.less b/superset-frontend/stylesheets/superset.less index 86fab86..688ea8b 100644 --- a/superset-frontend/stylesheets/superset.less +++ b/superset-frontend/stylesheets/superset.less @@ -576,3 +576,6 @@ td.filtered { .table-name { font-size: @font-size-l; } +.select2-container-multi { + width: 100% !important; +} diff --git a/superset/security/manager.py b/superset/security/manager.py index 021ca9f..51cb3e0 100644 --- a/superset/security/manager.py +++ b/superset/security/manager.py @@ -95,6 +95,10 @@ PermissionViewModelView.include_route_methods = {RouteMethod.LIST} PermissionModelView.include_route_methods = {RouteMethod.LIST} ViewMenuModelView.include_route_methods = {RouteMethod.LIST} +RoleModelView.list_columns = ["name"] +RoleModelView.edit_columns = ["name", "permissions", "user"] +RoleModelView.related_views = [] + class SupersetSecurityManager(SecurityManager): userstatschartview = None