Repository Grid Column Resizing Issue

Last commit was reverted because it failed for Ubuntu system.
Added it back and made it work for Ubuntu with this patch.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Disable metadata log output in every guest refresh

The libvirt function "metadata" always displays an error message when
the VM does not have a metadata section in its XML descriptor. Kimchi
refreshes the VM information every few seconds and a lot of error output
is printed on the console. The real exception can still be logged by the
"try/except" block, so the error itself is not being silenced, only its
output.

Even though this patch has no relation to feature tests, the functions which
enable/disable the libvirt error messages are located inside the class
FeatureTests so we need to import them.

Silence the metadata error output when trying to read the metadata
information from a VM.

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>
Code Refector: Extract Variables in kimchi.login_window.js

1. Refactor code.
2. Put focus on log-in button instead of password box when browser
   automatically fill in log-in form.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
novnc does not work in IE

vnc_auto.html has 2 meta tags for X-UA-Compatible preventing the IE mode from taking effect. Combine them so they are both effective.

Signed-off-by: Adam King <rak@linux.vnet.ibm.com>
bug fix: decode volume name in IsoVolumesModel.

commit c53b3eab just fix volume name in StorageVolumeModel.
reproduce this bug:
1. create a iso pool
2. put a iso with name αβγ.iso in it

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Add Unit (MB) to Memory in Template Edit Window

Memory unit is lost and add it.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Update API.md

Updated API.md of template memory unit MB.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
show template is local or remote

We do not need a backed to support a field to indicate the template
type.

We just ckeck it by the prefix of iso name.

Signed-off-by: ShaoHe Feng <shaohef@linux.vnet.ibm.com>
Signed-off-by: Yu Xin Huo <huoyuxin@linux.vnet.ibm.com>
Adjust Guest Edit Storage Tab Styles

Keep consistent with interface setup tab.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Remove Unused Files
Bug Fix - Save Button Behaves Incorrectly in Guest Edit Window

There are 3 tabs in guest edit window and only the first tab needs
save button visible. Though in some cases, it will appear in other
tabs. Fixed it in this patch.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Fix Bug: Template Tab Broken in Chrome due to Code Error

String.prototype.startsWith is a Firefox-specified API and Chrome doesn't
support it. Replace it with a generic method.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Fix wrong create/update/delete flags for vmstorages

For vmstorages now, we always use 'CURRENT' flag,
this will result in change not take effective when vm's reboot.
Now use get_vm_config_flag probe the current status of vm,
and change according to vm status.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Adding test case for updating flags

Add test case for flags change to make sure it works
after vm powered off.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Change doc and controllor to support cdrom eject

Add eject action to vmstorage actions,
and add this action to doc.
Instead of reuse 'update', make eject a single action to avoid empty
path introduced confusion.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Update model to support cdrom eject

Modify xml generation to adjust to cdrom eject change.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Add testcase for cdrom eject

Add cdrom eject testcase to make sure it works properly.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
Remove the first column of debug report grid

Have the first column of debug report grid which indicate numbers removed
Added the generating progress indicator

Have the generating progress indicator added, which will be removed after
generating progress finished.
Add Ubuntu as modern distro to Power guests.

Set Ubuntu 14.04 as base for modern Power guests.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>