720 Commits

Author SHA1 Message Date
Zuul
980cde123a Merge "Set Angular roles panel as the default" 2017-10-19 01:13:05 +00:00
Zuul
5f21bd56af Merge "Add permissions explanation to quickstart doc" 2017-10-16 17:16:37 +00:00
Jenkins
d4b93486bd Merge "Adds extensible header functionality" 2017-10-13 16:25:35 +00:00
Ying Zuo
16afe25d8a Set Angular roles panel as the default
The actions in Django roles panel have been implemented in the Angular
version so setting the Angular version as the default.

Change-Id: I1e01b2e93090255d82ef92e51b943b0a715d2e7e
Partially-Implements: blueprint ng-roles
2017-10-11 22:12:25 -07:00
zhurong
872ea43d65 Adding identity ng-groups panel
This patch adds angular groups table.

To be added in subsequent patches:
 - Actions
 - filterFacets
 - Integration to Searchlight

To Test
 - set 'groups_panel': True in settings.py
 - local_settings.py v3 enabled

Co-Authored-By: Cindy Lu <clu@us.ibm.com>
Co-Authored-By: Kenji Ishii <ken-ishii@sx.jp.nec.com>
Co-Authored-By: Shu Muto <shu-mutou@rf.jp.nec.com>

Change-Id: Ifcb3353762ae9d65b73981a4a8d6241273afd16a
Implements: blueprint ng-groups
2017-10-10 13:35:09 +09:00
Tyler Smith
2e7dce8268 Adds extensible header functionality
This change is to introduce a flexible mechanism for projects to
add content to horizon's navbar.
- Introduces a new plugin file variable called ADD_HEADER_SECTIONS,
  which will take a list of views.  These are template views that
  will be used to render individual header sections.
- There is a new view in openstack_dashboard/views.py to cycle
  through these added views and combine them into the complete
  header to be added to the navbar.
- This view is queried by newly added javascript after page load.
  On response it is inserted into the page's navbar.
  If more than one header is present, the first will be shown in
  the navbar, while the rest are added to a drop-down menu.
- The currently displayed header can be changed by clicking on a
  new header in the drop-down; this is stored in a cookie to
  persist the selection between pages.
- Unit tests were modified/added to verify the new plugin entry
  can be parsed successfully and the main header view can parse
  a plugin's view successfully

Change-Id: I177b69ec4e78c17f827e540a7e669af1c29e8b59
Implements: blueprint extensible-header
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2017-10-03 17:11:06 +00:00
Jenkins
8d7b72c0b3 Merge "Clean up broken links due to doc-migration" 2017-09-21 04:46:08 +00:00
Amelia Cordwell
4d32b1fbe9 Add permissions explanation to quickstart doc
* Also fixes part of the example which showed having a custom
  permission that could not exist in the way that
  django_openstack_auth's keystone backend was implemented.

Change-Id: I46e748302d34f82648ef6690e2d5db4618487a6a
Closes-Bug: #1605842
2017-09-05 14:05:36 +12:00
Petr Kovar
d44f1c7e14 [doc] Fix broken links
Change-Id: I58de603276913ab4b1c05f675738bcb20711f9ef
Closes-Bug: #1702855
Closes-Bug: #1702854
2017-09-04 15:13:41 +02:00
Akihiro Motoki
a4d05ce55d Clean up broken links due to doc-migration
admin-manage-stacks.rst is dropped as we have no admin stack panel.
view-cloud-resources.rst is dropped as the metering panel was dropped
several releases ago.

Closes-Bug: 1714753

Change-Id: I483cb3dbaab23722abd2f321e8666d8beea2f7c7
2017-09-03 08:57:42 +00:00
Rob Cresswell
b4914c4caf Remove remainder of run_tests references
Change-Id: I74245159e8c4e17056170fe4a573ad899676aea6
2017-08-29 08:15:24 +00:00
Shu Muto
4982dc3cda Angularize Key Pairs index view
This patch adds Angularized index view.
Actions and details view will be implemented in subsequent patches.

To use Angularized Key Pairs index view, copy following file:

  openstack_dashboard/local/local_settings.d/
  _11_toggle_angular_features.py.example

to:

  _11_toggle_angular_features.py

and add following line into _11_toggle_angular_features.py:

  ANGULAR_FEATURES.update({'key_pairs_panel': True})

Change-Id: Ie1bf555430f77fc6bc95deedb8328caa5a2287aa
Partial-Implements: blueprint ng-keypairs
2017-08-25 14:40:03 +09:00
Rob Cresswell
9787ef4784 Minor improvements to the translation document
This patch improves the syntax highlighting of code examples in the
translation doc, and bolds a couple of important references.

Change-Id: Ib5d396fdb40cf8f2f735a39373b2d1d64a4520e7
Implements: blueprint pike-docs-overhaul
2017-08-16 13:47:45 +00:00
Jenkins
9603ee9f24 Merge "Make default visibility option on create image modal configurable" 2017-08-09 16:40:05 +00:00
Rob Cresswell
9a98a5fd98 Disable Edit Flavour by default
Closes-bug: 1709056
Change-Id: Ifa4e9cdfbbac1a1d4bf28679b24a17b13f637ddd
2017-08-07 12:06:33 +00:00
Akihiro Motoki
4c3e1f0508 Add some notices on handling release notes
During the recent work on release notes I got some useful lessons on reno.
It is worth documented. (Note that they will be added to the reno docs
but it is nice to have it in horizon doc too)

Also adds a link to the release note section in the contributor guide
to the release note page so that developers can find information on
the release notes more easily.

Change-Id: I0c5bd5f5e70d6c1be4eb8f8e895312205177774e
2017-08-05 14:30:12 +00:00
Akihiro Motoki
515ba0ae0f Update the documentation link for doc migration
This commit updates links affected by doc migration.
Note that other links are not touched in this commit.
Fixing other broken links or changing http to https
should be covered by a separate patch.

Also convert http links to docs.openstack.org to https per reviewer
request (though it is not directly related to doc-migration).

Note that this commit does not touch files under releasenotes/notes/.
If we touch release notes in older releases, reno will considers
it as a release note in the current release.
(Pike release notes are clean up in a separate patch.)

Change-Id: Iba9bd465ef08014a4972584cf4da6e7d77961119
2017-08-04 18:38:25 +00:00
Jenkins
79135ac5d7 Merge "Update local conf" 2017-07-31 16:02:16 +00:00
Ying Zuo
9edda95f04 Make default visibility option on create image modal configurable
If the user is allowed to create public images, the default visibility
option on the create image modal is public unless the setting
image_visibility is set to "private" on local_settings.py.

Closes-bug: #1699144
Change-Id: Ib1fc6c846ba3b7e2ee303749aca797b0e6707f37
2017-07-28 21:08:38 -07:00
Rob Cresswell
79a3c65f4a Fix a settings header style in docs
Change-Id: I83409b9e9fb992b584610906c9ec3d6111cb7d8e
2017-07-28 11:39:21 +01:00
Jenkins
9e9ee5c145 Merge "Add missing DOA config value to docs" 2017-07-27 15:27:12 +00:00
Rob Cresswell
6cd4b03447 Update local conf
implments: blueprint pike-docs-overhaul

Change-Id: I6a05d25717d98e9ceeb337142cfee327d27c03b7
2017-07-27 11:13:49 +00:00
Jenkins
2b78015405 Merge "Cleanup release notes" 2017-07-27 05:08:40 +00:00
Diana Whitten
958e522d40 Added SELECTABLE_THEMES setting
Currently themes machinery works in such way that if we rely on
default theme in our branded theme, we have to include them both into
AVAILABLE_THEMES setting, otherwise default theme assets will be
unavailable and the branded theme assets compilation will fail. On
the other hand, mentioning them both leads to theme picker being
shown - which we would like to avoid (per marketing wish).

SELECTABLE_THEMES setting was added to allow limiting the user facing
themes by configuration.

Closes-bug: #1564543
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>

Change-Id: Ic00a9201d2d352685b1089a37a25987b75d6636d
2017-07-26 11:52:35 +01:00
Jan Gutter
587c3de89b Add support for virtio-forwarder VNIC type
* This patch adds support for the virtio-forwarder VNIC type.
  * The virtio-forwarder VNIC type has been added as another option for
    setting the "binding:vnic_type" property on a port. This requests a
    low-latency virtio port inside the instance, likely backed by hardware
    acceleration.
  * The documentation for OPENSTACK_NEUTRON_NETWORK/supported_vnic_types
    has been updated to clarify the term "supported VNIC types".
    Unfortunately, the VNIC binding happens at scheduling and error
    reporting in core Nova and Neutron is not optimal in this case.
  * Corresponding python-openstackclient change:
    https://review.openstack.org/#/c/483532/
  * Corresponding neutron-lib change:
    https://review.openstack.org/#/c/483530/

Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
Closes-Bug: 1705548
Depends-On: I28315fb12f62dc7d52d099c211086b2b81eca39a
Change-Id: I02dc3581de8f31c659e545e340cbdf6a1b2bb837
2017-07-24 13:40:54 +00:00
Akihiro Motoki
c17a93af02 Cleanup release notes
The main purpose of prelude is to describe release highlights.
The current usage of prelude looks random and there is no need for
individual release notes to use prelude section.
This commit cleans them up.

Also add a note on this to the contributor guide.

Change-Id: Ib72a3f4fc1bac2befd900249d07f5d67a56079f3
2017-07-24 01:37:59 +00:00
Rob Cresswell
42841335ca Add missing DOA config value to docs
DEFAULT_SERVICE_REGIONS was recently added and documented in Django
OpenStack Auth. In preparation for adding DOA to Horizon, lets add this
to the Horizon doc.

Change-Id: Ic8a6c45eeec555cdb16068630ae693199e40d6f5
2017-07-20 12:52:10 +01:00
Akihiro Motoki
497cae2b57 Use doc8 check
doc8 is a linter for documents and used in openstack-manuals.
It is better to enforce document linters for simple checking.

The current rules are really simple like:
- line length check (80 chars)
- new line at the end of file

Change-Id: I3810df521068ffc97e25a5fc56b72397bf9783bc
2017-07-19 10:31:16 +00:00
Akihiro Motoki
2d7019988e doc: Fix code-block directive
TrivialFix

Change-Id: I3ddf304880aa475642ba167f13fc7fba1fa05d91
2017-07-15 11:37:11 +00:00
Rob Cresswell
cae5379bf3 Reorganise and update the settings documentation
This commit is primarily a reorganisation fo our settings documentation.
The aim is to move away from the horizon / openstack_dashboard / django
distinction, which makes little sense to non-devs. This will be replaced
by a split between general horizon settings, service-specific settings,
and upstream Django settings. as well as organising the settings in
each section alphabetically. The aim is to promote discoverability of
settings for operators.

This patch also improves visiblity of deprecation, adds missing
tags (versionadded, seealso, deprecated, versionchanged), and
updates content where necessary. Some missing settings were added,
and many settings were also updated to reference other relevant
settings.

Change-Id: Idd496af7d4fe7d242772bb402d22c54c18f05d51
Implements: blueprint pike-docs-overhaul
2017-07-13 14:50:24 +01:00
Hiroaki Kobayashi
46a541af18 Add Blazar dashboard to the plugin registry doc
Change-Id: I64a89057491b3f2b6ae34fd9dfb1387497308f2b
2017-07-07 11:23:22 +09:00
Akihiro Motoki
6f54390df7 doc: Move openstack_auth settings to DOA docs
At now, most django_openstack_auth (DOA) settings are documented
in the horizon documentation. It is better to have documentation
in a same place for better maintenance.

This commit drops openstack_auth specific settings from
the horizon configuration guide.

Also update the wrong name of openstack_auth setting in
local_settings.py. The correct name is TOKEN_DELETION_DISABLED.

Change-Id: Ia5518278c1bc70bb1b3faf44917094de56f344af
2017-07-05 21:58:30 +09:00
Colleen Murphy
f5924e6785 Add config settings for login domain dropdown
On clouds that use domain-specific Identity configuration[1], a user
must provide both their username and domain in order to log into
horizon. Without this patch, users must be aware of their domain's name
and enter it into a text box at login. This is sensible on public
clouds, because supplying potential domains to an unauthenticated user
exposes too much information about other customers and makes potential
attacks easier. On private clouds, however, it is a hinderance to
usability. For example, when migrating from a single-domain
configuration to a multi-domain configuration, users must now guess or
be informed of their domain in order to enter it in the text box. As
another example, when keystone domains are mapped to Active Directory
domains, the user may not be used to having to know their AD domains and
would prefer to select a likely one based on their geographical location
or department from a dropdown menu.

This patch adds the config file examples and documentation for new
config options, "OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN" for enabling a
dropdown menu instead of a textbox when MULTIDOMAIN_SUPPORT is enabled,
and "OPENSTACK_KEYSTONE_DOMAIN_CHOICES" for providing domains to choose
from. The behavior changes corresponding to these new options are
implemented in django_openstack_auth in a corresponding patch.

[1] https://docs.openstack.org/developer/keystone/configuration.html#domain-specific-drivers

Change-Id: I71d64182524d1f54745d9e42347b3a605fa2a920
Depends-On: Ie0a7e36b9975342fab81ddebb87880608d3ef187
2017-07-04 13:50:25 +00:00
zhangdebo
55a5f34265 Fix a typo
Fix a typo

Change-Id: Ia9077ac7eb74d69fc2f8d5bc35e41f914631e264
2017-07-03 19:10:00 -07:00
Jenkins
83c77d152b Merge "Use flake8-import-order plugin" 2017-07-03 20:14:35 +00:00
Akihiro Motoki
e6b78f92f2 Use flake8-import-order plugin
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
This flake8 plugin is already used in tempest.
It enforces loose checking so it sounds good to use.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Change-Id: I8ccd05eb70350a2441cc2a4d1eafc09ee690b83b
2017-07-03 08:02:23 +00:00
Jenkins
ed941298e7 Merge "doc: Move settings information to configuration/ dir" 2017-07-03 07:04:03 +00:00
Akihiro Motoki
45111d96f0 doc: Update plugin registry
Change-Id: Ie194b3f662425a6f2e1d970f55ef6b5bb0ece595
2017-07-03 14:31:39 +09:00
Akihiro Motoki
393b8284fc doc: Convert plugin registry to list-table
The table of horizon plugin registry does not need complex formatting.
list-table allows us to edit it easily compared to the grid table.

Change-Id: Ic1e49de42947c9b8252af17a8df24d1fc47f6b38
2017-07-03 07:06:22 +09:00
Petr Kovar
4f37639902 [doc] Fix broken link
Change-Id: I42e876eb319cac57cc5223163be6c8ac67040a2d
Closes-Bug: #1701287
2017-06-30 17:42:01 +02:00
Akihiro Motoki
7502d9c872 doc: Move settings information to configuration/ dir
The new standard document structure suggests to have a dedicated dir
named configuration/. It will be linked from docs.o.o directly,
so it would be better to follow the guideline.

This commit moves the pages on settings and customization to
a new directory configuration/.
It also splits the pages into meaningful pieces.

Change-Id: I65a3b0b688c8abc176662f86a0dbbfa3b64c4101
2017-06-30 02:27:21 +09:00
Akihiro Motoki
563908e2c0 doc: cleanup formatting
* Clean up unnecessary vertical quotes at the left side
  caused by extra spaces at the beginning of lines.
* Do not use backquotes in the title lines
  (ref/run_tests.rst, ref/horizon.rst)
  When backquotes are used in the first-level title,
  it will be included in the navigation at the top-right corner
  https://docs.openstack.org/developer/horizon/contributor/ref/index.html
* Remove duplicated contents:: directive in ref/run_tests.sh.
  openstackdocstheme generates the toc by default, so having contents::
  directive leads to duplicated toc in a page.

Change-Id: Icc641927ad7cd7a8d79632c64a3ce212f0dc0b64
2017-06-29 17:59:09 +09:00
Alok Kumar
56e917049d Fix improper next and previous links in docs
Currently two pages inside contributor/ref/ section of horizon
doc has incorrect next and previous links. It shows text as well.

This is due to use of literal markup in rst title field. Removing
this fixes it.

One can see broken page at
https://docs.openstack.org/developer/horizon/contributor/ref/run_tests.html
and
https://docs.openstack.org/developer/horizon/contributor/ref/horizon.html

Change-Id: I8d450493ec847e85ec71500581c154ecd80df788
Closes-Bug: #1701134
2017-06-29 06:21:49 +05:30
Doug Hellmann
baa9b9c732 use openstackdocstheme html context
Set some of the new config values and enable openstackdocstheme as an
extension so it will inject values into the page context as it writes
each documentation page. This ensures the pages link to the right bug
tracker, etc.

Change-Id: I36d400358b1b5e2c2423c43f43c775bafb0d4721
Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-28 19:51:10 +09:00
Jenkins
8a71225a96 Merge "import the user guide content from openstack-manuals" 2017-06-28 10:23:35 +00:00
Doug Hellmann
72345033a0 import the user guide content from openstack-manuals
Change-Id: Ie6838df1760cf3c92350dc52d5f9a81f4227949c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-27 17:55:06 +09:00
Mateusz Kowalski
9242e4902e operation_log: Add ignored_urls parameter
Request URLs can be put in ignored_urls in OPERATION_LOG_OPTIONS
in order to ignore them from auditing.

Change-Id: I6673e765fd88bc4230a3b7ced2ee227669136bb2
Closes-Bug: #1688206
2017-06-26 11:07:17 +02:00
Doug Hellmann
585974e4c7 import the admin guide content from openstack-manuals
Change-Id: Ifd2bb6badc778368ca641cd0889dd2ed19b8cc41
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-24 17:03:47 +09:00
Doug Hellmann
58d46bda7f import installation guide pages from openstack-manuals
Change-Id: I792aae25b6dd137f7b449ae27ab7e33372c6a361
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-24 17:03:47 +09:00
Doug Hellmann
259746bcff rearrange content into the new standard layout
Change-Id: I6dbe0ea81d9d21a0f92d270337637606220f38d1
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-15 17:40:10 -04:00