807 Commits

Author SHA1 Message Date
Zuul
91e659f172 Merge "[doc] Add the missing 'API Access' for project tab" 2018-04-04 10:46:19 +00:00
Zuul
946ecea7b7 Merge "Cleanup Plugin Registry" 2018-03-31 02:29:08 +00:00
Ivan Kolodyazhny
c3d6036f8a Cleanup Plugin Registry
This patch removes unsupported plugins and changes links from http to
https.

Change-Id: Ic2532f73dba64605bc646f88ed088fbcedc6e44a
2018-03-30 23:41:58 +03:00
Ivan Kolodyazhny
8220df7d6f Update supported browsers list
We don't need to keep a list of older releases since it can be found in
git history and stable/* branches.

Change-Id: I341391e1808e41db84444ba41de244b15884adb7
2018-03-28 22:33:14 +03:00
Zuul
3539090c4c Merge "Follow the new PTI for document build" 2018-03-27 09:53:33 +00:00
Zuul
d4c81676a0 Merge "Drop deprecated settings" 2018-03-26 13:12:06 +00:00
Akihiro Motoki
eac3eae35a Follow the new PTI for document build
The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

doc8 command is dropped from docs and releasenotes tox envs.
We run doc8 in pep8 tox env, so this hurts nothing.

Change-Id: I24271b527258b1de4cf26ca7efd625954eb834de
2018-03-25 02:14:40 +09:00
Akihiro Motoki
71993e3c98 Drop deprecated settings
- HORIZON_IMAGES_ALLOW_UPLOAD (deprecated in Newton)
- CUSTOM_THEME_PATH (deprecated in Mitaka)
- DEFAULT_THEME_PATH (deprecated in Mitaka)
- OPENSTACK_TOKEN_HASH_ENABLED (deprecated in Mitaka)
- TOKEN_DELETION_DISABLED
  (not documented but it was marked as deprecated in Ocata
   in django-openstack-auth commit 5810f9c6)

The related logics related to dropped deprecated settings
have been dropped too.

- custom_path and default_path of get_available_themes() were
  dropped as they are no longer needed in favor of
  the removal of CUSTOM_THEME_PATH and DEFAULT_THEME_PATH.
- Unused remove_project_cache(), is_token_deletion_disabled()
  and delete_token() have been dropped.

Change-Id: Ic9406623cc092884c4136f78fb967b129bfda487
2018-03-23 18:37:02 +09:00
Akihiro Motoki
0659f9a98a Drop trove/sahara settings from horizon repo
Settings related to horizon plugins should be documented in individual
project repos. We support local_settings.d mechanism, so horizon plugins
can provide their own settings examples.

One example is SAHARA_AUTO_IP_ALLOCATION_ENABLED. This option has been
deprecated and replaced by another setting. It is hard for horizon team
to track this kind of changes.

This is just a change in the example local_settings.py and there is no
feature change, so there is no deprecation required.

Change-Id: Ib28110246567808f9e9c0f99c6032f7bdc931643
2018-03-22 07:09:51 +09:00
Zuul
1cdafd8895 Merge "Add plugin xstatic modules support" 2018-03-20 17:25:56 +00:00
Zuul
c5c680cb69 Merge "Sahara projects have been migrated to Storyboard" 2018-03-20 04:19:47 +00:00
Vu Cong Tuan
d7cab93a16 Sahara projects have been migrated to Storyboard
Because Sahara projects have been migrated to Storyboard,
the reference should be updated correctly.

Change-Id: I33cabea7586c60e8806068535b376c8cdf24694f
2018-03-20 11:03:15 +07:00
Zuul
9ad47acab6 Merge "Update RHEL/CentOS horizon install instruction" 2018-03-20 03:56:24 +00:00
irisayame
1f93e64a3d Add plugin xstatic modules support
This patch allows Horizon to accept additional xstatic modules
 in plugin dashboards. Related static files would be collected
 and included in every page.

Change-Id: Ie49a522b28aaf6e028c5b218968d68189dd7eef1
Closes-Bug: #1755339
2018-03-20 11:37:29 +09:00
Akihiro Motoki
a180bafb75 Update RHEL/CentOS horizon install instruction
openstack-dashboard.conf in openstack-dashboard package
for RHEL/CentOS does not contain WSGIApplicationGroup configuration
which is required to make the dashboard work correctly.

Change-Id: Ic62fa29015ec153eada9d5e1ba5c06dab3a5eeca
Closes-Bug: #1741354
2018-03-16 08:10:46 +09:00
Akihiro Motoki
5e3fc94971 Update Django versions in horizon requirements
Part of blueprint django2-support

Change-Id: I748a9e4316618bf940ec507faa3456785cb2113f
2018-03-16 07:54:48 +09:00
Akihiro Motoki
a987c039cf TabGroup: Make tabs pluggable via horizon plugin config
This commit enhances django tab implementation to allow horizon plugins
to add tabs to a tab group in other repository like the main horizon repo.
New setting "EXTRA_TABS" is introduced to the horizon plugin 'enabled' file.
To this aim, the tab group class looks up HORIZON_CONFIG['extra_tabs']
with its class full name and loads them as extra tabs if any.
HORIZON_CONFIG['extra_tabs'] are populated via horizon plugin settings.

This commit moves update_settings in openstack_dashboard.test.helpers
to horizon as I would like to use it in a new horizon unit test.

blueprint horizon-plugin-tab-for-info-and-quotas
Closes-Bug: #1746754
Change-Id: Ice2469a90553754929826d14d20b4719bd1f62d3
2018-03-12 21:04:22 +09:00
Akihiro Motoki
5d81a96642 Update bug trackers of octavia/lbaas-dashboard
Octavia project uses the storyboard for bug tracking.
The corresponding Launchpad bug tracker is frozen.

Change-Id: I3213ec96116a68d90b13661e3ea7abc468365200
2018-03-07 23:46:45 +09:00
Brianna Poulos
21ffefaf6b docs: Update help text for encryption provider
The volume encryption provider no longer uses class names.
Instead, 'luks' and 'plain' are used. This patch updates
the help text for the volume encryption provider to use
the new encryption provider format constants.

Change-Id: I582b239d9de86aa1f1f5e55d4576cc65d33e74a7
2018-02-16 16:49:31 -05:00
Zuul
7d4983a374 Merge "Sync nova policy" 2018-02-07 05:00:13 +00:00
Zuul
bf8c8242da Merge "Change http link to https link" 2018-02-05 18:27:15 +00:00
MaoyangLiu
edbe5eadf6 Change http link to https link
change the http://winscp.net/eng/docs/ui_puttygen to
           https://winscp.net/eng/docs/ui_puttygen
           
Change-Id: I4a6236bf1ca85ec33e7f90234892e3e64403adab
2018-02-05 10:34:38 +00:00
Akihiro Motoki
67410193b3 Sync nova policy
Based on nova commit 32c8ac6b7dfe4ca0c211cbce7c5a67d88558126f

The new file was generated by oslopolicy-sample-generator:
  oslopolicy-sample-generator --namespace nova --format json

nova uses policy-in-code now, so there is a lot of differences.
Sorted version diff is http://paste.openstack.org/show/628742/

All policies with "@" have been dropped.
Dropped policies used in horizon are:
  os_compute_api:os-certificates:create
  os_compute_api:os-scheduler-hints:discoverable
  os_compute_api:os-server-groups:discoverable

[discoverable]
"discoverable" policies are related to nova API extensions
but the API extension mechanism has gone in Nova Queens,
so these policies now make no sense in Nova.
In Horizon side, we are still use a bit older API version
to launch instance, so it seems some fallback policies are needed
and they are added as conf/nova_policy.d.

[os_compute_api:os-certificates:create]
No corresponding policy is found, so the related policy check is dropped.
EC2 API is provided as a separate project from nova.
I guess this is the reason the policy was dropped.
DownloadEC2 action referred to it, but we already checks EC2 service
is available so I believe the policy can be dropped safely.

[openstack_dashboard.test.unit.api.rest.test_policy]
Unit tests are updated according to the nova policy change.
Note that test_rule_alone previously succeeded because it used
non-existing policy and fallbacked to 'default' rule.
The rule is changed to a policy for non-admin user.

Change-Id: I68f91bc29b20a4ecd613fc75735d38b9a48162ee
2018-02-05 05:57:02 +09:00
Zuul
6e09bfa700 Merge "Remove 'tools/install_venv.py' reference paragraph" 2018-01-30 02:11:21 +00:00
gaofei
7dd4d7a99d Remove 'tools/install_venv.py' reference paragraph
Since 'tools/install_venv.py' has been removed during refactor[1].
This paragraph displayed in quickstart may cause some confusion to
someone who new to horizon, so remove this paragraph.

[1]6529cd1eb8

Change-Id: I302ef1f30781ce916c7309ebfa349fbedf8dd5a6
2018-01-30 00:42:12 +00:00
Zuul
0cbbc046d5 Merge "doc: use "python manage.py" directly rather "tox -e manage"" 2018-01-27 04:37:45 +00:00
Zuul
1b0b658640 Merge "Sync cinder policy" 2018-01-26 13:08:14 +00:00
Ivan Kolodyazhny
b28b8e2b9a Change django.utils.log.NullHandler to logging.NullHandler
django.utils.log.NullHandler was removed in Django 1.9. logging.NullHandler
wad added to Python standard library since 2.7 so we should use it now.

Change-Id: I38f3f1d592f5456efc7dc94c0677a0a594722fbd
2018-01-26 11:20:51 +02:00
Zuul
fbbab68777 Merge "doc: drop horizon-plugins' content from user/admin guide" 2018-01-25 21:25:21 +00:00
Zuul
04bce70472 Merge "doc: update policy related topics" 2018-01-25 21:13:44 +00:00
Zuul
c2bc6ccb06 Merge "doc: Move the note to an appropriate place" 2018-01-25 11:49:20 +00:00
Qian Min Chen
7d9dd1cef6 [doc] Add the missing 'API Access' for project tab
Change-Id: I0bed02c93006b7ef0e94cf1832ca1d7a68599a5a
2018-01-25 02:23:30 +00: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
Zuul
3ff49cfdc1 Merge "[doc] Add the missing editable properties for image" 2018-01-21 21:48:34 +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
cf1dd6bcec Merge "Add setting for user menu links" 2018-01-19 07:59:36 +00: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
Zuul
636d3e8a19 Merge "[doc] Correct the wrong 'System' tab" 2018-01-17 13:40:48 +00:00
Qian Min Chen
dda139ba86 [doc] Correct the wrong 'System' tab
The 'Flavors', 'Images', 'Instances' and 'Host Aggregates' are
under 'Compute' tab, this patch fix them.

Change-Id: Ibd411c10d524d0c66da35e3580329713517f36a9
2018-01-15 13:02:07 +00:00
Akihiro Motoki
ea06895ec8 doc: update policy related topics
* topics/policy.rst and settings.rst both contain settings related
  to policy engine. All settings are now defined in settings.rst.
* Add contents to maintain policy files. The process after switching
  to policy-in-code is covered.
* Add subsections to "How to Utilize RBAC"

Change-Id: I912543ad6bef02e37ba4e2fec27dcdff61f89d23
2018-01-14 05:59:28 +09:00
Akihiro Motoki
5a11dd64b1 doc: cleanup unnecessary vertical lines
If a content has unnecessary indent, we will have unnecessary
vertical gray lines in rendered HTML like [1].

[1] https://docs.openstack.org/horizon/latest/configuration/customizing.html#icons

Change-Id: I69140e396db80c5008d60db64b83f7cdb5a891d8
2018-01-14 05:45:35 +09:00
Akihiro Motoki
38f6fbd478 doc: Update project port create
Non admin users can create a port now.
This commit updates the corresponding document.

Change-Id: Iaa5678f70c4f67d6255448ed3dd0fe4e7d67a27a
2018-01-14 05:43:02 +09:00
Qian Min Chen
27b1690f49 [doc] Correct the wrong 'System' tab
Now the 'Volume Types' and 'Volumes' are under 'Volume' tab
of the 'Admin' tab, this patch fix them.

Change-Id: I9242c083aab591fa1aca58dfccc69fbf0d320ab8
2018-01-08 15:21:38 +00:00
Zuul
e3715e0008 Merge "[doc] Reorganize the content of horizon Admin tab" 2018-01-07 21:03:46 +00:00
Zuul
b40f3eff12 Merge "[doc] Correct the wrong volumes tab" 2018-01-07 21:03:44 +00:00
Zuul
fe4b2491ca Merge "Upload the latest screenshots" 2018-01-07 21:03:31 +00:00
Zuul
b187465b8d Merge "[doc] Modify the content of the configure access and security for instances" 2018-01-07 15:34:05 +00:00