Commit Graph

27 Commits

Author SHA1 Message Date
Takashi Kajinami 9833751613 Drop all remaining logics for certificate resources
Since we removed certificate order, we no longer have to maintain
these logics.

This also removes the release note for deprecation of symantec
certificate plugin, which was added during this cycle, because
the plugin is also being removed by this change.

Change-Id: I8e901024677e889d05ad8653389fb46487bc7745
2024-02-27 23:33:47 +09:00
Hervé Beraud b73046ff74 Remove unnecessary unicode prefixes
Change-Id: I87ee686a86be738ee96edf647a33fc3ce0510853
2022-05-09 19:49:40 +00:00
Douglas Mendizábal 2620d14c5f Allow secret delete by users with "creator" role
Users with the "creator" role on a project can now delete secrets owned
by the project even if the user is different than the user that
originally created the secret.  Previous to this fix a user with the
"creator" role was only allowed to delete a secret owned by the project
if they were also the same user that originally created, which was
inconsistent with the way that deletes are handled by other OpenStack
projects that integrate with Barbican.

This change does not affect the policy for delting private secrets
(i.e. secrets with the "project-access" flag set to "false").

Story: 2009791
Task: 44324
Change-Id: Ie3e3adc1ee02d770de050f5cfa8110774bb1f661
2022-01-31 14:21:58 -06:00
Andreas Jaeger 9dbeefb55e Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks for new flake8, remove
test B314 since that tests difference between Python 2 and 3,
there's no need to advise using six anymore.
Use oslotest.base directly, this fixes the hacking tests.

Remove ddt usage in testsuite, it does not work with current hacking
version anymore.

Change-Id: Iee4584c6fde08728c017468d9de1db73f2c79d8d
2020-10-12 21:20:06 +02:00
Andreas Jaeger 138375ea23 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ibf877ecf4ee043017d0ca219595cee859b7092dc
2020-05-21 14:38:36 +02:00
Andreas Jaeger 02b82e5a4c Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove Babel from requirements, it's not needed for running.
- Sync docs deps in tox.ini

Change-Id: Ie1fccdc777be978075e4689eda6c62578bd463e4
2020-04-29 19:10:48 +02:00
Andreas Jaeger 6e193a308e Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

Fix api-guide building: Use docs requirements.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I16af26b25e36ab1281f109cd5765db1ead9f3df6
2019-08-05 17:58:16 +02:00
Nguyen Van Trung 727ffb14d3 Add doc8 to pep8 check for project
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.

Change-Id: If9c6fbf51033cd420c605443dbb3049535024697
2018-07-30 01:56:14 +00:00
Zuul a06ca26ae6 Merge "Update the documentation link for doc migration" 2017-11-14 07:51:12 +00:00
melissaml f060da55d7 writing convention: do not use “-y” for package install
refer to:
https://docs.openstack.org/doc-contrib-guide/writing-style/ \
code-conventions.html

Change-Id: I92de0bfcbff95671d6fdf3e74e1239019e094b40
2017-10-27 18:04:32 +00:00
chenxing 2a58454289 Update the documentation link for doc migration
These links need to be updated due to the doc migration. Current
links are no longer effective.

Change-Id: I218995d5c8cde34286e2133a53bd7d19ae46c75d
2017-10-11 18:11:17 +08:00
Andreas Jaeger 1d1a6f3729 Use openstackdocstheme 1.11 everywhere
Switch to use openstackdocstheme 1.11 for all documents and set it up
following correctly.

Change-Id: If312a985702b1b591d3ca7346c5349905b23a66a
2017-06-30 20:12:52 +02:00
lingyongxu 66e1dfa745 Fix html_last_updated_fmt for Python3
gitsha  and pwd options are interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I9541793b4e979ce7637ee5a0e61a881826b3f86f
2017-06-16 09:14:55 +08:00
Vu Cong Tuan 0ea7734c5d Trivial fix typos
Change-Id: I03f468b000a8d648adb83582bfddef5e2ddb5ad6
2017-05-31 09:08:40 +07:00
Fernando Diaz 3f6c24a4ef Remove Certificate Orders and CAs from Documentation
Removes the documentation and links to domcumentation for
Certificate Orders and CAs.

Change-Id: I4cd3c21ac4f82eeb76d700426374cec898be4125
2017-05-04 05:02:23 +00:00
Jackie Truong c648ae69be Trivial link fix in Secret Metadata API User Guide
Reference to the Secret Metadata API was not properly linked.

TrivialFix
Change-Id: I5a0a354e9a6f60663de67a15c3ee4c18a311c730
2017-03-27 15:21:56 -04:00
Jenkins 78fa733634 Merge "Read version info from package" 2017-03-06 10:51:55 +00:00
Jeremy Liu 660b1b81ee Read version info from package
Read version info from package instead of hard-coded.

Change-Id: Ifdd199a1499624967d23e8a7ebd4fc3dd67abda0
2017-02-23 21:14:35 +08:00
gengchc2 bbbaf8509b Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I1c5e0a4b32e557b8c52d1a288ebe8b043f34214f
2017-02-07 18:21:12 +08:00
Fernando Diaz 773feeace4 Fix Consumer API Reference Docs
Resolves some errors in the Consumer API Reference Documentation
including improper requests and missing headers. Also Updates
response codes.

Depends-On: Ib038047dc1b96194ea1b5ff63ae58b5c78d05ffd
Related-Bug: #1660074
Change-Id: I6f1af0b95d3800bf182f4d6bebcdebb8eb60ddd7
2017-02-01 05:42:40 +00:00
Jenkins 563e164636 Merge "Removes unnecessary utf-8 encoding" 2017-01-24 02:35:26 +00:00
Jeremy Liu 3be5999644 Fix error in api-guide
Change-Id: I9a46df925f6e39f4df8db104464fbe9ca72f11a7
2017-01-18 15:29:51 +08:00
ji-xuepeng 17f60c0583 Removes unnecessary utf-8 encoding
Change-Id: I3f3ad6e8519bb8b35fb33523cf8f03df42c534a7
2017-01-12 12:41:52 +08:00
Fernando Diaz 140a8182e2 Deprecate Cetificate Resources
Begins the deprecation process for Barbican CAs API,
and Barbican Certificate Orders Resource. This is
done through logging deprecation schedule on API,
as well as adding a warning to the documentation.

Change-Id: Idbe6307fa45527aa225e61b3b1ac9ca86e7660c5
2016-11-03 18:12:28 +00:00
liujiong 180ea7cb8c Fix the typo
Change-Id: I329e6d6289a4d0ba885d221f7b5fe587bc230b7c
2016-08-01 16:28:27 +08:00
Anh Tran d6412aa3a9 Removes redundants
This patch removes redundant "to" and "the".

Change-Id: I6c1a9012fc331cc546c5fc39dd3fc1051a1257ff
2016-03-24 14:24:14 +07:00
Priti Desai 953e45e88e Publishing API Guide to OpenStack site
Moving files from doc/source/api/userguide/*.rst
to api-guide/source/*.rst,
also add api-guide/source/conf.py for building api-guide,
add a new tox target named api-guide
Taking a reference from this patch which was used for the
similar migration of Nova api guide:
https://review.openstack.org/#/c/230186

Change-Id: I725e7939f9a88185de6ef32b311159b0924b7183
Partial-Bug: #1540665
Needed-By: I7b7c623e6299c803930e41d72510f1a67d909fa3
2016-03-16 12:44:50 -07:00