[incubator-superset] branch master updated (38782e2 -> c74bb6c)

2019-12-03 Thread johnbodley
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 38782e2  [charts] Chart specific time controls (#8674)
 add c74bb6c  [fix] Updating bound filters for PyDruid 0.5.7 (#8742)

No new revisions were added by this update.

Summary of changes:
 requirements-dev.txt|  2 +-
 superset/connectors/druid/models.py | 26 +-
 tests/druid_func_tests.py   |  5 -
 3 files changed, 18 insertions(+), 15 deletions(-)



[incubator-superset] branch master updated (8995044 -> 38782e2)

2019-12-03 Thread johnbodley
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 8995044  [filter_box] Fix show time column in filter_box (#8740)
 add 38782e2  [charts] Chart specific time controls (#8674)

No new revisions were added by this update.

Summary of changes:
 superset/assets/src/explore/controlPanels/Area.js  | 8 
 superset/assets/src/explore/controlPanels/Bar.js   | 8 
 superset/assets/src/explore/controlPanels/BigNumber.js | 8 
 superset/assets/src/explore/controlPanels/Compare.js   | 8 
 superset/assets/src/explore/controlPanels/Iframe.js| 8 
 superset/assets/src/explore/controlPanels/Line.js  | 8 
 superset/assets/src/explore/controlPanels/Markup.js| 8 
 superset/assets/src/explore/controlPanels/Separator.js | 8 
 superset/assets/src/explore/controlPanels/TimePivot.js | 8 
 superset/assets/src/explore/controlPanels/TimeTable.js | 8 
 superset/assets/src/explore/controlPanels/sections.jsx | 4 ++--
 11 files changed, 82 insertions(+), 2 deletions(-)



[incubator-superset] branch master updated (b0b9376 -> 8995044)

2019-12-03 Thread graceguo
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 b0b9376  handle nulls in bar chart series/breakdown (#8724)
 add 8995044  [filter_box] Fix show time column in filter_box (#8740)

No new revisions were added by this update.

Summary of changes:
 .../util/getFilterConfigsFromFormdata_spec.js} | 49 +++---
 .../dashboard/util/getFilterConfigsFromFormdata.js |  4 +-
 2 files changed, 26 insertions(+), 27 deletions(-)
 copy 
superset/assets/spec/javascripts/{explore/components/TimeSeriesColumnControl_spec.jsx
 => dashboard/util/getFilterConfigsFromFormdata_spec.js} (51%)



[incubator-superset] branch master updated (5e1a6ea -> b0b9376)

2019-12-03 Thread erikrit
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 5e1a6ea  bump style-loader to fix FOUC when sourcemaps are enabled 
(#8738)
 add b0b9376  handle nulls in bar chart series/breakdown (#8724)

No new revisions were added by this update.

Summary of changes:
 .../assets/spec/javascripts/utils/common_spec.jsx  |  5 +-
 superset/assets/src/utils/common.js|  8 ++-
 superset/connectors/base/models.py |  3 +-
 superset/connectors/druid/models.py|  3 +-
 superset/connectors/sqla/models.py |  3 +-
 .../{db_engine_specs/vertica.py => constants.py}   |  6 +-
 superset/viz.py|  8 ++-
 tests/viz_tests.py | 78 ++
 8 files changed, 103 insertions(+), 11 deletions(-)
 copy superset/{db_engine_specs/vertica.py => constants.py} (81%)



[incubator-superset] branch master updated (a0b48f0 -> 5e1a6ea)

2019-12-03 Thread erikrit
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 a0b48f0  Fixing up Docker installation docs (#8735)
 add 5e1a6ea  bump style-loader to fix FOUC when sourcemaps are enabled 
(#8738)

No new revisions were added by this update.

Summary of changes:
 superset/assets/package-lock.json | 66 ---
 superset/assets/package.json  |  2 +-
 2 files changed, 62 insertions(+), 6 deletions(-)



[incubator-superset] branch master updated (f055231 -> a0b48f0)

2019-12-03 Thread maximebeauchemin
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from f055231  require a series on a bar chart in the UI (#8726)
 add a0b48f0  Fixing up Docker installation docs (#8735)

No new revisions were added by this update.

Summary of changes:
 docs/installation.rst | 17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)



[incubator-superset] branch master updated (003e98c -> f055231)

2019-12-03 Thread erikrit
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 003e98c  Support schema permissions  (#8219)
 add f055231  require a series on a bar chart in the UI (#8726)

No new revisions were added by this update.

Summary of changes:
 superset/assets/src/explore/controlPanels/DistBar.js | 2 ++
 1 file changed, 2 insertions(+)



[incubator-superset] branch master updated (43f637e -> 003e98c)

2019-12-03 Thread maximebeauchemin
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 43f637e  [Explore] Fix annotation layer select box formatting (#8734)
 add 003e98c  Support schema permissions  (#8219)

No new revisions were added by this update.

Summary of changes:
 superset/assets/cypress.json   |   3 +-
 superset/connectors/base/models.py |   1 +
 superset/connectors/connector_registry.py  |  17 +-
 superset/connectors/druid/models.py|   7 +-
 superset/connectors/sqla/models.py |   3 +-
 ...5afa9079866a_serialize_schema_permissions_py.py |  99 +
 superset/models/core.py|   2 +
 superset/security.py   | 180 +---
 superset/views/base.py |  56 +--
 superset/views/core.py |  29 +-
 superset/views/database/mixins.py  |  29 +-
 superset/views/sql_lab.py  |   4 +-
 tests/security_tests.py| 473 -
 tests/utils_tests.py   |   4 +-
 14 files changed, 772 insertions(+), 135 deletions(-)
 create mode 100644 
superset/migrations/versions/5afa9079866a_serialize_schema_permissions_py.py



[incubator-superset] branch master updated (f8e15e1 -> 43f637e)

2019-12-03 Thread erikrit
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 f8e15e1  Add protocol to cache warmup (#8721)
 add 43f637e  [Explore] Fix annotation layer select box formatting (#8734)

No new revisions were added by this update.

Summary of changes:
 .../assets/src/explore/components/controls/AnnotationLayer.jsx | 10 ++
 .../components/controls/AnnotationLayer.less}  |  7 +--
 2 files changed, 15 insertions(+), 2 deletions(-)
 copy superset/assets/src/{components/Loading.less => 
explore/components/controls/AnnotationLayer.less} (90%)



[incubator-superset] branch master updated (fce4968 -> f8e15e1)

2019-12-03 Thread beto
This is an automated email from the ASF dual-hosted git repository.

beto pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from fce4968  Docker support (#8725)
 add f8e15e1  Add protocol to cache warmup (#8721)

No new revisions were added by this update.

Summary of changes:
 UPDATING.md | 8 +++-
 superset/config.py  | 1 +
 superset/tasks/cache.py | 6 --
 tests/strategy_tests.py | 2 +-
 4 files changed, 13 insertions(+), 4 deletions(-)



[incubator-superset] branch master updated (69dcaca -> fce4968)

2019-12-03 Thread dpgaspar
This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 69dcaca  [explore] should not triger chart render when overlay is on 
(#8719)
 add fce4968  Docker support (#8725)

No new revisions were added by this update.

Summary of changes:
 .dockerignore  |  1 +
 .gitignore |  9 +--
 CONTRIBUTING.md|  4 +
 Dockerfile | 87 ++
 contrib/docker/Dockerfile  | 72 --
 contrib/docker/docker-compose.yml  | 71 --
 contrib/docker/docker-entrypoint.sh| 38 --
 contrib/docker/superset_config.py  | 58 ---
 docker-compose.yml | 84 +
 {contrib/docker => docker}/.env| 13 
 {contrib/docker => docker}/README.md   | 25 +--
 .../js_build.sh => docker/docker-entrypoint.sh | 20 +++--
 {contrib/docker => docker}/docker-init.sh  | 13 +++-
 .../.env => docker/pythonpath_dev/.gitignore   |  8 +-
 docker/pythonpath_dev/superset_config.py   | 87 ++
 .../pythonpath_dev/superset_config_local.example   | 20 +++--
 {contrib/docker => docker}/requirements-extra.txt  |  4 +-
 17 files changed, 336 insertions(+), 278 deletions(-)
 create mode 100644 Dockerfile
 delete mode 100644 contrib/docker/Dockerfile
 delete mode 100644 contrib/docker/docker-compose.yml
 delete mode 100755 contrib/docker/docker-entrypoint.sh
 delete mode 100644 contrib/docker/superset_config.py
 create mode 100644 docker-compose.yml
 copy {contrib/docker => docker}/.env (69%)
 rename {contrib/docker => docker}/README.md (65%)
 copy superset/assets/js_build.sh => docker/docker-entrypoint.sh (75%)
 rename {contrib/docker => docker}/docker-init.sh (76%)
 rename contrib/docker/.env => docker/pythonpath_dev/.gitignore (87%)
 create mode 100644 docker/pythonpath_dev/superset_config.py
 copy RELEASING/Dockerfile.make_docs => 
docker/pythonpath_dev/superset_config_local.example (65%)
 rename {contrib/docker => docker}/requirements-extra.txt (94%)



[incubator-superset] branch master updated (606ac32 -> 69dcaca)

2019-12-03 Thread graceguo
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 606ac32  Migrate filter_immune_slice_fields (#8718)
 add 69dcaca  [explore] should not triger chart render when overlay is on 
(#8719)

No new revisions were added by this update.

Summary of changes:
 .../ChartRenderer_spec.jsx}| 23 ++
 superset/assets/src/chart/ChartRenderer.jsx| 15 --
 2 files changed, 23 insertions(+), 15 deletions(-)
 copy superset/assets/spec/javascripts/{components/CachedLabel_spec.jsx => 
chart/ChartRenderer_spec.jsx} (63%)



[incubator-superset] branch master updated (0ed0031 -> 606ac32)

2019-12-03 Thread beto
This is an automated email from the ASF dual-hosted git repository.

beto pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 0ed0031  [jinja_context] Fix, allow for app factory pattern (#8693)
 add 606ac32  Migrate filter_immune_slice_fields (#8718)

No new revisions were added by this update.

Summary of changes:
 superset/models/core.py | 12 
 1 file changed, 12 insertions(+)



[incubator-superset] 01/01: Update UPDATING.md

2019-12-03 Thread beto
This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch issues-8461
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 4e4af898b5a606bed98ae2aaf9e422f4d380bd0e
Author: Beto Dealmeida 
AuthorDate: Tue Dec 3 10:09:58 2019 -0800

Update UPDATING.md
---
 UPDATING.md | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/UPDATING.md b/UPDATING.md
index 8390970..2c8ce25 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -21,13 +21,19 @@ under the License.
 This file documents any backwards-incompatible changes in Superset and
 assists people when migrating to a new version.
 
+## Next
+
+* [8721](https://github.com/apache/incubator-superset/pull/8721): When using 
the cache
+warmup Celery task you should now specify the `SUPERSET_WEBSERVER_PROTOCOL` 
variable
+in your configuration (probably either "http" or "https"). This defaults to 
"http".
+
 ## 0.35.0
 
 * [8512](https://github.com/apache/incubator-superset/pull/8512): 
`DRUID_IS_ACTIVE` now
 defaults to False. To enable Druid-API-based functionality, override the
 `DRUID_IS_ACTIVE` configuration variable by setting it to `True` for your 
deployment.
 
-* [8450](https://github.com/apache/incubator-superset/pull/8450): The time 
ranger picker
+* [8450](https://github.com/apache/incubator-superset/pull/8450): The time 
range picker
 now uses UTC for the tooltips and default placeholder timestamps (sans 
timezone).
 
 * [8370](https://github.com/apache/incubator-superset/pull/8370): Deprecates



[incubator-superset] branch issues-8461 created (now 4e4af89)

2019-12-03 Thread beto
This is an automated email from the ASF dual-hosted git repository.

beto pushed a change to branch issues-8461
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


  at 4e4af89  Update UPDATING.md

This branch includes the following new commits:

 new 4e4af89  Update UPDATING.md

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[incubator-superset] branch master updated (391d830 -> 0ed0031)

2019-12-03 Thread dpgaspar
This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


from 391d830  [release] Fix, update superset docs process (#8680)
 add 0ed0031  [jinja_context] Fix, allow for app factory pattern (#8693)

No new revisions were added by this update.

Summary of changes:
 .travis.yml   |  3 +++
 docs/sqllab.rst   |  6 +++---
 superset/__init__.py  |  2 ++
 superset/app.py   |  6 ++
 superset/extensions.py| 29 +++--
 superset/jinja_context.py | 20 ++--
 tox.ini   |  9 +
 7 files changed, 52 insertions(+), 23 deletions(-)



[incubator-superset] branch master updated: [release] Fix, update superset docs process (#8680)

2019-12-03 Thread dpgaspar
This is an automated email from the ASF dual-hosted git repository.

dpgaspar 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 391d830  [release] Fix, update superset docs process (#8680)
391d830 is described below

commit 391d8303cbacf207f83a31f6020099523121d9e4
Author: Daniel Vaz Gaspar 
AuthorDate: Tue Dec 3 09:37:33 2019 +

[release] Fix, update superset docs process (#8680)

Introduces some automation on superset doc's build using docker
---
 .../{set_release_env.sh => Dockerfile.make_docs}   | 31 +---
 RELEASING/README.md| 28 ---
 RELEASING/make_docs.sh | 55 ++
 ...{set_release_env.sh => make_docs_entrypoint.sh} | 26 +++---
 RELEASING/set_release_env.sh   |  1 +
 5 files changed, 82 insertions(+), 59 deletions(-)

diff --git a/RELEASING/set_release_env.sh b/RELEASING/Dockerfile.make_docs
old mode 100755
new mode 100644
similarity index 50%
copy from RELEASING/set_release_env.sh
copy to RELEASING/Dockerfile.make_docs
index 4e4423b..829fa75
--- a/RELEASING/set_release_env.sh
+++ b/RELEASING/Dockerfile.make_docs
@@ -1,4 +1,3 @@
-#!/bin/bash
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
@@ -15,24 +14,16 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-usage() {
-   echo "usage: . set_release_env.sh   
"
-}
+FROM python:3.6-jessie
+ARG VERSION
 
-if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
-  usage;
-else
-  export SUPERSET_VERSION="${1}"
-  export SUPERSET_RC="${2}"
-  export SUPERSET_PGP_FULLNAME="${3}"
-  export SUPERSET_VERSION_RC="${SUPERSET_VERSION}rc${SUPERSET_RC}"
-  export SUPERSET_RELEASE=apache-superset-incubating-"${SUPERSET_VERSION}"
-  export 
SUPERSET_RELEASE_RC=apache-superset-incubating-"${SUPERSET_VERSION_RC}"
-  export SUPERSET_RELEASE_TARBALL="${SUPERSET_RELEASE}"-source.tar.gz
-  export SUPERSET_RELEASE_RC_TARBALL="${SUPERSET_RELEASE_RC}"-source.tar.gz
+RUN git clone --depth 1 --branch ${VERSION} 
https://github.com/apache/incubator-superset.git /superset
+WORKDIR /superset
+# install doc dependencies
+RUN pip install -r requirements.txt \
+&& pip install -r docs/requirements.txt
+# build the docs
+RUN python setup.py build_sphinx
 
-  echo ---
-  echo Set Release env variables
-  env | grep SUPERSET
-  echo ---
-fi
+COPY make_docs_entrypoint.sh /entrypoint.sh
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/RELEASING/README.md b/RELEASING/README.md
index a94159b..ddadfe9 100644
--- a/RELEASING/README.md
+++ b/RELEASING/README.md
@@ -303,26 +303,14 @@ Every once in a while we want to compile the 
documentation and publish it.
 Here's how to do it.
 
 ```bash
-# install doc dependencies
-pip install -r docs/requirements.txt
-
-# build the docs
-python setup.py build_sphinx
-
-# copy html files to temp folder
-cp -r docs/_build/html/ /tmp/tmp_superset_docs/
-
-# clone the docs repo
-cd ~/
-git clone https://git-wip-us.apache.org/repos/asf/incubator-superset-site.git
+./make_docs.sh
+```
 
-# copy
-cp -r /tmp/tmp_superset_docs/ ~/incubator-superset-site.git/
+Superset documentation site is ready at http://localhost:5002
 
-# commit and push to `asf-site` branch
-cd ~/incubator-superset-site.git/
-git checkout asf-site
-git add .
-git commit -a -m "New doc version"
-git push origin master
+```
+$ cd /tmp/incubator-superset-site-${SUPERSET_VERSION}
+$ git add .
+$ git commit -a -m "New doc version ${SUPERSET_VERSION}"
+$ git push origin asf-site
 ```
diff --git a/RELEASING/make_docs.sh b/RELEASING/make_docs.sh
new file mode 100755
index 000..118161f
--- /dev/null
+++ b/RELEASING/make_docs.sh
@@ -0,0 +1,55 @@
+#!/bin/bash
+#
+# 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.
+#
+set -e
+
+DOCKER_TMP_ASF_SITE_PATH=/asf-site
+DOC_SITE_PORT=5002
+
+# Clean tmp dir
+if [[ -d "${SUPERSET_TMP_ASF_SITE_PATH}" ]]; then
+  rm -rf "${SUPERSET_TMP_ASF_SITE_PATH}"
+fi
+mkdir -p "$

[incubator-superset] 01/01: fix: don't show filter popover on explore view load

2019-12-03 Thread maximebeauchemin
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch metrics_no_popover
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 526405d7a397b4e6cfaeef228e65a1580691fbbf
Author: Maxime Beauchemin 
AuthorDate: Tue Dec 3 00:14:55 2019 -0800

fix: don't show filter popover on explore view load

There's this confusing "feature" that I thought was a bug that shows the
metric popover opened when entering the explore view when the filter
comes from an active dashboard filter, based on the "fromFormData"
attribute of the filter.

The popover is confusing and often shows as misaligned with the actual
element it's supposed to float over when overflowing.
---
 superset/assets/src/explore/components/AdhocFilterOption.jsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/superset/assets/src/explore/components/AdhocFilterOption.jsx 
b/superset/assets/src/explore/components/AdhocFilterOption.jsx
index 8b6adf6..0c9ce81 100644
--- a/superset/assets/src/explore/components/AdhocFilterOption.jsx
+++ b/superset/assets/src/explore/components/AdhocFilterOption.jsx
@@ -45,7 +45,7 @@ export default class AdhocFilterOption extends 
React.PureComponent {
 this.onPopoverResize = this.onPopoverResize.bind(this);
 this.onOverlayEntered = this.onOverlayEntered.bind(this);
 this.onOverlayExited = this.onOverlayExited.bind(this);
-this.state = { overlayShown: !this.props.adhocFilter.fromFormData };
+this.state = { overlayShown: false };
   }
 
   onPopoverResize() {
@@ -90,7 +90,6 @@ export default class AdhocFilterOption extends 
React.PureComponent {
 overlay={overlay}
 rootClose
 shouldUpdatePosition
-defaultOverlayShown={!adhocFilter.fromFormData}
 onEntered={this.onOverlayEntered}
 onExited={this.onOverlayExited}
   >



[incubator-superset] branch metrics_no_popover created (now 526405d)

2019-12-03 Thread maximebeauchemin
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch metrics_no_popover
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


  at 526405d  fix: don't show filter popover on explore view load

This branch includes the following new commits:

 new 526405d  fix: don't show filter popover on explore view load

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.