7e65af5f13
In case 'data' image attribute is a base string (instead of in-memory or on-disk file), api.glance sends back an image wrapper with a redirect url and a token to its caller, so the caller could upload the file to that url directly. Provide a unit test for api.glance behavior when an external upload location is used. That also requires to fix glance stub endpoint data in keystone_data.py since it didn't reflect the reality. Also document the new HORIZON_IMAGES_UPLOAD_MODE setting that will govern direct images upload and the define approach to deprecating the old HORIZON_IMAGES_ALLOW_UPLOAD setting. The old setting is deprecated as of Newton release and planned to be removed in P. 'Removing' means that it will no longer be used / referenced at all in code, not the actual presence in settings.py (it is removed from settings.py in this commit). What really matters is if the customized value of HORIZON_IMAGES_ALLOW_UPLOAD in local_settings.py will be still considered during the deprecation period. Help text in Django Create Image form in case if local file upload was enabled was wrong, fixed that. Related-Bug: #1403129 Partially implements blueprint: horizon-glance-large-image-upload Change-Id: I24ff55e0135514fae89c20175cf9c764e871969b |
||
---|---|---|
doc | ||
horizon | ||
openstack_dashboard | ||
releasenotes | ||
tools | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.rst | ||
babel-django.cfg | ||
babel-djangojs.cfg | ||
manage.py | ||
package.json | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
test-shim.js | ||
tox.ini |
README.rst
Horizon (OpenStack Dashboard)
Horizon is a Django-based project aimed at providing a complete
OpenStack Dashboard along with an extensible framework for building new
dashboards from reusable components. The
openstack_dashboard
module is a reference implementation of
a Django site that uses the horizon
app to provide
web-based interactions with the various OpenStack projects.
- Release management: https://launchpad.net/horizon
- Blueprints and feature specifications: https://blueprints.launchpad.net/horizon
- Issue tracking: https://bugs.launchpad.net/horizon
Using Horizon
See doc/source/topics/install.rst
about how to install
Horizon in your OpenStack setup. It describes the example steps and has
pointers for more detailed settings and configurations.
It is also available at http://docs.openstack.org/developer/horizon/topics/install.html.
Getting Started for Developers
doc/source/quickstart.rst
or http://docs.openstack.org/developer/horizon/quickstart.html
describes how to setup Horizon development environment and start
development.
Building Contributor Documentation
This documentation is written by contributors, for contributors.
The source is maintained in the doc/source
directory
using reStructuredText and
built by Sphinx
Building Automatically:
$ ./run_tests.sh --docs
Building Manually:
$ tools/with_venv.sh sphinx-build doc/source doc/build/html
Results are in the doc/build/html
directory