This patch breaks up workflow.js into small pieces according to
Horizon code style.
Change-Id: I2358020f29de4a235dd35553621b007da70d47fa
Partially-Implements: blueprint jscs-cleanup
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
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
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
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
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
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
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
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
The tests are failing for different reasons (see the referenced bug),
so skip them for now.
Change-Id: I9622ed1ba7444089fa1ee6d0c915b8d31c752af6
Related-Bug: #1467950
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
This cleans up the karma configuration to use auto-discovery
in place of explicitly listing files.
Change-Id: I7b05f7d6921af3a577270638a02717d04e7b20cd
Closes-Bug: #1467684
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
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
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