]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agorefactor backupconfig window
Dominik Csapak [Tue, 30 Aug 2016 12:18:45 +0000 (14:18 +0200)]
refactor backupconfig window

refactor it in its own class, because we need it again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #621: allow template download to glusterfs
Dominik Csapak [Fri, 2 Sep 2016 09:59:43 +0000 (11:59 +0200)]
fix #621: allow template download to glusterfs

removes the check for dir or nfs storage,
because a few lines below we check for
the content type vztmpl
which should only be allowed when we have a
location where we put templates, thus we should
be able to download them there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #586: make notes edit window resizable
Dominik Csapak [Fri, 2 Sep 2016 08:55:11 +0000 (10:55 +0200)]
fix #586: make notes edit window resizable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd ceph icon
Dominik Csapak [Thu, 1 Sep 2016 09:19:11 +0000 (11:19 +0200)]
add ceph icon

use official ceph icon for the ceph tab
from http://ceph.com/logos/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agorefine node gui structure
Dominik Csapak [Thu, 1 Sep 2016 09:19:10 +0000 (11:19 +0200)]
refine node gui structure

this makes summary its own point again,
and moves network,dns,time and syslog under
services which now is "system", which makes the order
of the options the same as before, with one exception

shell (previous console) is now the third option

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agopartially rever qemu gui structure
Dominik Csapak [Thu, 1 Sep 2016 09:19:09 +0000 (11:19 +0200)]
partially rever qemu gui structure

this restores the structure of the qemu options
and moves the console to the second position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agopartially revert lxc gui structure
Dominik Csapak [Thu, 1 Sep 2016 09:19:08 +0000 (11:19 +0200)]
partially revert lxc gui structure

this patch removes the "system" group
and reorders the options like it was before,
with one exception:

console now comes at second place after summary

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agojs lint fixes
Dominik Csapak [Mon, 22 Aug 2016 15:13:42 +0000 (17:13 +0200)]
js lint fixes

jslint needs FileReader as global
jslint want object.property instead of object['property']
jslint does not like trailing commas

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd Proxmox Virtual Environment 5.x Release Key
Dietmar Maurer [Mon, 29 Aug 2016 10:54:46 +0000 (12:54 +0200)]
add Proxmox Virtual Environment 5.x Release Key

In future, we want to use this key to sign our aplinfo.dat

8 years agoupdate default aplinfo.dat
Dietmar Maurer [Mon, 29 Aug 2016 08:35:16 +0000 (10:35 +0200)]
update default aplinfo.dat

8 years agoremove pve-repo-ca-certificates.crt - no longer required
Dietmar Maurer [Mon, 29 Aug 2016 08:23:13 +0000 (10:23 +0200)]
remove pve-repo-ca-certificates.crt - no longer required

8 years agoaplinfo: use explicit defined checks
Fabian Grünbichler [Wed, 24 Aug 2016 10:27:42 +0000 (12:27 +0200)]
aplinfo: use explicit defined checks

a checksum of '0' can never be correct, but this makes the code clearer

8 years agoaplinfo: use fh for both digests
Fabian Grünbichler [Wed, 24 Aug 2016 10:27:41 +0000 (12:27 +0200)]
aplinfo: use fh for both digests

for consistency, because Digest::MD5 cannot handle filenames directly..

8 years agodrop all hide calls
Dominik Csapak [Mon, 22 Aug 2016 15:13:41 +0000 (17:13 +0200)]
drop all hide calls

since we do not use tabpanels anymore,
the hide calls and listeners do nothing,
so we can drop them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove subconfigpanel related code
Dominik Csapak [Mon, 22 Aug 2016 15:13:40 +0000 (17:13 +0200)]
remove subconfigpanel related code

this removes all subconfigpanel related code,
since it is not needed anymore

we now have the treelist/cardpanel combo instead of tabpanels
which means we can drop the whole subconfigpanel class
and subclasses

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomove crushmap into ceph config
Dominik Csapak [Mon, 22 Aug 2016 15:13:39 +0000 (17:13 +0200)]
move crushmap into ceph config

instead of having 2 panels,
we have now a splitted panel
with both config and crushmap

also drop the not needed [] around the alias

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreorganize storage and pools
Dominik Csapak [Mon, 22 Aug 2016 15:13:38 +0000 (17:13 +0200)]
reorganize storage and pools

add icons to panels

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreorganize qemu items
Dominik Csapak [Mon, 22 Aug 2016 15:13:37 +0000 (17:13 +0200)]
reorganize qemu items

use new tree functionality of configpanel

move options,monitor,console under hardware (now system)
move firewall subpanels into tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreorganize lxc items
Dominik Csapak [Mon, 22 Aug 2016 15:13:36 +0000 (17:13 +0200)]
reorganize lxc items

use new tree functionality of configpanel

move options,network,dns,console under resources (now system)
move firewall subpanels into tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreorganize node items
Dominik Csapak [Mon, 22 Aug 2016 15:13:35 +0000 (17:13 +0200)]
reorganize node items

use new tree functionality of the configpanel
move services,time,syslog and shell under summary
move dns,firewall under network

move subpanels of firewall and ceph in the tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreorganize datacenter items
Dominik Csapak [Mon, 22 Aug 2016 15:13:34 +0000 (17:13 +0200)]
reorganize datacenter items

use the new tree functionality of the configpanel
make users,groups,pools,roles and auth
subitems of permissions (expanded by default)

instead of using the subconfigpanel for
ha and firewall, use the panels directly
as subitems of ha-status and firewall-rules

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse a treelist instead of tabs in configpanel
Dominik Csapak [Mon, 22 Aug 2016 15:13:33 +0000 (17:13 +0200)]
use a treelist instead of tabs in configpanel

this patch changes configpanel class,
so that instead of creating a tabpanel,
we now are a card panel which uses a treelist
to choose the active card

this changes how the panel looks:
instead of having countless tabs on the top
we now can have a nice tree structure on the left

how the items will be interpreted by the tree
is commented in www/manager6/panel/ConfigPanel.js

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate descriptions, error messages
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:24 +0000 (16:27 +0200)]
update descriptions, error messages

8 years agoaplinfo: add generated trustedkeys.gpg
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:23 +0000 (16:27 +0200)]
aplinfo: add generated trustedkeys.gpg

8 years agoaplinfo: use warnings
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:22 +0000 (16:27 +0200)]
aplinfo: use warnings

8 years agoaplinfo: update format spec with SHA512
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:21 +0000 (16:27 +0200)]
aplinfo: update format spec with SHA512

8 years agoaplinfo: improve checksum handling
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:20 +0000 (16:27 +0200)]
aplinfo: improve checksum handling

instead of calling md5sums, use perl's Digest::MD5.
also support SHA512 via perl's Digest::SHA, to enable a
transition away from MD5.

8 years agoaplinfo: remove leftover cruft
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:19 +0000 (16:27 +0200)]
aplinfo: remove leftover cruft

this was probably missed in a previous refactoring, the
filehandle is only opened and closed here and read_aplinfo()
already opens and closes the file itself.

8 years agoaplinfo: improve signature verification
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:18 +0000 (16:27 +0200)]
aplinfo: improve signature verification

instead of importing the trusted gpg keys into root's
.gnupg on each appliance list update, install a trusted
keyring generated at build time.

verify signatures with gpgv and the trusted keyring instead
of gpg --verify on root's keyring with output parsing.

8 years agoaplinfo: replace system() with run_command/rename
Fabian Grünbichler [Tue, 23 Aug 2016 14:27:17 +0000 (16:27 +0200)]
aplinfo: replace system() with run_command/rename

8 years agorefer to manual in lxc wizard
Dominik Csapak [Fri, 12 Aug 2016 12:57:27 +0000 (14:57 +0200)]
refer to manual in lxc wizard

adds a help button to the following panels in the lxc wizard

Template (points to: Container Images)
Root Disk (points to: Container Storage)
Network (points to: Container Network)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-18
Wolfgang Bumiller [Fri, 19 Aug 2016 12:57:35 +0000 (14:57 +0200)]
bump version to 4.2-18

8 years agolxc: wizard: ssh key
Wolfgang Bumiller [Wed, 10 Aug 2016 10:13:19 +0000 (12:13 +0200)]
lxc: wizard: ssh key

8 years agovzdump: set task mode early to fix a warning
Wolfgang Bumiller [Thu, 18 Aug 2016 07:35:00 +0000 (09:35 +0200)]
vzdump: set task mode early to fix a warning

when a vzdump script is set and the backup fails early (eg.
when exceeding the number of backups) run_hook_script()
showed an uninitialized value error trying to use
$task->{mode} which is set only after prepare() was called.

This sets $task->{mode} early, still updated later to $stop
if !$running, and changes the condition for whether
cleanup() should be called to not use $task->{mode} (which
makes no real sense anyway) to using the $cleanup hash like
the rest of the code.

8 years agoClear sensitive content when logging out fixes #1060
Emmanuel Kasper [Thu, 18 Aug 2016 12:33:41 +0000 (14:33 +0200)]
Clear sensitive content when logging out fixes #1060

The current position inside the Workspace is saved via the StateProvider
separately thus this clearing operation do not lose the previous selection.

As a side effect by calling setContent(null) on logout we also fix the
following bug:

when logging out while the Syslog tab of the Node panel was displayed,
you had to login twice due a to a race condition in the store
load of the Syslog panel. ( The login call could complete successfully
before a backgroup store load, causing the faild store load call
to redisplay a login window)

8 years agodelete old lxc/qemu statusview classes
Dominik Csapak [Fri, 19 Aug 2016 08:47:53 +0000 (10:47 +0200)]
delete old lxc/qemu statusview classes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake lxc/qemu use new statusview
Dominik Csapak [Fri, 19 Aug 2016 08:47:52 +0000 (10:47 +0200)]
make lxc/qemu use new statusview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake node StatusView use new version
Dominik Csapak [Fri, 19 Aug 2016 08:47:51 +0000 (10:47 +0200)]
make node StatusView use new version

this implements the new StatusView for nodes
and uses it declarative instead of with Ext.Create

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoinclude new statusview classes in makefile
Dominik Csapak [Fri, 19 Aug 2016 08:47:50 +0000 (10:47 +0200)]
include new statusview classes in makefile

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd GuestStatusView and TemplateStatusView
Dominik Csapak [Fri, 19 Aug 2016 08:47:49 +0000 (10:47 +0200)]
add GuestStatusView and TemplateStatusView

this implements the new StatusView class for
guests and templates

using the new pveStatusView, we do not split the status
panels per lxc/qemu, but for Template/Guest

this makes more sense, since the information which lxc
and qemu guests have are more similar than what you want
to display for templates/guests

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new StatusView component
Dominik Csapak [Fri, 19 Aug 2016 08:47:48 +0000 (10:47 +0200)]
add new StatusView component

this adds a component StatusView which is intended to
replace the old statusview panels of qemu/lxc/nodes
(later maybe also pools and storages)

it extends Ext.panel.Panel and expects an rstore and title

it is not intended to be used directly but to be subclassed

it works like this:

on instantiating, it adds a listener to the rstore load,
so that on every rstore load 'updateValues' gets executed

there, if successful, looks for every subcomponent of type
'pveInfoWidget' and calls 'updateField' on it

'updateField' calculates the update text and value for
the info widgets based on the given class variables

using either:
textField -> which gets the value from the store and
displays it simple as text (with renderer and calculator)

or valueField and (optional) maxField
where it determines the usage
(also with a renderer and calculator)

for both there is a default calculator/renderer
but this can be overwritten when instantiating/declaring

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd new infoWidget component
Dominik Csapak [Fri, 19 Aug 2016 08:47:47 +0000 (10:47 +0200)]
add new infoWidget component

this adds a new component, which is 2 labels
(left the title and right the text) with a
small progressbar

it has a method updateValue, where it takes a string and
a value from 0 to 1 and updates the right label
and the progressbar

the progressbar gets a different css class at >60% and
>90% (i added some css classes to make it yellow and red
respectively)

the warning and critical thresholds are customizable

this will be used in a new version of the statusview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoDo not use a hardcoded Certificate Authority for https repositories
Emmanuel Kasper [Wed, 13 Jul 2016 10:17:03 +0000 (12:17 +0200)]
Do not use a hardcoded Certificate Authority for https repositories

Instead we will the use the CA certificate provided by the
ca-certificates packages, which is now a mandatory depency of
pve-manager since 067d24db982be44ff64cb5eb61a3297bba6afdc9 and
pve-manager 4.2-17. This change allows us in the future to
use different CA for our https repositories.

This changed has been tested OK with the following combination:
 * https repository using a StartCom certificate: works
 * https repository using a Let's encrypt certificate: works

User visible changes:
 * none : the new configuration file 75pveconf silently
 overwrites the olderone, except if local changes were made
 in which case you're presented with the traditional debian menu
 (keep local/ use packager version/ diff / open a shell)

8 years agoonly use exact match in pveRealmSelector
Dominik Csapak [Wed, 20 Jul 2016 13:33:37 +0000 (15:33 +0200)]
only use exact match in pveRealmSelector

store.findRecord returns the first match, and by default
matches the beginning of the strings not the whole

without this, with multple realms with the same name, but different
tfa settings, the login window can show the tfa input box even
when the selected realm has no tfa active

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake the lxc wizard select the current node by default
Dominik Csapak [Thu, 4 Aug 2016 09:33:47 +0000 (11:33 +0200)]
make the lxc wizard select the current node by default

like in the qemu create wizard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoRemove obsolete make variable for ExtJS4
Emmanuel Kasper [Thu, 4 Aug 2016 07:46:10 +0000 (09:46 +0200)]
Remove obsolete make variable for ExtJS4

8 years agoadd novnc-pve to pveversion -v
Dominik Csapak [Thu, 11 Aug 2016 08:15:01 +0000 (10:15 +0200)]
add novnc-pve to pveversion -v

it was missing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodon't save password and double lines in pvesh history
Dominik Csapak [Wed, 3 Aug 2016 09:09:45 +0000 (11:09 +0200)]
don't save password and double lines in pvesh history

we assumed that Term::ReadLine does not put
input into the history automatically, but it does this

so if this feature is enabled, we do not have to add
the inputs manually, and we have to delete the password
from the history

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoavoid IE compatibility mode
Dietmar Maurer [Wed, 3 Aug 2016 08:59:45 +0000 (10:59 +0200)]
avoid IE compatibility mode

8 years agofix influxdb field assignment and allow non integer field
Dominik Csapak [Tue, 2 Aug 2016 10:40:18 +0000 (12:40 +0200)]
fix influxdb field assignment and allow non integer field

this patch fixes an issue where we assemble the influxdb
key value pairs to the wrong measurement

and also we did only allow integer fields,
excluding all cpu,load and wait measurements

this patch fixes both issues with a rewrite of the
recursive build_influxdb_payload sub

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix lint error
Dominik Csapak [Tue, 2 Aug 2016 09:12:59 +0000 (11:12 +0200)]
fix lint error

no traling commas

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocloses #195 : hide disallowed commands in tree
Emmanuel Kasper [Mon, 1 Aug 2016 14:24:36 +0000 (16:24 +0200)]
closes #195 : hide disallowed commands in tree

When basic capabilities are missing, don't display the corresponding actions in
the tree menu.

Note that we *hide* the corresponding actions, instead of disabling by greying
out the menu command. Disabling here does not make sense, since a low privilege
user has no way to reenable the menu commands by himself.

This is mainly a usability improvement, as the real capabilities test is done in
the backend.

8 years agoAdd mac prefix to the datacenter options
Wolfgang Bumiller [Fri, 15 Jul 2016 08:34:37 +0000 (10:34 +0200)]
Add mac prefix to the datacenter options

8 years agoprevent KRDB and Monitor(s) being localized
Emmanuel Kasper [Tue, 12 Jul 2016 10:14:01 +0000 (12:14 +0200)]
prevent KRDB and Monitor(s) being localized

Both terms are rather domain specific and should not be translated.
See http://pve.proxmox.com/pipermail/pve-devel/2016-July/021975.html
for the problems of Monitor Host being wrongly translated

8 years agoopen vm console on doubleclick in tree
Dominik Csapak [Thu, 21 Jul 2016 09:45:12 +0000 (11:45 +0200)]
open vm console on doubleclick in tree

with this patch you can open the console of a guest
with a simple doubleclick in the tree

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoSet VirtIO drivers as default when using the Qemu Wizard and the OS Type is Linux
Emmanuel Kasper [Thu, 21 Jul 2016 09:10:46 +0000 (11:10 +0200)]
Set VirtIO drivers as default when using the Qemu Wizard and the OS Type is Linux

virtio-blk and virtio-net have been in the kernel since 2.6.25 released in 2008, so
it safe to assume distributions using the l26 type will have these drivers.

8 years agoUSe PVE.qemu.OSDefaults statics to get defaults for NIC and Storage Controller
Emmanuel Kasper [Thu, 21 Jul 2016 09:10:45 +0000 (11:10 +0200)]
USe PVE.qemu.OSDefaults statics to get defaults for NIC and Storage Controller

8 years agoAdd PVE.qemu.OSDefaults class to hold OS-dependant wizard defaults
Emmanuel Kasper [Thu, 21 Jul 2016 09:10:44 +0000 (11:10 +0200)]
Add PVE.qemu.OSDefaults class to hold OS-dependant wizard defaults

8 years agoRename Wizard Component aliases using camelCase
Emmanuel Kasper [Thu, 21 Jul 2016 09:10:43 +0000 (11:10 +0200)]
Rename Wizard Component aliases using camelCase

this is ExtJS recommended practise, follows most of our
conventions and is necessary for querying
components with Ext.ComponentQuery.query() without escaping the
dots in the component widget name.

8 years agochange default proxy test to noneText
Dominik Csapak [Mon, 18 Jul 2016 07:37:18 +0000 (09:37 +0200)]
change default proxy test to noneText

instead of having "Do not use a proxy" simply
use PVE.Utils.noneText, which defaults to 'none'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoprevent infinite loop in edit window
Dominik Csapak [Fri, 15 Jul 2016 13:54:07 +0000 (15:54 +0200)]
prevent infinite loop in edit window

on touch devices, the isValid function of forms trigger
a layout event, which the edit window listens to and
executes an isValid on the form -> infinite loop

we now suspend the layout before this and continue afterwards

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd HostList validator and check monhosts with it
Dominik Csapak [Tue, 12 Jul 2016 12:41:28 +0000 (14:41 +0200)]
add HostList validator and check monhosts with it

this adds a vtype which splits the given string into a list by
; or , or space
and checks if it is a valid (hostname|ip) port notation

also make the rbd monhost input field use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agorefactor DnsName regex
Dominik Csapak [Tue, 12 Jul 2016 12:41:27 +0000 (14:41 +0200)]
refactor DnsName regex

we will need this again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agogive comment in bridgeselector more space
Dominik Csapak [Mon, 11 Jul 2016 12:17:44 +0000 (14:17 +0200)]
give comment in bridgeselector more space

change the default column widths, to give more space
to the comment column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-17
Wolfgang Bumiller [Mon, 11 Jul 2016 11:11:11 +0000 (13:11 +0200)]
bump version to 4.2-17

8 years agovzdump: add newline in mail text
Fabian Grünbichler [Thu, 7 Jul 2016 09:00:53 +0000 (11:00 +0200)]
vzdump: add newline in mail text

for consistency with html version and better readability

8 years agoFix #1048: vzdump: include job-* hook logs in email
Wolfgang Bumiller [Thu, 7 Jul 2016 08:22:25 +0000 (10:22 +0200)]
Fix #1048: vzdump: include job-* hook logs in email

8 years agovzdump: safer cp call
Wolfgang Bumiller [Thu, 7 Jul 2016 08:22:24 +0000 (10:22 +0200)]
vzdump: safer cp call

8 years agofix undefined value warning in resources api call
Wolfgang Bumiller [Tue, 5 Jul 2016 12:45:35 +0000 (14:45 +0200)]
fix undefined value warning in resources api call

With the new calculation $pe->{maxcpu} was used before being
initialized to zero. Moving the initialization up.
Additionally setting $pe->{cpu} to $entry->{cpu} if maxcpu
is not set seems pointless as with its factor (maxcpu)
initialized to zero it is cancelled out anyway.

8 years agofix surviving update store
Dominik Csapak [Mon, 4 Jul 2016 11:16:10 +0000 (13:16 +0200)]
fix surviving update store

when a load of an update store was ongoing and stopUpdate
was called, the task could not be canceled, and the store
would remain indefinitely

this patch sets 'isStopped' of the store on stopUpdate
and checks it on the next update and stopping it then

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreload lxc resources also on activate
Dominik Csapak [Tue, 5 Jul 2016 15:06:57 +0000 (17:06 +0200)]
reload lxc resources also on activate

in a previous commit (26c5aba0) we changed the reload
from the activate event to afterrender, because
activate will not be fired as a lazyitem

but this only fires once, so we also reload on activate.
with the lazyitem/tabchange fix from a previous commit,
this has now the correct behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofire activate event for lazyitems in tabpanels
Dominik Csapak [Tue, 5 Jul 2016 15:06:56 +0000 (17:06 +0200)]
fire activate event for lazyitems in tabpanels

when changing tabs which are lazyitems,
there will be no activate event for the content of the tab

so we fire it manually on tabchange (if the new card has the
lazyitems plugin activated) as we do it for the hide event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocorrectly delete name of a qemu vm
Dominik Csapak [Tue, 5 Jul 2016 15:06:54 +0000 (17:06 +0200)]
correctly delete name of a qemu vm

we mistakenly sent
'name:'
instead of:
'delete:name'

in case of an empty name of qemu guest
which lead to an error message that it is
not a valid dns name

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoAdd some extra debug information to the report.
Wolfgang Link [Tue, 5 Jul 2016 10:21:31 +0000 (12:21 +0200)]
Add some extra debug information to the report.

There were no useful information about block device.

8 years agoadd ca-certificates as required depency
Emmanuel Kasper [Mon, 4 Jul 2016 12:52:59 +0000 (14:52 +0200)]
add ca-certificates as required depency

ca-certificates provides the necessary root ca certificates
to connect to the PVE enterprise repositories
The package was always installed since pve-manager 3.1-13 as an indirect
'Depends:'  via liblwp-protocol-https, but could have been missing in previous
versions of pve.

Adding this dependency directly makes it sures that it's available
in each PVE installs no matter what Debian packagers do.
With this package installed we no longer need to ship
our own server CA cert.

8 years agolxc/status: show disk usage on running containers
Wolfgang Bumiller [Mon, 4 Jul 2016 10:09:20 +0000 (12:09 +0200)]
lxc/status: show disk usage on running containers

8 years agofix #1030: calculate correct cpu usage of pools
Dominik Csapak [Mon, 20 Jun 2016 10:36:01 +0000 (12:36 +0200)]
fix #1030: calculate correct cpu usage of pools

we only added the % of the vms in a pool
which lead to wrong results
e.g. having a pool with 3 vms with 4 cores each and a
cpu usage of 50% each (2 cores at 100%)
lead to :

vm1 50%
vm2 50%
vm3 50%
pool 150%

instead we new calculate the percentage for the whole pool

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #757: show the bridge comment in the selector
Dominik Csapak [Wed, 29 Jun 2016 12:28:39 +0000 (14:28 +0200)]
fix #757: show the bridge comment in the selector

this shows the comment of the bridge in the selector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd comment to network edit and view
Dominik Csapak [Wed, 29 Jun 2016 12:28:38 +0000 (14:28 +0200)]
add comment to network edit and view

this adds a new textinput field for the comment to the
network edit window and a new column for it in the
network view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd comments to network model
Dominik Csapak [Wed, 29 Jun 2016 12:28:37 +0000 (14:28 +0200)]
add comments to network model

we already have a comments field for network entries
now we have it in the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #1043: prevent ceph destroypool when in use
Dominik Csapak [Thu, 30 Jun 2016 09:46:02 +0000 (11:46 +0200)]
fix #1043: prevent ceph destroypool when in use

also introduces a force parameter to this call
if force is true, the call destroys the ceph pool
even when it is use

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 2.4-16
Wolfgang Bumiller [Wed, 29 Jun 2016 12:35:48 +0000 (14:35 +0200)]
bump version to 2.4-16

8 years agouse new repoman toolkit
Wolfgang Bumiller [Wed, 29 Jun 2016 12:40:55 +0000 (14:40 +0200)]
use new repoman toolkit

8 years agoremove unnecessary debug output
Dominik Csapak [Tue, 21 Jun 2016 14:20:20 +0000 (16:20 +0200)]
remove unnecessary debug output

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix background color of template badges
Dominik Csapak [Tue, 21 Jun 2016 14:20:19 +0000 (16:20 +0200)]
fix background color of template badges

the template badges had the wrong background color
when selected or hovered, so the line would be
blue but the background of the icon would be white

now the background is the correct color

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoset focus on tree after selecting a node
Dominik Csapak [Tue, 21 Jun 2016 14:20:18 +0000 (16:20 +0200)]
set focus on tree after selecting a node

this is useful when using the new search field,
or when double clicking in the search tab,
since it focuses the item in the tree and lets
the treepanel scroll to the item

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake content of configuration window a component
Dominik Csapak [Tue, 21 Jun 2016 14:20:17 +0000 (16:20 +0200)]
make content of configuration window a component

otherwise, the styling does not apply

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobuild-depends: add liblocale-po-perl
Wolfgang Bumiller [Tue, 28 Jun 2016 12:54:20 +0000 (14:54 +0200)]
build-depends: add liblocale-po-perl

8 years agofix #558: add cluster wide search to the top
Dominik Csapak [Mon, 20 Jun 2016 13:46:37 +0000 (15:46 +0200)]
fix #558: add cluster wide search to the top

this makes use of the new globalsearch field and
puts it on top of the page, so that one can easily use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd globalsearchfield
Dominik Csapak [Tue, 21 Jun 2016 07:22:54 +0000 (09:22 +0200)]
add globalsearchfield

this adds a field, the globalsearchfield

its use is to search across our resources (vm,nodes,storage,pools)
quickly and from everywhere

it filters by taking each word you write, and gives
points to resources based on how often the word matches or
if it is an exact match for a field (details in source), and
sorts after this relevance number

with enter or click on an entry, you go directly to the selected
resource

also supports key up/down selecting of the entries and
toggling the search globally with ctrl+space or ctrl+shift+f

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd configuration button to backups
Dominik Csapak [Thu, 16 Jun 2016 12:02:06 +0000 (14:02 +0200)]
add configuration button to backups

this adds a button to show the configuration of backups

this helps if someone wants to know the details of the
vm in the backup (e.g. name, storages, etc.)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake bottom panel collapsible
Dominik Csapak [Thu, 16 Jun 2016 10:26:05 +0000 (12:26 +0200)]
make bottom panel collapsible

to save space if not needed, but keep it available with one click
(even temporarily when you click the title instead of the
expand tool)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake viewselector stateful
Dominik Csapak [Thu, 16 Jun 2016 10:26:04 +0000 (12:26 +0200)]
make viewselector stateful

to save the view across browser refresh/sessions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake containerviewport stateful
Dominik Csapak [Thu, 16 Jun 2016 10:26:03 +0000 (12:26 +0200)]
make containerviewport stateful

with this patch, the split view saves its state
in the local storage, so that users don't lose this
after a refresh or even a new browser session
(only when they change browser/workstation)

if the window resizes (or refreshes),
the left/bottom panel gets resized to a sane width/height
in case this would be bigger than the viewport
to avoid an unusable interface

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 2.4-15
Dietmar Maurer [Thu, 16 Jun 2016 08:59:03 +0000 (10:59 +0200)]
bump version to 2.4-15

8 years agoremove unnecessary information from lxc templates
Dominik Csapak [Thu, 16 Jun 2016 08:14:04 +0000 (10:14 +0200)]
remove unnecessary information from lxc templates

as with vm templates, restyle the summary panel
for lxc templates

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange bodystyle to bodypadding
Dominik Csapak [Thu, 16 Jun 2016 08:14:03 +0000 (10:14 +0200)]
change bodystyle to bodypadding

use the shortcut for padding,
same as everywhere else

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove unnecessary information on template summary
Dominik Csapak [Wed, 15 Jun 2016 13:33:51 +0000 (15:33 +0200)]
remove unnecessary information on template summary

since most of the information on the summary page is
irrelevant for templates (e.g. status,ha,using memory,graphs, etc),
we only show just the information which is available and helpful

since we then have the vertical space, we move the notes panel
below the statuspanel, to allow visually more space for the description
(which makes sense for a template)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomove notepanel padding out of the class
Dominik Csapak [Wed, 15 Jun 2016 13:13:26 +0000 (15:13 +0200)]
move notepanel padding out of the class

it makes more sense to define the padding in context,
rather than directly in the component

especially if we want to use this panel elsewhere in the future

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd 'edit' tool to notes panel
Dominik Csapak [Wed, 15 Jun 2016 13:13:25 +0000 (15:13 +0200)]
add 'edit' tool to notes panel

this adds a tool to the note panel to edit it,
this is clearer than just double clicking the notes field
(also makes it easier on tablets)

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