]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agochange hotplugselector to checkboxes
Dominik Csapak [Wed, 11 May 2016 09:40:31 +0000 (11:40 +0200)]
change hotplugselector to checkboxes

the hotplugselector was not good to use,
and the options were confusing (empty was the default value, etc)

now we have checkboxes for each value, and if none are selected,
hotplug is disabled

also fixes the renderer when hotplug is set to '1' which
just means the default of 'disk,network,usb'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoAdd ceph in optional packages
Wolfgang Link [Tue, 10 May 2016 06:01:42 +0000 (08:01 +0200)]
Add ceph in optional packages

It is usefull to see which ceph version are installed on the PVE host.

8 years agoupdate changelog
Dietmar Maurer [Fri, 6 May 2016 07:29:51 +0000 (09:29 +0200)]
update changelog

8 years agofix #979: check always for migrated vm
Dominik Csapak [Fri, 6 May 2016 06:48:29 +0000 (08:48 +0200)]
fix #979: check always for migrated vm

we only checked for grouping attributes for moved vms,
but this is only true in server view

e.g. in pool view the grouping attributes is pool
and the item is not reselected, resulting in a "file not found"
error (it looks for the conf on the wrong node)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoHDEdit: cleanup, move logic to view controller
Dietmar Maurer [Wed, 4 May 2016 11:06:13 +0000 (13:06 +0200)]
HDEdit: cleanup, move logic to view controller

8 years agofix #973: disable iothread for non-virtio drives
Dietmar Maurer [Wed, 4 May 2016 10:48:18 +0000 (12:48 +0200)]
fix #973: disable iothread for non-virtio drives

this patch disables the iothread field, whenever the disk
is not a virtio disk, or the selected controller is not
virtio

8 years agoStatus/Graphite: fix carbon protocol
Alexey Kuzmin [Tue, 3 May 2016 13:05:17 +0000 (15:05 +0200)]
Status/Graphite: fix carbon protocol

Carbon (particularly carbon-c-relay) expects one metric per line.
Current PVE implementation breaks this rule.

Committed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoStatus/Plugin: fix Typo
Thomas Lamprecht [Tue, 3 May 2016 13:05:16 +0000 (15:05 +0200)]
Status/Plugin: fix Typo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoCosmetic improvement: display the generated HTML with proper indenting
Emmanuel Kasper [Tue, 3 May 2016 11:40:57 +0000 (13:40 +0200)]
Cosmetic improvement: display the generated HTML with proper indenting

8 years agoServe debug versions of ExtJS libs when pveproxy is started in debug mode
Emmanuel Kasper [Tue, 3 May 2016 11:40:56 +0000 (13:40 +0200)]
Serve debug versions of ExtJS libs when pveproxy is started in debug mode

8 years agoimprove pending changes for qemu hardware in gui
Dominik Csapak [Tue, 3 May 2016 07:26:42 +0000 (09:26 +0200)]
improve pending changes for qemu hardware in gui

this patch fixes an access to an undefined value
if a disk/cd/network device was pending

also improve how this is displayed:
instead of
****
undefined
new value
****

show just the new value

this occured when having a new disk under pending,
or having a disk removal under pending

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd undo Zoom Button
Dominik Csapak [Tue, 3 May 2016 07:12:11 +0000 (09:12 +0200)]
add undo Zoom Button

this adds a decent undo zoom button, which is only enabled
when the chart is zoomed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agorename enableAfterLoad to enableLoadMask
Dominik Csapak [Tue, 3 May 2016 07:00:56 +0000 (09:00 +0200)]
rename enableAfterLoad to enableLoadMask

also add an explaining comment

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Tue, 3 May 2016 07:24:43 +0000 (09:24 +0200)]
update changelog

8 years agoDo not send -debug versions of framework files
Emmanuel Kasper [Mon, 25 Apr 2016 11:42:59 +0000 (13:42 +0200)]
Do not send -debug versions of framework files

From ExtJS4 to 6 the debug files have doubled in size from
4.4MB to 8.8MB
HTTPServer.pm compress these files on the fly before sending them
to the browser (as "Accept-Encoding: gzip"  is the default in
browsers)

On very slow systems (AMD Bobcat for instance, as discussed in
https://forum.proxmox.com/threads/no-webfrontend-showed-in-browser-with-new-gui-pvetest.26951/#post-135699

the compression of this file can take up to 5 seconds, and this will
hit the HTTP Timeout (line 1629) we use for serving static files, provoking the
error:
curl -k --verbose --insecure --header "Accept-Encoding: gzip"  https://slowhost:8006/pve2/ext6/ext-all-debug.js
curl: (18) transfer closed with 1991108 bytes remaining to read

Non-debug files are 4 times smaller, and since everybody will benefit of having
a faster initial load of PVE, there is no reason not to make this default.

8 years agoupdate default vzdump.conf
Fabian Grünbichler [Mon, 2 May 2016 08:46:31 +0000 (10:46 +0200)]
update default vzdump.conf

8 years agoupdate changelog
Dietmar Maurer [Tue, 3 May 2016 04:44:33 +0000 (06:44 +0200)]
update changelog

8 years agofix pending changes with boot order
Dominik Csapak [Tue, 26 Apr 2016 12:41:57 +0000 (14:41 +0200)]
fix pending changes with boot order

this patch checks if only the bootdisk changed,
using the multikey funcionality

also use this in the revert button handler,
to revert the bootdisk also

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-4
Dietmar Maurer [Tue, 3 May 2016 04:34:50 +0000 (06:34 +0200)]
bump version to 4.2-4

8 years agofix #944: do not filter by empty array
Dominik Csapak [Mon, 2 May 2016 13:43:58 +0000 (15:43 +0200)]
fix #944: do not filter by empty array

we set the pveNodeSelector to [] by default,
but filter by !node (![] == false), so that no vms are shown

this occurs, when the pveNodeSelector store loads after the store
for the vm list, which rarely happens

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix lint errors
Dominik Csapak [Mon, 2 May 2016 13:43:57 +0000 (15:43 +0200)]
fix lint errors

jslint does not like trailing commas and assignments
of the form "x = !(expression)"

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix combobox reset behaviour
Dominik Csapak [Mon, 2 May 2016 13:43:56 +0000 (15:43 +0200)]
fix combobox reset behaviour

on comboboxes/combogrids with multiselect,
if you deselect an item (but not the last),
the order of the selected items after resetting is
not the same as the original order

because of this, the reset button is still enabled

this happens, because extjs only adds the missing
values instead of overwriting the whole array

with this fix, we overwrite the reset function of
the comboboxes and only if the values do not match
(after a reset) do we clear and set the value again

so we only change the behaviour when it is necessary

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix combogrid multiselect bug
Dominik Csapak [Mon, 2 May 2016 12:35:59 +0000 (14:35 +0200)]
fix combogrid multiselect bug

this fixes a nasty combogrid/multiselect/storeload bug
in which the value of a combogrid gets set to a string instead
of an array, under certain circumstances

we overwrite the getRawValue method of our ComboGrid,
and on multiselect ComboGrids, we just get the value out of
me.rawValue, else we call the method of the parent class

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix not reachable return and duplicate property
Dominik Csapak [Fri, 29 Apr 2016 10:06:35 +0000 (12:06 +0200)]
jslint: fix not reachable return and duplicate property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix tab/space mixed intendation
Dominik Csapak [Fri, 29 Apr 2016 10:06:34 +0000 (12:06 +0200)]
jslint: fix tab/space mixed intendation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix access to uninitialized variable
Dominik Csapak [Fri, 29 Apr 2016 10:06:33 +0000 (12:06 +0200)]
jslint: fix access to uninitialized variable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: change (x)?x:y to x || y
Dominik Csapak [Fri, 29 Apr 2016 10:06:32 +0000 (12:06 +0200)]
jslint: change (x)?x:y to x || y

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix _ prefix and 'for in' over an object
Dominik Csapak [Fri, 29 Apr 2016 10:06:31 +0000 (12:06 +0200)]
jslint: fix _ prefix and 'for in' over an object

jslint does not like names that begin with _

also it complains when you do not filter
a for in statement with a hasOwnProperty(property) as first
if statement

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix missing or extra semicolon
Dominik Csapak [Fri, 29 Apr 2016 10:06:30 +0000 (12:06 +0200)]
jslint: fix missing or extra semicolon

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: add global entries where necessary
Dominik Csapak [Fri, 29 Apr 2016 10:06:29 +0000 (12:06 +0200)]
jslint: add global entries where necessary

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: remove trailing commas
Dominik Csapak [Fri, 29 Apr 2016 10:06:28 +0000 (12:06 +0200)]
jslint: remove trailing commas

before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix type confusion and property access
Dominik Csapak [Fri, 29 Apr 2016 10:06:27 +0000 (12:06 +0200)]
jslint: fix type confusion and property access

fix various type confusion, for example:
items: {} and items: []
style: string and style: {}

also fix object['property'] access with
object.property

also fix /=/ with either '=' or /\=/ where appropriate
(/=/ can be confused with /= according to jslint)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojslint: fix curly braces for if
Dominik Csapak [Fri, 29 Apr 2016 10:06:26 +0000 (12:06 +0200)]
jslint: fix curly braces for if

in one change, there is also a change from object['property']
to object.property which jslint complains about

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Fri, 29 Apr 2016 07:18:41 +0000 (09:18 +0200)]
update changelog

8 years agodisable selecting when right clicking in tree
Dominik Csapak [Thu, 28 Apr 2016 13:24:00 +0000 (15:24 +0200)]
disable selecting when right clicking in tree

ext4 would not select a tree item on right click,
ext6 does this, so we have to save which
mousebutton was clicked and react accordingly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-3
Dietmar Maurer [Thu, 28 Apr 2016 08:58:22 +0000 (10:58 +0200)]
bump version to 4.2-3

8 years agoimprove gui cidr matching
Dominik Csapak [Thu, 28 Apr 2016 08:39:47 +0000 (10:39 +0200)]
improve gui cidr matching

with this fix, we (again) allow ipv4 cidr to be as low as 8
also check the cidr for ipv6 and show the valid ranges in the
error text

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-2
Dietmar Maurer [Tue, 26 Apr 2016 10:09:02 +0000 (12:09 +0200)]
bump version to 4.2-2

8 years agofix securitygroupselector
Dominik Csapak [Tue, 26 Apr 2016 09:32:43 +0000 (11:32 +0200)]
fix securitygroupselector

move the display and value field into class definition,
to make it work again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2
Dietmar Maurer [Mon, 25 Apr 2016 09:22:38 +0000 (11:22 +0200)]
bump version to 4.2

8 years agorefactor bootdisk test and prevent multiple bootdisks
Dominik Csapak [Mon, 25 Apr 2016 07:47:48 +0000 (09:47 +0200)]
refactor bootdisk test and prevent multiple bootdisks

refactor the test for the bootdisk, to make future changes easier,
also, only allow one bootdisk to be selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #943: allow saving of values
Dominik Csapak [Mon, 25 Apr 2016 07:47:47 +0000 (09:47 +0200)]
fix #943: allow saving of values

we mistakenly did not reset the originalvalues after the inital
load, which meant that on reset we would not get the correct values

furthermore we have to suspend only the change event and not all,
otherwise the functions for enabling/disabling the ok/reset buttons
do not trigger (on validitychange and dirtychange)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #949: add post-restart hook to vzdump
Fabian Grünbichler [Fri, 22 Apr 2016 08:35:29 +0000 (10:35 +0200)]
fix #949: add post-restart hook to vzdump

8 years agoupdate changelog
Dietmar Maurer [Fri, 22 Apr 2016 08:35:39 +0000 (10:35 +0200)]
update changelog

8 years agodo not disable a combogrid when it loads
Dominik Csapak [Fri, 22 Apr 2016 08:00:47 +0000 (10:00 +0200)]
do not disable a combogrid when it loads

instead of disabling a combogrid when its store loads,
we make the gridpanel bigger, to show its loading mask

since we do not disable/enable anymore, we have no reason
to suspend/resume the validitychange event anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix wizard validity logic
Dominik Csapak [Fri, 22 Apr 2016 08:00:46 +0000 (10:00 +0200)]
fix wizard validity logic

we always checked the validity of the panels of the wizard,
when the event validitychange of a subelement triggered,
sadly this does not always happen

for example:

when switching back and forth between 'cdrom' and iso
while having no valid iso selected, the validitchange does not
trigger for the combogrids

instead we listen to the 'change' event, then the check will
be executed at the right time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoRevert "HA Resource: allow selecting no group"
Dominik Csapak [Fri, 22 Apr 2016 08:00:45 +0000 (10:00 +0200)]
Revert "HA Resource: allow selecting no group"

because we reenabled the keyevents
This reverts commit 2dbef77aa2e0012bc6151d67094c348261bc5c09.

8 years agoadd enableKeyEvents to combogrid
Dominik Csapak [Fri, 22 Apr 2016 08:00:44 +0000 (10:00 +0200)]
add enableKeyEvents to combogrid

to reenable the 'del' and 'backspace' keys

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agolxc rate limit: do not write value 0 (simply omit value)
Dietmar Maurer [Fri, 22 Apr 2016 08:13:31 +0000 (10:13 +0200)]
lxc rate limit: do not write value 0 (simply omit value)

8 years agobump version to 4.1-34
Dietmar Maurer [Fri, 22 Apr 2016 07:15:22 +0000 (09:15 +0200)]
bump version to 4.1-34

8 years agoLXC GUI: add network rate limit
Dietmar Maurer [Fri, 22 Apr 2016 07:14:09 +0000 (09:14 +0200)]
LXC GUI: add network rate limit

8 years agoupdate changelog
Dietmar Maurer [Thu, 21 Apr 2016 10:25:12 +0000 (12:25 +0200)]
update changelog

8 years agobump version to 4.1-33
Dietmar Maurer [Thu, 21 Apr 2016 10:22:15 +0000 (12:22 +0200)]
bump version to 4.1-33

8 years agoDo not display the internal value we use for storing ostypes
Emmanuel Kasper [Thu, 21 Apr 2016 09:50:24 +0000 (11:50 +0200)]
Do not display the internal value we use for storing ostypes

Strings like 'Linux 4.X/3.X/2.6 Kernel' are difficult
enough to visually parse, so don't append the internal
representation (l26) at the end: it does not bring any relevant
information to the user, and we usually don't display
internal representations in the GUI.

8 years agoupdate changelog
Dietmar Maurer [Wed, 20 Apr 2016 16:16:55 +0000 (18:16 +0200)]
update changelog

8 years agoHA Resource: allow selecting no group
Thomas Lamprecht [Wed, 20 Apr 2016 11:04:53 +0000 (13:04 +0200)]
HA Resource: allow selecting no group

this fixes a regression which was introduced by commit:
a263665b161316a14c20afa51ec3fb4d1bac4edb

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoadd Windows 10 and 2012r2 to OS selection
Wolfgang Link [Tue, 19 Apr 2016 12:38:33 +0000 (14:38 +0200)]
add Windows 10 and 2012r2 to OS selection

So user now we support also Win 10 and R2.

8 years agofix #759: save columns of resourceGrid
Dominik Csapak [Wed, 20 Apr 2016 07:35:19 +0000 (09:35 +0200)]
fix #759: save columns of resourceGrid

with this patch, the resourceGrid saves its state when
the columns are changed (resized, sorted, etc.)

also add a little reset button to the toolbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove trailing whitespaces
Dominik Csapak [Fri, 15 Apr 2016 13:26:29 +0000 (15:26 +0200)]
remove trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #143: add disk/mem percent sort
Dominik Csapak [Fri, 15 Apr 2016 13:26:28 +0000 (15:26 +0200)]
fix #143: add disk/mem percent sort

previously, we had a disk/memory usage column in the resource grid,
whose raw data were the bytes used, but we added a renderer
to display it as percentage

with this, the columns sorted by bytes and not by percentage,
which made the column rather confusing

with this patch, we add a real percentage column (where the
data is a float from 0 to 1) so it sorts correctly

also make the old columns show the used size in B/KiB/etc.
by default we still only show the percentage column

since the disk usage part was always zero with qemu guests,
leave it empty there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-32
Dietmar Maurer [Wed, 20 Apr 2016 07:30:44 +0000 (09:30 +0200)]
bump version to 4.1-32

8 years agoenhace visibillity of dialog window border
Thomas Lamprecht [Wed, 20 Apr 2016 07:13:57 +0000 (09:13 +0200)]
enhace visibillity of dialog window border

previously the upper border of a dialog window was white only, thus
when a window opened it had a little less contrast.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoMove logout button to the top right corner of the workspace
Emmanuel Kasper [Tue, 19 Apr 2016 11:26:02 +0000 (13:26 +0200)]
Move logout button to the top right corner of the workspace

This makes us similar to 90% of sites and thus make the interface
more familiar to new users.

8 years agobump version to 4.1-31
Dietmar Maurer [Tue, 19 Apr 2016 07:40:03 +0000 (09:40 +0200)]
bump version to 4.1-31

8 years agouse translated strings in format_ha()
Dietmar Maurer [Tue, 19 Apr 2016 07:37:26 +0000 (09:37 +0200)]
use translated strings in format_ha()

8 years agoStatusView: more verbose HA status output
Thomas Lamprecht [Mon, 18 Apr 2016 12:52:04 +0000 (14:52 +0200)]
StatusView: more verbose HA status output

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoadd render_*_percentage and calculate_* to Utils
Dominik Csapak [Fri, 15 Apr 2016 13:26:27 +0000 (15:26 +0200)]
add render_*_percentage and calculate_* to Utils

these functions will be used for the resource grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agogeneralize format_size function
Dominik Csapak [Fri, 15 Apr 2016 13:26:26 +0000 (15:26 +0200)]
generalize format_size function

now it calculates the size in a general way,
up to the size defined in an array

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodocs: typo, newlines
Fabian Grünbichler [Fri, 15 Apr 2016 11:11:25 +0000 (13:11 +0200)]
docs: typo, newlines

8 years agoupdate changelog
Dietmar Maurer [Fri, 15 Apr 2016 07:43:29 +0000 (09:43 +0200)]
update changelog

8 years agoalso display Linux 4.X on OS selection
Dominik Csapak [Thu, 14 Apr 2016 13:38:36 +0000 (15:38 +0200)]
also display Linux 4.X on OS selection

changes only the display

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #181: rewrite Boot Order Window
Dominik Csapak [Thu, 14 Apr 2016 13:34:30 +0000 (15:34 +0200)]
fix #181: rewrite Boot Order Window

changed the way the boot order selection behaves:

now when choosing a value which already is chosen elsewhere,
switch them

also when assigning any device as none, move the remaining devices up

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-30
Dietmar Maurer [Fri, 15 Apr 2016 06:38:37 +0000 (08:38 +0200)]
bump version to 4.1-30

8 years agoGUI: use raw format for DRBD images
Dietmar Maurer [Fri, 15 Apr 2016 06:18:18 +0000 (08:18 +0200)]
GUI: use raw format for DRBD images

8 years agobump version to 4.1-29
Dietmar Maurer [Thu, 14 Apr 2016 15:03:31 +0000 (17:03 +0200)]
bump version to 4.1-29

8 years agoFix 'mailto: ...' in /etc/vzdump.conf
Fabian Grünbichler [Thu, 14 Apr 2016 12:23:40 +0000 (14:23 +0200)]
Fix 'mailto: ...' in /etc/vzdump.conf

allow comma-separated list of email addresses, like the API2
parameter.

8 years agobump version to 4.1-28
Dietmar Maurer [Thu, 14 Apr 2016 10:49:05 +0000 (12:49 +0200)]
bump version to 4.1-28

8 years agoVZDump: add -mailto schema desc
Fabian Grünbichler [Thu, 14 Apr 2016 10:41:16 +0000 (12:41 +0200)]
VZDump: add -mailto schema desc

8 years agoVZDump: remove dead code
Fabian Grünbichler [Thu, 14 Apr 2016 08:34:43 +0000 (10:34 +0200)]
VZDump: remove dead code

remove get_lvm_mapping and get_lvm_device, which are not
used anywhere anymore.

8 years agoVZDump: mark 'size' as deprecated, warn if set
Fabian Grünbichler [Thu, 14 Apr 2016 08:34:42 +0000 (10:34 +0200)]
VZDump: mark 'size' as deprecated, warn if set

this parameter should be removed in a future release, just
warn and change description for now to avoid breakage.

8 years agoVM -> guest in VZDump schema descriptions
Fabian Grünbichler [Thu, 14 Apr 2016 07:16:10 +0000 (09:16 +0200)]
VM -> guest in VZDump schema descriptions

8 years agoSpelling in VZDump descriptions
Fabian Grünbichler [Thu, 14 Apr 2016 07:16:09 +0000 (09:16 +0200)]
Spelling in VZDump descriptions

8 years agofix ceph tabs switching
Dominik Csapak [Wed, 13 Apr 2016 07:12:34 +0000 (09:12 +0200)]
fix ceph tabs switching

when switching from one node to another, we stop the wrong store
for the ceph tabs disk/monitor/pools because they have the same id,
so give them different ones

also the same applies for node/Services, fix it there too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoFix #936: ceph: support multiple roots in osd tree
Wolfgang Bumiller [Tue, 12 Apr 2016 07:56:04 +0000 (09:56 +0200)]
Fix #936: ceph: support multiple roots in osd tree

The OSD tree in our GUI otherwise only shows the "first"
root it finds in the crush map.

8 years agoupdate changelog
Dietmar Maurer [Wed, 13 Apr 2016 06:20:15 +0000 (08:20 +0200)]
update changelog

8 years agowww: monitor: support page up/down
Wolfgang Bumiller [Mon, 11 Apr 2016 12:42:20 +0000 (14:42 +0200)]
www: monitor: support page up/down

to scroll the textbox while keeping focus in the inputbox

8 years agobump version to 4.1-27
Dietmar Maurer [Tue, 12 Apr 2016 15:12:32 +0000 (17:12 +0200)]
bump version to 4.1-27

8 years agoDo not disable a invalid previous tab, as this make the tab fields valid
Emmanuel Kasper [Mon, 11 Apr 2016 12:35:59 +0000 (14:35 +0200)]
Do not disable a invalid previous tab, as this make the tab fields valid

disable_at() iterates over all the fields of the previously selected
tab and disables them
however disabling an input field makes it valid for validation purposes. I can't see a reason why disabling the tab fields
is needed, since the tab already hidden
and after testing, it seems safe to remove this call

this fix a problem when going back and forth in the wizard would
make some fields uneditable for the wrong reason

8 years agoRecheck field validation after manually enabling the input field of a ComboGrid
Emmanuel Kasper [Mon, 11 Apr 2016 12:35:58 +0000 (14:35 +0200)]
Recheck field validation after manually enabling the input field of a ComboGrid

Calling setDisabled(true) on a component makes it valid, but calling setDisabled(false) afterwards did not retrigger a validation check

This fixes a serious bug which was happening in the following
conditions, for instance in the template tab of LXC Wizard:
1) user selects a storage
2) this triggers a reload of a related combogrid
3) this combogrid is marked valid, although its value is empty and it had allowedBlank: false

8 years agorevert default compress mode for vzdump to 0
Dominik Csapak [Tue, 12 Apr 2016 09:36:45 +0000 (11:36 +0200)]
revert default compress mode for vzdump to 0

rationale is the following:

we had this as default before commit
1ab98f059e1d28e5dd28f326ab371d6d5c1b8bb4

but wrongly documented

since we set the compression mode explicitly via the gui,
we can set the default to 0, which makes some operations more
intuitive (e.g. with the -stdout parameter it makes no sense
to compress it by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodo not depend of pve-doc-generator
Dietmar Maurer [Tue, 12 Apr 2016 10:42:02 +0000 (12:42 +0200)]
do not depend of pve-doc-generator

This should be a Build-Depend instead.

8 years agomark item as changed when status is different
Dominik Csapak [Mon, 11 Apr 2016 10:55:03 +0000 (12:55 +0200)]
mark item as changed when status is different

to detect changes from running->paused and reverse,
since this is now reflected by the icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocleanup of contextmenus
Dominik Csapak [Mon, 11 Apr 2016 10:53:46 +0000 (12:53 +0200)]
cleanup of contextmenus

change the order of the contextmenu items to
group functions, also introducing separators

like this:

***
power options
***
moving options
***
console
***

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Mon, 11 Apr 2016 09:57:27 +0000 (11:57 +0200)]
update changelog

8 years agowhitespace cleanup
Wolfgang Bumiller [Mon, 11 Apr 2016 09:44:30 +0000 (11:44 +0200)]
whitespace cleanup

8 years agoqemu: parse vlan trunks
Wolfgang Bumiller [Mon, 11 Apr 2016 09:44:29 +0000 (11:44 +0200)]
qemu: parse vlan trunks

Fixes an error when trying to edit a network with assigned
trunks.

8 years agocorrect qemu cmdMenu
Dominik Csapak [Mon, 11 Apr 2016 08:19:08 +0000 (10:19 +0200)]
correct qemu cmdMenu

start button should be disabled when suspended

use 'file' icon instead of 'sticky-note'
to be consistent with tree icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icon to nodes more button
Dominik Csapak [Mon, 11 Apr 2016 08:19:07 +0000 (10:19 +0200)]
add icon to nodes more button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agonew icons for snapshottree
Dominik Csapak [Mon, 11 Apr 2016 08:19:06 +0000 (10:19 +0200)]
new icons for snapshottree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange icons in storage add menu
Dominik Csapak [Mon, 11 Apr 2016 08:19:05 +0000 (10:19 +0200)]
change icons in storage add menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>