7888 Commits

Author SHA1 Message Date
Shaoquan Chen
bd6fec1400 JSCS cleanup - openstack_dashboard/static/dashboard/workflow
This patch breaks up workflow.js into small pieces according to
Horizon code style.

Change-Id: I2358020f29de4a235dd35553621b007da70d47fa
Partially-Implements: blueprint jscs-cleanup
2015-06-26 15:40:40 -07:00
Aaron Sahlin
28d4339241 JSCS Cleanup - style cleanup for Launch Instance Configuration Step
Following John Papa's style guide
https://github.com/johnpapa/angular-styleguide,
this patch refactors the Angular code for 'configuration' step
in Launch Instance wizard.

Change-Id: I18aef22e6470e0c255636a58c40cc42697993914
Partially-Implements: blueprint jscs-cleanup
2015-06-26 16:32:53 +00:00
Jenkins
5b3b1715b9 Merge "Allowing editing of node group templates" 2015-06-26 12:25:33 +00:00
OpenStack Proposal Bot
f3564ae5b7 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If085f8b4a2b027ef4b38283b5991bd0a04c84017
2015-06-26 06:06:40 +00:00
Jenkins
44e747123e Merge "Adding policy check in quota call" 2015-06-26 02:38:08 +00:00
Jenkins
8cdca1cf6d Merge "Correct and clarify a couple of paths after reorg" 2015-06-26 02:33:23 +00:00
Jenkins
8d25f9b815 Merge "Icon font carets should be used over caret class" 2015-06-26 01:01:21 +00:00
Jenkins
32aebcae80 Merge "Reorganization of Default Themes" 2015-06-26 01:00:38 +00:00
Jenkins
26253f7f94 Merge "JSCS Cleanup - style cleanup for Flavor Step" 2015-06-26 00:53:09 +00:00
Jenkins
d2f08e6855 Merge "JSCS cleanup - style guide cleanup for action-list" 2015-06-25 22:32:45 +00:00
David Lyle
6bfeee5baf Adding policy check in quota call
The default policy for server_list API in nova has changed. This
exposed a problem in the way Horizon was calling server_list when
reading quota values. The call was always made with
all_tenants=True, which is only something admin should be able to
do. Instead of ignoring the privilege problem in the API as in the
past, there is a pre-emptive policy check that makes the call fail.

The fix in Horizon is to only pass in all_tenants=True when the
user has the appropriate privilege level. nova_policy.json has been
updated with the appropriate default and the permission check has
been added.

Removing passing in all_tenants=True at all was contemplated, but
when setting quota values on projects in the identity dashboard,
the administrator level user needs to read quota values from a
project that they are not currently scoped to.

This fixes the error on the network topology screen that was the
motivation for the original bug report.

Closes-Bug: #1468551
Change-Id: I4255c57f81a13cac121596c99eea4ac629ed9ca7
2015-06-25 22:04:50 +00:00
Diana Whitten
9ae749512d Icon font carets should be used over caret class
Icon font carets should be used over the caret class because they
offer more flexibility while themeing. An Icon Font will grow with
the font size dynamically, whereas the caret class is hardcoded to
a specific set of sizes. Also, the fa-caret-down has the same feel
of the other icons --> showing a slight border radius.

Change-Id: I01c01df96d9d3d1bf07b009f94776d53389e0c32
Partially-Implements: blueprint horizon-theme-icons
2015-06-25 11:14:27 -07:00
Jenkins
3917d8e196 Merge "Use gen_resource_name in create/delete user test" 2015-06-25 10:59:13 +00:00
Jenkins
d6a9cc32e6 Merge "Use default values in horizon.conf" 2015-06-25 07:27:48 +00:00
Jenkins
b4dbc62667 Merge "ID Panels with long roles names should fit" 2015-06-25 03:04:50 +00:00
Jenkins
94542b6d7e Merge "JSCS cleanup - style guide cleanup for karma.config.js files" 2015-06-25 00:15:19 +00:00
Jenkins
f1779d8cef Merge "Add required to cidr field for 'Add Subnet'" 2015-06-24 19:54:31 +00:00
Shaoquan Chen
7033531790 JSCS cleanup - style guide cleanup for karma.config.js files
karma.config.js files are wirtten in node.js and therefore should
be compliant to the JavaScript code style applyed in Horizon. Also
some formatting inconsistency should be fixed.

Change-Id: I98978ddb271af9dc3cf18c73d2bd83948d723de7
Partially-Implements: blueprint jscs-cleanup
2015-06-24 10:18:28 -07:00
OpenStack Proposal Bot
536b6d6d67 Updated from global requirements
Change-Id: Iea74e4f3763f83a6fa3043a3824b523003686dc3
2015-06-24 14:39:19 +00:00
Jenkins
c76ace1ac8 Merge "Add missing content-length header" 2015-06-24 14:35:07 +00:00
liyingjun
32f888fe63 Add required to cidr field for 'Add Subnet'
When adding subnet for a network, if no cidr is specified, the workflow
will not be able to process to next without any message to inform the
user that the cidr is required. This patch adds required attribute to
cidr field.

Change-Id: If6daee1fe949dc0d4524e35e0323a7f0cfd7c190
Closes-bug: #1467810
2015-06-24 14:34:45 +08:00
OpenStack Proposal Bot
8a31dc9271 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I56d9f394f9671eecb62427382fcbf4b398369d55
2015-06-24 06:06:03 +00:00
Diana Whitten
fd8fb3912a ID Panels with long roles names should fit
See this screen shot: http://pasteboard.co/14TpE09S.png
The longer role names or having multiple roles is not working well beyond the
most basic _member_ admin type roles. It was also noticed while in the CSS
for the member roles list, that portions of the CSS could benefit from some
very simple refactoring to take advantage of the recent CSS Theme reorg.

Change-Id: Ibf0be2850669fbc8f6d963f70eb9b6c91281de68
Closes-Bug: #1463181
2015-06-23 22:23:13 -07:00
Kelly Domico
92526168ae JSCS cleanup - style guide cleanup for action-list
Following John Papa's style guide, this patch cleans up
the Angular code for the 'action-list' module.

Change-Id: Ic0ad87965b40e155cb3113c2487e536e7833249c
Partially-Implements: blueprint jscs-cleanup
2015-06-23 21:34:12 -07:00
Jenkins
fcc14f6c1e Merge "Error message for invalid cluster details page" 2015-06-24 04:34:12 +00:00
Jenkins
d644088631 Merge "Optimize getting unit in "metering" dashboard" 2015-06-24 03:45:42 +00:00
Jenkins
ab11a3764d Merge "Normalizing Karma configuration" 2015-06-24 02:10:40 +00:00
Jenkins
81d1dc93a5 Merge "Wait until the image is registered in Sahara image test" 2015-06-24 00:19:03 +00:00
Cindy Lu
c3d716ce06 JSCS Cleanup - style cleanup for Flavor Step
Following John Papa's style guide
https://github.com/johnpapa/angular-styleguide,
this patch refactors the Angular code for 'flavor' step
in Launch Instance wizard.

Clean up block comments too.

Change-Id: Iba8ff3b63e6224bd9fbd7117e8cccb46c856337f
Partially-Implements: blueprint jscs-cleanup
2015-06-23 15:21:39 -07:00
Luigi Toscano
b0c62463c7 Skip test_{floatingip,keypair,create_delete_user} for now
The tests are failing for different reasons (see the referenced bug),
so skip them for now.

Change-Id: I9622ed1ba7444089fa1ee6d0c915b8d31c752af6
Related-Bug: #1467950
2015-06-23 19:37:23 +02:00
Jenkins
94c76ff346 Merge "Imported Translations from Transifex" 2015-06-23 09:23:53 +00:00
Jenkins
3dddf284f7 Merge "Admin state column added in load balancer tables" 2015-06-23 07:59:21 +00:00
Jenkins
29ef0549a3 Merge "Hide attach fip if already fip attached" 2015-06-23 07:38:35 +00:00
OpenStack Proposal Bot
9cabade3e0 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: If23d881bc0929a769bed254dd168beef581c709e
2015-06-23 08:58:06 +02:00
Masco Kaliyamoorthy
f8eb626ff9 Admin state column added in load balancer tables
Admin state column is missing in all the load
balancer tables(pool, member and monitors tables).

This patch is adds the admin state column
in all the load balancer tables with the display
choices to translate the values.

Change-Id: I259fecef98e3dfea974d26c23a3679f094136699
Closes-bug: #1436811
2015-06-23 11:21:18 +05:30
Jenkins
2e492ec445 Merge "Remove unsed verbose_name" 2015-06-23 01:18:55 +00:00
Shaoquan Chen
595d9cf546 Normalizing Karma configuration
This cleans up the karma configuration to use auto-discovery
in place of explicitly listing files.

Change-Id: I7b05f7d6921af3a577270638a02717d04e7b20cd
Closes-Bug: #1467684
2015-06-23 11:07:30 +10:00
Jenkins
f00db6cedb Merge "Updated from global requirements" 2015-06-23 00:46:00 +00:00
Jenkins
57e1de6c9a Merge "Add fip to lbaas vip info" 2015-06-23 00:10:46 +00:00
Jenkins
9d4886e903 Merge "ngReorg - move dashboard-app to dashboard" 2015-06-23 00:05:19 +00:00
Jenkins
5d8eb17e8d Merge "Remove now obsolete English po files, update run_tests" 2015-06-22 23:50:00 +00:00
OpenStack Proposal Bot
b28a448d53 Updated from global requirements
Change-Id: Ia63d95854427adf60ba4ea530631b8160c1da6a3
2015-06-22 21:57:50 +00:00
Jenkins
dd878ca952 Merge "hide disassociate floating ip when no ip attached" 2015-06-22 21:50:09 +00:00
Jenkins
6b18a22b51 Merge "Use *.pot files for source language" 2015-06-22 19:39:41 +00:00
Jenkins
6fc8343e74 Merge "Replace makemessages with babel" 2015-06-22 19:34:28 +00:00
Andreas Jaeger
3bfca35194 Remove now obsolete English po files, update run_tests
These English po files are not needed anymore, they are the source files.

Update run_tests.sh to use the .pot files as source for generation of
pseudos.

Update transifex config file so that it references the new pot files.

Depends-On: Ibd7069c68e458d655a879e552f69f7146b47abc9
Change-Id: I6c6989176fd7c969ad6cb4ecb4ff4f5e4641e723
2015-06-22 20:17:55 +02:00
Andreas Jaeger
1f1a013d43 Use *.pot files for source language
All other OpenStack projects use *.pot files for the source language.
In the OpenStack CI scripts, we need to special case horizon since
it uses */locale/en/LC_MESSAGES/*po instead. Remove the special handling
from the horizon scripts so that we can simplify the CI scripts.

Note that this simplifies also the run_tests.sh script.

Add empty files for the pot files so that the infra scripts will work.
The next import from the Proposol Bot will add real content for these
files.

Change-Id: I2ae68207994ba549b5d8e551a40a468d63e0a4bb
2015-06-22 19:29:24 +02:00
Jenkins
8d48809293 Merge "corrected the wrong return value in lbaas test case" 2015-06-22 16:44:29 +00:00
Neill Cox
4e0b09a357 Replace makemessages with babel
Replace django's makemessages with babel and babel-django.

This changes the makemessages command to use babel rather than
Django's builtin makemessages.

There is a follow on patch to add support for angular-gettext.

Change-Id: If4352aba01ce0ca6337f590c0689d8fe9f0867c8
Depends-On: Iaa835b03af3929b7314b174210079c34de976755
2015-06-22 09:44:12 -07:00
Jenkins
d4b96abfe0 Merge "Rename label of remove router from firewall" 2015-06-22 15:38:36 +00:00