8528 Commits

Author SHA1 Message Date
Vlad Okhrimenko
274921e8b4 Drop QUnit JS tests in favor of Jasmine
Add `Instance`, `Tables`, `Templates`, `Messages`,
`Modals` Jasmine tests. Removed corresponding `Qunit`
javascript tests and dependencies on qunit library.

Partial-Bug: #1475387
Implements: blueprint replace-qunit-tests-with-jasmine
Change-Id: Ia415b65fb7b6299934c99e62a8c1f7225b93b03b
2015-08-27 13:09:00 +00:00
Jenkins
8ede6555af Merge "Cleaning up the Transfer Table" 2015-08-27 12:52:57 +00:00
Jenkins
47c8a18e78 Merge "Revert "Fix broken header dropdowns"" 2015-08-27 12:46:44 +00:00
Jenkins
d91ae7109a Merge "Move i18n to HTML for launch-instance source step" 2015-08-27 09:23:52 +00:00
Jenkins
d7016d6b51 Merge "Fixed alignment issues in create firewall" 2015-08-26 19:51:41 +00:00
Jenkins
ee36409046 Merge "Imported Translations from Transifex" 2015-08-26 19:45:51 +00:00
David Lyle
ef89281471 Revert "Fix broken header dropdowns"
This reverts commit 59a183aed82552462bb814fc13abb1f0217bca03.

With 0.11 this causes every <a data-toggle="dropdown"></a> to 
require 2 clicks for opening - first click selects it, second opens.

There is not even a package for XStatic-Angular-Bootstrap 0.13 yet. 
This patch either needs to be compatible with 0.11 and 0.13, or we 
need a new 0.13 package and update global-requirements lower end 
cap on it.

Change-Id: I853f14a813b68faa57b3751fff8486e37c3014a5
2015-08-26 18:10:21 +00:00
Jenkins
976776a46e Merge "Fix broken header dropdowns" 2015-08-26 13:48:12 +00:00
Jenkins
37d2d39ec1 Merge "Modify the pagination message to show total count" 2015-08-26 13:47:31 +00:00
Jenkins
8c1601bd45 Merge "Angular metadata update modal" 2015-08-26 07:48:05 +00:00
Jenkins
b1eab57e4d Merge "Correct local_settings example from overwriting settings" 2015-08-26 07:38:01 +00:00
OpenStack Proposal Bot
a7039d3929 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ie57f3b2f4943d4f726b14f235ad4b81e721fc530
2015-08-26 06:25:56 +00:00
Jenkins
22fe26d66e Merge "Document OPENSTACK_KEYSTONE_ADMIN_ROLES" 2015-08-26 03:11:33 +00:00
Paul Karikh
59a183aed8 Fix broken header dropdowns
Dropdowns in header are broken with angular-ui bootstrap v. 0.13.
This patch makes them work again.

Change-Id: I35d3087e22e2a29eb7630f73b4f7e6fa71ed2450
Closes-Bug: #1466146
2015-08-26 12:19:45 +10:00
Jenkins
7f69f3f2cf Merge "Fix a few typos" 2015-08-25 20:19:14 +00:00
Szymon Wroblewski
f030262521 Angular metadata update modal
This patch adds metadata update modal dialog widet written in js
and some required REST API methods.

To see it in action checkout following patch
https://review.openstack.org/#/c/184275/
which replaces old metadata modals with new ones written in angular.

Co-Authored-By: Shaoquan Chen <sean.chen2@hp.com>
Co-Authored-By: Rajat Vig <rajatv@thoughtworks.com>

Partially-Implements: blueprint angularize-metadata-update-modals
Change-Id: I36bfb91f8b6bbba49fed6bb01cd1dd266261cfdb
2015-08-25 15:20:47 +02:00
Jenkins
ab659d20e0 Merge "Refactor angular cloud services utilities" 2015-08-25 13:08:51 +00:00
Jenkins
98b567e41e Merge "Integration tests no longer rely on entities' display names in tables" 2015-08-25 13:07:29 +00:00
Jenkins
4156af87b9 Merge "Added karma threshold reporting & failure" 2015-08-25 12:43:03 +00:00
Jenkins
3cee2d0841 Merge "Imported Translations from Transifex" 2015-08-25 12:42:18 +00:00
Jenkins
9730e0dda8 Merge "Populate volume/volume_snapshot status without current status" 2015-08-25 10:49:36 +00:00
Jenkins
bd9e910c68 Merge "Only insert "Any Availability Zone" if there are more than one AZs." 2015-08-25 09:50:37 +00:00
Rob Cresswell
c7df485631 Move i18n to HTML for launch-instance source step
We should clean out old gettext and move them into HTML files.
This bug addresses the move to launch-instance source step.

Change-Id: Ib7dd0880949e980994464aa18cc3a2e8f224fe58
Partial-Bug: #1487582
2015-08-25 08:32:57 +00:00
OpenStack Proposal Bot
2468d38cc3 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If4b600e15f231c1488aa95fdebbdc884c194be0f
2015-08-25 06:12:09 +00:00
Jenkins
0d057f9fc5 Merge "Use the JP Style Guide for OpenStack Services" 2015-08-25 05:49:08 +00:00
jingliuqing
05072672e0 Populate volume/volume_snapshot status without current status
It includes current status of volume/volume_snapshot while update
status, the patch populate volume/volume_snapshot status without
current status.

Change-Id: I3a9310a551023b7d58627e8d7d31582a2a21516f
Closes-Bug: 1464946
2015-08-25 12:27:51 +08:00
Jenkins
5735aa4e45 Merge "Moving translation to HTML for launch-instance flavor step" 2015-08-25 04:20:13 +00:00
Jenkins
b2a323b14f Merge "Moving inline html code out of action-list.spec.js" 2015-08-25 03:08:58 +00:00
Jenkins
d8bbdd19d4 Merge "Reduce the chance of Selenium timeouts in integration tests" 2015-08-25 02:56:28 +00:00
Takashi NATSUME
6f573aacb4 Fix a few typos
a instance => an instance
intance => instance
suceed => succeed

Change-Id: Ifd322a65aab9654f2eb70629c918f87bff04a230
2015-08-25 11:19:29 +09:00
Jenkins
a80e63f14c Merge "Stop using naturalSort in hypervisors table" 2015-08-25 01:37:31 +00:00
David Lyle
03b40d96f8 Document OPENSTACK_KEYSTONE_ADMIN_ROLES
OPENSTACK_KEYSTONE_ADMIN_ROLES was added in Kilo and used by
django_openstack_auth. However, it was never documented. Adding now.

Closes-Bug: #1488154
Change-Id: I0ba4e15677d62e1176dc51456b1e2728640149e9
2015-08-24 18:13:09 -06:00
Rajat Vig
28d99113b8 Use the JP Style Guide for OpenStack Services
Use the Service style as documented in
https://github.com/johnpapa/angular-styleguide#style-y052

Fix a eslint error on security-group.service.spec.js
Changes API Services from Angular service to factory.

Change-Id: I76ef729e51878d67c355d1edc774d936038d7f62
Partially-Implements: blueprint john-papa-style-guide
Partially-Implements: blueprint jscs-cleanup
2015-08-24 18:31:20 +00:00
Cindy Lu
b9479cda3a Moving translation to HTML for launch-instance flavor step
We should clean out old gettext and move them into HTML files.
This bug addresses the move to launch-instance flavor step.

Change-Id: I21deb068a334f162fab7d3442ed5817dca86ac30
Partial-Bug: #1487582
2015-08-24 18:18:29 +00:00
Ying Zuo
7179ee286a Only insert "Any Availability Zone" if there are more than one AZs.
Change-Id: Ic1c1cd5bf8ef83ab969c6b13513fa542987271c8
Closes-Bug: #1488172
2015-08-24 17:26:55 +00:00
Shaoquan Chen
2435f1b3f9 Moving inline html code out of action-list.spec.js
Currently there are some html code for test hard-coded inside of spec.js
file. It would be much better to move them out to separate html file for
better readability, cleaner spec code. This will also enable the sharing
html mock code between specs.

This patch moves inline html code out of action-list.spec.js.

Change-Id: Id05fbf3948fad3926cc3ecc09e0c95acc84ce41e
Partial-Bug: #1485134
2015-08-24 10:00:53 -07:00
Darren Shaw
ac558f5500 Correct local_settings example from overwriting settings
Currently, local_settings.py.example redefines HORIZON_CONFIG
(previously defined in settings.py). This adds to confusion as to
where proper definitions and modifications should be made.
This change ensures that only modifications of HORIZON_CONFIG
are made within local_settings.py.example and defining of
HORIZON_CONFIG is left in settings.py.

-added importing of HORIZON_CONFIG from settings

-corrected portion that was redefining HORIZON_CONFIG

-left the modal_backdrop = static change that was
occuring in the redefition in local_settings to
that of a modification and commented out to serve
as an example (conforms to usual pattern)

-migrated the default for 'modal_backdrop'
into settings.py

Change-Id: I7ddeee82258f6c871ff77e1bc03115c2adbf618e
Closes-Bug: #1472687
2015-08-24 10:14:52 -05:00
Jenkins
ef1d49e086 Merge "Remove _40_router.py.example file" 2015-08-24 07:34:01 +00:00
Timur Sufiev
ce53171d18 Integration tests no longer rely on entities' display names in tables
Avoid this because display names can be truncated (UX feature) and
that makes integration tests fragile. Instead for the cells which
have truncated contents store original contents in 'data-selenium'
attribute and check this attribute first in tests.

Implements blueprint: integration-tests-hardening

Change-Id: I5df9db5131fb8d38829a448cc8ecf8001ef26862
2015-08-23 04:28:00 -07:00
OpenStack Proposal Bot
9ab3eeab56 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If64cb44dfd8730583d1f135d60cd56e35d9d2240
2015-08-23 06:12:58 +00:00
Jenkins
66f46c38e9 Merge "Imported Translations from Transifex" 2015-08-22 19:03:23 +00:00
Jenkins
33afd8d676 Merge "py3: don't call .sort() of dict.values()" 2015-08-22 18:37:03 +00:00
Jenkins
754d9fdbb4 Merge "NG Images Index Header Translation" 2015-08-22 17:43:01 +00:00
Jenkins
5afae81949 Merge "Remove key-pair-details.html duplicate" 2015-08-22 17:42:49 +00:00
Jenkins
ec5a224334 Merge "Get simple modal working again" 2015-08-22 17:38:38 +00:00
Jenkins
52c83b57d5 Merge "Moving inline html out of table.spec.js & search-bar.spec.js" 2015-08-22 17:34:46 +00:00
Jenkins
4d1381a46e Merge "VIP IP adress help content" 2015-08-22 15:21:02 +00:00
Jenkins
aa72f31ff6 Merge "Address deprecated templatetags in Django 1.7" 2015-08-22 13:09:59 +00:00
Jenkins
5c80404809 Merge "Use form field errors on create key pair form" 2015-08-22 12:16:12 +00:00
Jenkins
0dc7116e5b Merge "Port last test to Python 3" 2015-08-22 08:56:28 +00:00