Some openstack dashboard screenshots are out of date,
this patch upload the latest horizon screenshots.
Change-Id: I35ff03cc18db39b29001254e95b1602620cf20bc
Closes-Bug: #1741420
DeleteInstance action inherits from tables.DeleteAction.
The parent class has the attribute 'name = "delete"' so
we can remove the unused codes.
Change-Id: I9f312ceafbf84a79b7b7941f255a16632931d5d0
The gate doc/releasenotes jobs do not use tox targets and
call sphinx directly, so doc8 check is not asserted in the gate.
Considering this, this commit adds doc8 check to pep8 job
to ensure doc8 check is applied.
Change-Id: I9df403199264de36b1d0997871e32b29a6988c00
tenant_absolute_limits API wrapper converts -1 (unlimited)
to float('inf'), but tenant_quota_usages() cannot handle this
properly. This is a regression during the quota refactoring work.
This commit changes QuotaUsage.add_quota() to accept float('inf')
as one of unlimited quota value.
Closes-Bug: #1741493
Part of blueprint make-quotas-great-again
Change-Id: Ic6ed00761381d52ee04a15a43ee4fe2a30b9a106
The volume was removed form 'compute' tab, and the floating ip
is in network tab, and so on. So this patch reorganize the content
of the project tab.
Change-Id: Ifb35910f21f2593b9e6f30ac50092118a6f0bac6
Some duplicated test scenarios were deleted. This patch also doesn't
change Selenium tests because it's out of scope of unit tests.
This patch changes mox to mock for the following test module:
* openstack_dashboard/dashboards/project/images/tests.py
* openstack_dashboard/dashboards/project/images/images/tests.py
* openstack_dashboard/dashboards/project/images/tests.py
Change-Id: I951c2e5ee1c133faa2106e1e1fdba5c72d6f63b7
Partially-Implements: blueprint mock-framework-in-unit-tests
A list object is not hashable. We need to pass a tuple object
which is hashable.
Change-Id: Iaccd527da65218e46ff8cad8963fd336d0138c25
Closes-Bug: #1738537
This patch also adds checks for executable files in
pep8 job.
nose ignores executable files by default, so it is important
to ensure executable flag is not set for test files [1].
openstack_dashboard/test/test_plugins/panel_tests.py was not
tested actually and it was broken. This commit fixes it too.
[1] http://nose.readthedocs.io/en/latest/usage.html#cmdoption-exe
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: I3a124fa2f9f0676b2b43a094e32e3d8b18fa6005
This patch changes mox to mock for the following test module:
* openstack_dashboard/dashboards/admin/images/tests.py
Change-Id: Ib91a862658777c22fbd540a62c70c4385366afd0
Partially-Implements: blueprint mock-framework-in-unit-tests
This patch changes mox to mock for the following test modules:
* openstack_dashboard/test/api_tests/glance_tests.py
Change-Id: I282bc6a8ceca851b9755c9637790da055e6b4780
Partially-Implements: blueprint mock-framework-in-unit-tests
Previously _2150_admin_flavor_panel.py used double underscores,
but there is no reason to use double underscores.
This commit makes the enabled filenames consistent.
Change-Id: I9c2de7075c715c1c41798c098e97560c14a554be
binding__host_id (binding:host_id in the Neutron API) only exists
when portbinding neutron extension is available. This extension is
available in almost all cases as Nova depends on the extension,
but it is better to check the availability in horizon side as
we do so in other places in horizon.
Change-Id: Id7fa8ebcdde09547fd64892a787834bc4c543acf
Closes-Bug: #1498352
Admin can Rebulid and Shut off instance from instances in admin panel
for all project-member.
Change-Id: Ieab146b49a92f3527e34aacb0a9077a704151e3e
Closes-Bug: 1704833
The keystone API version 3 has become the default API version
for a long time and our CI already uses keystone v3 API only.
In addition, our documentation recommended to use the cached session,
so switching the default API version to 3 does not hit the limitation
on the maximum size of session data when using the cookie-based
sessions.
This is based on django_opensatck_auth review
https://review.openstack.org/#/c/158384/
Implements blueprint: default-keystone-api-3
Change-Id: I79e9fbd3567cc69468694dbf043fecf422347c7e
This patch drop name validation in horizon and
let nova check if the is name is valid or not.
Instead of using pattern in the flavors form,
pattern will be checked in the nova. Also I
added limation for the name size with tests to
check the max size since the min size has it's unit
test.
Closes-Bug: 1738328
Change-Id: Ib4f6f9b87560df43819d992254603e55ea8ff6a3