11080 Commits

Author SHA1 Message Date
Jenkins
c6f3f6f332 Merge "Show name_or_id when router name is white space" 2016-06-30 12:03:33 +00:00
OpenStack Proposal Bot
20f0ec4e4a Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I321c0bd32286ebca6aed81ca2c887b90e64f58f2
2016-06-30 07:18:20 +00:00
Jenkins
2d9e448d4e Merge "Add themable selects to the theme preview page" 2016-06-30 02:34:23 +00:00
Jenkins
533275cc41 Merge "Preview Page: Material: Code Icon fix" 2016-06-29 23:23:58 +00:00
Jenkins
64c172c0d7 Merge "Preview Page: Form: Everything shouldn't say Legend" 2016-06-29 21:47:52 +00:00
Jenkins
c1d4cc318f Merge "Implement admin_filter_first in Instances and Images Admin Views" 2016-06-29 21:47:36 +00:00
Diana Whitten
878e53d19c Preview Page: Material: Code Icon fix
Somewhere along the lines, the preview page code button, when
viewed in 'Material' shows an alarm clock instead of a code icon.

Closes-bug: #1597503

Change-Id: I577cc5853f6580fa60dadc8fa34a4955b6aae710
2016-06-29 13:08:22 -07:00
Diana Whitten
c8df6159d9 Preview Page: Themable Checkbox should have different label
Partially-Implements blueprint bootstrap-theme-preview

Change-Id: I1e14a871240f292880532991fb0bb4416b5d3bd0
2016-06-29 12:09:46 -07:00
Diana Whitten
93bbec1385 Preview Page: Form: Everything shouldn't say Legend
Under the form section of the preview page, when you click the 'code'
button, everything shows with a text node of the text "Legend", this
has been fixed.

Change-Id: I40afdca853c5e41f873deb00e27ead0520adb095
Closes-bug: #1597479
2016-06-29 12:06:21 -07:00
Diana Whitten
a1f1e868d1 Add themable selects to the theme preview page
Partially-Implements blueprint bootstrap-theme-preview

Change-Id: If7bebd8d6403aa69c1f5904dd63a4e45f9e27c73
2016-06-29 12:05:43 -07:00
OpenStack Proposal Bot
f16435b825 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I29e478ca2cdfcbf55de9aaf209a49696f34ef4f3
2016-06-29 07:18:49 +00:00
Jenkins
5f722a4082 Merge "Fix typo 'occured' -> 'occurred'" 2016-06-28 19:13:42 +00:00
Jenkins
d51b2a1ef5 Merge "Added correct cursor to components without the href attribute" 2016-06-28 18:23:02 +00:00
Pablo Iranzo Gómez
9d05c25bf2
Fix typo 'occured' -> 'occurred'
Change-Id: Iee8c45584af36231602e9f94db32cb2a3d0bca9f
2016-06-28 18:37:10 +02:00
Jenkins
13603f7097 Merge "Add valuable exports to openstack RC file download" 2016-06-28 15:21:01 +00:00
Elizabeth Elwell
77d7e26135 Added correct cursor to components without the href attribute
Original Bootstrap CSS depends on empty href attributes to style
cursors for several components. Adding href attributes to link tags in
AngularJS will cause unwanted route changes. This styling fix ensures
the correct cursor styling is applied to link tags without the need
for the href attribute to be added.

Closes-Bug: 1582673
Co-Authored-By: Revon Mathews <revon.mathews@intel.com>
Change-Id: I9c65e54d07db7aaeef1585a6f21c31c354951609
2016-06-28 13:38:36 +01:00
Jenkins
c817bc9cfa Merge "Allow metadata to be shown whether v1 or v2 glance data (NG)" 2016-06-28 12:21:30 +00:00
Jenkins
0bd4aa91d1 Merge "Validate minimum RAM for snapshot source" 2016-06-28 11:38:33 +00:00
Jenkins
559183cddf Merge "Register Neutron Floating IP and Security Group names" 2016-06-28 11:27:00 +00:00
OpenStack Proposal Bot
baf271e18f Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I787155b9c2a850d4b1d053c4413d7a0a487b7618
2016-06-28 07:32:45 +00:00
Jenkins
a0c23024e9 Merge "Add warning when falling back to insecure key generation" 2016-06-28 06:46:24 +00:00
chen.qiaomin@99cloud.net
b60275a8cd Show name_or_id when router name is white space
Reproduce:
1 Open Project/Compute/Routers
2 Create a router with name "white space"
3 Then there will be a router with name "white space" display in the table.
  But this router could not be click into it's detail page.
So there should show route's name_or_id when it's name is "white space".

Change-Id: Ib1b8b36c2d5d6b7ca9c5b5c914667ae2e0b91613
Closes-Bug: #1596741
2016-06-28 01:49:05 +00:00
Jenkins
fa28acf97c Merge "Place Create Image in global actions, not batch actions" 2016-06-28 01:46:08 +00:00
Jenkins
152fce7fd4 Merge "Change from client filter to server filter in metadata page" 2016-06-28 01:30:50 +00:00
Jenkins
f088dfaf85 Merge "Correct IP Proto sec group rules help txt" 2016-06-28 01:30:39 +00:00
Jenkins
caf8e228db Merge "Returning a tuple instead of list in list_extensions" 2016-06-28 01:29:33 +00:00
Jenkins
2ccdd7ecfd Merge "fixed row update of vpn table" 2016-06-27 21:00:35 +00:00
Jenkins
46a12f6a37 Merge "Do not allow "white space" as name field value" 2016-06-27 20:53:51 +00:00
Jenkins
a4d74b8197 Merge "Provide help-text capability for server-side filter choices" 2016-06-27 20:03:46 +00:00
Jenkins
37bc18bbf8 Merge "Imported Translations from Zanata" 2016-06-27 18:26:32 +00:00
Jenkins
9dd311abb2 Merge "Addition of metadata for snapshot in VolumeSnapshot object" 2016-06-27 18:09:39 +00:00
chen.qiaomin@99cloud.net
1f2f6028e4 Do not allow "white space" as name field value
Reproduce:
1 Open Admin/System/Flavor page
2 Click "Create Flavor",
3 input "white space" in "Name" field, and input correct number in
  another fields.
4 Submit the form, there will cast error in the top of the right
  corner of the page: "Unable to create flavor".
So there should not allow input "white space" in the "Name" field.

Change-Id: Id0b2af7e6e417d96034be01ecb2713f73555804c
Closes-Bug: #1596419
2016-06-27 16:50:19 +00:00
Matt Borland
b2b801b345 Add warning when falling back to insecure key generation
When secret_key.py generates the key, it silently regresses when
SystemRandom isn't present.  We need the reversion for non-production
environments, but we need to warn in environments when SystemRandom isn't
being used.  See the bug report for more details.

Change-Id: Ibed0a41d377317db9bdfa1c9a277eb70691172e7
Closes-Bug: 1588064
2016-06-27 10:46:57 -06:00
Matt Borland
53fccaa480 Place Create Image in global actions, not batch actions
See bug report for details.  Nothing should appear differently due to this
change in Horizon, but the effect is that anywhere we want to see global actions,
this will show up in the list.

Added test for registration and fixed over-general app.core reference.

Change-Id: I1dfd444e6f2dac6b5f8175eed336d3331f0f5a5a
Closes-Bug: 1596560
2016-06-27 10:01:51 -06:00
eric
da188a50e9 Correct IP Proto sec group rules help txt
The IP Proto field contains a tip to use -1, which is not
supported in our validator or from the neutron cli.

Closes-Bug: #1590868
Change-Id: Ic78693d062017cefba3ded5fbfc222797f3f6c68
2016-06-27 15:46:54 +00:00
Jenkins
ace0138365 Merge "Never import setting from openstack_dashboard" 2016-06-27 15:40:31 +00:00
Jenkins
20a5338f5e Merge "Set an empty string for no volume type directly" 2016-06-27 15:17:47 +00:00
Yves-Gwenael Bourhis
eb3180f827 Returning a tuple instead of list in list_extensions
extension_supported is decorated with
memoized_with_request(list_extensions, 1).
This means that list_extensions is called to build the args for
extension_supported and then make a hash.
list_extensions was returning a list which is unhashable.
We now return a tuple which has the following advantages:
1: is hashable.
2: tuples use less memory than lists in python, and should be use when we do
not need a mutable.

Change-Id: I92be6ef7880c6ac76847ec9cc8b2c83a6fd009b2
Closes-Bug: #1596545
2016-06-27 16:36:29 +02:00
Vivek Agrawal
a05883d88a Addition of metadata for snapshot in VolumeSnapshot object
When accessing the snapshot object in Horizon codebase, we do not have
access to the metadata of the snapshot. This is because the
VolumeSnapshot object does not have metadata as a member. So added
'metadata' to the VolumeSnapshot object. The fix should provide access
to metadata.
Added test data and test cases for snapshot object with metadata.

Closes-Bug: 1542468

Change-Id: I4ae2e7a74d3ddbff8493b42f8f86c7002229cf8c
2016-06-27 14:12:31 +00:00
Jenkins
fee1de02aa Merge "Add units in overview project page (limit summary)" 2016-06-27 11:47:34 +00:00
Yves-Gwenael Bourhis
797f823c6e Never import setting from openstack_dashboard
Unittests have their own settings and should not source openstack_dashboard
settings.
It is commonly known that django code should always import settings via
"from django.conf import settings".

Change-Id: I4fb5f68ed9595c5f785437b863e2eef7f6ab23c1
Closes-Bug: #1596466
2016-06-27 11:39:01 +02:00
OpenStack Proposal Bot
962abedd71 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If0b622df45d17e034824bb549970b4e3f2b937c4
2016-06-27 07:24:55 +00:00
Jenkins
a27d142648 Merge "Second endpoint type default is not None" 2016-06-27 07:16:49 +00:00
Jenkins
f3ddf61171 Merge "Add "Cancel" button for "Add static route" form" 2016-06-25 07:18:28 +00:00
Eric Brown
9b0553da5a Second endpoint type default is not None
According to the help for SECONDARY_ENDPOINT_TYPE, the default
value is None. However the default given in the local_settings
example is publicURL, which makes the documentaiton a little
confusing.

Change-Id: I20c507e5b42f9c6000de94fcf1a51bb5437bf43f
2016-06-24 16:07:08 -07:00
Travis Tripp
4724e1029c Register Neutron Floating IP and Security Group names
This adds OS::Neutron::FloatingIP and OS::Neutron::SecurityGroup
to the horizon name registration.

Change-Id: I20ee30edeed7faca6835e81e3047ffd47bbd2259
Partially-Implements: blueprint angular-registry
2016-06-24 16:36:06 -06:00
Matt Borland
4180e63535 Allow metadata to be shown whether v1 or v2 glance data (NG)
The Angular Images drawer shows a fancy metadata widget, but only if the
data given is in Glance v1 format.  This patch allows for both v1 and v2
formats to be interpreted.

Change-Id: Id94d1082d6628f6f009d85481454e8db503a9391
Partially-Implements: blueprint horizon-glance-v2
2016-06-24 15:34:23 -06:00
Ying Zuo
fd14a9e62b Set an empty string for no volume type directly
Change-Id: I0b185bcbd3414381e6ebe2228d6aa173902176b4
2016-06-24 20:23:13 +00:00
Cindy Lu
e6cbcd3cb1 Provide help-text capability for server-side filter choices
We have server-side filtering available for Project/Admin Instances,
and we have more to come (see bp). Some of these filters should provide
help text for what format user needs to input to filter.
For example, 'changed-since' filter is very vague. Need to provide
date format to user.

This patch adds a tooltip to the select option upon hovering.

How to use: add help text to the filter_choice in
/dashboards/admin/instances/table.py.

filter_choices = (
('name', _("Name ="), True),
('date_created', _("Date Created="), True, _("ISO 8601 format")),
...)

Change-Id: I436a3de51aa8182200cf56ad5502a85d1cd1b11c
Partially-implements: blueprint server-side-filtering
2016-06-24 11:58:12 -07:00
Matt Borland
f6cf068802 Fixes JS linting error
This patch fixes a JS linting error.  Errors should not be allowed, even
if the gate is broken.

Change-Id: Ib70ce346f0d2eff44a1e2db51d9b37cd251b78fb
Closes-Bug: 1596061
2016-06-24 12:56:27 -06:00