6767 Commits

Author SHA1 Message Date
Matt Farina
b95038c593 Remove unviewable data from dashboard images (gif/png)
Images can have metadata that does not contribute to the viewable
image. This change removes the data which reduces the files in
size so less data needs to be transfered to browsers.

Change-Id: Ifdd96d8178db35225c31237c18365b1e05256c4c
Closes-bug: #1429980
2015-03-09 15:25:21 -04:00
Jenkins
4bdbd5c873 Merge "Fixing up job binary creation in data processing" 2015-03-09 17:56:14 +00:00
Jenkins
97603552b3 Merge "Always show stack status reason in topology" 2015-03-09 17:54:46 +00:00
Jenkins
ca94cc02b1 Merge "Base dashboard Jasmine framework" 2015-03-09 17:52:32 +00:00
Jenkins
8b3d51f1dd Merge "Replacing data_processing with data-processing" 2015-03-09 09:28:48 +00:00
Jenkins
2f8f7ed6a4 Merge "Add job create test" 2015-03-09 09:15:49 +00:00
liyingjun
69d25c4ca3 Always show stack status reason in topology
Currently, only when the stack is in error status, the stack status
reason will be displayed, otherwise, there will be two line with
exactly same words, and this makes the enduser confuse. So fixes
this by changing to not show anything when stack in not in error
status.

Change-Id: Ifcd8def6b452ecccef9a8daa0e31504cffa2d6ad
Closes-bug: #1428580
2015-03-09 16:52:06 +08:00
liyingjun
49077fcf9f Add job create test
There are tests for index, delete, detail but no test for create.

Change-Id: Ia507ae126747bf6186c8e2e031a8089961057511
Closes-bug: 1429350
2015-03-09 14:58:50 +08:00
OpenStack Proposal Bot
b8e044ed66 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I01e7ed738ed5e369293d45a16f2e7ae2a56fe877
2015-03-09 06:08:36 +00:00
Jenkins
c9172c578d Merge "unite the property of usage test" 2015-03-09 05:32:08 +00:00
Jenkins
699e423010 Merge "Floating IP table should support sorting" 2015-03-09 04:55:34 +00:00
Jenkins
ae1fc154c5 Merge "edit option hided when firewall in pending status" 2015-03-09 04:52:02 +00:00
OpenStack Proposal Bot
d1beedcb55 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I084a25484113454520f688497b6dcb452d619f5f
2015-03-08 06:14:22 +00:00
Jenkins
19c93f92ea Merge "Migrate all instances from host marked for maintenance" 2015-03-07 13:35:43 +00:00
Jenkins
4560b0b412 Merge "Permit using latest python-cinderclient" 2015-03-07 03:26:18 +00:00
Jenkins
e0c310f8c5 Merge "Error handling patterns are consistent in volumes forms" 2015-03-07 01:26:29 +00:00
Jenkins
ae0f5b0fd3 Merge "Fix tutorial to correctly display custom dashboard/panel" 2015-03-07 01:26:17 +00:00
Jenkins
750ef0b347 Merge "Allow to hide tab title bar when only one tab is available" 2015-03-07 00:07:56 +00:00
Jenkins
2cb7b27bd3 Merge "Set OS_PROJECT_NAME" 2015-03-07 00:07:02 +00:00
Jenkins
15852f2ad5 Merge "Making Resource panel visible where appropriate" 2015-03-06 22:34:06 +00:00
Kahou Lei
877e465b36 Floating IP table should support sorting
Currently the IPv4Address parser in the tablesort only look up the text inside
<li></li>. This works fine in the instance table since the cell format has a list to
wrap around it. However, other table can still fit the IP without <li> with it.

This patach is to enhance the parser to look up the text in the cell directly if <li>
is not presented.

Change-Id: Id22ebc538d6d2adbcb6be21be2f28c47b0fcc217
Closes-Bug: #1428172
2015-03-06 22:27:03 +00:00
Akihiro Motoki
4668dc4548 Allow to hide tab title bar when only one tab is available
In detail pages with a single tab, tab title bars are redundant
and unnecessary. For such pages, it would be nice if a tab bar
is hidden.

This commit introduces show_single_tab attribute to TabGroup
class. The default value is set to False because hiding a tab bar
for a single tab page looks appropriate in most cases.

Tab mechanism makes developers to add new tabs for extensibility.
If we remove tab view and change such view into a normal DetailView
we will lose the extensibility. After discussion with some Horizon
developers, it sounds nice to hide tab bar for a single tab page.

Closes-Bug: #1382546
Change-Id: I90276c531d0a017e3970b48290ae730ea3f1ecad
2015-03-06 19:35:51 +00:00
Matt Fischer
7842c9f736 Set OS_PROJECT_NAME
OS_TENANT_NAME is deprecated and some clients, such as Monasca, don't
reference it. This sets them equivalent for now until OS_TENANT_NAME can
be fully removed.

Change-Id: I37ddbd0f25d938ab09d7fe25cbf08925c32d498c
2015-03-06 11:29:49 -07:00
Sergey Reshetnyak
8c4a2cd126 Replacing data_processing with data-processing
Using data_processing when setting keystone static catalog causes
Sahara not to find the endpoint afterwards since keystone translates
data_processing to data-processing.

Change-Id: I5b253e4f5a0486913c59150d2bafd631f06a8cf1
Partial-bug: #1356053
2015-03-06 10:53:54 +03:00
OpenStack Proposal Bot
03f763f304 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I44f975115710117848392023b73b722eae624517
2015-03-06 06:13:15 +00:00
Jenkins
7f28ff1c8e Merge "REST Angular for Cinder Fix" 2015-03-06 02:42:12 +00:00
Jenkins
30e014cf25 Merge "Rest API for Users list filter" 2015-03-06 01:15:32 +00:00
Matt Borland
e168c95678 Base dashboard Jasmine framework
Establishes Jasmine testing features in openstack_dashboard, similar
to the features in horizon. These features allow components specific
to openstack_dashboard to be tested.

Partially Implements: blueprint launch-instance-redesign

Change-Id: I1f996e97f5cd01c9c32d7874eb5c0668d67e24bd
2015-03-05 16:02:35 -07:00
Chad Roberts
4db5ae3e30 Fixing up job binary creation in data processing
Fixing up the job binary creation form so that it can be used
as a target for add_item_link in a DynamicChoiceField.  Also,
making adding items possible from the job creation form for
both mains and libraries.

Change-Id: I27c830c8e3972453b323287f0051347ec9c9b150
Partial-Implements: blueprint data-processing-rework-ui
2015-03-05 12:53:09 -05:00
Jenkins
de3f223b32 Merge "admin state column added in router table" 2015-03-05 11:27:22 +00:00
Jenkins
734cc8b6a2 Merge "Imported Translations from Transifex" 2015-03-05 09:49:21 +00:00
Jenkins
88168c4d43 Merge "Updated from global requirements" 2015-03-05 08:20:32 +00:00
Jenkins
4bd24195ba Merge "REST API to support create instance angular (Neutron)." 2015-03-05 07:38:12 +00:00
OpenStack Proposal Bot
761a5d936c Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I73806b3252a9023e2ec08f64db04f287a45bd37e
2015-03-05 06:11:13 +00:00
Masco Kaliyamoorthy
e2cbdf04ac admin state column added in router table
admin state column is missing in router
table.

this patch is added the admin state column
in router table with the display choices
to translate the values

Change-Id: I9653ded182e9070f22249be53f7b9b6397c43b54
Closes-Bug: #1421166
2015-03-05 11:03:18 +05:30
Jenkins
f256f336fc Merge "Move variables from accordion nav to _variables.scss" 2015-03-05 05:21:45 +00:00
OpenStack Proposal Bot
38b4275d60 Updated from global requirements
Change-Id: I6222aff029c82762b362bbc3e6e87cd99192bebb
2015-03-05 04:50:21 +00:00
Jenkins
c999189824 Merge "Clean up whitespace in settings files" 2015-03-05 04:45:50 +00:00
Chris Johnson
d76708e62b Fix tutorial to correctly display custom dashboard/panel
This change fixes a bug in the "Building a Dashboard using
Horizon" tutorial in the Horizon developer documentation.
The tutorial shows new Horizon developers how to build a
custom dashboard and panel that displays running instances.

In the tutorial, the URL pattern provided fails to display
the custom dashboard & panel. This change updates the URL
pattern. The custom dashboard and panel now correctly show
the custom view of instances data.

Documentation has been regenerated and reviewed to ensure
change was correctly done.

DocImpact
Closes-Bug: #1427758

Change-Id: I522825c6d24fcaf0981f5faab273e2efd6e00f1a
2015-03-04 16:43:56 -08:00
Jenkins
7abbe25cb2 Merge "Imported Translations from Transifex" 2015-03-04 21:36:59 +00:00
Jenkins
a75bd45466 Merge "Avoid failure when spinner is already gone" 2015-03-04 21:01:48 +00:00
Kelly Domico
76f658f859 Move variables from accordion nav to _variables.scss
Colors defined in _accordion_nav.scss are moved to
the _variables.scss to allow for easier theming.

Change-Id: I57aa4e37536280d72f412baf8e8653a94f290652
Partially-Implements: blueprint css-breakdown
2015-03-04 12:17:34 -08:00
woodm1979
1dc58a1c93 Clean up whitespace in settings files
Whitespace should be consistent inside of local_settings.py.example.

Currently, most comments in side our settings files follow the "space
after # mark" guideline. This is as it should be. However, commented out
code-lines are inconsistently including that space. Most of the time
they don't include it.

There's a case to be made for either approach:

Do include the space after the #:
    Keeps things consistent and it's how pyflakes likes things.

Do not include the space after the #:
    Identifies the commented out line as potential code, instead of a
    descriptive comment.

    Makes it easier to just remove the '#' character to activate the
    line of code. Specifically with python, leaving the white space is
    likely bad.

An informal survey of the lines in these files shows that most commented
out code lines do not have a space, and I agree with that policy. I'd
like to make this the policy and clean up the code.

Also added trailing ',' chars on the last element of many lists.

Change-Id: I36b6b40996f7ee5eb566719fe7a92ddecf569f5d
Closes-Bug: #1428222
2015-03-04 10:38:33 -07:00
Mike Hagedorn
255340c596 REST API to support create instance angular (Neutron).
In this update:
- fixed tests
- fixed exception handling, params on ports
- fixed to_dict for a number of cases
- replaced use of request.DATA with request.GET for GET methods
- added handling of HTTP error raised with no status/code attr
- removed check for network_id in subnets as it's not required
- fix to_dict for Network with Subnets

Supercedes
https://review.openstack.org/#/c/152243
https://review.openstack.org/#/c/151313

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Aaron Sahlin <asahlin@us.ibm.com>
Co-Authored-By: Michael Hagedorn <mike.hagedorn@hp.com>
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>

Change-Id: Ia40fde6d66720a03a531b516a6a53a2e86ec0d8f
2015-03-04 07:20:43 -05:00
OpenStack Proposal Bot
f6f94775b0 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ibab9a3b146fd92add0f2af6faf9cccfb535f2762
2015-03-04 06:10:38 +00:00
Jenkins
36e87c6b75 Merge "Remove extra jQuery object creation in horizon.modals.js" 2015-03-04 00:11:59 +00:00
Gary W. Smith
dca7117fdf Permit using latest python-cinderclient
Fix a number of unit tests so that they will work with the latest
cinderclient, which will be released by the end of Kilo.

The problem was that several horizon unit tests made calls into
python-cinderclient that should have been stubbed out (but were not).
These calls silently did nothing in the released python-cinderclient due
to a "feature" where certain GET functions would return an empty list
when the auth url was an empty string, instead of returning an auth
failure.  Recent changes in the python-cinderclient authorization
functions closed this hole, which then revealed problems in the horizon
unit tests:
1) several tests were lacking stubs to cinder calls, and
2) the auth url in test of cinderclient v2 was empty due to a missing
   dictionary entry in test_data/keystone_data.py

Change-Id: I33967a924f4e47009fdc1613248afd1bd377f34f
Closes-Bug: 1423425
Co-Authored-By: Richard Hagarty <richard.hagarty@hp.com>
2015-03-03 15:45:52 -08:00
Jenkins
7579802f8f Merge "Allow Jasmine failures to fail test" 2015-03-03 23:12:51 +00:00
Jenkins
78d0c969e2 Merge "Fix Jasmine unit tests failing" 2015-03-03 23:12:14 +00:00
Matt Farina
fe2dc1d8ac Remove extra jQuery object creation in horizon.modals.js
Reduces the number of jQuery document objects from 7 to 1 using a variable.

Change-Id: I7b1bf71512c1913854f94767b475fc04ecad2afc
Partial-Bug: #1412971
2015-03-03 19:27:30 +00:00