Add extra_context in the SetInstanceDetailsAction.get_help_text in the
panel project.instances. This argument was missing in the child class.
Change-Id: I3a766eaa7c1aeb7ed0479d53d32fc01f8a41dc75
Closes-Bug: #1334294
On Ubuntu 14.04+ whatever dark magic was installing httplib2 into
the venv for unit testing, is no longer doing it, as httplib2 was
not an explicit requirement.
It is clearly used in the code, and a dependency, so be explicit
about it.
Change-Id: I373b87dd4af414d58680d34c4de626ffa953cf57
Added nodeenv as a test requirement.
Added a jshint environment to tox.ini, which installs node.js into the
python virtual environment with nodeenv, installs jshint using npm,
and calls runtest.sh to run the tests.
runtest.sh now supports the -j|--jshint flags to run jshint on the
javascript files. jshint must be installed before running runtest.sh
The documentation also got updated to include some info about jshint.
This patch does not add jshint to the OpenStack codebase, just provides
a way to install it for testing, to avoid license clash (jshint has a
slightly modified MIT license, which is incompatible with OpenStack's
Apache license).
Change-Id: I9dd0743eaee50fdba3dbb527c29f2501bdd44ca6
Implements: blueprint node-toolchain
Implements: blueprint jshint-codestyle
The method is_the_current_page in the is_login_page is not called, it is
only referenced.
Partially implements blueprint: selenium-integration-testing
Change-Id: I28530fe03288bc6b4d9f77b361b7e743b1c04c26
Some neutron plugin don't support agent extension, and
Horizon show 404 error on admin info page.
In this commit, we are going to add check if agent
extension supported or not.
Closes-bug: 1331032
Change-Id: I5cd3ec747c650fc2b826d55f39be618eca1b7caa
The security rule names that include the word "All" should be
translatable. I've included a SECURITY_GROUP_RULES value with
the 3 translatable rules from local_settings.py.example so that
we will actually have translations for those values.
Change-Id: Id21ac0e6ea328ab18f35f7711de356015db5f50a
Closes-bug: #1334031
Currently, help text is only shown for some input fields.
For example, if you go to 'Launch Instance', click on
the input field 'Instance Count' to see the help tooltip.
It is not displayed for checkboxes (BooleanFields) or dropdown menu,
even though help_text is provided in the code.
This change places a small 'info' icon beside each label (if help_text
is defined for that django form element) so that when you hover over it,
it will show you the corresponding help text.
This patch provides a uniform solution for all field and allows to user to
immediately see which fields have help.
Change-Id: Ie2d85503160071ba4062b3368e2ef79e7786343e
Closes-Bug: #1332738
Closes-Bug: #1330766
An extra comma in the update_launch_source_displayed_fields
brakes the launch instance workflow when the option selected
is "Boot from image (creates new volume)"
Change-Id: I0f02354c8f274990fa5a7e4e2a92007513339f8a
Closes-Bug: #1333484
The new django_openstack_auth 1.1.6 library surfaced a defect in this
test, whereby the test client does not properly log out the user. This
only affects the test, the functionality otherwise works fine.
This temporarily disables the test in order to repair the gate, while
waiting to replace it with a new unit test more reduced in scope and/or
an integration test.
Change-Id: I8779666c053a4835e22038a39a530fe5fc84b6a3
Partial-Bug: #1333144
When using neutron as network service and security group extension
disabled, the quotas update workflow will hit some error, because
'security_group' and 'security_group_rule' are passed to the quotas
update method for neutron.
This patch fixes the problem by excluding these two quotas when
neutron security group extension is disabled.
Change-Id: I0011e1c0956d3248b748f109d5ab5e93ec55f7d3
Closes-bug: 1330632
The modified template uses new syntax for the URL template tag,
but doesn't load the new syntax definition, as required by Django.
This leads to errors when trying to render that template.
Change-Id: I42ddb39cad62b1be0cad81d4758412a981be461e
Closes-bug: #1331271
The Login form lives in openstack_auth.forms and should be directly
imported from that file.
Change-Id: I42808530024bebb01604adbf4828769812856bf3
Closes-Bug: #1332149