[zun] zun-ui 1.0.0 (queens)
We are happy to announce the release of: zun-ui 1.0.0: Zun User Interface This release is part of the queens release series. The source is available from: https://git.openstack.org/cgit/openstack/zun-ui Download the package from: https://tarballs.openstack.org/zun-ui/ Please report issues through launchpad: https://bugs.launchpad.net/zun-ui For more details, please see below. 1.0.0 ^^^^^ New Features ************ * Added Cloud Shell feature. See also [Screen Shot (https://drive.google.com/file/d/0B1UFZO9xX8eweERNX2FWVGRrMXM/view)] and [Short Video (https://youtu.be/lYt2U7qZG38)]. To enable cloud shell, copy zun_ui/enabled/_0330_cloud_shell.py into openstack_dashboard/local/enabled directory and restart Horizon. Then ">_ Cloud Shell" button will be shown right on header of Horizon after loging in. When user click "Cloud Shell" button, web console for the cloud shell will be shown in bottom of window. At first time to show cloud shell, Zun UI starts to create cloud shell container for the user. So it take just a litle time before using cloud shell. The container will be named "cloud- shell-<user>-<project>-<domain>-<region>". If cloud shell container exists, attach the web console to the container. Each time when attach to the container, Zun UI gets user's clouds.yaml from Horizon and set it into "~/.config/openstack/clouds.yaml". Also, "export OS_CLOUD=openstack" will be set into "~/.bashrc". The user password is not set into the container, so user should set manually "OS_PASSWORD" into envirinment variables or "password" into clouds.yaml. To configure image for cloud shell, see [Image for Cloud Shell (https://docs.openstack.org/zun-ui/latest/configuration/index.html #image-for-cloud-shell)] * [cinder-integration (https://blueprints.launchpad.net/zun-ui/+spec /cinder-integration)] Added Volumes tab for container creation dialog. When create container, user can mount existing Cinder volume or create and mount new Cinder volume. * Added parameters for container creation. New parameters 'auto_remove', 'hostname' and 'runtime' are added for container creation. Also, these parameters are shown in details view. These parameters are not for update, so these are readonly in update dialog. * Show actions according to container status. Previously the UI showed all of the actions regardless of container's status, now UI filters the actions just like what nova instances do. * Added new action "Stop and Delete Container". This action stops the container before deletion when the container is running. * Added project_id into drawer on image table view. Bug Fixes ********* * [bug/1742599 (https://bugs.launchpad.net/zun-ui/+bug/1742599)] Fixed issue the deleted item is selected again with batch delete. Items recently deleted with batch action had been shown in deletion confirmation dialog when execute the batch delete action again. And this had caused the conflict error due to trying to delete unexisting item. Changes in zun-ui 0.2.0..1.0.0 ------------------------------ 40f82d3 Add release notes for Queens e7dbe2f Updated from global requirements 416e698 Imported Translations from Zanata 1ee4356 Updated from global requirements 18ad8fb Updated from global requirements 5fcf0d8 Change the wiki address to docs links a9c0984 Fix issue the deleted item is selected again with batch delete 3ca02e3 Add Volumes tab for container creation efa2b2c Add project_id for image 9128058 Imported Translations from Zanata 9fee717 Stop container before deletion a4cb8d1 Add parameters for container creation 20c1196 Update packages for JavaScript tests 01d2c63 Remove setting of version/release from releasenotes c5c15a8 Updated from global requirements 7b3ac85 Imported Translations from Zanata 4beb783 Fix URL of help html template for kill signal action 6141ad6 Cleanup tox and requirements 9f45851 Add Cloud Shell feature 53b5f0f Imported Translations from Zanata 0a73c0d Updated from global requirements f74c6fe Fix to use . to source script files aeee17c Update and refactor zunclient 2c67023 Imported Translations from Zanata d1d78cc Imported Translations from Zanata 09b6d54 Updated from global requirements c5436a9 Imported Translations from Zanata e6b135c Imported Translations from Zanata 0941736 Update reno for stable/pike 0b0aceb Show actions according to container status Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + _0330_cloud_shell_settings.py.sample | 1 + package.json | 26 +- releasenotes/notes/queens-1a10c0660636d2e0.yaml | 60 ++ releasenotes/source/conf.py | 11 +- releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 107 +++ .../source/locale/ja/LC_MESSAGES/releasenotes.po | 13 +- .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 30 + releasenotes/source/pike.rst | 6 + requirements.txt | 9 +- setup.cfg | 2 +- test-requirements.txt | 26 +- tools/install_venv.py | 2 +- tox.ini | 10 +- zun_ui/api/client.py | 56 +- zun_ui/api/rest_api.py | 28 +- zun_ui/content/cloud_shell/__init__.py | 0 zun_ui/content/cloud_shell/views.py | 27 + zun_ui/enabled/_0330_cloud_shell.py | 26 + zun_ui/karma.conf.js | 3 + zun_ui/locale/en_GB/LC_MESSAGES/django.po | 10 +- zun_ui/locale/en_GB/LC_MESSAGES/djangojs.po | 922 +++++++++++++++++++++ zun_ui/locale/ja/LC_MESSAGES/djangojs.po | 11 +- zun_ui/locale/tr_TR/LC_MESSAGES/django.po | 24 + .../static/cloud-shell/cloud-shell.controller.js | 147 ++++ zun_ui/static/cloud-shell/cloud-shell.html | 23 + zun_ui/static/cloud-shell/cloud-shell.module.js | 37 + zun_ui/static/cloud-shell/cloud-shell.scss | 51 ++ zun_ui/static/cloud-shell/cloud-shell.service.js | 56 ++ zun_ui/static/cloud-shell/resizer.directive.js | 94 +++ .../container/containers/actions.module.js | 10 + .../container/containers/actions/create.service.js | 16 +- .../containers/actions/delete-force.service.js | 18 +- .../containers/actions/delete-stop.service.js | 156 ++++ .../container/containers/actions/delete.service.js | 24 +- .../containers/actions/execute.service.js | 9 +- .../container/containers/actions/kill.service.js | 11 +- .../container/containers/actions/pause.service.js | 9 +- .../containers/actions/restart.service.js | 9 +- .../container/containers/actions/start.service.js | 9 +- .../container/containers/actions/stop.service.js | 9 +- .../containers/actions/unpause.service.js | 9 +- .../container/containers/actions/update.service.js | 19 +- .../containers/actions/workflow/misc.help.html | 4 +- .../workflow/mounts/delete-volume.service.js | 60 ++ .../actions/workflow/mounts/mounts.controller.js | 136 +++ .../actions/workflow/mounts/mounts.help.html | 13 + .../containers/actions/workflow/mounts/mounts.html | 59 ++ .../containers/actions/workflow/spec.help.html | 2 + .../actions/workflow/workflow.service.js | 110 ++- .../container/containers/containers.module.js | 31 +- .../dashboard/container/containers/containers.scss | 2 +- .../container/containers/details/overview.html | 4 +- .../static/dashboard/container/images/drawer.html | 2 +- .../dashboard/container/images/images.module.js | 12 +- zun_ui/static/dashboard/container/zun.service.js | 26 +- zun_ui/templates/cloud_shell/cloud_shell.html | 10 + 60 files changed, 2464 insertions(+), 153 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 41b0deb..be1ac34 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,8 +11 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -# If python-zunclient will be released, we will use it. -python-zunclient>=0.2.0 # Apache-2.0 -Babel!=2.4.0,>=2.3.4 # BSD -Django<2.0,>=1.8 # BSD -django-babel>=0.5.1 # BSD -django-compressor>=2.0 # MIT -django-openstack-auth>=3.5.0 # Apache-2.0 -django-pyscss>=2.0.2 # BSD License (2 clause) +python-zunclient>=1.0.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 11193ff..a24e613 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11 +11 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 -# + @@ -14,15 +14,9 @@ django-nose>=1.4.4 # BSD -mock>=2.0 # BSD -mox3!=0.19.0,>=0.7.0 # Apache-2.0 -nodeenv>=0.9.4 # BSD -nose # LGPL -nose-exclude # LGPL -nosehtmloutput>=0.0.3 # Apache-2.0 -nosexcover # BSD -openstack.nose-plugin>=0.7 # Apache-2.0 -openstackdocstheme>=1.16.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 -selenium>=2.50.1 # Apache-2.0 -sphinx>=1.6.2 # BSD -testtools>=1.4.0 # MIT -# This also needs xvfb library installed on your OS -xvfbwrapper>=0.1.3 #license: MIT +mock>=2.0.0 # BSD +mox3>=0.20.0 # Apache-2.0 +testtools>=2.2.0 # MIT + +# For docs +sphinx!=1.6.6,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +
participants (1)
-
no-reply@openstack.org