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
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
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
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
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
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
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
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
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
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
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
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
This adds OS::Neutron::FloatingIP and OS::Neutron::SecurityGroup
to the horizon name registration.
Change-Id: I20ee30edeed7faca6835e81e3047ffd47bbd2259
Partially-Implements: blueprint angular-registry
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
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
This patch fixes a JS linting error. Errors should not be allowed, even
if the gate is broken.
Change-Id: Ib70ce346f0d2eff44a1e2db51d9b37cd251b78fb
Closes-Bug: 1596061