]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
7 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

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

7 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

7 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.

7 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.

7 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.

7 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

7 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>
7 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

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

7 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.

7 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)

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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)

7 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>
7 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>
7 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

7 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>
7 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>
7 years agoavoid IE compatibility mode
Dietmar Maurer [Wed, 3 Aug 2016 08:59:45 +0000 (10:59 +0200)]
avoid IE compatibility mode

7 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>
7 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>
7 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.

7 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

7 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

7 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>
7 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.

7 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

7 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

7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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

7 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

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

7 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.

7 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>
7 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>
7 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>
7 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>
7 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.

7 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.

7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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

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

7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoadd a 'bootdisk size' entry to the status view
Dominik Csapak [Wed, 15 Jun 2016 13:13:24 +0000 (15:13 +0200)]
add a 'bootdisk size' entry to the status view

to show the size of the current bootdisk of the vm/container

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove RAM column from lxc snapshottree (temporarily)
Dominik Csapak [Wed, 15 Jun 2016 13:13:23 +0000 (15:13 +0200)]
remove RAM column from lxc snapshottree (temporarily)

since we cannot save the ram state for lxc containers currently,
it makes no sense to display a column, where every entry is 'no'

i left it there but commented it out, so that when we implement it,
we just have to reenable the column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 4.2-14
Dietmar Maurer [Tue, 14 Jun 2016 10:21:36 +0000 (12:21 +0200)]
bump version to 4.2-14

7 years agoAdd a toplevel pointer to the PVE admin guide
Emmanuel Kasper [Tue, 14 Jun 2016 09:41:43 +0000 (11:41 +0200)]
Add a toplevel pointer to the PVE admin guide

Since the Admin Guide is now delivered with each standard
PVE installation, link it from the support tab

Initial idea was to include the chapters list in the panel itself
but a simple link renders better because:
* linking to toplevel allows to show that pdf and epub are also
available
* the chapter list is long and would need scrolling on laptop displays
* since a click opens the documentation in another tab, table of content
and content would be in two different tabs, which is not intuitive

7 years agoAdd Help buttons for three more Qemu Panels
Emmanuel Kasper [Tue, 14 Jun 2016 09:41:42 +0000 (11:41 +0200)]
Add Help buttons for three more Qemu Panels

8 years agobump version to 4.2-13
Dietmar Maurer [Fri, 10 Jun 2016 13:34:51 +0000 (15:34 +0200)]
bump version to 4.2-13

8 years agorevert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461
Dietmar Maurer [Fri, 10 Jun 2016 13:31:19 +0000 (15:31 +0200)]
revert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461

ceph 'infernalis' and 'jewel' still not work 100%, so
disable that until it runs really stable.

8 years agohtmlEncode some comment fields
Dominik Csapak [Thu, 9 Jun 2016 14:06:32 +0000 (16:06 +0200)]
htmlEncode some comment fields

this adds Ext.String.htmlEncode as renderer
for some comment/description fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agopveceph install: run apt-get interactive
Dietmar Maurer [Thu, 9 Jun 2016 08:01:58 +0000 (10:01 +0200)]
pveceph install: run apt-get interactive

It is sometime necessary to answer questions.

8 years agoExtend the Ceph featuring version Infernalis and Hammer.
Wolfgang Link [Tue, 7 Jun 2016 11:24:06 +0000 (13:24 +0200)]
Extend the Ceph featuring version Infernalis and Hammer.

8 years agoAdd check if ceph is managed by systemd
Wolfgang Link [Tue, 7 Jun 2016 11:24:05 +0000 (13:24 +0200)]
Add check if ceph is managed by systemd

Ceph is managed since version infernalis by systemd and use
ceph as user and group.

8 years agoFix #191: acl: honor propagate checkbox
Wolfgang Bumiller [Wed, 8 Jun 2016 14:20:28 +0000 (16:20 +0200)]
Fix #191: acl: honor propagate checkbox

8 years agobump version to 4.2-12
Dietmar Maurer [Wed, 8 Jun 2016 10:46:23 +0000 (12:46 +0200)]
bump version to 4.2-12

8 years agoRename the SCSI VirtIO controller to better differenciate from VirtIO blk
Emmanuel Kasper [Wed, 8 Jun 2016 09:24:05 +0000 (11:24 +0200)]
Rename the SCSI VirtIO controller to better differenciate from VirtIO blk

Also fix casing to match VirtIO as displayed in Network Panel

8 years agoCase fix for VMware
Emmanuel Kasper [Wed, 8 Jun 2016 09:22:13 +0000 (11:22 +0200)]
Case fix for VMware

Closes: #778
8 years agofix #1005: don't exclude /var/log/?* with stdexcludes
Fabian Grünbichler [Wed, 8 Jun 2016 08:02:35 +0000 (10:02 +0200)]
fix #1005: don't exclude /var/log/?* with stdexcludes

the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.

8 years agoRemove IPv4 netmask check
Wolfgang Bumiller [Fri, 3 Jun 2016 13:33:25 +0000 (15:33 +0200)]
Remove IPv4 netmask check

8 years agoFix #1015: vzdump: send email on early errors
Wolfgang Bumiller [Mon, 6 Jun 2016 10:17:47 +0000 (12:17 +0200)]
Fix #1015: vzdump: send email on early errors

VZDump->new() dies when a tmpdir or dumpdir is configured
but does not exist. At this point the error is not being
reported via email.

This also moves the instantiation of VZDump into the worker
since new() can now call sendmail() on error.

Additionally rather than only showing a single error if both
tmpdir and dumpdir don't exist, both are included in the
message.

8 years agobump version to 4.2-11
Dietmar Maurer [Fri, 3 Jun 2016 10:12:44 +0000 (12:12 +0200)]
bump version to 4.2-11

8 years agoadd vzdump/extractconfig API path
Fabian Grünbichler [Fri, 3 Jun 2016 09:09:40 +0000 (11:09 +0200)]
add vzdump/extractconfig API path

8 years agoremove old www/manager dir
Dietmar Maurer [Thu, 2 Jun 2016 14:41:06 +0000 (16:41 +0200)]
remove old www/manager dir

8 years agodisable animation of charts on load
Dominik Csapak [Thu, 2 Jun 2016 13:20:43 +0000 (15:20 +0200)]
disable animation of charts on load

this enables the animation of the chart after it
finished loading, to avoid the initial zoom

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