Commit Graph

2880 Commits

Author SHA1 Message Date
Fabian Grünbichler
59756350dd update default vzdump.conf 2016-05-03 06:58:49 +02:00
Dietmar Maurer
9a59d48d7a update changelog 2016-05-03 06:44:33 +02:00
Dominik Csapak
16c162ec73 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>
2016-05-03 06:44:02 +02:00
Dietmar Maurer
4d638fcb01 bump version to 4.2-4 2016-05-03 06:34:50 +02:00
Dominik Csapak
163bf3789c 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>
2016-05-03 06:08:04 +02:00
Dominik Csapak
fd9ce61b8b 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>
2016-05-03 06:07:19 +02:00
Dominik Csapak
05694e6d3a 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>
2016-05-03 06:06:58 +02:00
Dominik Csapak
abc55fa61d 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>
2016-05-03 06:01:09 +02:00
Dominik Csapak
34887e4479 jslint: fix not reachable return and duplicate property
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:10:22 +02:00
Dominik Csapak
7c7ae44f25 jslint: fix tab/space mixed intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:09:44 +02:00
Dominik Csapak
68f8c7659f jslint: fix access to uninitialized variable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:09:17 +02:00
Dominik Csapak
f25d7c4a74 jslint: change (x)?x:y to x || y
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:08:51 +02:00
Dominik Csapak
ca90044dac 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>
2016-04-29 17:08:33 +02:00
Dominik Csapak
a764c5f72e jslint: fix missing or extra semicolon
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:07:42 +02:00
Dominik Csapak
604881d0bd jslint: add global entries where necessary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:59 +02:00
Dominik Csapak
22f2f9d6c0 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>
2016-04-29 17:06:34 +02:00
Dominik Csapak
ec0bd652db 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>
2016-04-29 17:06:23 +02:00
Dominik Csapak
84de645d34 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>
2016-04-29 17:05:44 +02:00
Dietmar Maurer
fa16639c26 update changelog 2016-04-29 09:18:41 +02:00
Dominik Csapak
91994a49bd 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>
2016-04-29 09:14:09 +02:00
Dietmar Maurer
45fdcaaa88 bump version to 4.2-3 2016-04-28 10:58:22 +02:00
Dominik Csapak
368df92e0d 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>
2016-04-28 10:57:41 +02:00
Dietmar Maurer
95d9342296 bump version to 4.2-2 2016-04-26 12:09:02 +02:00
Dominik Csapak
c02dd8ff74 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>
2016-04-26 12:02:15 +02:00
Dietmar Maurer
70e8f04d1f bump version to 4.2 2016-04-25 11:22:38 +02:00
Dominik Csapak
4edfc518b9 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>
2016-04-25 11:19:49 +02:00
Dominik Csapak
9e7b4d8dc5 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>
2016-04-25 11:18:57 +02:00
Fabian Grünbichler
d50472438d fix #949: add post-restart hook to vzdump 2016-04-22 10:54:18 +02:00
Dietmar Maurer
4f28394a37 update changelog 2016-04-22 10:35:39 +02:00
Dominik Csapak
fc5a30feae 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>
2016-04-22 10:32:10 +02:00
Dominik Csapak
dd8988e8a0 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>
2016-04-22 10:29:41 +02:00
Dominik Csapak
ea31930bcd Revert "HA Resource: allow selecting no group"
because we reenabled the keyevents
This reverts commit 2dbef77aa2.
2016-04-22 10:27:54 +02:00
Dominik Csapak
1a7d0bd87a add enableKeyEvents to combogrid
to reenable the 'del' and 'backspace' keys

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-22 10:27:30 +02:00
Dietmar Maurer
6efbc4cb9d lxc rate limit: do not write value 0 (simply omit value) 2016-04-22 10:13:31 +02:00
Dietmar Maurer
5796a35608 bump version to 4.1-34 2016-04-22 09:15:22 +02:00
Dietmar Maurer
519ca7fafe LXC GUI: add network rate limit 2016-04-22 09:14:09 +02:00
Dietmar Maurer
67bfd38874 update changelog 2016-04-21 12:25:12 +02:00
Dietmar Maurer
121cdac45d bump version to 4.1-33 2016-04-21 12:22:15 +02:00
Emmanuel Kasper
b7159d8bee 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.
2016-04-21 12:20:33 +02:00
Dietmar Maurer
87cc27e0a6 update changelog 2016-04-20 18:16:55 +02:00
Thomas Lamprecht
2dbef77aa2 HA Resource: allow selecting no group
this fixes a regression which was introduced by commit:
a263665b16

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-20 18:15:47 +02:00
Wolfgang Link
d481d825b3 add Windows 10 and 2012r2 to OS selection
So user now we support also Win 10 and R2.
2016-04-20 10:00:47 +02:00
Dominik Csapak
df6345f9ba 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>
2016-04-20 09:40:59 +02:00
Dominik Csapak
0be88ae197 remove trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-20 09:37:06 +02:00
Dominik Csapak
728f1b97e6 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>
2016-04-20 09:36:23 +02:00
Dietmar Maurer
f055f202e1 bump version to 4.1-32 2016-04-20 09:30:44 +02:00
Thomas Lamprecht
4dce6073c8 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>
2016-04-20 09:20:44 +02:00
Emmanuel Kasper
6a7465ae64 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.
2016-04-19 17:08:17 +02:00
Dietmar Maurer
ed3815b5b8 bump version to 4.1-31 2016-04-19 09:40:03 +02:00
Dietmar Maurer
45ab85bb2e use translated strings in format_ha() 2016-04-19 09:38:07 +02:00