]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
7 years agostatd: rebalance: don't use CpuSet::max_cpuids
Wolfgang Bumiller [Thu, 20 Apr 2017 08:47:41 +0000 (10:47 +0200)]
statd: rebalance: don't use CpuSet::max_cpuids

We're already limiting CPUs to lxc/cpuset.effective_cpus,
so let's use the highest cpuid from that set as a maximum to
initialize the container count array.

7 years agobump version to 5.0-8
Dietmar Maurer [Thu, 20 Apr 2017 04:25:43 +0000 (06:25 +0200)]
bump version to 5.0-8

7 years agofilter templates in bulk start/stop
Dominik Csapak [Wed, 19 Apr 2017 12:45:22 +0000 (14:45 +0200)]
filter templates in bulk start/stop

because we cannot start/stop templates

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd skylake to cpu types
Dominik Csapak [Wed, 19 Apr 2017 12:43:55 +0000 (14:43 +0200)]
add skylake to cpu types

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoset default focus and default button for edit window
Dominik Csapak [Tue, 18 Apr 2017 14:55:49 +0000 (16:55 +0200)]
set default focus and default button for edit window

this patch sets following defaults for the edit window:

defaultFocus: 'field'

sets the focus on the first field it finds in its child items,
works for most edit windows, so that the cursor stands in a
textfield, or on a checkbox

defaultButton: 'submitbutton'

so that when someone presses enter, we submit the form

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 5.0-7
Dietmar Maurer [Fri, 14 Apr 2017 13:20:33 +0000 (15:20 +0200)]
bump version to 5.0-7

7 years agohighlight errors in grids
Dominik Csapak [Fri, 14 Apr 2017 08:09:24 +0000 (10:09 +0200)]
highlight errors in grids

we gave erroneous entries in grids the class .x-form-invalid-field
but since we changed to the "crisp" theme, this class did not have any
highlighting

so instead we use our own "pve-invalid-row" class
and give it a light red background

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd right-click menu for nodes
Dominik Csapak [Fri, 14 Apr 2017 08:09:23 +0000 (10:09 +0200)]
add right-click menu for nodes

to easier reach the bulk actions, create wizards, and shell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse nodename parameter to preselect the node in the wizard
Dominik Csapak [Fri, 14 Apr 2017 08:09:22 +0000 (10:09 +0200)]
use nodename parameter to preselect the node in the wizard

this will be used for the ndoe right-click-menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd a 'convert to template' in the vm action bar
Dominik Csapak [Fri, 14 Apr 2017 08:09:21 +0000 (10:09 +0200)]
add a 'convert to template' in the vm action bar

this was only available on right clicking a vm, now it is also available
in the action bar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomove qemu reset button into shutdown menu
Dominik Csapak [Fri, 14 Apr 2017 08:09:20 +0000 (10:09 +0200)]
move qemu reset button into shutdown menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 5.0-6
Fabian Grünbichler [Mon, 10 Apr 2017 14:25:10 +0000 (16:25 +0200)]
bump version to 5.0-6

7 years agoCeph: allow bigger size and min_size in API
Fabian Grünbichler [Mon, 3 Apr 2017 10:06:55 +0000 (12:06 +0200)]
Ceph: allow bigger size and min_size in API

7 years agoceph/pool: allow bigger size and min_size values
Thomas Lamprecht [Wed, 22 Mar 2017 10:08:02 +0000 (11:08 +0100)]
ceph/pool: allow bigger size and min_size values

Some setups may want to use more replicas as three, while my proposed
maximal 7 replicas is also arbitrary it should cover all normal
usecases (i.e. 5 replicas) and a bit more, just to be sure.

7 years agoceph/pool: change default replica to 3/2
Thomas Lamprecht [Wed, 22 Mar 2017 10:08:01 +0000 (11:08 +0100)]
ceph/pool: change default replica to 3/2

size/min_size 2/1 is unsafe as it can result in split brains, so we
should not recommend it as default.

If the user really wants it he can still set it explicit.

7 years agofix #1317: check wizard form also on validitychange
Dominik Csapak [Fri, 24 Mar 2017 13:19:11 +0000 (14:19 +0100)]
fix #1317: check wizard form also on validitychange

with the commit
    40342aa6c4278497b9ec8c9cce8739f9b29c2e8f
we introduced a validator on the guestidselector, but did not
notice that the wizard checks the validity on the field change event,
but the selector gets valid/invalid in an api callback(so a little later)

with this patch, we now validate the field correctly with validate()
and also listen on the validitychange event to catch it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix start on boot
Fabian Grünbichler [Fri, 24 Mar 2017 07:58:20 +0000 (08:58 +0100)]
fix start on boot

fix the fix for #1024

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agobump version to 5.0-5
Fabian Grünbichler [Wed, 22 Mar 2017 09:52:43 +0000 (10:52 +0100)]
bump version to 5.0-5

7 years agouse new repository URL
Fabian Grünbichler [Wed, 22 Mar 2017 07:23:23 +0000 (08:23 +0100)]
use new repository URL

7 years agobump version to 5.0-4
Fabian Grünbichler [Tue, 21 Mar 2017 12:39:19 +0000 (13:39 +0100)]
bump version to 5.0-4

7 years agofix #1307: dont use language dependent separator in gui
Dominik Csapak [Mon, 20 Mar 2017 15:17:41 +0000 (16:17 +0100)]
fix #1307: dont use language dependent separator in gui

by default, extjs submits the language dependent decimal separator,
e.g. ',' for german and '.' for english

but we always want '.'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd beta text with link to bugtracker
Dominik Csapak [Tue, 21 Mar 2017 11:33:55 +0000 (12:33 +0100)]
add beta text with link to bugtracker

for the 5.0 beta, add a link to the bugtracker

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoceph: create default keys when creating monitor
Fabian Grünbichler [Tue, 21 Mar 2017 12:35:25 +0000 (13:35 +0100)]
ceph: create default keys when creating monitor

this used to be a separate service, but got dropped in
Kraken in favour of calling ceph-create-keys manually when
deploying a node.

7 years agopveceph: use luminous by default
Fabian Grünbichler [Mon, 20 Mar 2017 12:25:11 +0000 (13:25 +0100)]
pveceph: use luminous by default

7 years agobump version to 5.0-3
Dietmar Maurer [Fri, 17 Mar 2017 11:13:13 +0000 (12:13 +0100)]
bump version to 5.0-3

7 years agouse 'U' to encode undefined values for RRD graphs
Dietmar Maurer [Fri, 17 Mar 2017 10:27:18 +0000 (11:27 +0100)]
use 'U' to encode undefined values for RRD graphs

rrdtools 1.5 and newer seems to require this.

7 years agoremove backup locks when starting all VMs on boot
Thomas Lamprecht [Wed, 15 Mar 2017 15:47:42 +0000 (16:47 +0100)]
remove backup locks when starting all VMs on boot

If on bootup one of our VMs is locked by an backup we safely can
assume that this backup job does not run anymore and that the lock
has no reason anymore and just hinders uptime of services.

As at this time we (the node) have quorum so we may safely assume
that we have a consistent view of the cluster and all our VMs really
belong to us. We just need to ensure that we do not run into an
automatic backup jobs, so execute our code with VZDumps lock or
timeout.
Log in the Task and Sys log that we removed the lock, so that an
admin easily sees that there may be need for cleaning leftovers from
an interrupted backup.

Addresses bug #1024

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoget_filtered_vmlist: save VM conf in own subhash
Thomas Lamprecht [Wed, 15 Mar 2017 15:47:41 +0000 (16:47 +0100)]
get_filtered_vmlist: save VM conf in own subhash

small refactoring in get_filtered_vmlist: save a VMs config in its
own subhash to avoid collisions with other data which we want to save
in the vmid list, for now this is only `type` but in the next patch
I want to save also the class

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoinclude also HA VMs if a vm list is explicit specified
Thomas Lamprecht [Wed, 15 Mar 2017 14:46:07 +0000 (15:46 +0100)]
include also HA VMs if a vm list is explicit specified

Else the user would not had specified them explicit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoVMSelctor: add HA state and allow to filter with it
Thomas Lamprecht [Wed, 15 Mar 2017 14:46:06 +0000 (15:46 +0100)]
VMSelctor: add HA state and allow to filter with it

This allows also to filter after HA states, so one may bulk control
HA managed services more easily or do bulk actions just on unmanaged
VMs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoPVEResource store: respect defaulValue of elements
Thomas Lamprecht [Wed, 15 Mar 2017 14:46:05 +0000 (15:46 +0100)]
PVEResource store: respect defaulValue of elements

If we explicitly set a fields defaultValue we really want it in the
Model.

Also needed for a further patch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoResourceStore: fix typo s/Colum/Columns/
Thomas Lamprecht [Wed, 15 Mar 2017 14:46:04 +0000 (15:46 +0100)]
ResourceStore: fix typo s/Colum/Columns/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoupdate sources.list to stretch
Fabian Grünbichler [Wed, 15 Mar 2017 11:03:00 +0000 (12:03 +0100)]
update sources.list to stretch

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoAPT: update packages and package names
Fabian Grünbichler [Wed, 15 Mar 2017 11:02:59 +0000 (12:02 +0100)]
APT: update packages and package names

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoMakefile: use "ssh -X" for upload
Dietmar Maurer [Tue, 14 Mar 2017 06:59:01 +0000 (07:59 +0100)]
Makefile: use "ssh -X" for upload

7 years agobump version to 5.0-2
Dietmar Maurer [Tue, 14 Mar 2017 06:57:15 +0000 (07:57 +0100)]
bump version to 5.0-2

7 years agocontrol.in: change description to avoid lintian warning
Dietmar Maurer [Tue, 14 Mar 2017 06:34:22 +0000 (07:34 +0100)]
control.in: change description to avoid lintian warning

Avoids warning: description-synopsis-starts-with-article

7 years agodepend on libc6 to avoid lintian error missing-dependency-on-libc
Dietmar Maurer [Tue, 14 Mar 2017 06:29:00 +0000 (07:29 +0100)]
depend on libc6 to avoid lintian error missing-dependency-on-libc

7 years agopveproxy: do not serve /usr/share/vncterm - no longer required
Dietmar Maurer [Tue, 14 Mar 2017 05:56:09 +0000 (06:56 +0100)]
pveproxy: do not serve /usr/share/vncterm - no longer required

Note: We removed the java applet

7 years agoinstall lintian overrides file
Dietmar Maurer [Tue, 14 Mar 2017 05:39:04 +0000 (06:39 +0100)]
install lintian overrides file

7 years agobump version to 5.0-1
Wolfgang Bumiller [Mon, 13 Mar 2017 13:23:52 +0000 (14:23 +0100)]
bump version to 5.0-1

7 years agobump version to 4.4-13
Wolfgang Bumiller [Mon, 13 Mar 2017 12:06:09 +0000 (13:06 +0100)]
bump version to 4.4-13

7 years agofix ceph.service for Ceph Jewel >= 10.2.6
Fabian Grünbichler [Thu, 9 Mar 2017 09:34:57 +0000 (10:34 +0100)]
fix ceph.service for Ceph Jewel >= 10.2.6

having our ceph.service pulled in by ceph.target does not
work anymore, because "systemctl start ceph.target" hangs
forever on ceph-common upgrades. multi-user.target seems to
work as well, and we are ordered after pve-cluster anyway.

only replace the old ceph.service if it is an exact match.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agobuildsys: depend on lsb-base
Wolfgang Bumiller [Tue, 7 Feb 2017 14:39:06 +0000 (15:39 +0100)]
buildsys: depend on lsb-base

7 years agobuildsys: make job safety
Wolfgang Bumiller [Tue, 7 Feb 2017 14:38:33 +0000 (15:38 +0100)]
buildsys: make job safety

7 years agoremove space in service file
Wolfgang Bumiller [Tue, 7 Feb 2017 14:38:54 +0000 (15:38 +0100)]
remove space in service file

7 years agofix diffstore issue with clusterlog
Dominik Csapak [Fri, 10 Mar 2017 09:12:25 +0000 (10:12 +0100)]
fix diffstore issue with clusterlog

extjs cannot "convert" and id from other fields, so the ids in the
diffstore and the realstore are different and we re-add every element on
every update

to mitigate this, we generate the id (which is "uid:hostname") in the
backend, and simply use it in the frontend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse validator for GuestIDSelector and optimize labels
Dominik Csapak [Tue, 21 Feb 2017 09:53:15 +0000 (10:53 +0100)]
use validator for GuestIDSelector and optimize labels

instead of using markInvalid, use a validator, which also marks the
field dirty and marks the form correctly invalid.

also optimize the label/error message assignments

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoshow nodeselector errors only if a node is selected
Dominik Csapak [Wed, 15 Feb 2017 14:00:24 +0000 (15:00 +0100)]
show nodeselector errors only if a node is selected

otherwise we get the error:

'Node seems to be offline'

if we do not have a node selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agocheck earlier if the logview is destroyed
Dominik Csapak [Wed, 15 Feb 2017 13:55:50 +0000 (14:55 +0100)]
check earlier if the logview is destroyed

because extjs 6.2 handles destroying of components differently (namely
asynchronous), we have to check earlier if the view is destroyed, else
we get a 'cannot access ~ of undefined' error

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake the ha node priority field explicitly not a form field
Dominik Csapak [Wed, 15 Feb 2017 13:55:49 +0000 (14:55 +0100)]
make the ha node priority field explicitly not a form field

in extjs 6.2 form fields in widgetcolumns get parsed in a form
which is not what we want here, because we have a hidden field, which
gets generated on a change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove unneeded applyEmptyText
Dominik Csapak [Wed, 15 Feb 2017 13:55:48 +0000 (14:55 +0100)]
remove unneeded applyEmptyText

this was not needed and does not work with extjs 6.2

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #306: add email address field to backup now window
Dominik Csapak [Fri, 17 Feb 2017 14:30:23 +0000 (15:30 +0100)]
fix #306: add email address field to backup now window

to send the backup log when clicking the backup now button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove unneeded *Index.pm files
Dominik Csapak [Tue, 7 Mar 2017 10:18:23 +0000 (11:18 +0100)]
remove unneeded *Index.pm files

they are not used anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse Template::Toolkit instead of [ExtJs|Touch|NoVnc]Index.pm
Dominik Csapak [Tue, 7 Mar 2017 10:18:22 +0000 (11:18 +0100)]
use Template::Toolkit instead of [ExtJs|Touch|NoVnc]Index.pm

this makes it easier to change the html if needed and seperates
it from the perl code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd the index.html.tpl files for the default ui and touch
Dominik Csapak [Tue, 7 Mar 2017 10:18:21 +0000 (11:18 +0100)]
add the index.html.tpl files for the default ui and touch

they are mostly copied from ExtJSIndex.pm and TouchIndex.pm, and
they are prepared with the Template::Toolkit syntax

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agospecify basedirs instead of hardcoding them several times
Dominik Csapak [Tue, 7 Mar 2017 10:18:20 +0000 (11:18 +0100)]
specify basedirs instead of hardcoding them several times

using a hash with the directories makes it easier to reuse them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse login instead of bash
Dominik Csapak [Tue, 28 Feb 2017 11:06:45 +0000 (12:06 +0100)]
use login instead of bash

since bash does not play well with utf8 encoded input,
eg. pressing ALTGR + M on an english intl keyboard layout int novnc
does not enter the mu symbol but makes bash think you pressed alt+5,
we should use login without authorization when logging in as root

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agokeep locale for vncshell and spiceshell
Dominik Csapak [Tue, 28 Feb 2017 11:22:56 +0000 (12:22 +0100)]
keep locale for vncshell and spiceshell

use the new keeplocale parameter from run_command and do not delete the
LANG and LANGUAGE variable for the vncshell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoZFSEdit.js: correctly set 'nowritecache' on zfs plugin
Dietmar Maurer [Wed, 8 Mar 2017 05:39:26 +0000 (06:39 +0100)]
ZFSEdit.js: correctly set 'nowritecache' on zfs plugin

7 years agofix #1299: sort pools in poolselector by default
Dominik Csapak [Fri, 3 Mar 2017 11:20:32 +0000 (12:20 +0100)]
fix #1299: sort pools in poolselector by default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd css fix for chrome >=56
Dominik Csapak [Fri, 3 Mar 2017 09:17:25 +0000 (10:17 +0100)]
add css fix for chrome >=56

with chrome/chromium version 56, they changed the way how they calculate
height of text in input fields (now it is correct according to the
standard) but extjs up to 6.2.1 has a fix for this in css

this patch reverses the fix in extjs and can be reverted when they
remove the fix upstream

the bug (EXTJS-23628) and the fix are described here:
https://www.sencha.com/forum/showthread.php?335045

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomigrateall: use get_filtered_vmlist
Thomas Lamprecht [Fri, 24 Feb 2017 09:47:03 +0000 (10:47 +0100)]
migrateall: use get_filtered_vmlist

instead of using get_start_stop_list in a rather hacky way use the
new get_filtered_vmlist method and adapt the loop, as now only one
level is required.

most changes  are just an indent shift left as we lost an unnecessary
loop level

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agorefactor get_start_stop_list
Thomas Lamprecht [Fri, 24 Feb 2017 09:47:02 +0000 (10:47 +0100)]
refactor get_start_stop_list

we used get_start_stop_list for assembling a list of VMIDs for
stopall, startall and migrateall.

While get_start_stop_list did already some filtering we did some
more in the specific startall and stopall calls.
Add a new private helper which does all the filtering and just
assemble the startup order in the get_start_stop_list method.

Move the template and ha managed filtering in the new
get_filtered_vmlist method, this allows us to remove the filtering
from the API calls them self and we do not load the vms config twice
(it was cached, but nonetheless unnecessary)

get_filtered_vmlist is also intended to be used by migrateall in a
next patch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoDo not translate IT terms which should be used 'as is' in every language
Emmanuel Kasper [Wed, 1 Mar 2017 10:34:07 +0000 (11:34 +0100)]
Do not translate IT terms which should be used 'as is' in every language

for 'Initialize GPT' we use the alternate 'Initialize Disk with GPT' string
which was already existing

7 years agoRename 'create' to 'isCreate' in pveWindowEdit and subclasses
Emmanuel Kasper [Tue, 28 Feb 2017 13:26:49 +0000 (14:26 +0100)]
Rename 'create' to 'isCreate' in pveWindowEdit and subclasses

This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.

7 years agoIndentation fix
Emmanuel Kasper [Wed, 8 Feb 2017 14:13:19 +0000 (15:13 +0100)]
Indentation fix

7 years agoInfluxDB plugins: send nodename when updating CT/VM status
Thomas Lamprecht [Thu, 23 Feb 2017 08:32:30 +0000 (09:32 +0100)]
InfluxDB plugins: send nodename when updating CT/VM status

This allows filtering by node in InfluxDB queries, so the statistics
of all virtual guests on a specific nodes can be queried.

While for InfluxDB this is only a tag which does changes where the
data is stored, Graphite - our other status plugin - has no such
mechanics available. If we would add it to the object hierarchy,
e.g.: "qemu.$vmid.$nodename" a migration of a VM would result in two
different datasets.
So avoid breaking setups and omit it for Graphite for now.

Suggested-by: Daniel1108 <danielgallegosanchez@gmail.com>
CC: Daniel1108 <danielgallegosanchez@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoMake explicit the meaning of an empty storage field
Emmanuel Kasper [Wed, 8 Feb 2017 14:05:09 +0000 (15:05 +0100)]
Make explicit the meaning of an empty storage field

By default when no target storage is selected in the clone panel, the clone
will use the same storage*s* as the source.

This was not obvious to guess that from the panel.

7 years agoAdd a clone button in the VM toolbar
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:27 +0000 (19:03 +0100)]
Add a clone button in the VM toolbar

Up to now the Migrate function had a first class button in the toolbar,
but the Clone function didn't.
With this button the toolbar still fit correctly in a smaller
1280 pixel wide display.

7 years agoMove the snapshot API test to a static function
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:26 +0000 (19:03 +0100)]
Move the snapshot API test to a static function

This will allow code reuse in a following patch.

No functional change.

7 years agoFix handling of failed API call verifyFeature()
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:25 +0000 (19:03 +0100)]
Fix handling of failed API call verifyFeature()

This call can for instance fails when a source VM has references
to non existing storages.

7 years agopveperf: remove outated POD replaced by pve-docs
Thomas Lamprecht [Fri, 10 Feb 2017 19:53:55 +0000 (20:53 +0100)]
pveperf: remove outated POD replaced by pve-docs

Remove the POD content and the overwriting makefile rule
'pveperf.1.pod' so that the rule from pve-doc-generator.mk matches

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoUse ip from iproute2 package instead of net-tools
Emmanuel Kasper [Mon, 6 Feb 2017 14:37:23 +0000 (15:37 +0100)]
Use ip from iproute2 package instead of net-tools

iproute2 is a direct depency from pve-qemu-kvm and should
be always available

use -statistics so we get the RX/TX traffic sum like ifconfig
use -details to get extra info like current vlan_protocol

7 years agoFix #1266: use a renderer when displaying Unix timestamps.
Emmanuel Kasper [Tue, 31 Jan 2017 15:48:50 +0000 (16:48 +0100)]
Fix #1266: use a renderer when displaying Unix timestamps.

The timestamp is displayed read only in a large window, and not sortable,
hence we use the human readable renderer.

7 years agoAdd a new renderer for displaying dates in a human readable way
Emmanuel Kasper [Tue, 31 Jan 2017 15:48:49 +0000 (16:48 +0100)]
Add a new renderer for displaying dates in a human readable way

render_timestamp returns a Date as
"2017-01-31 16:17:33"
which is good for computers and column sorting but unfit
for human consumption

the new renderer added by this patch renders a Date as
"Tuesday 31 January 2017 16:18:08"

Day-month-year order is the most used ordering
in the world and also commonly used in the USA for
official documents.
source:
https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States
https://en.wikipedia.org/wiki/Date_format_by_country

7 years agoPVE/API2/Tasks.pm: corretly return true after loading
Dietmar Maurer [Tue, 31 Jan 2017 07:13:17 +0000 (08:13 +0100)]
PVE/API2/Tasks.pm: corretly return true after loading

7 years agobump version to 4.4-12
Fabian Grünbichler [Fri, 27 Jan 2017 09:56:21 +0000 (10:56 +0100)]
bump version to 4.4-12

7 years agoREST/RPCEnvironment's check_worker is a method now
Wolfgang Bumiller [Thu, 26 Jan 2017 10:13:21 +0000 (11:13 +0100)]
REST/RPCEnvironment's check_worker is a method now

7 years agospiceproxy: import PVE::SafeSyslog
Wolfgang Bumiller [Thu, 26 Jan 2017 11:59:31 +0000 (12:59 +0100)]
spiceproxy: import PVE::SafeSyslog

7 years agobump version to 4.4-11
Dietmar Maurer [Thu, 26 Jan 2017 08:23:19 +0000 (09:23 +0100)]
bump version to 4.4-11

7 years agodepend on libjs-extjs
Dietmar Maurer [Wed, 25 Jan 2017 17:24:51 +0000 (18:24 +0100)]
depend on libjs-extjs

7 years agodelete extjs source files
Dietmar Maurer [Wed, 25 Jan 2017 17:23:07 +0000 (18:23 +0100)]
delete extjs source files

7 years agobump version to 4.4-10
Fabian Grünbichler [Wed, 25 Jan 2017 08:38:49 +0000 (09:38 +0100)]
bump version to 4.4-10

7 years agomove VZDump base Plugin
Fabian Grünbichler [Wed, 25 Jan 2017 08:35:35 +0000 (09:35 +0100)]
move VZDump base Plugin

moved to pve-common-guest

7 years agodo no translate ha states
Dominik Csapak [Mon, 23 Jan 2017 13:32:25 +0000 (14:32 +0100)]
do no translate ha states

because they have a special meaning, do not translate them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoUse the enabled/disabled toggler to render grid options
Emmanuel Kasper [Mon, 23 Jan 2017 14:24:33 +0000 (15:24 +0100)]
Use the enabled/disabled toggler to render grid options

Allows getting rid of multiple "Enable foobar" gettext strings in
LXC and Firewall option panels.

7 years agoAdd new renderer function for toggling enabled/disabled options
Emmanuel Kasper [Mon, 23 Jan 2017 14:24:32 +0000 (15:24 +0100)]
Add new renderer function for toggling enabled/disabled options

7 years agoRemove technical terms from content to be translated
Emmanuel Kasper [Wed, 18 Jan 2017 16:03:32 +0000 (17:03 +0100)]
Remove technical terms from content to be translated

7 years agobump version to 4.4-9
Dietmar Maurer [Thu, 19 Jan 2017 08:23:16 +0000 (09:23 +0100)]
bump version to 4.4-9

7 years agouse new PVE::Storage::check_volume_access()
Dietmar Maurer [Wed, 18 Jan 2017 16:30:40 +0000 (17:30 +0100)]
use new PVE::Storage::check_volume_access()

7 years agopvestatd.pm: corretly use new RPCEnvironment
Dietmar Maurer [Wed, 18 Jan 2017 16:28:59 +0000 (17:28 +0100)]
pvestatd.pm: corretly use new RPCEnvironment

Call $rpcenv->active_workers()

7 years agopveproxy: do not expose /pve2/js/ (no longer required)
Dietmar Maurer [Wed, 18 Jan 2017 11:59:21 +0000 (12:59 +0100)]
pveproxy: do not expose /pve2/js/ (no longer required)

7 years agoRemove redundant helper for login window
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:05 +0000 (09:46 +0100)]
Remove redundant helper for login window

the information is already provided by the label, the helper does not add
meaningfull information here.

7 years agoDo not try to translate domain specific terms
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:04 +0000 (09:46 +0100)]
Do not try to translate domain specific terms

No one is translating DHCP in his/her own language.

7 years agoRemove duplicate strings
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:03 +0000 (09:46 +0100)]
Remove duplicate strings

7 years agoremove reference to PVE.ConsoleWorkspace
Dietmar Maurer [Tue, 17 Jan 2017 07:04:45 +0000 (08:04 +0100)]
remove reference to PVE.ConsoleWorkspace

We already removed that code (unused).

7 years agobump version to 4.4-8
Dietmar Maurer [Mon, 16 Jan 2017 17:43:06 +0000 (18:43 +0100)]
bump version to 4.4-8

7 years agoPVE/HTTPServer: do not return cookie_name from auth_handler
Dietmar Maurer [Mon, 16 Jan 2017 09:59:39 +0000 (10:59 +0100)]
PVE/HTTPServer: do not return cookie_name from auth_handler

This is no longer required.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
7 years agoHTTPServer.pm: rewrite rest_handler (simplify code)
Dietmar Maurer [Mon, 16 Jan 2017 09:59:38 +0000 (10:59 +0100)]
HTTPServer.pm: rewrite rest_handler (simplify code)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>