We are satisfied to announce the release of: searchlight-ui 1.0.0: Horizon panels and libraries for Searchlight This release is part of the newton release series. With source available at: http://git.openstack.org/cgit/openstack/searchlight-ui Please report issues through launchpad: http://bugs.launchpad.net/searchlight For more details, please see below. 1.0.0 ^^^^^ Searchlight UI now provides several actions and summary views for various types of resources. This enables users to often complete their task within the context of their current search without navigating to other parts of the UI. Registered details views now linked to in search results. Search panel now uses the registry to produce drawer views, and uses a new directive to do so. New Features ************ * Nova instance actions, summary, and detail views * Nova flavor, hypervisor, and server group summary views * Cinder volumes and snapshots summary view * Glance images summary view * Neutron network, ports, routers, security groups, subnets summary views * Dynamic polling / progress based on resource status and last action * Live search toggle (continuous query mode) * Sort by relevancy, last updated, alphabetical * Persistent search settings * Translation build support * Registered details views now take precedence over links hard-coded within the resource-locator service * Links use relative paths to ensure proper use of the established base tag, which includes webroot. * sl-drawer widget produces markup to use/display a standard Horizon drawer * The search panel shows a resource type's registered drawer, or a searchlight-specific default drawer if none. Changes in searchlight-ui 0.1.0..1.0.0 -------------------------------------- 74531d8 Imported Translations from Zanata 24894a1 Honor 'nested' in facets a02f89e Add 'More Actions...' Actions 899d1cb Do not display Visibility column when All Projects option shown 5bdb91a Imported Translations from Zanata f7fd2bd Imported Translations from Zanata 9f08e69 Imported Translations from Zanata 201f34d Update .gitreview for stable/newton a7e91d2 Save SL-UI settings separated by user acc1cb2 Imported Translations from Zanata e493560 Allow full searchlight response through Horizon db6af4d Display correct number of total results b39ecef Default handling of paths to objects 654202f Adding Flavor names/summary fb0436a Add missing newton milestone 3 release notes 64ebccf Add Angular Instance actions d69bcda Initial support for sorting d92a5ce Fix field match column display 1a0a926 Adding Instance Details views dc64d45 Add servergroup for ui cbcaf8c Show items in-transition df0d16a Poll "dirty" items on paused searches 13d98a0 Add 'More Actions' constant text daffb2a Stop polling on $destroy 2b7925e Persist Searchlight user settings via localstorage 35bea34 Toggle Live Search 6258b18 Add a unique hit identifier to search results 9bf0595 Adding summary views for Searchlight resources 7aeb48b Require use of Python 2.7 since expected dfc0410 Add translation support 68b9558 Fix test errors 2e42e85 Remove discover from test-requirements 30afafd Modifying call to initActions() to match Horizon 19086ab Handle action results 8dbf112 Link search hits to registered details views if available 12d05f3 Add Global Actions to search page fd433f2 Adding registry-based drawer (summary) views 9eba471 Handle new-format facets response 4c004f6 Use base Angular template rather than custom template ccc4c85 Change None to Search for breadcrumb nav 493b5f3 Search Syntax Directive aa64912 Code organization cleanup 3899031 Add graceful handling for missing registry actions 10f5c41 Apply formatting to search table html faf41c0 Use Chrome for JS unit tests 4aef2ec Update JS dev dependencies 0c26830 Add version compatibility matrix to Readme 8fccb4e Add reno release notes to Searchlight UI 3a8a437 Move search bar out of table c09c754 Populate text search if saved 30a8fcf Remove unused hz-array-field-directive 428ebd7 Correct git URL 25427f8 Searchlight-ui devstack plugin Diffstat (except docs and test files) ------------------------------------- .gitignore | 3 + .gitreview | 1 + README.rst | 27 +- babel-django.cfg | 6 + babel-djangojs.cfg | 14 + babel.cfg | 2 - devstack/README.rst | 7 +- devstack/plugin.sh | 112 ++- devstack/settings | 16 +- package.json | 17 +- releasenotes/notes/.placeholder | 0 .../newton3-release-notes-c409603d25f6bd7e.yaml | 18 + .../registered-detail-views-9944fc531d5648a2.yaml | 9 + .../notes/registry-drawers-db9ed4daaf2a6c12.yaml | 10 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 277 +++++++ releasenotes/source/index.rst | 9 + releasenotes/source/mitaka.rst | 6 + releasenotes/source/unreleased.rst | 5 + searchlight_ui/api/rest/searchlight.py | 77 +- searchlight_ui/conf/searchlight_policy.json | 1 - .../project/search/templates/search/index.html | 21 - searchlight_ui/dashboards/project/search/views.py | 2 +- .../enabled/_1001_project_search_panel.py | 4 +- searchlight_ui/karma.conf.js | 14 +- .../local_settings.d/_1001_search_settings.py | 6 + searchlight_ui/locale/de/LC_MESSAGES/django.po | 18 + searchlight_ui/locale/ja/LC_MESSAGES/django.po | 18 + searchlight_ui/locale/ko_KR/LC_MESSAGES/django.po | 18 + searchlight_ui/locale/ru/LC_MESSAGES/django.po | 19 + searchlight_ui/locale/ru/LC_MESSAGES/djangojs.po | 818 +++++++++++++++++++++ searchlight_ui/locale/zh_CN/LC_MESSAGES/django.po | 18 + .../openstack-service-api/searchlight.service.js | 2 +- .../project/search/filters/common-status.filter.js | 70 -- .../search/filters/common-status.filter.spec.js | 40 - .../search/filters/common-visibility.filter.js | 140 ---- .../search/filters/keystone-project-name.filter.js | 105 --- .../search/filters/plugin-resource-types.filter.js | 52 -- .../project/search/filters/query-status.filter.js | 53 -- .../search/filters/resource-labeler.filter.js | 88 --- .../project/search/filters/resource-url.filter.js | 43 -- .../dashboard/project/search/search.module.js | 52 -- .../dashboard/project/search/search.module.spec.js | 43 -- .../static/dashboard/project/search/search.scss | 8 - .../search/settings/search-settings.controller.js | 52 -- .../project/search/settings/search-settings.html | 140 ---- .../search/settings/search-settings.service.js | 158 ---- .../settings/search-settings.service.spec.js | 41 -- .../project/search/syntax/search-syntax-modal.html | 168 ----- .../search/syntax/search-syntax.controller.js | 53 -- .../search/table/hz-array-field-table.directive.js | 60 -- .../project/search/table/hz-array-field-table.html | 12 - .../search/table/search-table.controller.js | 213 ------ .../search/table/search-table.controller.spec.js | 71 -- .../project/search/table/search-table.html | 175 ----- .../search/util/hz-search-highlighter.directive.js | 62 -- .../project/search/util/hz-search-highlighter.html | 9 - .../search/util/resource-locator.service.js | 107 --- .../search/util/searchlight-facet-utils.service.js | 406 ---------- .../util/searchlight-query-generator.service.js | 152 ---- .../search/util/searchlight-query-utils.service.js | 218 ------ .../util/searchlight-search-helper.service.js | 160 ---- .../os-cinder-snapshots/actions/actions.module.js | 61 ++ .../os-cinder-snapshots.module.js | 109 +++ .../resources/os-cinder-snapshots/summary.html | 8 + .../os-cinder-volumes/actions/actions.module.js | 61 ++ .../os-cinder-volumes/os-cinder-volumes.module.js | 164 +++++ .../resources/os-cinder-volumes/summary.html | 9 + .../os-neutron-floatingip.module.js | 123 ++++ .../resources/os-neutron-floatingip/summary.html | 8 + .../os-neutron-nets/actions/actions.module.js | 61 ++ .../os-neutron-nets/os-neutron-nets.module.js | 186 +++++ .../static/resources/os-neutron-nets/summary.html | 9 + .../os-neutron-ports/actions/actions.module.js | 61 ++ .../os-neutron-ports/os-neutron-ports.module.js | 180 +++++ .../static/resources/os-neutron-ports/summary.html | 9 + .../os-neutron-routers/actions/actions.module.js | 61 ++ .../os-neutron-routers/os-neutron-router.module.js | 121 +++ .../resources/os-neutron-routers/summary.html | 8 + .../os-neutron-securitygroups.module.js | 104 +++ .../os-neutron-securitygroups/summary.html | 29 + .../os-neutron-subnets/actions/actions.module.js | 61 ++ .../os-neutron-subnets.module.js | 132 ++++ .../resources/os-neutron-subnets/summary.html | 9 + .../resources/os-nova-flavors/os-nova-flavors.js | 98 +++ .../os-nova-flavors/summary.controller.js | 55 ++ .../static/resources/os-nova-flavors/summary.html | 19 + .../os-nova-hypervisors/actions/actions.module.js | 61 ++ .../os-nova-hypervisors/os-nova-hypervisors.js | 123 ++++ .../resources/os-nova-hypervisors/summary.html | 9 + .../os-nova-servergroups.module.js | 105 +++ .../resources/os-nova-servergroups/summary.html | 7 + .../os-nova-servers/actions/actions.module.js | 176 +++++ .../actions/attach-interface.service.js | 56 ++ .../actions/create-snapshot.controller.js | 67 ++ .../actions/create-snapshot.controller.spec.js | 65 ++ .../os-nova-servers/actions/create-snapshot.html | 32 + .../actions/create-snapshot.service.js | 156 ++++ .../actions/create-snapshot.service.spec.js | 200 +++++ .../actions/delete-instance.service.js | 196 +++++ .../actions/delete-instance.service.spec.js | 179 +++++ .../actions/generic-actions.service.spec.js | 195 +++++ .../actions/generic-simple.service.js | 98 +++ .../os-nova-servers/actions/hard-reboot.service.js | 56 ++ .../actions/launch-instance.service.js | 68 ++ .../actions/launch-instance.service.spec.js | 58 ++ .../os-nova-servers/actions/pause.service.js | 57 ++ .../os-nova-servers/actions/resume.service.js | 56 ++ .../os-nova-servers/actions/soft-reboot.service.js | 56 ++ .../os-nova-servers/actions/start.service.js | 55 ++ .../os-nova-servers/actions/stop.service.js | 56 ++ .../os-nova-servers/actions/suspend.service.js | 56 ++ .../os-nova-servers/actions/unpause.service.js | 56 ++ .../details/action-log.controller.js | 93 +++ .../details/action-log.controller.spec.js | 68 ++ .../os-nova-servers/details/action-log.html | 15 + .../os-nova-servers/details/console.controller.js | 72 ++ .../details/console.controller.spec.js | 72 ++ .../resources/os-nova-servers/details/console.html | 22 + .../os-nova-servers/details/details.module.js | 79 ++ .../os-nova-servers/details/log.controller.js | 59 ++ .../os-nova-servers/details/log.controller.spec.js | 87 +++ .../resources/os-nova-servers/details/log.html | 15 + .../os-nova-servers/details/overview.controller.js | 91 +++ .../details/overview.controller.spec.js | 121 +++ .../os-nova-servers/details/overview.html | 92 +++ .../os-nova-servers/instance-status.service.js | 109 +++ .../os-nova-servers/os-nova-servers.module.js | 187 +++++ .../static/resources/os-nova-servers/summary.html | 9 + .../os-swift-container.module.js | 33 + .../static/resources/resources.module.js | 89 +++ .../searchlight-ui/filters/filters.module.js | 30 + .../filters/sl-common-status.filter.js | 70 ++ .../filters/sl-common-status.filter.spec.js | 40 + .../filters/sl-common-visibility.filter.js | 140 ++++ .../filters/sl-keystone-project-name.filter.js | 105 +++ .../filters/sl-plugin-resource-types.filter.js | 52 ++ .../filters/sl-query-status.filter.js | 53 ++ .../filters/sl-resource-labeler.filter.js | 88 +++ .../filters/sl-resource-url.filter.js | 43 ++ .../static/searchlight-ui/searchlight-ui.module.js | 80 ++ .../searchlight-ui/searchlight-ui.module.spec.js | 43 ++ .../static/searchlight-ui/searchlight-ui.scss | 39 + .../settings/search-settings.controller.js | 57 ++ .../searchlight-ui/settings/search-settings.html | 152 ++++ .../settings/search-settings.service.js | 247 +++++++ .../settings/search-settings.service.spec.js | 42 ++ .../searchlight-ui/settings/settings.module.js | 30 + .../searchlight-ui/syntax/search-syntax-modal.html | 168 +++++ .../syntax/search-syntax.controller.js | 53 ++ .../searchlight-ui/syntax/search-syntax.html | 4 + .../syntax/sl-search-syntax.directive.js | 45 ++ .../static/searchlight-ui/syntax/syntax.module.js | 30 + .../searchlight-ui/table/default-drawer.html | 21 + .../table/search-table.controller.js | 543 ++++++++++++++ .../table/search-table.controller.spec.js | 71 ++ .../static/searchlight-ui/table/search-table.html | 222 ++++++ .../static/searchlight-ui/table/table.module.js | 30 + .../util/modified-item-cache.service.js | 128 ++++ .../util/modified-item-cache.service.spec.js | 141 ++++ .../static/searchlight-ui/util/redirect.action.js | 48 ++ .../searchlight-ui/util/redirect.controller.js | 50 ++ .../util/redirect.controller.spec.js | 56 ++ .../util/resource-locator.service.js | 112 +++ .../util/searchlight-facet-utils.service.js | 415 +++++++++++ .../util/searchlight-query-generator.service.js | 195 +++++ .../searchlight-query-generator.service.spec.js | 186 +++++ .../util/searchlight-query-utils.service.js | 219 ++++++ .../util/searchlight-search-helper.service.js | 134 ++++ .../util/searchlight-search-helper.service.spec.js | 104 +++ .../util/sl-search-highlighter.directive.js | 62 ++ .../searchlight-ui/util/sl-search-highlighter.html | 9 + .../static/searchlight-ui/util/util.module.js | 33 + .../searchlight-ui/widgets/sl-drawer.directive.js | 52 ++ .../static/searchlight-ui/widgets/sl-drawer.html | 1 + .../searchlight-ui/widgets/widgets.module.js | 30 + searchlight_ui/version.py | 20 + setup.cfg | 17 +- test-requirements.txt | 2 +- tools/gate/integration/pre_test_hook.sh | 2 +- tox.ini | 8 +- 184 files changed, 11341 insertions(+), 3266 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 13c2c85..11af255 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10 +9,0 @@ ddt>=1.0.1 # MIT -discover # BSD @@ -17,0 +17 @@ oslotest>=1.10.0 # Apache-2.0 +reno>=1.6.2 # Apache2