13097 Commits

Author SHA1 Message Date
Jenkins
9603ee9f24 Merge "Make default visibility option on create image modal configurable" 2017-08-09 16:40:05 +00:00
OpenStack Proposal Bot
6ed1caf59c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I87f6e300ed0103f1a78962c463941e5e7c7a7d27
2017-08-09 11:00:16 +00:00
Jenkins
d66c96269d Merge "Attach/detach volume showed in instance actions when cinder disabled" 2017-08-09 02:40:08 +00:00
Jenkins
caa098f1bd Merge "api.rest.neutron: Ensure dict is passed to api.neutron args" 2017-08-09 02:37:05 +00:00
Akihiro Motoki
0c1e179b3c api.rest.neutron: Ensure dict is passed to api.neutron args
Some functions in api/neutron use @memoized decorator,
but @memoized decorator cannot handle request.GET (an instance of
QueryDict) because a weakref to WSGIRequest is not hashable.
(Note that @memoized decorator can handle a dict itself)

What we actually need is the content of request.GET.
By using .dict() method we can ensure arguments which
@memoized can handle are passed to api.neutron functions.

This pattern is used only in api.rest.neutron and
not used in other codes.

Closes-Bug: #1706348
Change-Id: Ibb38ad1d95af1cd90a1fedd834602f444010c151
2017-08-08 16:58:27 +00:00
Jenkins
a37bf69ccc Merge "Reduce user confusion in router creation template" 2017-08-08 15:06:01 +00:00
Jenkins
92b39416df Merge "Disable Edit Flavour by default" 2017-08-08 14:11:22 +00:00
OpenStack Proposal Bot
b5b2209dcf Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I4381700818f26231452fd6f385a84b9e811ccb5b
2017-08-08 11:36:19 +00:00
Rob Cresswell
9a98a5fd98 Disable Edit Flavour by default
Closes-bug: 1709056
Change-Id: Ifa4e9cdfbbac1a1d4bf28679b24a17b13f637ddd
2017-08-07 12:06:33 +00:00
OpenStack Proposal Bot
0a1a566105 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I14356d736c2ea2032504f68fd85c54c13f25b770
2017-08-07 11:26:33 +00:00
OpenStack Proposal Bot
9a57a2d6a7 Updated from global requirements
Change-Id: I5d72f9c20bde24b7de45164b664cf850173f9d1a
2017-08-07 00:44:00 +00:00
Jenkins
50354f0248 Merge "Add some notices on handling release notes" 2017-08-06 14:20:13 +00:00
Jenkins
5086092474 Merge "Cleanup Pike release notes" 2017-08-06 14:20:06 +00:00
Jenkins
727ca40fb1 Merge "Exclude relnotes from past releases from Pike relnotes" 2017-08-06 14:18:40 +00:00
Jenkins
184244eb4a Merge "Get rid of the <MagicMock> output when the tests run" 2017-08-05 22:12:42 +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
ef913a2198 Cleanup Pike release notes
* Move a release note on SELECTABLE_THEMES from 'prelude' to 'fixes'
* Fix incomplete external link notation in
  drop-settings-enable-fireall-vpn-fad7c1a4cd96df2b.yaml
* Update os-client-config URL affected by doc-migration
* Update neutron-fwaas-dashboard documentation URL

Change-Id: I8884bdfb22b33ddd8ca235c66e902d98cd24befd
2017-08-05 14:28:29 +00:00
Akihiro Motoki
85fe8f3b5f Exclude relnotes from past releases from Pike relnotes
reno includes release notes touched in a target release
even if they are added from past releases.
The recent release note cleanup I made as part of doc8 adoption
and some other cleanup touched release notes from past releases.
As a result, we see several number of release notes from past
release in the Pike release notes unexpectedly.

This commit ignores such release notes by using 'ignore-notes'
option introduced in reno 2.5.0.

The analysis detail is found at http://paste.openstack.org/show/617310/.
As a summary,
* ignore release notes from past releases touched by
  commit c17a93af02167e5521945ce4c54be5c64a305a0f and
  497cae2b57821bd0af4b51c5dbd53ddf67564206
* Ignore releasenotes/notes/glance-v2-ba86ba34611f95ce.yaml
  updated by commit b01bf0f9a16b6aa48f73bf046e9ef51287cb40cc
  as the commit is backported to Ocata during Ocata RC period
  and released as part of Ocata 11.0.0 release.

Only exception is reorganise-access-and-security-ea7780aa9e7b83e7.yaml.
This file was added in Ocata but it was modified as part of Pike change.
It is really a bad idea to edit a release note of a past release,
but it is a different topic.

Change-Id: Iafe8365dca2a6ef963d7c459dab486975da939bc
Depends-On: Id3af7afb6396da4c3561241be8dd60276bd176e2
2017-08-05 14:28:29 +00:00
Jenkins
caa8a8a91b Merge "Revert "Enable to refresh ngdetails view"" 2017-08-05 04:26:50 +00:00
Jenkins
09563b6b2b Merge "Update the documentation link for doc migration" 2017-08-05 04:17:18 +00:00
Jenkins
b244e32c3b Merge "Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration" 2017-08-05 04:17:11 +00:00
Jenkins
fff92dd35e Merge "Allow users to update images created from other projects" 2017-08-04 19:58:42 +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
Radomir Dopieralski
d9e4b6ae68 Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration
Change-Id: I0633703cef5a225fe8b689017d21aa4f45ecc7cf
Closes-bug: #1708655
2017-08-04 14:52:43 +02:00
OpenStack Proposal Bot
3eac2318a1 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I4fa36f8c9572e5d997a20b392d2ec4e3152d9b35
2017-08-04 11:37:23 +00:00
Jenkins
d5900c33c2 Merge "Show instance resize and rebuild actions in red" 2017-08-04 11:09:23 +00:00
Jenkins
ae0748964d Merge "Correct docs link address in README" 2017-08-04 10:34:20 +00:00
Ying Zuo
d8dea730d9 Allow users to update images created from other projects
Currently on the angular images panel, edit image/update metadata/delete image
actions are only available for images created from the current logged in project.

This patch removed that restriction and added the policy check for the actions.

Change-Id: I17761e27f0659799d5e55e24a6106c3c7a3e5459
Closes-bug: #1698963
2017-08-03 23:18:24 -07:00
jimmygc
4214fc2d75 Clean /tmp after upload when using glance v2 client
When using glance v2 client, it will leave an upload
tmp file in /tmp folder, which will cause upload error
if its filesystem (in memory) is full.

Change-Id: I0a7267db894e7be4216a346752d299132df9a29a
Closes-Bug: #1689694
2017-08-04 10:54:51 +08:00
MinSun
5dc5c04a47 Attach/detach volume showed in instance actions when cinder disabled
If cinder not enabled, we cannot attach/detach volume for an instance.
So it's better not show the drop list.

Change-Id: I09578998c8f1a97bd24fb6043258b94e8f37bc09
Closes-bug: #1703511
2017-08-04 10:13:26 +08:00
Beth Elwell
c4ab26bb64 Reduce user confusion in router creation template
Router creation template should contain the sentence based on the actual
use-case.

For example, if the router connected to the private network which has a
router already, the IP address has to be specified for the new router.

Change-Id: Ie9ddfba539369ab1035755fdf78bf55422952da4
Closes-Bug: #1707617
2017-08-03 15:18:30 +01:00
OpenStack Proposal Bot
19414ccb48 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib88ad6ae6aa1b7e96befa09c8f92215ebdb75922
2017-08-03 11:53:49 +00:00
Jenkins
53dd2dbd39 Merge "Do not call list_l3_agent_hosting_router if not supported" 2017-08-03 06:24:01 +00:00
Adit Sarfaty
245da1d812 Do not call list_l3_agent_hosting_router if not supported
For the admin router view, list_l3_agent_hosting_router is called.
If this extension is not supported, it returns "resource not found"
and an error popup.
This api should not be called in case the extension is not supported.

Closes-bug: #1708081
Change-Id: I38f7386689d95dde3fc76bbf4d6b5e781b515878
2017-08-03 08:16:54 +03:00
Jenkins
e1d0141be1 Merge "Replace dict.iteritems() with dict.items() in horizon" 2017-08-03 04:49:55 +00:00
Jenkins
1054b2710d Merge "Save image name in Server.image_name method" 2017-08-03 03:37:00 +00:00
zhangdebo1987
7999914074 Correct docs link address in README
Change-Id: I23c9d3b3111b6c0a468ed6c467416465429a39ef
2017-08-03 09:18:56 +08:00
Jenkins
adb2583e90 Merge "Fix missing volume name on launch instance modal" 2017-08-02 21:06:16 +00:00
Rob Cresswell
c16ceb149c Revert "Enable to refresh ngdetails view"
This reverts commit fe0df4579cd091caa49a5a0a14bc3b3d93bcd1a4.

Change-Id: I017f27ad1e8833465d6727118019b78ade4c04d6
2017-08-02 18:31:22 +00:00
OpenStack Proposal Bot
c4dca05062 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib106237dfa29f363b984e5608ca39472fa340334
2017-08-02 11:30:42 +00:00
OpenStack Proposal Bot
47cb4f38e1 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I8f61dda206918917469812a75f305f9f7b369f37
2017-08-01 12:17:32 +00:00
yanghuichan
7adb3f548b Replace dict.iteritems() with dict.items() in horizon
1.As mentioned in [1], we should avoid using dict.iteritems()
to achieve iterators. We can use dict.items instead, as it will
return iterators in PY3 as well. And dict.items/keys will more
readable.
2.In py2, the performance about list should be negligible,
see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.htmls

Change-Id: Idba02079d76b529b344ae96cebb7d6161c0ecbc6
2017-08-01 08:31:49 +08:00
Jenkins
2a0229b4fd Merge "Fix translation tag for datepicker" 2017-07-31 19:02:53 +00:00
Jenkins
79135ac5d7 Merge "Update local conf" 2017-07-31 16:02:16 +00:00
Luigi Toscano
5b53b8c17d Pass renderer to SelectWidget.render()
Required for Django 1.11 compatibility. Apparently
DynamicSelectWidget.render() receives it (through kwargs) and
tries to pass the parameter to its parent's method, but then
it fails (leading to exceptions in the rendering).

Closes-Bug: #1707660
Change-Id: I25e294a1c2f721a2f57dd50acb4c5e408b6187f9
2017-07-31 16:50:17 +02:00
Jenkins
92a7014521 Merge "Imported Translations from Zanata" 2017-07-31 13:10:32 +00:00
OpenStack Proposal Bot
c5b0a76f7d Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ie3466cf9b00b4365c173e3913b6c1eb3ef38fcec
2017-07-31 12:37:33 +00:00
Jenkins
44814eb2f7 Merge "Trunks panel: improve details' test coverage" 2017-07-31 12:36:41 +00:00
Jenkins
91d4af58ac Merge "Trunks panel: delete unused part of drawer" 2017-07-31 12:36:33 +00:00
Jenkins
2e8e2d51a5 Merge "Makes the xstatic files lookup dynamic in the tests" 2017-07-31 11:59:15 +00:00