7834 Commits

Author SHA1 Message Date
Jenkins
24a4905f5e Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
Jenkins
21b25ed773 Merge "Update the access_and_security url" 2017-04-05 09:48:52 +00:00
zhurong
b1a9078404 Update the access_and_security url
Since this bp reorganise-access-and-security,
move access_and_security to separate panel,
there are some places url need to change too.

Closes-Bug: #1679895

Change-Id: I59560c479ad77d2452484b2138065a003451f376
2017-04-05 03:33:50 +00:00
OpenStack Proposal Bot
e5b0b6ee11 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Iccc58a5cd4086217f1e6d14d4a433bbcbf8631d5
2017-04-04 09:02:03 +00:00
Jenkins
689be59b4f Merge "Fix incorrect window title in Manage security group rule" 2017-04-03 08:07:49 +00:00
Jenkins
eeabd927e1 Merge "Allow any port or protocol in security group rules" 2017-04-03 03:00:28 +00:00
Jenkins
6a74c7b328 Merge "Fix volume redirect url error" 2017-04-02 09:20:31 +00:00
Jenkins
a12e3abfb5 Merge "Remove unnecessary raise" 2017-04-01 08:41:00 +00:00
wei.ying
18267614e6 Fix volume redirect url error
There is an error in path of admin snapshot.
This patch corrects the redirect url.

Change-Id: I5dbc055a61290fbdd177a716e6df93efce412d4d
Closes-Bug: 1678361
2017-04-01 05:39:34 +00:00
wei.ying
b741fe48f7 Remove unnecessary raise
If exception arise, it will be raised and the following
code will not be executed.

Change-Id: I05eef22d6baeeeb616e44e2ab9c5fa2f4e14b8a4
Closes-Bug: 1678351
2017-04-01 02:10:59 +00:00
Jenkins
8d5eafc957 Merge "Handle log message interpolation by the logger" 2017-03-31 13:28:44 +00:00
Gábor Antal
34a3aa0ba8 Handle log message interpolation by the logger
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages
Change-Id: I51f50935f1eeffe4960562d6309dfdf05814e595
Closes-Bug: #1596829
2017-03-31 20:59:16 +09:00
Kenji Ishii
76bdf040cc Fix incorrect window title in Manage security group rule
As far as I see, here is only the place missing the
correct title before "- OpenStack Dashboard"

Change-Id: I209a2b829ff4b66557a63f3659859a7b281ad629
Closes-Bug: #1677973
2017-03-31 06:59:44 +00:00
Jenkins
777e819597 Merge "Enable breadcrumbs for AngularIndexView" 2017-03-30 21:30:18 +00:00
Jenkins
c230569297 Merge "Add Microversion support to Horizon" 2017-03-30 21:29:26 +00:00
Jenkins
a1121b022f Merge "Option to specify MAC address of port" 2017-03-30 09:55:32 +00:00
Bence Romsics
6df617c94f Option to specify MAC address of port
Enable display and manipulation of the MAC address of a port.

That is:
(1) Display MAC addresses in the ports tab of the networks panel.
    Note: Port detail shows the MAC address with or without this patch.
(2) Allow input of MAC address at port create in both project and admin
    dashboards.
(3) Allow input of MAC address at port update in admin dashboard only
    because by default MAC update is an admin-only operation in neutron
    (though this can be changed by policy configuration).

Change-Id: I60fb4921f08286d90469cd420261c7e600f5bc7c
Partially-Implements: blueprint neutron-trunk-ui
Closes-Bug: #1667778
2017-03-30 09:02:30 +00:00
Shu Muto
21e3d07644 Enable breadcrumbs for AngularIndexView
This patch enables breadcrumb navigation for panels using
horizon.browsers.views.AngularIndexView.

Change-Id: If6d100472e61c1cb00e18c56e25300b45d8a7098
Needed-By: Iae5edc9d370fbda20889a043a2574bd034170881
2017-03-29 11:47:52 +01:00
OpenStack Proposal Bot
d7057eda4e Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ie902e1120f9530568264b40ababdbee8a16c237e
2017-03-29 09:21:56 +00:00
Jenkins
1e82305f18 Merge "Added Server-side filtering for swift UI" 2017-03-29 05:24:49 +00:00
Yves-Gwenael Bourhis
87337ff255 Allow any port or protocol in security group rules
Neutron allows setting port or protocol wildcard by not specifying any value
for them.

Example, these are allowed by neutron:

    neutron security-group-rule-create --direction egress <sgid>
    neutron security-group-rule-create --direction egress --protocol tcp <sgid>

Specifying '-1' for IP protocol means a wildcard IP protocol.
validate_ip_protocol is updated accordingly.

'All ports' choice is added to 'Open Port' field.

Change-Id: I4a7262eda89e3206c743fee14c78aa6b49308ce6
Closes-Bug: 1669467
2017-03-29 04:53:02 +00:00
OpenStack Proposal Bot
a3e28c1b6c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ifed1b5fc080927219b657a7cf4b0a4ce4849e3a9
2017-03-28 09:03:04 +00:00
Kenji Ishii
1f49ac5346 Sort service list in API Access
Currently, this order is the order of user.catalog_service and
this is not sorted. This patch sort that list by service type.

Change-Id: I7de8e6c349b947a960123d35c2c872a2e97ff72b
Closes-bug: #1676689
2017-03-28 02:06:49 +00:00
Jenkins
5f9e22f15b Merge "Change checking cinder v1 to check v2 in panels" 2017-03-27 22:04:38 +00:00
Lucas H. Xu
5ced2f87ef Change checking cinder v1 to check v2 in panels
In general, in the case where there is no cinder v1 endpoint created
(or deleted - use openstack service delete cinder to reproduce) certain
volume related menu entries are not displayed

This patch add a a new function to check cinder v2/v3 endpoints instead
of only checking the v1 endpoint in instance launch model.

Also, in the image panel, instead of checking v1 endpoint,
it should check v2 and v3 as well.

Change-Id: I642b2f62bb9502f958593c9fcad76e21ee1c80ad
Closes-Bug: #1670789
2017-03-27 16:29:14 -04:00
Rob Cresswell
24e52a8765 Add Microversion support to Horizon
This patch adds microversion support to Horizon, as well as
documentation, service references, tests and an example.

Implements: blueprint microversion-support
Change-Id: Ic5aa559dbc13aa84d8e4a14b68f26f5d84183fa9
2017-03-27 17:24:23 +02:00
Jenkins
39eea5ce22 Merge "Disable port input when protocol is any or icmp for firewall" 2017-03-27 09:03:48 +00:00
liyingjun
c23748cc26 Disable port input when protocol is any or icmp for firewall
There would be error if choose port with protocol icmp or any when
creating firewall rule. Disable port input when protocol is any
or icmp.

Change-Id: Ife971cfde418012e406b2ccd765792da005d6a9d
Closes-bug: #1663196
2017-03-27 14:09:58 +08:00
Jenkins
e3cd250a81 Merge "hacking: noqa cleanup in openstack_dashboard" 2017-03-27 05:11:18 +00:00
Jenkins
8738c6db72 Merge "Remove all remaining vendor specific code" 2017-03-27 05:11:11 +00:00
Jenkins
57b30f2ab4 Merge "Do not include HTML tags in blocktrans" 2017-03-27 03:33:51 +00:00
Jenkins
7f58276ca4 Merge "Use 'ID' rather 'id' to match our convention" 2017-03-25 17:43:07 +00:00
Akihiro Motoki
91d2f1ceaf Use 'ID' rather 'id' to match our convention
Filtering labels of VPNaaS table use 'id' rather 'ID'.
In horizon convetion, we use 'ID' instead.
This commit updates them to follow our convention.

Change-Id: Ibcbee5c8c2d1b3b3dd31d7a243809c341d9114a8
2017-03-25 15:00:02 +00:00
Akihiro Motoki
4e471a68a2 Do not include HTML tags in blocktrans
It is not a good idea to include HTML tags in blocktrans.
This confused translators and potentially leads to translation error.
In this case, there is no need to do so.

This commit moves HTML tags outside of blocktrans.

Change-Id: I6f45f1331de8fd5ca4b33f45b008f913dd325a13
2017-03-25 14:54:56 +00:00
OpenStack Proposal Bot
508e2590f8 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I11e00aa367a560dccefc575ec01a1f1fac1df480
2017-03-25 09:13:23 +00:00
Jenkins
e12db47064 Merge "Imported Translations from Zanata" 2017-03-24 20:43:52 +00:00
Jenkins
e280fc812c Merge "Fix the bug in 'Delete Extra Spec'" 2017-03-24 20:18:49 +00:00
OpenStack Proposal Bot
0fc690197b Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I14a22f7b68649db04c65c0576e8f875bf0c08103
2017-03-24 09:15:00 +00:00
space
2e30dca2bc Fix the bug in 'Delete Extra Spec'
The cause is that ID of a single object is passed as the argument
so we need to convert it into an array (iterable) so that delete the
volume_type's extra spec return success.

Change-Id: I7d2225e5497748faf20345fd2579c359fff9f3fb
Closes-Bug: #1643417
2017-03-23 21:31:20 -04:00
Luis Daniel Castellanos
bed34722f3 Add server filters to NGusers & enable filter first
This patch adds server side filters to current NG users panel
it also enables the filter first functionality

Look at:https://review.openstack.org/#/c/427794/

Partially-Implements: blueprint ng-users
Implements: blueprint admin-views-filter-first

Change-Id: If0a5e2b38b1076387fd4eb7ff2c01fadb06badc3
Depends-on: Ieeedffbc621291251d50e7d8f254d3ce4def896c
2017-03-23 14:08:25 +00:00
Jenkins
fb191ef812 Merge "Implement "FILTER_DATA_FIRST" in angular views" 2017-03-23 00:59:47 +00:00
Rob Cresswell
a8f17150bf Remove all remaining vendor specific code
There's some vendor specific code still lingering from several cycles
ago. This patch removes all usage of it, all related tests, and all
default settings.

Implements: blueprint horizon-vendor-split
Change-Id: Ic0bb84f547b07b130480e587bd365f6e7805dfb5
2017-03-22 20:23:12 +00:00
Jenkins
f084006845 Merge "New input field with validation: MACAddressField" 2017-03-22 17:30:42 +00:00
Luis Daniel Castellanos
89100d488b Implement "FILTER_DATA_FIRST" in angular views
This patch implements the FILTER_DATA_FIRST setting in angular views
specifically for the resource-table.
As a first approach this was implemented in NG admin > images.

To implement in other views, the following must be done:

- Add the FILTER_DATA_FIRST setting to the
  REST_API_ADDITIONAL_SETTINGS array in the local_settings.py file:
  REST_API_ADDITIONAL_SETTINGS = ['FILTER_DATA_FIRST']

- Enable the FILTER_DATA_FIRST setting:
  FILTER_DATA_FIRST = { 'admin.images': true }

P.S for this to work each panel must implement the check for the
setting accordingly.

Implements: blueprint admin-views-filter-first
(https://blueprints.launchpad.net/horizon/+spec/admin-views-filter-first)

Change-Id: Ieeedffbc621291251d50e7d8f254d3ce4def896c
2017-03-22 09:29:31 -05:00
Jenkins
da3abf8d0a Merge "get inappropriate information while failed to create host aggregates" 2017-03-22 11:31:47 +00:00
hanwei
09a9f97407 get inappropriate information while failed to create host aggregates
while creating a host aggregate named "test" with a host which belongs to
another host aggregate. I get error "Unable to create host aggregate
'Create Host Aggregate'." and "Error adding Hosts to the aggregate."
The name should be 'test' not 'Create Host Aggregate'. And the result is
that aggregate 'test' has been created successfully, so the return
information about creating aggregate should be successful.

Change-Id: I3acf9c659fc0cf7fbdac75bfa0864d8b92478cd2
Close-Bug: #1672914
2017-03-22 06:39:40 -04:00
Bence Romsics
9853a2edaa New input field with validation: MACAddressField
Plus refactor Allowed Address Pairs form to use it.

The new input field is introduced because a follow-up patch wants to use
MAC address input fields at multiple places and this seems more reusable
than a CharField with regex validation. This is also a bit more generic,
because it accepts multiple MAC address formats (all formats supported
by netaddr). Then normalize the MAC address to the most usual format.

Change-Id: Ie2cbfdfbfb46a50d71d325e42f7d614710c6df3b
Partially-Implements: blueprint neutron-trunk-ui
2017-03-22 18:57:30 +09:00
Jenkins
ccfa52fad1 Merge "Add charts to show volume quotas on Python launch instance modal" 2017-03-21 17:39:44 +00:00
Jenkins
f5d8808d0b Merge "Allow to specify port security when creating a port" 2017-03-21 04:41:45 +00:00
Jenkins
590071548d Merge "Use ThemableSelectWidget for themable" 2017-03-21 04:41:26 +00:00