This patch updates outdated JavaScript dev dependencies.
The latest ESLint version adds rules changes. Some rules are disabled
to prevent checks failures, some minor issues are fixed.
Change-Id: I01c5ccb5c8f7ceb827a3978157b4d76805d259c1
Default Index Url is missing for Server Groups which causes improper
redirect to details page opened in a new tab.
Related-Bug: #1902821
Closes-Bug: #1889397
Change-Id: I8d5e68085727bd7a6402a0041c93986b6b40bb32
Part of the removal of OPENSTACK_NOVA_EXTENSIONS_BLACKLIST (2/3)
References to nova extensions are cleaned up.
The logic to fetch nova extension list is finally dropped.
Change-Id: If4876634276eff37ab0a18a49e6e97851d41911b
As the label is not inline with filter added
bootstrap to make it adjust with screen-width
Change-Id: I189b0da7e4194e2e65230019f99598d97a50f802
Closes-Bug: #1445591
Angular mediumDateFilter provides user with a readable date format
using predefined localizable format "medium". However it should be
more flexible with different types of inputs. This patch fixes the
filter and applies it at the images overview page.
Change-Id: I7079c306c6f98f13c779e6dae7357ccabba2d460
Closes-Bug: #1841049
+ Adds endpoint for listing available policies
+ Support to select a storage policy for new containers
+ Display container storage polcy on dashboard.
Change-Id: I588452fd5d6417859f5dd19ccedcb18f420ab646
The setNames and getNames functions in the resource registry were
calling ngettext() on already translated strings that were marked for
translation with gettext() and not ngetttext(). That lead to some
page titles in some locales being displayed as single characters.
Closes-Bug: #1762089
Change-Id: I0ef365e0c0de6ae27a2e80bcb5257132f8c6ba29
The novaclient list_extensions API binding was removed in the
16.0.0 release [1]. The ability to enable/disable extensions
in nova has been deprecated since Liberty [2] and was removed
in Newton [3].
For horizon this only matters for the OPENSTACK_NOVA_EXTENSIONS_BLACKLIST
config setting and some javascript code used to compile panels based on
enabled extensions. In order to work with novaclient 16.0.0+, this
change removes the list_extensions usage since all extensions
are enabled in nova and thus for horizon a nova extension is only
not supported if it's in the configured blacklist. To continue supporting
the javascript code which uses the getExtensions function, the extension
names are hard-coded. Note that the method meant to test that code,
_test_extension_list, was wrong but never ran because of the underscore
prefix on the method name. That is fixed here.
[1] https://review.opendev.org/686516/
[2] https://review.opendev.org/214592/
[3] https://review.opendev.org/351362/
Change-Id: Iebb1e78c718b931d632445e4de6d7a29ccb92be2
Closes-Bug: #1847959
Websockify 0.9.0 rejected receiving text frame:
8eb5cb0cdc
We have to switch to binary frame instead.
Change-Id: I2677b8879ccb27def22126811c347d5c08f5aada
Closes-Bug: #1847889
Minimum Disk and Minimum RAM are required but do not have a required mark
This patch Add required mark
Change-Id: I9430e0cf970490597019a1087390a08e6eecde64
When editing an image, if the disk_fomrat is 'vhd',
the container_format was wrongly set to 'bare' before.
'ovf' is the correct container_format for 'vhd' disk images.
Closes-Bug: #1539722
Change-Id: Ic6b0c66af0d5c8db2d802d6eea2b97721d92b7eb
When member name is longer than $members-list-item-width
(130px) in members list (for example, project group in Edit
Project), current text-overflow will put ... (ellipsis) at
the end of the name and name will be truncated.
Updated the styling of .member class to make max-width
dynamic 80% and wrap the name in case it is really long.
Change-Id: Ic295a9b1e7fd3525c633d51a60054e713da6a657
Closes-bug: #1843480
On the server group Details page, after deleting the server group,
jump to a wrong page.
This patch jump to the correct page after deleting the server group.
Change-Id: If47aa64a8539bcc3996aa484db1e847a3059c2aa
Closes-Bug: #1821851
The asterisk mark color and location are inconsistent
in the Create Key Pair and Import Key Form.
This Patch uniform asterisk mark color and location in some forms
Change-Id: Ia55db622b35005e9da4ff83f39414a37ddc19e87
Closes-Bug: #1832288
Even when creating a volume fails, the message type was success.
It is better to change the message type to info as a volume creation
might fail when the message is shown.
Change-Id: I1606745a83b33339db3e9cf8b5edebd6b1b3e4f8
Closes-Bug: #1817253
Several Angular based dashboards, such as images and snapshots,
not regenerated after some item on this page changes its status
from transition state.
For example, an image may be shown forever in the "Creating" state
with running progress bar. To improve UI this patch re-upload items
list until some item in transition state.
If status of item changed, then 'trackBy' field changed and
Angular will re-render row with this particular item with
ng-repeat-start directive and won't re-render all entire page.
Change-Id: I2308baebb65b11180d66bd69d834386022c2ad84
Closes-bug: #1797592
In the process of creating the image,
can still edit the name, description,
Source Type and file.
This patch is Disable textbox when submitting
Change-Id: I4607b3b6d90ce28ba1b63808fd2028755039dcde
Closes-Bug: #1825102
This patch fix does not match the regex in horizon and nova [1].
The service supports underscores, but the restriction imposed in horizon
is different, so the regex is updated.
[1] 6ebb2c4cae/nova/compute/api.py (L5674-L5690)
Change-Id: Icc5e9c6447253d6087c578ab931b52a923128e38
Previously d3 version of the network topology view handles ports with
device_owner 'compute:nova' and 'compute:None' specially. This leads
to the situtaion that neutron ports with non-default AZ are not shown
properly. There is no reason to handle neutron ports with the default
AZ differently. What we would like to do is just to classify neutron
ports attached to nova servers.
This commit changes the logic to check device_owner of ports have
a prefix 'compute:'. Note that we also need to check if device_owner
is a string before checking the prefix.
Change-Id: I472bae9af3d14d8a31efcae8a7610b84c4f09c3d
Closes-Bug: #1820260