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
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
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
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
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
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
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
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
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
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
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
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
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/152243https://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
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>