This patch rollbacks changes in APITestCase introduced in the
0d163613265e036818fe567793a4fc88fe140d4a commit to unblock Horizon
plugins gates.
Change-Id: I6b2be31568e4aa4273990f9cfa76ca139620c84b
Closes-bug: #1806053
Closes-bug: #1805240
The latest selenium webdriver fails with old geckodriver.
This patch also fixes horizon-selenium-headless job.
Change-Id: I8dfdc7e80dfe680d6699fc7f1f8325b85a9f7c8f
With reference to I038918e4beef2ea4d346127713855e0421e8b721.
The description for "Key Size" field is changed.
So picture for the same also need to be updated.
This patch updates the picture in the doc.
Change-Id: Idfed41249cd6e74ff0ad209798dfc5f921552ed9
Related-Bug: #1780457
The name is not required, so data["name"] may be empty,
but the router.name_or_id must have a value
Change-Id: I0b20d0ab5ff66e199faa58cb9146aa731552c698
If you're a user without administrative permissions, you will
not be able to edit a password using the table inside the identity
section due to the fact that it uses a different edit API which
is not meant to be used for the user-side of things.
This patch adds a policy change in order to hide the change password
link for normal users, while keeping the functionality inside
the Settings panel still intact.
This change was first broken by I76eb9f95c7112bcbad75ee151f363f892298d081
Partial-Bug: 1788384
Change-Id: I7a64257ac274c9dac5705ba72a85833f8e7a1591
Step 7 of 'Add a key pair' instructs end users to respond to the prompt
to download but Horizon now automatically download Key pair and no
prompt to download the key pair is displayed and moving a section of
code that should reside in 'Add a Key pair'.
This patch updates the doc correctly.
Change-Id: Ic96de6983c7d95c4eca19ae0b6e3d1c700aac9b5
Closes-Bug: #1804139
Now, one page content will be changed after Clicking
"Next page" or "Prev page" to go back.
As we know, the order of the list could not be changed
at will, for one at the beginning or the end is a marker.
The marker is very importent for pagination.
So, this commit remove the sort of snapshots and reverse
the sort of the previous page ones.
Change-Id: I8d3d0cf4a1e6526bed3055b18741b1cf5d6166ff
Closes-Bug: #1804391
Volume type encryption help text states that "The Key Size is the
size of the encryption key, in bits (e.g., 128, 256).
If the field is left empty, the provider default will be used."
This is not really correct, because 128 bit keys do not actually
work with LUKS as used by Cinder volumes.
It should only recommend 256 bit keys.
This patch fixes the issue.
Change-Id: I038918e4beef2ea4d346127713855e0421e8b721
Closes-Bug: #1780457
some of the action pages use workflow,
but the check is using assertFormErrors,
which is unreasonable,
assertFormErrors only checks one step, not all
Change-Id: I764be4a243fb9c4790c195610514663d71e18373
In order to increase rendering speed, make
api.cinder.volume_list_paged, api.nova.server_list
and api.cinder.volume_snapshot_list parallel.
For admin panel also api.keystone.tenant_list is
parallelized.
Closes-bug: #1660025
Partial-implements: blueprint fetch-resources-in-parallel
Change-Id: Ic789ff98a59ba792d77103e7778883562e7977d2
The color of delete image button is inconsistent with other
destructive buttons.
This patch fixes the issue.
Change-Id: Id7acd54e5535912eff4e69cbfd360ef02e7d8786
Closes-Bug: #1792778
Although the gateway is disabled,
it still checks the format of the gateway ip and
throws an error if there is a problem with the format.
Change-Id: I8d13819175701885412ab4813e19aba0ac63a3c3
Closes-Bug: #1799896
As we known, the table support filtered by local language
with some filters mapping, like below:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/views.py#L46
We use the filter string given by user and look valid values
in those filters mapping. But the keys in filters mapping,
which is django.utils.functional.__proxy__, does not match
the filter string.
This commit valid them.
Change-Id: I40cb50bbf08fc457967615f2654026cfdafb9232
Closes-Bug: #1802228
The user setting page sets the "Items Per Page" minimum or maximum value,
which affects the display of "Log Lines Per Instance"
Change-Id: I087412272257b665b6ac1de6ba5eabd06f011e74
Closes-Bug: #1803014
Some test servers require the domain parameter for login.
This small change provides support for servers that require
this additional login step.
Change-Id: Ia9f94b687ee6d3318fa61ad3f446b21ed6cfea6a
Closes-Bug: #1802343
Fix the following new errors:
* E305 expected 2 blank lines after class or function definition, found 1
* E126 continuation line over-indented for hanging indent
max_line_length is set to 80 as the default value in pycodestyle is 79
but horizon uses 80 as max_line_length.
Ignore W504 and F405 by configurations.
Reasons of disabling them are explained as comments in tox.ini.
Change-Id: Iee8bcd60c30883fc8c74f08cf20af853cbb5e271