Allows the user to create an object without file

Now the user can create an Object without providing an actual file
in the containers view. This will submit an object with 0 bytes size.
Additionally, the 'Download' button will not be available for objects
with 0 bytes size.

Implements: blueprint metadata-only-object
Change-Id: Ib2ff2462b73d16c971ad0dfc60aaae1b0bbf0924
Handle summary information for deleted project

If we could not get the project name for the usage summary, show the
tenant_id with a 'deleted' identifier instead.

Closes-bug: #1183172

Change-Id: Ieb03a64dd6311bcdb026d8cdf63f08ec10480ea8
Infinite volumes quota shows as 'inf'

When the volumes quota is set to -1 (either in the defaults panel or for
a specific project) in project overview it shows as "inf" instead of "No
Limit".

Change-Id: Ia6ea4ca56008168a63527ef5c32375070bc2b467
Closes-bug: 1271629
Empty email for users gets saved as an empty string

The actual behavior is that horizon sends an empty string
on the "email" field when creating a new user if the field
isn't filled by the user.
To match the keystone client behaviour, instead of sending
an empty string, this patch sends a "None" value when the
field isn't filled by the user.
By doing this, when creating a new user from both,
keystone client and horizon, a "null" value is stored
under the same conditions.
in the database. This will keep the data consistency.
From the presentation point of view, when a "null" value
is received, it is presented as an empty string instead
of showing "None" on the "email" field of the users table.

Change-Id: Ib5df774b3fe9d82c084f380c9c11aea46b2984aa
Closes-Bug: #1265805
CSS to fix content appearing below side pane

Content normally shows up on the right side of the navigation pane.
However, a long dashboard name will cause the content to appear below
the navigation pane.

Currently, the content is set to have left padding of 250px. This is
not ideal as the side-navigation pane may take up more space. I have
included a css fix that will allow the content to float and remain next
to the navigation pane. This solution have been tested in all major
browsers including IE.

Fixed the expanding issue.

Change-Id: Ied5c6085c643eba72a54279ff2e57221ddac76df
Closes-Bug: #1267661
give a fullscreen attribute to workflow, for modal view

add a fullscreen attribute on Workflow (default to False)
use the fullscreen class in workflow template if True
add .modal.fullscreen rule in horizon.less
add documentation of the fullscreen attribute on Workflow
rework modal system to use a layout context variable, use static_page if
not modal, modal else, and use fullscreen if workflow is fullscreen
add tests for fullscreen logic

implements bp Modals-and-supporting-different-screen-sizes
Change-Id: I8663067ed655d60365857c237732fe4f5cc1e982
Remove leftovers of django.conf.urls.defaults

    Partially-implements blueprint django-1point6

Change-Id: Ib8a19f47f0cc69003e9622942dfc5bababe3c6f2
Restrict flavor fields input on creation/update.

If flavor properties are invalid, an update message error
is shown, but the flavor get deleted.
The reason is that update flavor is not yet supported so horizon
will delete the flavor and create a new one, failing in the last case.

Fields ram and vcpus need to be >= 1 and eph_gb, swap_mb and disk_gb
>= 0 to create a flavor.

Change-Id: I20d178bad6e4e50c0963acdec72ebedb9bbaba17
Closes-Bug: #1269638
Change assertTrue(isinstance()) by optimal assert

Some of tests use different method of assertTrue(isinstance(A, B)) or
assertEqual(type(A), B). The correct way is to use assertIsInstance(A,
B) provided by testtools.

Change-Id: I5e7afcdc7be36e64168ef850749dfcb5a19e784a
Closes-Bug: #1268480
Make values display in Flavor Table consistent

Add 'GB' to Disk And Ephemeral Disk to make them
consistent with others.

Change-Id: If466f2a4b8a58aed05b8e77eca1e81b4e86137e9
Closes-Bug: #1270036
Removing duplicated classes from lbaas.py and vpn.py

This patch removes duplicated classes AttributeDict from
api/lbaas.py and api/vpn.py. Additional attributes are
added as needed in 'list' and 'get' methods.

Closes-Bug: #1267779
Change-Id: I47d8eb5fc9bd0767ac85a7c65d394ab2b7a2ea5d
LBaaS tests refactoring

This patch set removes some redundant code from
LBaaS tests.

Closes-Bug: #1271108

Change-Id: I8d16b3c565d61b4bb45929ea0045b5d6cfa0bf25
Remove Restore Backup Action For Non-Completed

the "restore backup" action is incorrectly shown for an uncompleted
database backup in the database backups table. now, only if the
backup is completed, will the action/button appear.

in addition, uncompleted backups are now excluded from the dropdown
in the create-instance workflow.

Change-Id: I6e4962eaf5eeee18d85cace384e0879dd33056e2
Closes-Bug: #1268277
disable volume creation, when cinder is disabled

before this patch, it's possible to try to create a volume
from an image, create a volume during instance creation etc.

The same applies to create a volume from snapshot.

Change-Id: Ib573487938e0833668b002d05574e587734ef829
Closes-bug: 1267438
Remove grey line when pie chart is at 100%

Change-Id: I9d9d58f15e570c75af44341a90922b7d86f3c10c
Closes-Bug: #1270927
Translating entity types in network topology

Change-Id: I4f4e2898f18e994e7fdd29fdb1a478d461313e83
Partial-bug: #1226159
adding policy checks for nova instance actions

Adding policy rule checks for all Nova instance actions (on both the
project and admin dashboards).

Change-Id: Ibf419ecf6624cf3315ddb10daee0542f7d8d2c3e
Implements: blueprint compute-rbac
Make hardcoded fields translatable

In Admin->Networks->[network name]->Ports->Create Port, the Device ID and
Device owner have untranslated help_text values, which get displayed as
tool tips in the UI.  This change adds the translation function to those
pieces of text.  Also fixing the Edit Port parts as well.

Change-Id: Iaddd58b50cda818e332f8bead5a02b07916a2f58
Closes-Bug: #1271348
'Update' options for VPNaaS UI

Adds 'Update' options for Neutron VPNaaS Horizon Support.

Implements blueprint vpnaas-ui-update.

Change-Id: I4f9b5726dcf5fe0ee2f066a6155eeed502c8141f
Replace mimetype with content_type argument of HttpResponse

One occurrence of mimetype remained in the code base. Replace it with
content_type, since mimetype is getting deprecated.

Change-Id: I1bac546bdf41d785deebe3c3df6a9601575983dd
Partially-impelements: blueprint django-1point6