summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Imported Translations from ZanataOpenStack Proposal Bot2018-02-079-47/+631
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I283149a60384dba6b58889c72fd3b773088397cf
* Merge "Use nova os-services to retrieve host list"Zuul2018-02-077-167/+124
|\
| * Use nova os-services to retrieve host listAkihiro Motoki2018-02-017-167/+124
| | | | | | | | | | | | | | | | | | novaclient version 10 has dropped the support for novaclient.v2.hosts. os-aggregates and migrateLive APIs expects host from os-services, so this commit retrieves host list from os-services API. Change-Id: I5ec007ab1f244ca8caee1eb7b5d4262ac6c32171 Closes-Bug: #1745502
* | Merge "Sync nova policy"Zuul2018-02-077-143/+73
|\ \
| * | Sync nova policyAkihiro Motoki2018-02-057-143/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Imported Translations from Zanata"Zuul2018-02-063-15/+380
|\ \ \
| * | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-053-15/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I623b25d9b36865da552ddb9dc3d09c55e32a383a
* | | | Merge "Change http link to https link"Zuul2018-02-051-1/+1
|\ \ \ \
| * | | | Change http link to https linkMaoyangLiu2018-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change the http://winscp.net/eng/docs/ui_puttygen to https://winscp.net/eng/docs/ui_puttygen Change-Id: I4a6236bf1ca85ec33e7f90234892e3e64403adab
* | | | | Merge "Enable to refresh ngdetails view"Zuul2018-02-055-0/+48
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Enable to refresh ngdetails viewShu Muto2018-02-015-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, refreshing ngdetails view by browser using F5 key or reload button, it causes 404 error from django. To fix this issue, this patch adds the url for '/ngdetails' into django. To reproduce navigations, each request for views.py requires 'dashboard' and 'panel' object. Otherwise django side returns 500 error. However the URL for request of details page (i.e. /ngdetails/) can not provide informations to set the proper navigation. So this patch set them to default dashboard and default panel. This patch focuses to prevent 500 error. So the issue for settings of proper navigation will be fixed by subsequent patch. Change-Id: Ib9f1fe48b3cdecff5ad56e68a5ba58a41cb35f38 Closes-Bug: #1681627
* | | | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-042-4/+103
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Iee579bb1ad44bdf17e8abb0d7361b1a952493cf4
* | | | Merge "Missing VNIC type parameter when using it to create a port"Zuul2018-02-021-0/+2
|\ \ \ \
| * | | | Missing VNIC type parameter when using it to create a portwei.ying2018-02-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the project creation port page, regardless of the choice of VNIC Type, the created port VNIC Type is displayed as Normal, since the creation port does not specify the 'binding__vnic_type' parameter. Change-Id: I29700b29e163363dbd7c85a2d5c68c8a6b635ee6 Closes-Bug:#1746977
* | | | | Views accessible via url even if user doesn't match policy rulesDavid Gutman2018-02-023-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user doesn't match the policy rules of a panel then the panel tab is removed from the menu of the left, but panel views are still accessible using directly the url (ex /admin/flavors/). In most of the case, views won't work correctly because of the lack of right in the backend, but it may cause trouble when you play with policies. I think it could be more elegant to return directly a "You are not authorized to access this page" from the frontend when user try to access a view of a panel (via url) without matching the policy rules. Change-Id: I7bc93fed29568adfc14d5bcadfc8728d3b5cf633 Closes-Bug: #1741051
* | | | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-0210-33/+884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I3797025c69fa36d3ae322ab2fa337e1da7e66836
* | | | | Merge "Imported Translations from Zanata"Zuul2018-02-0137-1264/+695
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-0137-1264/+695
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I0972f5608c547062d2ede5e8a9ad58db3030290d
* | | | | Merge "fix english grammatical error"Zuul2018-02-011-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | fix english grammatical errorHanieh Rajabi2018-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibe93b639b0589c8f59502067b22b65aa89737b16
* | | | | Merge "font for transfer table heading enlarged"Zuul2018-02-011-2/+8
|\ \ \ \ \
| * | | | | font for transfer table heading enlargedSimon Collins2018-01-181-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed the heading type from h5 to h4 to enlarge it without altering the appearance of other h5's. This was done because the current font size made locating the text amongst the many larger elements on the page, this change allows a user to quickly identify the purpose of the sections below. Closes-Bug #1743683 Change-Id: I992ed598d59e4fef6baa18139288782003a1ade3
* | | | | | Merge "i18n: Fix untranslated messages"Zuul2018-02-012-2/+6
|\ \ \ \ \ \
| * | | | | | i18n: Fix untranslated messagesAkihiro Motoki2018-01-312-2/+6
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trunk-subports.help.html: The <p translate> tag was not closed appropriately. This confused angular-gettext and as a result translations are not used properly. launch-instance/networkports/ports.html: "on subnet" was marked as translation string in bug 1745873, but one "on subnet" is forgot to mark. This commit fixes it. Related-Bug: #1745873 Change-Id: I01c653161c9a91d499bf493590bb5f511901f31a
* | | | | | Merge "operation_log: Mask more password fields by default"Zuul2018-02-011-1/+3
|\ \ \ \ \ \
| * | | | | | operation_log: Mask more password fields by defaultAkihiro Motoki2018-01-311-1/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I69283a2b692d1fca93aad1d5ed26a29de4e0e4a9 Closes-Bug: #1744609
* | | | | | Merge "i18n: Do not include html directives in translation strings"Zuul2018-02-013-18/+25
|\ \ \ \ \ \
| * | | | | | i18n: Do not include html directives in translation stringsAkihiro Motoki2018-01-313-18/+25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is important not to include html directives in translation targets as much as possible to avoid unnecessary errors when selecting translated languages. Note that this commit does not necessarily exclude all html directives from translation strings. Some of them needs to be included to allow translators to control the word order properly. This commit mainly focuses on eliminate unrelated html directives. Change-Id: I66a24d4b01e695aab226b7c1cd4bc4f50ab33a7f
* | | | | | Merge "Trunks panel: admin panel"Zuul2018-02-0114-58/+267
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Trunks panel: admin panelLajos Katona2018-01-2914-58/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable admin panel for trunks. For the admin panel the delete action and the readonly operations are enabled (table view and details view). Change-Id: Icfc01612cc60798e4b0ff7379a9c8b83d3f1d60b Implements: blueprint neutron-trunk-ui
* | | | | | Merge "Fix back button on Firefox and Safari"Zuul2018-01-312-0/+25
|\ \ \ \ \ \
| * | | | | | Fix back button on Firefox and SafariRuslan Aliev2018-01-302-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firefox (and Safari) uses bfcache (back-forward cache) to load re-visited pages. The solution is to force a reload when page is loaded from bfcache, so back button will work correctly. More information can be found here [1] and here [2]. [1] https://madhatted.com/2013/6/16/you-do-not-understand-browser-history [2] https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked Change-Id: If023bca7c73f983e55c383856e304379c7b8be3a Closes-bug: #1686315
* | | | | | | Imported Translations from ZanataOpenStack Proposal Bot2018-01-3126-118/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ib69c6785423874993c0bde06bfdf235821d71fd1
* | | | | | | Merge "i18n: Allow translator to control the word order (trunk)"Zuul2018-01-313-5/+25
|\ \ \ \ \ \ \
| * | | | | | | i18n: Allow translator to control the word order (trunk)Akihiro Motoki2018-01-293-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "<IP address> on subnet <subnet>" format in "Parent Port" and "Subports" tabs in "Create Trunk" and "Edit Trunk" form did not allow translators to control the word order because only "on subnet" was marked as translation string and they are concatenated. This commit improves the translation string by using the "translate parameters" feature of Angular gettext. Also "on subnet" in the "Network Ports" tab of "Create Instance" workflow is now marked as translation string. Change-Id: I189897eee8037466ace2b68b8f9be3dc242c4252 Closes-Bug: #1745873
* | | | | | | | Merge "Correct odd exception message"Zuul2018-01-313-4/+4
|\ \ \ \ \ \ \ \
| * | | | | | | | Correct odd exception messageAkihiro Motoki2018-01-303-4/+4
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Invalid service catalog service" looks odd. This commit also fixes typo and unnecessary capitalizations. TrivialFix Change-Id: I356a2da683aa859b791890837dc6bfe060b5b670
* | | | | | | | Imported Translations from ZanataOpenStack Proposal Bot2018-01-3015-82/+4234
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I66ee7142a5ab3c9cd354a97bb2e0219f839d6a23
* | | | | | | Merge "Remove 'tools/install_venv.py' reference paragraph"Zuul2018-01-301-4/+0
|\ \ \ \ \ \ \
| * | | | | | | Remove 'tools/install_venv.py' reference paragraphgaofei2018-01-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]https://github.com/openstack/horizon/commit/6529cd1eb8aef16b7ded96779c684644ed5a9fe0 Change-Id: I302ef1f30781ce916c7309ebfa349fbedf8dd5a6
* | | | | | | | Merge "Horizon UI message when browser cookies disabled"Zuul2018-01-294-0/+22
|\ \ \ \ \ \ \ \
| * | | | | | | | Horizon UI message when browser cookies disabledOla Khalifa2018-01-294-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used dijango's CSRF_FAILURE_VIEW setting to create a view indicating the reason the request was rejected. This information is passed on to the login page so it can render the error. Change-Id: I61c7195c9bafb269816fde12b058e19ebc69953c Closes-Bug: #1412483
* | | | | | | | | Merge "Ensure to mark exception message as tranlation strings"Zuul2018-01-292-2/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Ensure to mark exception message as tranlation stringspeiy2018-01-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in exception.py Class ServiceCatalogException an exception message is untranslated, - in k2k.oy Class K2KAuthPlugin def get_plugin an exception message is untranslated. Change-Id: I7d09f625cc3e074bc5a40478668c7b382613da2f Signed-off-by: peiy <peiy@rc.inesa.com>
* | | | | | | | | | Merge "Tabs in launch server wizard not depending on ↵Zuul2018-01-294-7/+34
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | OPENSTACK_NOVA_EXTENSIONS_BLACKLIST"
| * | | | | | | | | Tabs in launch server wizard not depending on ↵David Gutman2018-01-264-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OPENSTACK_NOVA_EXTENSIONS_BLACKLIST OPENSTACK_NOVA_EXTENSIONS_BLACKLIST is used to disable specific extension. In the launch instance wizard, by example the Server Group tab should be hidden when the extension "ServerGroups" is blacklisted but it isn't. It could be interesting to make these tabs dependent of the supported extensions. Change-Id: I15ea0f1010e3889c217c63e98f1752a4c1ad9ceb Closes-Bug: #1745367
* | | | | | | | | | Imported Translations from ZanataOpenStack Proposal Bot2018-01-2810-25/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I2752d161c7b0ea66a76e4a50bb92af0bb36edf16
* | | | | | | | | | Merge "Zuul: Remove project name"Zuul2018-01-271-1/+0
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Zuul: Remove project nameJames E. Blair2018-01-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zuul no longer requires the project-name for in-repo configuration. Omitting it makes forking or renaming projects easier. Change-Id: I898631af31c12498434223949dab4c0d6a58c3db
* | | | | | | | | | | Merge "Handle novaclient ec2 cert support removal"Zuul2018-01-274-28/+0
|\ \ \ \ \ \ \ \ \ \ \