]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
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>
8 years agoadd icons to Logout/Create VM/CT
Dominik Csapak [Mon, 11 Apr 2016 08:19:04 +0000 (10:19 +0200)]
add icons to Logout/Create VM/CT

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icons for user/group in aclview
Dominik Csapak [Mon, 11 Apr 2016 08:19:03 +0000 (10:19 +0200)]
add icons for user/group in aclview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new icons to grid and tree
Dominik Csapak [Mon, 11 Apr 2016 08:19:02 +0000 (10:19 +0200)]
add new icons to grid and tree

we set new icons for the tree and grid
changes:
* new icons
* wider type column (bigger icons)
* use arrows true (uses arrows instead of +/- and gets rid of the
  ugly lines in the tree)
* datacenter has icon instead of folder open/close
* "folder view" gets type icons for folders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd icons classes to ext6-pve.css
Dominik Csapak [Mon, 11 Apr 2016 08:19:01 +0000 (10:19 +0200)]
add icons classes to ext6-pve.css

this adds the necessary classes/overwrites for the new icons

notable changes:

nodes/cts/vms state:
Dark when on
Light grey when off

Badges for Nodes (check = on, cross = off)
VM/CT (play = on, pause = paused)

change the hardware/resource view to the new icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new icons for hardware/resources view
Dominik Csapak [Mon, 11 Apr 2016 08:19:00 +0000 (10:19 +0200)]
add new icons for hardware/resources view

this adds a few icons
most are from font-awesome (exported as png)
and some are selfmade (xcf sources included)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse pve-doc-generator, bump version to 4.1-25
Dietmar Maurer [Sun, 10 Apr 2016 13:52:42 +0000 (15:52 +0200)]
use pve-doc-generator, bump version to 4.1-25

8 years agoremove old openvz make targets
Dietmar Maurer [Sun, 10 Apr 2016 12:49:37 +0000 (14:49 +0200)]
remove old openvz make targets

8 years agochange show to activate
Dominik Csapak [Fri, 8 Apr 2016 14:48:43 +0000 (16:48 +0200)]
change show to activate

so that the store loads on page activation (refresh and intial click)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange minValue of VLAN tag to 2
Dominik Csapak [Fri, 8 Apr 2016 14:48:42 +0000 (16:48 +0200)]
change minValue of VLAN tag to 2

since linux bridges have untagged traffic on vlan1,
we cannot set this value

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodisable suspend/resume on containers
Dominik Csapak [Thu, 7 Apr 2016 11:29:26 +0000 (13:29 +0200)]
disable suspend/resume on containers

since this feature is not really working at the moment,
disable it in the gui

we can reenable it when it works reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange order of weekdays
Dominik Csapak [Thu, 7 Apr 2016 11:29:25 +0000 (13:29 +0200)]
change order of weekdays

to be consistent with the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoshow days of week as ranges
Dominik Csapak [Thu, 7 Apr 2016 11:29:24 +0000 (13:29 +0200)]
show days of week as ranges

when selecting days in a backup job,
show every series of 3 or more days as range, instead
of single days
e.g. Monday-Wednesday instead of Monday, Tuesday, Wednesday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake enabled column wider in backupview
Dominik Csapak [Thu, 7 Apr 2016 11:29:23 +0000 (13:29 +0200)]
make enabled column wider in backupview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoOverrides Ext.Msg.alert() to always display an Error Icon
Emmanuel Kasper [Thu, 7 Apr 2016 11:26:23 +0000 (13:26 +0200)]
Overrides Ext.Msg.alert() to always display an Error Icon

8 years agotranslate weekdays in backupgrid
Dominik Csapak [Wed, 6 Apr 2016 12:34:57 +0000 (14:34 +0200)]
translate weekdays in backupgrid

previously we displayed always something like: "mon,tue,wed"
now we use the full name of the day and the correct translation
making it (eg in german):
"Montag, Dienstag, Mittwoch"

i did not to choose the first 3 letters, because we cannot be
sure they are unique for all workdays in every language

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd weekdays to comboitems at runtime
Dominik Csapak [Wed, 6 Apr 2016 12:34:56 +0000 (14:34 +0200)]
add weekdays to comboitems at runtime

the translation of extjs has not been applied
at the time of class declaration, so that
the weekdays were always "Sunday", "Monday", etc.

when we declare them in initComponent, the translations are there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake enabled column a checkcolumn in backupview
Dominik Csapak [Wed, 6 Apr 2016 12:34:55 +0000 (14:34 +0200)]
make enabled column a checkcolumn in backupview

it is nicer than 'true' and 'false',
also this was not translated before

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