mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
[fix] Use HTTPS, not HTTP wherever practical (#7040)
* Download RAT binary via HTTPS, not HTTP * Merge branch 'patch-1' of github.com:hajdbo/incubator-superset into patch-1
This commit is contained in:
committed by
Maxime Beauchemin
parent
f5274a9c7f
commit
5137539a86
@@ -25,7 +25,7 @@ BUILDDIR = _build
|
||||
|
||||
# User-friendly check for sphinx-build
|
||||
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
||||
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
|
||||
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://sphinx-doc.org/)
|
||||
endif
|
||||
|
||||
# Internal variables.
|
||||
|
||||
@@ -272,7 +272,7 @@ Superset in the :ref:`ref_database_deps` section of the docs. Database
|
||||
engines not listed in this page may work too. We rely on the
|
||||
community to contribute to this knowledge base.
|
||||
|
||||
.. _SQLAlchemy dialect: http://docs.sqlalchemy.org/en/latest/dialects/
|
||||
.. _SQLAlchemy dialect: https://docs.sqlalchemy.org/en/latest/dialects/
|
||||
.. _DBAPI driver: https://www.python.org/dev/peps/pep-0249/
|
||||
|
||||
For a database engine to be supported in Superset through the
|
||||
|
||||
@@ -215,7 +215,7 @@ setup known to work well in production: ::
|
||||
superset:app
|
||||
|
||||
Refer to the
|
||||
`Gunicorn documentation <http://docs.gunicorn.org/en/stable/design.html>`_
|
||||
`Gunicorn documentation <https://docs.gunicorn.org/en/stable/design.html>`_
|
||||
for more information.
|
||||
|
||||
Note that *gunicorn* does not
|
||||
@@ -319,7 +319,7 @@ as well as Flask extensions like ``flask-wtf``, ``flask-cache``,
|
||||
``flask-migrate``, and ``flask-appbuilder``. Flask App Builder, the web
|
||||
framework used by Superset offers many configuration settings. Please consult
|
||||
the `Flask App Builder Documentation
|
||||
<http://flask-appbuilder.readthedocs.org/en/latest/config.html>`_
|
||||
<https://flask-appbuilder.readthedocs.org/en/latest/config.html>`_
|
||||
for more information on how to configure it.
|
||||
|
||||
Make sure to change:
|
||||
@@ -497,9 +497,9 @@ find an ``extra`` field as a ``JSON`` blob.
|
||||
|
||||
This JSON string contains extra configuration elements. The ``engine_params``
|
||||
object gets unpacked into the
|
||||
`sqlalchemy.create_engine <http://docs.sqlalchemy.org/en/latest/core/engines.html#sqlalchemy.create_engine>`_ call,
|
||||
`sqlalchemy.create_engine <https://docs.sqlalchemy.org/en/latest/core/engines.html#sqlalchemy.create_engine>`_ call,
|
||||
while the ``metadata_params`` get unpacked into the
|
||||
`sqlalchemy.MetaData <http://docs.sqlalchemy.org/en/rel_1_0/core/metadata.html#sqlalchemy.schema.MetaData>`_ call. Refer to the SQLAlchemy docs for more information.
|
||||
`sqlalchemy.MetaData <https://docs.sqlalchemy.org/en/rel_1_2/core/metadata.html#sqlalchemy.schema.MetaData>`_ call. Refer to the SQLAlchemy docs for more information.
|
||||
|
||||
|
||||
Schemas (Postgres & Redshift)
|
||||
@@ -583,7 +583,7 @@ The following keys in `superset_config.py` can be specified to configure CORS:
|
||||
|
||||
|
||||
* ``ENABLE_CORS``: Must be set to True in order to enable CORS
|
||||
* ``CORS_OPTIONS``: options passed to Flask-CORS (`documentation <http://flask-cors.corydolphin.com/en/latest/api.html#extension>`)
|
||||
* ``CORS_OPTIONS``: options passed to Flask-CORS (`documentation <https://flask-cors.corydolphin.com/en/latest/api.html#extension>`)
|
||||
|
||||
|
||||
DOMAIN SHARDING
|
||||
|
||||
@@ -21,7 +21,7 @@ Security in Superset is handled by Flask AppBuilder (FAB). FAB is a
|
||||
"Simple and rapid application development framework, built on top of Flask.".
|
||||
FAB provides authentication, user management, permissions and roles.
|
||||
Please read its `Security documentation
|
||||
<http://flask-appbuilder.readthedocs.io/en/latest/security.html>`_.
|
||||
<https://flask-appbuilder.readthedocs.io/en/latest/security.html>`_.
|
||||
|
||||
Provided Roles
|
||||
--------------
|
||||
|
||||
@@ -1837,17 +1837,17 @@ Need to add a new Country?
|
||||
To add a new country in country map tools, we need to follow the following steps :
|
||||
|
||||
1. You need shapefiles which contain data of your map.
|
||||
You can get this file on this site: http://www.diva-gis.org/gdata
|
||||
You can get this file on this site: https://www.diva-gis.org/gdata
|
||||
|
||||
2. You need to add ISO 3166-2 with column name ISO for all record in your file.
|
||||
It's important because it's a norm for mapping your data with geojson file
|
||||
|
||||
3. You need to convert shapefile to geojson file.
|
||||
This action can make with ogr2ogr tools: http://www.gdal.org/ogr2ogr.html
|
||||
This action can make with ogr2ogr tools: https://www.gdal.org/ogr2ogr.html
|
||||
|
||||
4. Put your geojson file in next folder : superset/assets/src/visualizations/CountryMap/countries with the next name : nameofyourcountries.geojson
|
||||
|
||||
5. You can to reduce size of geojson file on this site: http://mapshaper.org/
|
||||
5. You can to reduce size of geojson file on this site: https://mapshaper.org/
|
||||
|
||||
6. Go in file superset/assets/src/explore/controls.jsx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user