Created a make_web_conf command.

The current wsgi does not support virtualenvs (in some distributions, the
dependencies may conflict with the distribution's python packages/dependencies
and would require a virtualenv even in production).
Also, making an apache web configuration is not always trivial especialy
with ssl.
This "make_web_conf" command creates a wsgi with automatic virtualenvironment
detection (if there is a virtualenvironment), and creates an apache
(normal or ssl) configuration

TODO(ygbo)::

    - add nginx support to generate nginx configuration files.
    - add gunicorn support.
    - add uwsgi support.

implements bp web-conf-generation-script

Change-Id: I6397ba01df88b540bbdca4bf21ba90be6843022a
Remove docutils pin

This was added to work around bug 1091333.  A new sphinx has been
released and so this is no longer necessary.

Change-Id: I6ea61a3cc441dd1ca2ced7e2fd837a55b917f76d
Add CONTRIBUTING.rst

There is no CONTRIBUTING.rst file, the patch will add it.

Change-Id: I6e0638a7d2cfb71ab7d830de4a431279f369fc51
Fixup trove screens for Bootstrap 3 changes

Changed row-fluid
Selected new icons in a few places
Cleanup html for details pages
Added default button to resize dialog

Change-Id: I80fbccf77e6a27a51f84dd55cab7944f23d38d66
Closes-Bug: #1350514
Adds keypair create,delete integration tests

I have added test_keypair.py which tests create keypair and delete
keypair methods. And to allow this I have added keypairpage.py with
two methods to create and delete keypairs. I have added
accesssecuritypage.py which has_click_on_keypair_link method.

Partially implements blueprint: selenium-integration-testing

Change-Id: I9f8680fb51aa7dcf249e7487efa46240200a0ef2
Manually disable IP version when creating network subnets.

In some configuration, IPv6 is not supported. This patch provides
a way to disable IPv6 by hiding the ip version drop down menu and
setting the initial value to IPv4.

Closes-bug: 1352404

Change-Id: I950a1e19d509fdf4816816dd7b0f05bd418e7147
Fix wrong redirect url after instance resizing

When the instances is paginated in multiple pages, the redirect
url for instance resizing best to be the current page.

Change-Id: Ifa7f9c5cd57430640af35b49f93c1cb1c6c5521d
Closes-bug: 1354969
Allow table actions to be displayed in a menu

This adds the ability for table actions to be placed into an
actions menu above the table in addition to the current
button only format. This ability is not implemented in any
existing horizon table but is mainly meant for those who
build on horizon with tables that might have many actions.

To use a table actions menu, add a list of table action
classes to the table Meta class using the table_actions_menu
attribute. For example, to display the Soft Reboot and
Terminate actions in a menu on the project instances table
add this attribute to the project instances table Meta class:

    table_actions_menu = (SoftRebootInstance, TerminateInstance,)

Implements: blueprint table-action-menus
Change-Id: I02cd52f06be3fa11dd5fe0b45c8cc1e3bff5efdb
Remove extra loop in populate_network_choices

There is an extra loop in populate_network_choices in launch instance
workflow, this could be merged into one loop.

Change-Id: I03a988e95f23367ebc41fc13b7f08dfd2d9da9b7
Closes-bug: 1359026
Allowing to have static x-axes in line chart

Allowing to define static time span for the line chart.

Change-Id: If2fdb87917c46504de9a04f2cafbcd7713f197b9
Closes-Bug: #1243716
Removing border from overview charts

There will be thin axes instead of the border.

Change-Id: I82b588a0a925d733c1c0de496fa359989725e0f2
User keystone policy to check if user password can be updated

Keystone have a policy for change password, we need to apply this to
horizon too.

policy:
  "identity:change_password": "rule:admin_or_owner"

Change-Id: Idd35646f9cbe4fadaa96bc85b243ed4f7823d9dd
Closes-bug: 1347354
Quota error message should be more descriptive

forms.ValidationError will be raised if there are invalid quota values.
The error message would be like: Quota value cannot be less than the
current usage value: ram used: 512, instances used: 1.

Change-Id: I6734de7df6c146d647bbc89090d49a48e1b074ae
Closes-bug: 1274234
Map quota keys to translatable strings

Change-Id: I1446efad26b140bad04f6c2bddc4f8f980735d72
Related-bug: 1274234
Change unit string translation in volume limit templates

This fixes an issue where the lazy translated "GB" unit string is
not properly resolved in the volume limit templates. This error
does not happen in a devstack environment but has been found to
happen in chef and puppet deployed OpenStack production
environments.

Closes-Bug: 1332238
Change-Id: Icc056ca508f430e981049ca00985d329c92a6ab4
Exception handling is captured correctly when deleting a container.

When deleting a container that is not empty, the exception code
does not send the error message through exception.handle. Instead,
it raises an exception which causes an error when Horizon is no
longer in debug mode.

Change-Id: Iee8601c5b0f831b2dd598accfdc58cb8130cca13
Closes-bug: 1355405
Not display loading image for shelved instances

If, any of the instances are shelved through CLI
those instances status are displayed as shelved offloaded
with a loading image.
Displaying the loading image for this status are not correct.
Displaying the loading image is removed for
the shelved offloaded status.
This problem is reported and fixed in #1318558 but this fix is
working only for rescue not for shelved offloaded.
Now it is fixed for shelved offloaded also.

Change-Id: I39d1e2fc1428923824b303f0837b25d736dc0e3c
Closes-Bug: #1352140
Co-Authored-By: Mizielski Robert <robert.mizielski@cloudwatt.com>
Fix instance table IP column indentation

Change-Id: I807039a2854647fb7f517b22a839a58525ab1270
Closes-Bug: #1349604
Fix ok-icon in membership widget

Fix ok-icon doesn't show in assign list
Use icon-font not bitmap-icon
Tweak CSS

Change-Id: I256a7dbb36da1da75a63a72a5bc7562d5777a2c5
Closes-Bug: 1354510
Handle TypeError from table column summation code

This commit catches TypeError from horizon.tables.Column
summation calculation. This TypeError is caught inside Django
until Django 1.6, but Django 1.7 code is refined to catch
more specific case and it leads to horizon unit test failure.

Closes-Bug: #1355939
Change-Id: I9d5b4565f1238a9880ccf117f2ea623fed466a44