9060 Commits

Author SHA1 Message Date
Lucas Palm
642aa9a351 Corrected spelling errors throughout the project
While browsing through the Horizon repository, I came across a
few spelling errors that need correction.

Change-Id: I593e9f04ea5d9f3985a14fb994b745243468387a
Closes-Bug: #1511532
2015-10-29 16:18:49 -05:00
Rajat Vig
c7b4ca3600 Mock flavor_list method in tests for instances
nova.flavor_list is not mocked in the tests and
that is causing test failures in jenkins.

Closes Bug: #1511109

Change-Id: I6b9a457e103571d16dc54f94dae86c8d89feb4cb
2015-10-28 13:47:49 -07:00
Jenkins
aa068eca80 Merge "Fixes Broken Error Message on Subnet Creation" 2015-10-24 00:26:01 +00:00
OpenStack Proposal Bot
1b4d0406e7 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ibb94360b2db9bb9de4dfc9f84f91401ba004a632
2015-10-23 06:36:08 +00:00
Jenkins
152f38221f Merge "Add Cinder Extensions Service for Angular" 2015-10-22 08:52:32 +00:00
Rajat Vig
65c4895c36 Add angular flavors panel
Adding a new panel to the admin dashboard that will use angular js
instead of the django templates

To test set DISABLED = False in _2081_admin_flavors_panel.py

Co-Authored-By: Rajat Vig<rajatv@thoughtworks.com>
Co-Authored-By: Errol Pais<epais@thoughtworks.com>
Co-Authored-By: Kristine Brown<kbrown@thoughtworks.com>

Change-Id: I9394ddfe3791aeb7a52194f37e1e668e33c0325b
Partially-Implements: blueprint ng-flavors
2015-10-21 13:22:50 -07:00
Akanksha
13c9b30078 Fixes Broken Error Message on Subnet Creation
Wrong key used for getting the name and id of network in the case of
it not being passed into the method call.
This fixes the key used.

Change-Id: I6757a946be4696027befbe98b490881e967e80eb
Closes-Bug:1505414
2015-10-22 00:56:00 +05:30
Jenkins
e62cdfaadb Merge "Change ports range in validators and test function" 2015-10-21 08:18:51 +00:00
Jenkins
3d9969b31c Merge "Add HTTPS to image location help text" 2015-10-21 06:30:01 +00:00
Jenkins
d4cd14ec8d Merge "Improving JS unit test branch coverage" 2015-10-21 01:18:00 +00:00
OpenStack Proposal Bot
0be2084dbd Updated from global requirements
Change-Id: I9237b9a77115974ebb4dda56e0968f6b06f67867
2015-10-19 23:27:58 +00:00
Jenkins
e7fdb4ee9d Merge "Fix accidentally broken Instances integration test" 2015-10-19 22:02:26 +00:00
Matt Borland
08fb123f8b Improving JS unit test branch coverage
This patch is testing untested branches.

There is a bug in the Launch Instance model where it is supposed to
remove null properties from the top level of the model.  It is not doing
that properly.  So that bug is also fixed.

This patch currently raises the branch coverage in openstack_dashboard
from ~84% to ~89%.

Closes-bug: 1506891
Change-Id: I7434126246b15209b62daeff75744e0a3b435494
2015-10-19 15:15:58 +00:00
Jenkins
fa43b9df0c Merge "Port admin metering tests to Python 3" 2015-10-19 08:41:57 +00:00
Jenkins
c20e8665c4 Merge "Remove models.py from tutorial" 2015-10-19 08:32:40 +00:00
OpenStack Proposal Bot
2acafb5f9c Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I25122cbedb48e1270fda82da3c4a301a728fc277
2015-10-19 06:35:36 +00:00
Jenkins
1b0fe09e3d Merge "admin not able to set maintenance state for volume" 2015-10-19 04:36:33 +00:00
Timur Sufiev
3e51652bb1 Fix accidentally broken Instances integration test
It was broken due to changed method name (and the fact we don't yet
have integration test job at gate).

Change-Id: I96ddffd03063f0231876c83a2a1d6aa7bc8e89a3
2015-10-17 03:20:51 -07:00
mavinagi
faa6324280 Integration tests - Instances tests
Added instancespage based on the new regions.
test_instances checks the instance createion and deletion.

Few other modifications I've made:
* forms:
- removed "div >" from checkbox locator, to identify "default" checkbox in
  "launch_instance->Access & Security ->default"
*horizon.conf
- Added [launch_instances] to include instances attributes from config file
*config
- Added InstancesGroup to include [launch_instances] from horizon.conf

Partially implements blueprint: integration-tests-hardening

Change-Id: I7d58a970fd36ff86021f3f050c5d01586a26599c
2015-10-17 07:44:09 +00:00
Timur Sufiev
d25d4d2b0d Do not match table actions by ordering in integration tests
Instead of this match them by action <a> tag's id, which is composed:
* from table name, fixed part and action name for table-level actions and
* from row id, fixed part and action name for row-level actions.

Doing so may make action names in page objects less readable as they
have to be the same as real object name (which are rather terse).

Implements blueprint: integration-tests-hardening
Change-Id: I3f92ef4cfd098d080199350cbf5e6061aa050907
2015-10-17 07:43:16 +00:00
Jenkins
f6436bbefd Merge "Add correct license for simple modal" 2015-10-16 23:13:45 +00:00
Jenkins
7bcb859ee7 Merge "Prevent the click loss at navbar accordion in integration tests" 2015-10-16 23:13:28 +00:00
Jenkins
7af79e491a Merge "Add API for getting Cinder Extensions" 2015-10-16 22:33:18 +00:00
Jenkins
3c1d41c9ee Merge "Upgraded eslint rule libraries." 2015-10-16 22:33:01 +00:00
Jenkins
ea1e665946 Merge "respect webroot setting in containers table" 2015-10-16 22:06:08 +00:00
Jenkins
182077b680 Merge "Imported Translations from Zanata" 2015-10-16 22:01:11 +00:00
Jenkins
b9c588309c Merge "Updated from global requirements" 2015-10-16 19:56:34 +00:00
Jenkins
fab9f1e174 Merge "Wait until the success message popup disappears before proceeding" 2015-10-16 16:50:22 +00:00
Jenkins
40b727bcfd Merge "Horizon styles should use vendor prefix mixins" 2015-10-16 14:27:56 +00:00
OpenStack Proposal Bot
c5240a1076 Updated from global requirements
Change-Id: I8b42844854b7e82d0886a1697225b255efee0ba3
2015-10-16 14:18:34 +00:00
Timur Sufiev
4c2bd81364 Prevent the click loss at navbar accordion in integration tests
Simplify code for handling the navbar in integration tests, replace
the loop with explicit waits for the menu items to receive the proper
classes (which mark collapsed/expanded/in-transit states). Besides
fixing intermittent failures this also clarifies the overall logic.

Change-Id: I7a58a59be66264ce6e3c05f78033961954f0c553
Closes-Bug: #1505320
2015-10-16 17:05:27 +03:00
Michael Krotscheck
d7ef2b34bf Upgraded eslint rule libraries.
The newer version of eslint comes with somewhat stricter rules
about indentation and whitespace, so some files have been
adjusted to accomodate.

The newer version of eslint-config-openstack includes a relaxed
version requirement for eslint, as well as a switch/case
indentation update.

The newer version of the angular eslint rules includes a
deprecation rule for $cookieStorage, which has been set to
warning.

Change-Id: Id201a42e3ab484222f938a541507df2e96da2dcf
Partially-Implements: blueprint jscs-cleanup
2015-10-16 06:34:25 -07:00
Jenkins
dbe10c5ea7 Merge "Add optional Report Bug link to Horizon" 2015-10-16 08:36:12 +00:00
Matthias Runge
6999c38a4c Remove models.py from tutorial
It's not needed or used, thus confusing.

Change-Id: Ia3596d800cbd0eea10fb9872cba692f1ec0a34c3
2015-10-16 08:50:41 +02:00
OpenStack Proposal Bot
cb9b0f270e Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ibfc5b1830610ad4e91abcb653fbb2b318786dc1e
2015-10-16 06:05:17 +00:00
Jenkins
faea2a4170 Merge "caret button shouldn't be disabled" 2015-10-15 21:15:39 +00:00
Jenkins
f7f2d4530c Merge "Dump browser log on integration test failure" 2015-10-15 21:15:22 +00:00
Jenkins
7143125e72 Merge "Merge tag '8.0.0'" 2015-10-15 21:10:39 +00:00
Thai Tran
75d47be916 Add correct license for simple modal
Somewhere along the way, the license for simple modal was mishandled.
This patch corrects  it. I am the original author of simple modal.

Change-Id: Ieb4389cfce28f26f85d47aba09da3373d3346f6d
Closes-Bug: #1506565
2015-10-15 10:02:04 -07:00
Jenkins
f68eb50e49 Merge "Made error fields in ng launch instance workflow more visible" 2015-10-15 16:43:10 +00:00
Jenkins
294c61ccee Merge "Add test coverage for auth_type 'credential'" 2015-10-15 16:38:16 +00:00
lawrancejing
3e675d5ed3 Port admin metering tests to Python 3
Replace json with oslo_serialization

Change-Id: I065bf68b55fca28481ae760dc4e9ba3c5822c3e0
Partial-Implements: blueprint porting-python3
2015-10-15 14:32:25 +00:00
OpenStack Proposal Bot
a7a85333d5 Horizon 8.0.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABCAAGBQJWH445AAoJEFB6+JAlsQQjtzIP+gLlC/2Syj0WdFguNR5Z1jf4
 wG/VxZkMYHbji6a119Q2F7XFinFvMlXFPeZ9P4ZnzCG+2xNBX+yeWV+8I9Mx3NFL
 WSndjpASWoPn9zK/XO+6JBCA7e+FuRlN1iIQx77wUCclauSLIaJ/nPFMkVBBkulU
 Jb1p4E/W44JOIKaFL493abilQqkDhObOuLi0jwCRXwiSG/lpG0oYOhoW36WByAyq
 yRDvzY5YKq+09DxZg8wMEYXWNa8KCZ5kWzGoruvE8qdSP4qssW3j/S0cN6XkAIs5
 K03dXWUAjkfZEojCX+9nPalLZjVBgehh+g2rdEF5HNJG7jpfk2oFu/8UpcK2jyYk
 uEw5O/pdXnZWjZZ9m/eSsRmshiEsA4v1LTB/lIn4JHCEzFhkxaGmRQhkY5KmV19e
 5i8NbONijyq6IKlDsYirnWrKYiBS+UCMBexDqT7Y/tb/3WMvGtiCY1o6xBwLCLzg
 3PvdnPKLB7Q94guc+IeoEi6UfYAQUk6aFOf4slcgm9WSp9LVW46qe7NoCAis9k+O
 do6tgHdXIOFOjNxLEvjrE5mrrsFakxcNBguWWwW7fboYV+kYDw4AVtKeIwapg0mm
 iKCgIWDDvYlZWIKryK0NwuPReh7vGU3ZehzhCGK3clfbgsweoKvXdhL0IS094FWH
 oWxN6sfeUgZjUypW1VVH
 =pkAw
 -----END PGP SIGNATURE-----

Merge tag '8.0.0'

This is a null-merge of the 8.0.0 release tag back into the master
branch so that the 8.0.0 tag will appear in the git commit history of
the master branch. It contains no actual changes to the master branch,
regardless of how our code review system's UI represents it. Please
ask in #openstack-infra if you have any questions, and otherwise try
to merge this as quickly as possible to avoid later conflicts on the
master branch.

Change-Id: I9e345994ed5c26792b86809000161a5384eaea28
2015-10-15 11:30:24 +00:00
Jenkins
d8aaa41b91 Merge "Show Image ID on Instance Overview" 2015-10-15 10:00:12 +00:00
Jenkins
7ba8c692da Merge "Default Sidebar should grow with page height" 2015-10-15 09:32:53 +00:00
Matthias Runge
1296707d37 respect webroot setting in containers table
Change-Id: I847b8e4589a7b3122bb23431f1d88038dc10ae6c
Closes-Bug: #1505976
2015-10-15 08:11:52 +02:00
OpenStack Proposal Bot
059e2a9f7b Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Iac69b143a03be6893cf9eee6f1f8df278e5087dc
2015-10-15 06:07:22 +00:00
Shaoquan Chen
f6c30888dd caret button shouldn't be disabled
Currently, in action dropdown menu with split-button, when the action
disabled, the caret button is disabled as well, this cause it's
impossible to interact with other actions in the dropdown. Caret button
should be always enabled.

Change-Id: Iff9ddfe4172d10e8550b535666d9638ce7638b0f
Closes-Bug: #1505863
2015-10-14 19:37:54 -07:00
Jenkins
c70ffe0e32 Merge "Missing translate in dropdown caret button" 2015-10-15 01:48:58 +00:00
Timur Sufiev
56b2fd8914 Wait until the success message popup disappears before proceeding
It seems that integration test runner became faster (forgive me
Jenkins, I was unfair to you, initially thinking that the error was
caused by your slowdown!). In times before October 7, 2015 the
auto-fading success message faded away before next actions were taken
by the test. After this date, tests started to manage (in some cases)
to click the 'Delete Xs' button that was right under the success
message before the message was gone. This effectively dismissed the
message and stole the click from button. The situation was worsened by
the fact that at the time the failure screenshot was made, a message
was already gone, leaving no evidence. Once this case was uncovered,
the solution was easy: to wait until the message disappears (combining
waiting for spinner and the message into a single function), then take
further actions.

Change-Id: I4f5743abbb3cc00852df4647fee0c68b70131833
Partial-Bug: #1505320
2015-10-14 15:04:11 -07:00