9912 Commits

Author SHA1 Message Date
Diana Whitten
0bfca75f45 Context Picker should inherit BS dropdown styles
The first step in the dynamic theme effort requires that the context
selection picker inherit properly from a dropdown menu, so that the
styles can be shared and the experience is matched.

Dynamic themes will use the 'select' experience of the context menu
but from within the user menu, so it was necessary to match the
experiences to minimize duplicated code.

The style of the context menu was extremely dependant on DOM structure
and therefore difficult to customize. This has been simplified by using
classes and attempting to keep specificity as low as possible.

Change-Id: Idb9e8f5c1d246688418f68e12fb53f094c01ea34
Partially-implements: blueprint horizon-dynamic-theme
Partially-Implements: blueprint bootstrap-html-standards
2016-02-10 04:23:15 +00:00
Jenkins
4493ade2f0 Merge "Set proper z-index value on messages and navbar" 2016-02-10 02:01:59 +00:00
Jenkins
55465adb32 Merge "Port identity provider dashboard to Python 3" 2016-02-10 02:01:41 +00:00
Jenkins
2d82bf4b4c Merge "Port dashboard containers to Python 3" 2016-02-10 02:01:22 +00:00
Jenkins
99d1d2ade8 Merge "Imported Translations from Zanata" 2016-02-10 02:01:05 +00:00
Jenkins
ebc486941e Merge "Integration tests naming sanity" 2016-02-10 02:00:47 +00:00
Jenkins
c13c98bdc0 Merge ""Required" fields are no longer visually indicated" 2016-02-10 01:57:29 +00:00
Jenkins
3faadcdd44 Merge "Obey Naming Conventions for Angular Images Panel Services/Controllers" 2016-02-09 22:28:27 +00:00
Jenkins
2cb99afeec Merge "Add status 'N/A' in Port tables" 2016-02-09 21:08:01 +00:00
Diana Whitten
14827ad93b "Required" fields are no longer visually indicated
During a refactor, the required field asterisk was unintentionally
removed from some of hte workflows (those not using _workflow.html).
This has been fixed, and now both implementations are making use of
the same template, alleviating dual maintenance in the future.

Closes-bug: #1543717

Change-Id: Ia8672e1e62b077c91c364bc62e16ee36625bda20
2016-02-09 11:51:34 -07:00
Timur Sufiev
d1be65af6a Integration tests naming sanity
Group integration tests into python files which are named using the
same pattern: test_<entity_being_tested>s.py

Change-Id: I3504ae3952ef55d3059b9891c74ddceb7e6a92ce
2016-02-09 21:14:37 +03:00
Victor Stinner
68de571097 Port identity provider dashboard to Python 3
* Fix usage of Mapping() of keystoneclient.v3.contrib.federation:
  pass a manager instance, not a manager class.
* Simplify DataTable.get_object_display().
* tox.ini: add identity_providers to Python 3.4.

Co-Authored-By: Timur Sufiev <tsufiev@mirantis.com>
Closes-Bug: 1543073
Partial-Implements: blueprint porting-python3
Change-Id: I066359734624023b3f3776e8dbd54237d298e455
2016-02-09 10:29:06 +01:00
Jenkins
de3ae40fb5 Merge "Add Magic Search Filtering to NG Flavors" 2016-02-09 07:17:08 +00:00
OpenStack Proposal Bot
146c59771e Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ifb8c5e83c45f5f7a1243da90976d17ca823b10a8
2016-02-09 06:18:09 +00:00
Jenkins
2f2f25bdec Merge "Truncate image name in admin/images table" 2016-02-09 06:17:55 +00:00
Jenkins
b77e3aee65 Merge "Use OS::Nova::Server resource type for instance metadata" 2016-02-09 05:37:49 +00:00
Jenkins
64001b67ae Merge "Fix Create Image angularjs code" 2016-02-09 04:12:01 +00:00
Jenkins
f51800b57c Merge "Modify update user info from pencil icon in keystone v2" 2016-02-09 03:24:53 +00:00
Jenkins
d8cfd633b4 Merge "Material theme icon not showing for inline edit close" 2016-02-08 23:09:06 +00:00
Jenkins
e2550c8c8f Merge "Updating JS unit test coverage threshold" 2016-02-08 23:07:05 +00:00
Richard Jones
50a868094f Fix Create Image angularjs code
This code intended to allow pre-filling of the form values through
Django's handling of GET parameters, but it did not do so as the
code was incorrect. This was not previously noticed as the angularjs
code wasn't actually being executed. Once it was, it broke. Ironic,
I know.

Change-Id: I8d641de9246fd4f43c96bf85d47bb648f4401def
Closes-Bug: 1503396
2016-02-09 09:54:40 +11:00
Jenkins
e04370cfeb Merge "Add test for create/delete image under Admin user" 2016-02-08 21:56:13 +00:00
Jenkins
67e6de3d04 Merge "Support docker image type in ng launch instance wizard" 2016-02-08 20:54:14 +00:00
Jenkins
a56fd8cddc Merge "Follow-up patch of bug: #1527457" 2016-02-08 19:35:31 +00:00
Jenkins
bfa1f64a4b Merge "Make Port Details VNIC type translatable" 2016-02-08 19:32:58 +00:00
Jenkins
dfc85c7dec Merge "Integration tests - networkspage and test" 2016-02-08 16:00:53 +00:00
Matt Thompson
3c2f373a61 Truncate image name in admin/images table
If you view /admin/images and /project/images, you will see that a long
image name is truncated in /project/images but not /admin/images.  This
commit updates openstack_dashboard/dashboards/admin/images/tables.py to
truncate the displayed image name to 40 characters, as is currently
being done in
openstack_dashboard/dashboards/project/images/images/tables.py.

Change-Id: I68ac044ae57550284d833ad0433b091595819530
2016-02-08 15:42:42 +00:00
Jenkins
50051ff83b Merge "Imported Translations from Zanata" 2016-02-08 15:02:18 +00:00
dkorn
91c385d0b3 Integration tests - networkspage and test
Added the networkspage based on the new regions. The method
test_network_create uses the new page navigation and checks basic
private network creation and deletion.

A few other modifications being made:
* horizon.conf:
  * the network section, containing network_cidr, The cidr block to
    allocate tenant ipv4 subnets from, same as in tempest.conf
  * added neutron to service_available section
* config.py:
  * 'network_cidr' under the new NetworkGroup
  * 'neutron' under AvailableServiceGroup, default=True

Implements blueprint: horizon-integration-tests-coverage
Co-Authored-By: Timur Sufiev <tsufiev@mirantis.com>
Change-Id: Ia4a499bc93ac79aaf03c291c7bdbc96ccea93351
2016-02-08 14:32:36 +00:00
Jenkins
8f459658e6 Merge "Merge the two webdrivers" 2016-02-08 14:28:56 +00:00
Jenkins
1a03ea2a6c Merge "Add snapshots integration tests" 2016-02-08 14:20:55 +00:00
Jenkins
ee3f3ad107 Merge "Fix i9n tests pluggable nav structure" 2016-02-08 14:20:33 +00:00
Jenkins
d37270189b Merge "[Django 1.9] Stop using django.utils.importlib" 2016-02-08 13:48:55 +00:00
Alexander Koryagin
283dab16e7 Add test for create/delete image under Admin user
Implements blueprint: horizon-integration-tests-coverage
Change-Id: Ic664d7a21c3da53c72dd20a70e469923957b212c
2016-02-08 13:12:51 +03:00
Itxaka
ae0a7039b3 Make Port Details VNIC type translatable
Port Details VNIC type value was not translatable.

Change-Id: I64e16adfa8ebf08fcc81a5648f8b0a0f4404c344
Closes-Bug: #1462484
2016-02-08 07:02:52 +00:00
OpenStack Proposal Bot
0b210a90a0 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ie909d2b32c26bd22e16e0e3bcc5d97fd380f953c
2016-02-08 06:46:29 +00:00
Kenji Ishii
ad6c1410e6 Follow-up patch of bug: #1527457
The patch below was merged before addressing some comments from Akihiro.
https://review.openstack.org/#/c/259283/6
This patch will address them.

Change-Id: Iaf2aec3265a9f075f434ad5bce8ee6a2e3dd5fc5
Related-Bug: #1527457
2016-02-08 01:11:19 +00:00
kenji-ishii
6beefb3726 Modify update user info from pencil icon in keystone v2
When we update the user info from pencil icon in User List,
data doesn't have 'project' attribute.
Therefore, date.pop('project') failed and exception occur.

The v2 API updates user model and default project separately.
And in User List, operator don't need to consider if a user
have a default tenant.
So we should check if data has a 'project' attribute and
if data has no 'project' attribute, it will update only user info.

Change-Id: I979bedeb8ddb15d3f7f171660ec9df4875edb53a
Closes-Bug: #1523343
2016-02-08 00:30:14 +00:00
Diana Whitten
4b5886d276 Branding: Nav icon spacing should use css
The padding around the Top Nav Bar's Dropdown Icons have been done
with actual text spaces, instead of relying on padding that is set
via css. This makes it very difficult to customize the padding
around these elements at a global level.

Some contextual classes have been added for ease of branding-level
customization.

Change-Id: I6768135351637db8a950a4b44366880817ce2df3
Closes-bug: #1537608
2016-02-07 16:50:36 +00:00
Jenkins
c6f75a224d Merge "Branding: Context selector delim should be icon" 2016-02-06 21:03:07 +00:00
Jenkins
0ab863e965 Merge "Removing container ID element" 2016-02-06 10:57:04 +00:00
Jenkins
0a869011a3 Merge "Add test_images_pagination()" 2016-02-06 09:30:04 +00:00
Jenkins
de386af257 Merge "Add Network Port selection to instance launch" 2016-02-06 09:05:04 +00:00
Rajat Vig
f8db5e5064 Add Magic Search Filtering to NG Flavors
This adds magic search filtering to the NG Flavors table.

To test set DISABLED = False in _2081_admin_flavors_panel.py

Change-Id: I6e64c0122fdb2d48c9c94ca11fa43ac6fe23c602
Partially-Implements: blueprint ng-flavors
(cherry picked from commit e1bf99d05153b39b9f1f0ad46cce15938af3b356)
2016-02-06 07:17:34 +00:00
Rajat Vig
cf123cebc6 Obey Naming Conventions for Angular Images Panel Services/Controllers
This is based off the discussion in the mailing list about
how to name Angular Services and controllers.

To test set DISABLED = False in _1051_project_ng_images_panel.py

Change-Id: Ib16d7e23f2e415a0521d24afb0cf548be847543a
Partially-Implements: blueprint angularize-images-table
2016-02-05 23:15:10 -08:00
AlexandraAllakhverdieva
600a67301d Add test_images_pagination()
Test for images pagination has been added.
Changes of TableRegion class:
1) Locators of 'Next' and 'Prev' links are added
2) Methods is_next_link_available() and is_prev_link_available()
3) Methods for pages navigation added: next_page() and prev_page()a
4) update assert_definition method to have list instead of srt for
'Names' key
5) change 'next' locator
6) Minor changes: remove unused class,
rename next_page/prev_page methods

Implements blueprint: horizon-integration-tests-coverage
Change-Id: Ibaf9dd02a06cf9d945bc9b894394695512a934b9
2016-02-06 06:51:23 +00:00
Jenkins
d1c6ad8829 Merge "Delete some deprecated codes" 2016-02-06 06:29:38 +00:00
Jenkins
7daf2b7cef Merge "Fixes reference to css for domain and region" 2016-02-06 06:29:20 +00:00
Jenkins
4fefd961a1 Merge "api cinder volume_migrate wrong number of params" 2016-02-06 06:25:38 +00:00
Jenkins
ac5eb3bc88 Merge "Add Create Volume Action for the Image" 2016-02-06 04:39:26 +00:00