12536 Commits

Author SHA1 Message Date
wei.ying
fa3528933c Delete instance,volume,etc confirmation is missing name or ID
If click the name link and go into the details page for the instance, volume, etc.
And attempt to delete. It will pop up a message, but omit the name/id.
Need to add the property of 'data-display' in detail page.

Change-Id: I9c1966dc7942a27903237e2786edbcd2fbd936ea
Closes-Bug: #1680329
2017-04-07 22:58:50 +00:00
Jenkins
24a4905f5e Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
Jenkins
4855834355 Merge "Add sem-ver flag so pbr generates correct version" 2017-04-05 16:50:25 +00:00
Emilien Macchi
4ea7bb5f0e Add sem-ver flag so pbr generates correct version
tl;dr : without this Ocata and Pike have the same version causing
packaging issues.


https://docs.openstack.org/developer/pbr/#version

Because projects don't push a tag before milestone 1 (pike-1 here),
downstream packages are still building packages by using the version
from Ocata and it causes problems to distros because they can't test
the upgrades from Ocata to Pike.

Bumping the semver will allow us to test packages upgrades.
Note: When your version is X.Y.Z, api-break will bump X, and feature
will bump Y. In this patch, we bump X because this is the way you
bump tags over releases.


Change-Id: I92b35a6666ec795689b4843bd83b7a038743aa14
Sem-Ver: api-break
2017-04-05 11:46:15 +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
fcd2e212f5 Merge "Change a behavior of more actions dropdown" 2017-03-30 13:23:57 +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
Akihiro Motoki
343cbd19b5 Revert "Add the 'fade' class to Python modals, for animation"
After this commit, "Add Rule" in security group panel is not
setup properly and only a few fields are displayed.
I haven't identified the root cause but it looks better to
revert this commit and tackle the original problem again.

This reverts commit 8be1ec5e706b07b47f13b8c97c70327b25b09552.

Change-Id: I266484da68dd355082144889699dda299ab9f997
Closes-Bug: #1677064
Related-Bug: #1669450
2017-03-28 23:44:22 +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
Jenkins
2f8e2b7be9 Merge "Enable warning-on-error in Sphinx 1.5" 2017-03-27 08:29:41 +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
Akihiro Motoki
cc04439da4 Enable warning-on-error in Sphinx 1.5
warning-on-error option is avaialble in sphinx setup command integration
since Sphinx 1.5 [0]. This is useful to prevent future warnings.
Note that there is no sphinx error or warning in the current
horizon code base :)

Also renames 'all_files' to 'all-files' in [build_sphinx] section
as this is the actual option name defined in sphinx [0].
The underscore version 'all_files' also works as pbr
handles it properly, but we use hyphen version for sphinx options,
so the consistent usage is less confusing.

[0] https://github.com/sphinx-doc/sphinx/blob/1.5.3/sphinx/setup_command.py#L69

Change-Id: Ic9d1b0e4db30891c694537d43d7f7a51ff92be49
2017-03-27 05:34:52 +09:00
Jenkins
93c79072ce Merge "doc: Document py27 test target" 2017-03-25 19:28:35 +00:00
Jenkins
bbbb067757 Merge "Remove py34 in tox.ini" 2017-03-25 18:25:15 +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
1894b7df3a Merge "Clarify message if key file has wrong permissions" 2017-03-24 20:41:32 +00:00
jolie
818fde464d Remove py34 in tox.ini
Change-Id: Ibbdb57ab3a60008e4d8abb22f41a9cd421be1b7e
2017-03-24 20:39:13 +00:00
Jenkins
e280fc812c Merge "Fix the bug in 'Delete Extra Spec'" 2017-03-24 20:18:49 +00:00
Akihiro Motoki
5e72b2b241 doc: Document py27 test target
Previously we mentioned py27djXX but py27 was not described.

Also add how to run a specific test class or a specific test
in a test class.

Change-Id: If442c29c0fcd9bef207cbda7212a8f1c4b8340d4
2017-03-24 20:15:40 +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