13711 Commits

Author SHA1 Message Date
Zuul
c2bc6ccb06 Merge "doc: Move the note to an appropriate place" 2018-01-25 11:49:20 +00:00
Zuul
e499c08881 Merge "Improve exception message in network related Batch/DeleteAction" 2018-01-25 11:49:14 +00:00
OpenStack Proposal Bot
4f0047bb8d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I112a54fb15bd3ed88a6f6bc0f643af58f8f2f242
2018-01-25 07:37:16 +00:00
Zuul
f1eba8073d Merge "Avoid duplicated message in Batch/DeleteAction" 2018-01-25 04:33:24 +00:00
Zuul
2572595f1a Merge "Avoid sending error message twice in BatchAction" 2018-01-25 04:33:21 +00:00
Bence Romsics
705c52bf1f Trunks panel: eliminate spinner at create/edit
Change how the UI reacts to neutron responding to API requests.

Without this change when the user clicks create or edit:
* we display a spinner
* wait for the neutron to respond
* then we open the modal.

With this change:
* we open the modal immediately and
* send the request(s) to neutron asynchronously.
* We display a 'please wait' message in place of the relevant (but not
  all) input forms (or transfer tables) of the workflow steps.
* When neutron responds to each request we replace the 'please wait'
  message with the pre-filled input forms.

The latter is better experience for the user because he or she can
progress with parts of the workflow until the rest is loaded.

Partially-Implements: blueprint neutron-trunk-ui
Change-Id: I9ac8f75a390424ad05cf51fa679ef9803124179c
2018-01-24 13:44:33 +01:00
Zuul
0a51ce628d Merge "Ignore node_modules from test target" 2018-01-24 12:31:25 +00:00
Shu Muto
e598695718 Ignore node_modules from test target
Files in node_modules directory are not target for test.
So we should ignore them.

Change-Id: I3b259c7df21660e61fcb55633c82bdd83d791a3d
2018-01-24 17:29:14 +09:00
OpenStack Proposal Bot
d2187b4e05 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I37fb05655589f4938c284ebadc82c25f45ade0fe
2018-01-24 07:50:03 +00:00
OpenStack Proposal Bot
ca74561e78 Updated from global requirements
Change-Id: I28d8c180a5d45dd996d280a6a8a7c071679d111a
2018-01-24 00:54:44 +00:00
Akihiro Motoki
3e8088b800 Improve exception message in network related Batch/DeleteAction
DeleteActiona and BatchAction in the network, subnet and router tables
are improved using handle_exception_with_detail_message decorator.

There is no need to have separate delete action in the admin network
and subnet tables now, so they are merged into the corresponding delete
actions in the project tables.

Change-Id: I976e4e6ed8e9c1430f82ac362c080853744b5d07
Closes-Bug: #1733207
2018-01-23 22:46:29 +09:00
Akihiro Motoki
a96e632bf5 Avoid duplicated message in Batch/DeleteAction
Previously BatchAction.handle() automatically adds an error message
when handle() method raises an exception. If some custom error message
is shown in handle() method, two error messages will be shown.

This commit allows a special handling for HandledException to
BatchAction.handle(). In individual BatchAction instances,
handle() method can now show a custom error message and raise an
HandledException, and then BatchAction.handle() skips to show an
error message for that. The reason of using HandledException is
because the exception can be raised from exceptions.handle() function
which is commonly used to handle exceptions.

The common pattern in handle() would be:

 try:
    <do something>
 except Exception as e:
    # HandledException which wrapps the original exception will be raised.
    # HandledException will be caught by BatchAction.handle().
    exceptions.handle(request, msg, escalate=True)

To make it easier to use the pattern, a new decorator
horizon.tables.actions.handle_exception_with_detail_message is introduced.

Partial-Bug: #1733207
Change-Id: I4bb0f61c7b63ea6ecd2e30c03eddecee62ff9b13
2018-01-23 22:46:25 +09:00
Akihiro Motoki
faaa4aed8c Avoid sending error message twice in BatchAction
BatchAction.handle() displays an aggregate error message
if an exception is returned from individual action() method.
If we don't need a detail error message, try/except is unnecessary.

Note that a fix for a case where a detail error message is needed
will be covered in the subsequent patches.

Change-Id: I8037355b12e0756c6add5c5b9ba05a430155dfe5
Partial-Bug: #1733207
2018-01-23 21:58:21 +09:00
Zuul
5ccfe815d7 Merge "Add note for Django 1.8-1.10 support in relnote and doc" 2018-01-23 10:29:38 +00:00
Akihiro Motoki
c6d1e169ed Add note for Django 1.8-1.10 support in relnote and doc
As we discussed in the team meeting, we plan to drop Django 1.8
to 1.10 support in Rocky. It is worth mentioned in the release note
and the document.

Change-Id: I11a4f4ec1d2a237fad7c58951ff23affd0b5708d
2018-01-23 09:29:23 +00:00
OpenStack Proposal Bot
5179f33537 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib718b1f15bd0d3e14fef28f866ba661f6d2af835
2018-01-23 06:50:43 +00:00
Zuul
ddd73b6cbf Merge "elif replace if" 2018-01-22 07:51:43 +00:00
OpenStack Proposal Bot
9e9a17c272 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7cf582d26f3fae46a5103b0ac491c40742000600
2018-01-22 06:46:34 +00:00
Zuul
3ff49cfdc1 Merge "[doc] Add the missing editable properties for image" 2018-01-21 21:48:34 +00:00
OpenStack Proposal Bot
db2aecd8dc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I891330270e3883accbf76e8a7ca741ac1b36a8cc
2018-01-21 06:44:34 +00:00
Zuul
5d6b5e6df5 Merge "Correctly show no data message in Network Topology" 2018-01-20 20:43:19 +00:00
Zuul
af00714a1a Merge "Trunks panel: simplify code for easier testing" 2018-01-20 20:43:16 +00:00
Akihiro Motoki
869127ec19 doc: Move the note to an appropriate place
"Description" field is also added to match the current version.

Change-Id: Ia05d1873d69500b9e2c576fcb8abe9dbdeba25e8
Closes-Bug: #1742327
2018-01-20 17:47:39 +09:00
Zuul
e8da066ecc Merge "Better designed 404 error page" 2018-01-20 07:27:12 +00:00
Zuul
3987653063 Merge "Fix api.keystone.is_cloud_admin/is_domain_admin handling with new policies" 2018-01-20 07:20:35 +00:00
OpenStack Proposal Bot
7d1b89e798 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id90862b5c20b01c83d7bc1673b64504aee25b4c4
2018-01-20 06:34:18 +00:00
peiy
42fe004c30 elif replace if
3 'if' at same levels and each 'if' has 'return',
in this case, elif is better than if.
more readable, more effective.

Change-Id: Ib0528ab69679f320f1580971945ce36eaaedf011
Signed-off-by: peiy <peiy@rc.inesa.com>
2018-01-19 16:35:41 +08:00
Zuul
66d45d0825 Merge "Imported Translations from Zanata" 2018-01-19 08:14:45 +00:00
Zuul
b1978c867b Merge "Security group quota error handling" 2018-01-19 08:14:42 +00:00
Zuul
cf1dd6bcec Merge "Add setting for user menu links" 2018-01-19 07:59:36 +00:00
OpenStack Proposal Bot
bb76a85559 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifada4c970d0f0aace9a991b6c718174afc73ec29
2018-01-19 06:44:53 +00:00
Zuul
4344d9cc80 Merge "Make serial console resizable" 2018-01-19 06:32:23 +00:00
Zuul
c93a6a1615 Merge "Text clippin in window security groups Fixed text overflow from form by removing limiting max-height media in scss." 2018-01-19 04:13:06 +00:00
Shu Muto
75e4e750df Make serial console resizable
This patch makes serial console resizable according to
parent element size like window or div container.

Change-Id: Ie4bc4d7302ce80ed9925db4156ff52f928460aca
Closes-Bug: #1728533
Needed-By: Ia26be196758e5f3617b31750702a6c54436efb93
2018-01-19 11:04:09 +09:00
Amelia Cordwell
924239073e Add setting for user menu links
* User menu links can be specified in the settings page
* Defaults to the standard Open RC links (bug and help links are
  not modified in this patch)
* Url, name and icon can all be specified

Change-Id: I3cbcfbf06ede18d468d4c611ad6005cb74f1b284
Closes-Bug: 1736048
2018-01-19 12:19:33 +13:00
Zuul
59bc4f93ae Merge "doc: Update project port create" 2018-01-18 15:37:05 +00:00
Zuul
697a9b2a3d Merge "doc: cleanup unnecessary vertical lines" 2018-01-18 13:41:58 +00:00
Emma Hogan
7d0d8be252 Text clippin in window security groups
Fixed text overflow from form by removing limiting max-height media in scss.

Change-Id: I4960a01ab2a78bb80f0877a8b5b4a3a06590b392
Closes-Bug: #1743685
2018-01-18 15:33:40 +13:00
Sam Wright
f35eaa2d13 Correctly show no data message in Network Topology
Unhid the message on the div so that if there are no networks,
routers, or connected instances it says this instead of a blank
white box

closes bug: #1661350

Change-Id: Id5f86a81125ff91c5824b51ca4a2141cabc2d0c4
2018-01-18 13:57:21 +13:00
Simon Collins
3929a8b7cd Security group quota error handling
When adding a new rule to a secruity group that would exceede the
quota, the error message displays a quota error, rather than rule
already exists error. It does this my first checking for an
"OverQuotaClient" error, then if that except doesn't trigger it
checks for any other conflict

Change-Id: I8eaa0f00b25c8c3b75fef2bf46979f1f248c6896
Closes-Bug: #1699724
2018-01-18 11:59:40 +13:00
OpenStack Proposal Bot
c5901fe34c Updated from global requirements
Change-Id: I15b865fc88f6cd4047edd04e51dab65c2ef9ca38
2018-01-17 20:34:25 +00:00
Radomir Dopieralski
54365d7ef1 Fix api.keystone.is_cloud_admin/is_domain_admin handling with new policies
Allow an action if no policy exists for it and there is no default
policy.

Change-Id: Ief6dc5ff15a83c70ee171774d1bfc6470c0863d1
Closes-bug: 1739108
2018-01-17 15:14:33 +01:00
Zuul
636d3e8a19 Merge "[doc] Correct the wrong 'System' tab" 2018-01-17 13:40:48 +00:00
OpenStack Proposal Bot
4391567fce Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2aff5162b895655e17be84ae6536f82d692f2422
2018-01-17 06:41:03 +00:00
Zuul
a054bb121e Merge "Add Enable/Disable User action for Angular users panel" 2018-01-17 05:32:36 +00:00
Zuul
51bcecc98f Merge "Add Change Password Action for Angular users panel" 2018-01-17 05:18:33 +00:00
Zuul
38755f37e5 Merge "Add Edit action for Angular users panel" 2018-01-17 04:31:52 +00:00
Ola Khalifa
3220cbf729 Better designed 404 error page
Edited 404.html to make the error page more appealing and the
style now matches the login page.

Change-Id: I491f77d73beacf6d3c6ae2ded3d8cfc0cd8f5cb2
closes-bug: 1606294
2018-01-17 16:30:53 +13:00
Zuul
0ab99a1963 Merge "Rename tox_venvlist (2/2)" 2018-01-16 21:38:09 +00:00
OpenStack Proposal Bot
e129ba9192 Updated from global requirements
Change-Id: I1f1cc1fb371fb8cd267140cb9940fb1ee1113215
2018-01-16 12:28:28 +00:00