]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
6 years agoupdate aplinfo.dat
Dietmar Maurer [Mon, 3 Jul 2017 14:06:49 +0000 (16:06 +0200)]
update aplinfo.dat

6 years agobump version to 5.0-20
Dietmar Maurer [Fri, 30 Jun 2017 09:19:10 +0000 (11:19 +0200)]
bump version to 5.0-20

6 years agoreplication: reuse fitting translations
Thomas Lamprecht [Thu, 29 Jun 2017 14:37:32 +0000 (16:37 +0200)]
replication: reuse fitting translations

while it does not makes sense do over-reuse translations for the sake
of translating less, imo, here we can safely reuse already existing
ones and pull out the unit 'MB/s' from the gettext.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agopvesr: allow schedule now from CLI
Thomas Lamprecht [Thu, 29 Jun 2017 10:08:59 +0000 (12:08 +0200)]
pvesr: allow schedule now from CLI

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agobump version to 5.0-19
Dietmar Maurer [Thu, 29 Jun 2017 10:02:14 +0000 (12:02 +0200)]
bump version to 5.0-19

6 years agopvesr status: handle disabled jobs
Thomas Lamprecht [Thu, 29 Jun 2017 09:35:02 +0000 (11:35 +0200)]
pvesr status: handle disabled jobs

As the nodes replication status call also returns disabled jobs now,
we need to handle them here too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoreplication; merge status and status text and add to dc mode
Thomas Lamprecht [Thu, 29 Jun 2017 09:22:53 +0000 (11:22 +0200)]
replication; merge status and status text and add to dc mode

It was a bit strange to have two separate status columns, which do
effectively the same thing. So merge them together to save a bit
space and have less columns.

We do not need to translate 'Status Text' as a nice side effect.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoreplication: show disabled jobs and allow enabling/disabling
Thomas Lamprecht [Thu, 29 Jun 2017 08:08:29 +0000 (10:08 +0200)]
replication: show disabled jobs and allow enabling/disabling

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoPVE/APLInfo.pm - use correct version for user agent
Dietmar Maurer [Thu, 29 Jun 2017 06:07:11 +0000 (08:07 +0200)]
PVE/APLInfo.pm - use correct version for user agent

6 years agoRevert "add beta text with link to bugtracker"
Dietmar Maurer [Thu, 29 Jun 2017 05:58:37 +0000 (07:58 +0200)]
Revert "add beta text with link to bugtracker"

This reverts commit 6531861e690bbe2c077dd0388689e565cf28df5a.

Prepare for final 5.0 release.

6 years agoreplication: fix regression tests
Dietmar Maurer [Thu, 29 Jun 2017 05:46:56 +0000 (07:46 +0200)]
replication: fix regression tests

6 years agoPVE/API2/Replication.pm: cleanup - avoid modifying jobcfg
Dietmar Maurer [Thu, 29 Jun 2017 05:45:57 +0000 (07:45 +0200)]
PVE/API2/Replication.pm: cleanup - avoid modifying jobcfg

This is simply no longer necessary.

6 years agoreplication: adapt help buttons reference
Thomas Lamprecht [Wed, 28 Jun 2017 16:11:49 +0000 (18:11 +0200)]
replication: adapt help buttons reference

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoAdd Help Button for Backup Modal Windows
Emmanuel Kasper [Wed, 28 Jun 2017 13:26:03 +0000 (15:26 +0200)]
Add Help Button for Backup Modal Windows

Modal Windows disable the Workspace behind them, so it was not possible
to get onlineHelp when starting a oneshot backup or configuring a backup job.

6 years agobump version to 5.0-18
Wolfgang Bumiller [Wed, 28 Jun 2017 12:24:19 +0000 (14:24 +0200)]
bump version to 5.0-18

6 years agoFix create replication job
Wolfgang Link [Wed, 28 Jun 2017 11:50:29 +0000 (13:50 +0200)]
Fix create replication job

Add node to load config. this is needed if you are on an other node then the guest.

6 years agobump version to 5.0-17
Dietmar Maurer [Wed, 28 Jun 2017 11:34:42 +0000 (13:34 +0200)]
bump version to 5.0-17

6 years agoreplication GUI: add schedule now Button
Dietmar Maurer [Wed, 28 Jun 2017 06:35:02 +0000 (08:35 +0200)]
replication GUI: add schedule now Button

6 years agoPVE/API2/Replication.pm: add schedule_now API
Dietmar Maurer [Wed, 28 Jun 2017 04:55:16 +0000 (06:55 +0200)]
PVE/API2/Replication.pm: add schedule_now API

6 years agogui: drop cirrus from the GUI
Wolfgang Bumiller [Wed, 28 Jun 2017 09:39:33 +0000 (11:39 +0200)]
gui: drop cirrus from the GUI

now only available from the CLI

6 years agoreplica: improve schedule format example
Thomas Lamprecht [Wed, 28 Jun 2017 08:24:39 +0000 (10:24 +0200)]
replica: improve schedule format example

Add one more to show that also weekdays + intervals are possible

Further improve wording + reduce translation needs for others entries.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agogrid/replication: show textual description of default value
Thomas Lamprecht [Wed, 28 Jun 2017 07:19:49 +0000 (09:19 +0200)]
grid/replication: show textual description of default value

When a user sees this the first time and wants to add a job he
shouldn't be confused what the default value means, so display this
through the emptyText property, which does not get submitted to the
backend.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoMake sure checkboxes always appear under the ACL combobox for a bit of esthetic
Emmanuel Kasper [Tue, 27 Jun 2017 15:07:09 +0000 (17:07 +0200)]
Make sure checkboxes always appear under the ACL combobox for a bit of esthetic

6 years agoAdd a checkbox 'Skip replication' to filter out container mount points to replicate
Emmanuel Kasper [Tue, 27 Jun 2017 15:07:08 +0000 (17:07 +0200)]
Add a checkbox 'Skip replication' to filter out container mount points to replicate

6 years agotests: mock PVE::Cluster::get_members and adapt fail test
Wolfgang Bumiller [Tue, 27 Jun 2017 13:47:24 +0000 (15:47 +0200)]
tests: mock PVE::Cluster::get_members and adapt fail test

Commit 3385399339c94 ("replication: keep retrying every 30 minutes in
error state") changed the retry behavior to not stop after the 3rd error
and then stick to half-hour intervals. This needs to be reflected in the
tests. The numbers here match. (1900 + 30*60 = 3700).

Commit fd844180a7efa ("replication: don't sync to offline targets on
error states) changed the retry behavior to check whether the target
node is online. If this is not the case we fail right away. This
introduced a dependency on PVE::Cluster::get_members which we now need
to mock. Tests currently use node names "node{1,2,3}", so I just mock
those 3.

6 years agoceph: keys: add mgr allow * to client.admin
Fabian Grünbichler [Tue, 27 Jun 2017 14:42:16 +0000 (16:42 +0200)]
ceph: keys: add mgr allow * to client.admin

needed for data that now gets queried via the mgr instead of
via the mon.

6 years agopveceph: createosd: allow to create bluestore OSDs
Fabian Grünbichler [Tue, 27 Jun 2017 14:12:13 +0000 (16:12 +0200)]
pveceph: createosd: allow to create bluestore OSDs

6 years agopveceph: init: add min_size, change default to 3/2
Fabian Grünbichler [Mon, 22 May 2017 07:54:30 +0000 (09:54 +0200)]
pveceph: init: add min_size, change default to 3/2

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoPVE/API2/Replication.pm: call purge_old_states in run_jobs
Dietmar Maurer [Tue, 27 Jun 2017 09:03:06 +0000 (11:03 +0200)]
PVE/API2/Replication.pm: call purge_old_states in run_jobs

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
6 years agoreplication/ui: improve wording for job removal
Thomas Lamprecht [Tue, 27 Jun 2017 13:01:26 +0000 (15:01 +0200)]
replication/ui: improve wording for job removal

Delete the strange sounding Note from the Removal dialog.
This was added to make sure that an user isn't confused that a Job is
still shown after 'removing' it. But it isn't needed as there is
already noted in the jobs status that it will get removed soon after
doing so, so the user sees that his action had the desired effect, no
extra note needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoreplication: refuse to create jobs with nothing to do
Wolfgang Bumiller [Tue, 27 Jun 2017 12:55:45 +0000 (14:55 +0200)]
replication: refuse to create jobs with nothing to do

When a VM has no disks or all of them are on shared storage
the replication job has nothing to do and fails, so catch
this when creating a new job.

6 years agotests: update pvesr_lock_path variable location
Wolfgang Bumiller [Tue, 27 Jun 2017 12:55:44 +0000 (14:55 +0200)]
tests: update pvesr_lock_path variable location

6 years agoceph: init: allow pool deletion by default
Fabian Grünbichler [Wed, 3 May 2017 09:45:12 +0000 (11:45 +0200)]
ceph: init: allow pool deletion by default

set to false by default since Ceph > Kraken

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoAdd a Skip replication option on Disk Panel
Emmanuel Kasper [Tue, 27 Jun 2017 07:52:39 +0000 (09:52 +0200)]
Add a Skip replication option on Disk Panel

This will allow to disable replication, when for instance we
add a disk on a non-replicatable storage.
The option is hidden in the wizard, because at that time no VM
replication has been set.

6 years agorefuse to create replication jobs for unreplicatable VMs
Wolfgang Bumiller [Mon, 26 Jun 2017 14:34:33 +0000 (16:34 +0200)]
refuse to create replication jobs for unreplicatable VMs

7 years agobump version to 5.0-16
Dietmar Maurer [Fri, 23 Jun 2017 11:03:32 +0000 (13:03 +0200)]
bump version to 5.0-16

7 years agofix lxc hostname input window
Dominik Csapak [Fri, 23 Jun 2017 09:36:37 +0000 (11:36 +0200)]
fix lxc hostname input window

we used a static emptytext at creation, which is wrong after editing
now copied from qemu/Options.js (the name), but instead of deleting the
hostname on the backend on an empty field, we set it to CT<VMID>
(this is also the default in the wizard)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix reselection on vm/ct migrate in gui
Dominik Csapak [Fri, 23 Jun 2017 09:00:58 +0000 (11:00 +0200)]
fix reselection on vm/ct migrate in gui

there were a number of problems in how we reselected vms when they
migrated and selected:

we relied on the data in the configpanel to be static, but since
pveselnode is a reference, it actually changes when the resourcestore
changes
also, handling the reselection as a response to the statusstore failure
is very inconsistent, because we know exactly when a vm moves node in
the tree

this patch removes the whole configpanel vm migration code,
and lets the tree handle it
for this, we have to check if we have to reselect the entry,
deselect it manually and after the treeupdate reselect it

also in the right click selection check we have to check if it is
already selected, else the next selection will get canceled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 5.0-15
Dietmar Maurer [Fri, 23 Jun 2017 09:43:58 +0000 (11:43 +0200)]
bump version to 5.0-15

7 years agopvesr.timer: set AccuracySec=1
Dietmar Maurer [Fri, 23 Jun 2017 09:41:37 +0000 (11:41 +0200)]
pvesr.timer: set AccuracySec=1

So that the user can predict when a job will/shpuld be started. I think
this will not have much impact on the cluster wide power consumption.

7 years agobump version to 5.0-14
Dietmar Maurer [Fri, 23 Jun 2017 08:48:59 +0000 (10:48 +0200)]
bump version to 5.0-14

7 years agopvesr.service: add ConditionPathExists=/usr/bin/pvesr
Dietmar Maurer [Fri, 23 Jun 2017 08:44:54 +0000 (10:44 +0200)]
pvesr.service: add ConditionPathExists=/usr/bin/pvesr

And explicitly set type to 'oneshot', but I am not sure if it makes
any difference to 'simple'.

7 years agoadd systemd timer unit to trigger pvesr run
Wolfgang Link [Fri, 2 Jun 2017 09:21:46 +0000 (11:21 +0200)]
add systemd timer unit to trigger pvesr run

7 years agobump version to 5.0-13
Dietmar Maurer [Thu, 22 Jun 2017 10:28:24 +0000 (12:28 +0200)]
bump version to 5.0-13

7 years agofix regression in gui when migrating guests
Dominik Csapak [Thu, 22 Jun 2017 09:24:35 +0000 (11:24 +0200)]
fix regression in gui when migrating guests

with using suspend/resumeEvents the reselection of vms when migrating,
was not working correctly, fixing this by resuming before selecting

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoshow resume button when qmpstatus is 'suspended'
Dominik Csapak [Thu, 22 Jun 2017 09:24:34 +0000 (11:24 +0200)]
show resume button when qmpstatus is 'suspended'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd initramfs conf snippet disabling RESUME
Fabian Grünbichler [Thu, 22 Jun 2017 09:29:14 +0000 (11:29 +0200)]
add initramfs conf snippet disabling RESUME

otherwise, every boot will wait for the swap ZVol on root on
ZFS systems.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agobetter default column sizes for replication grid
Dominik Csapak [Mon, 19 Jun 2017 14:25:50 +0000 (16:25 +0200)]
better default column sizes for replication grid

to see the full date, and save space from the other columns

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agochange default replication status text to 'OK'
Dominik Csapak [Mon, 19 Jun 2017 14:25:49 +0000 (16:25 +0200)]
change default replication status text to 'OK'

The status '-' can confuse users, as it could indicate something is
missing, whereas OK indicates everything is alright (which is the status
we want to show)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agochange short duration format to x.y
Dominik Csapak [Mon, 19 Jun 2017 14:25:48 +0000 (16:25 +0200)]
change short duration format to x.y

so we always show one decimal place
(instead of all with seconds and none with minutes, hours, days)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd replication to stateprovider dictionary
Dominik Csapak [Mon, 19 Jun 2017 12:34:34 +0000 (14:34 +0200)]
add replication to stateprovider dictionary

to show the number in the url fragment instead of 'replication'
also change the itemid in the datacenter to 'replication' from 'replica'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse git rev-parse for repoid
Dominik Csapak [Wed, 14 Jun 2017 10:22:28 +0000 (12:22 +0200)]
use git rev-parse for repoid

instead of getting the repoid from .git/refs/heads/master

using HEAD as commit also means we get the correct commit hash for when
building the package (e.g. when building from stable-4)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoBetter Status description for jobs which are about to be run
Emmanuel Kasper [Tue, 20 Jun 2017 14:42:54 +0000 (16:42 +0200)]
Better Status description for jobs which are about to be run

7 years agoUse also a 150 pix width for Date in LXC Snapshot Tree
Emmanuel Kasper [Mon, 19 Jun 2017 15:00:04 +0000 (17:00 +0200)]
Use also a 150 pix width for Date in LXC Snapshot Tree

Otherwise the date is truncated by default

7 years agoFix LXC Snapshots Edit Window timestamps
Emmanuel Kasper [Mon, 19 Jun 2017 14:59:50 +0000 (16:59 +0200)]
Fix LXC Snapshots Edit Window timestamps

API calls return dates in seconds where the JS Date() constructor
wants millisecond.

For the correct computation use render_timestamp_human_readable.

A similar fix was commited in 4092576b1b2da715eb79f3adf733f4165e9d74d4
for VMs but Containers missed the fix.

7 years agobump version to 5.0-12
Dietmar Maurer [Thu, 22 Jun 2017 07:32:01 +0000 (09:32 +0200)]
bump version to 5.0-12

7 years agoOSD: rename 'remove' to 'destroy'
Thomas Lamprecht [Wed, 17 May 2017 10:40:27 +0000 (12:40 +0200)]
OSD: rename 'remove' to 'destroy'

To have consistency with the CLI tools `pveceph destroyosd` command.
This is also more clear about the resulting action, as 'Remove' could
also just mean 'Remove from Config', for example.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agopvereport: improve output and add timeouts to commands
Thomas Lamprecht [Fri, 9 Jun 2017 10:06:12 +0000 (12:06 +0200)]
pvereport: improve output and add timeouts to commands

Each command may not run longer than 10 seconds. This avoids
situations where no output gets generated because of a infinitely
hanging command (e.g. check for dead NFS storage)
Also ensure that commands are separated with a new line from each
other to improve readability.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoPVE/API2/Replication.pm: add $verbose parameter run_jobs()
Dietmar Maurer [Tue, 20 Jun 2017 06:57:40 +0000 (08:57 +0200)]
PVE/API2/Replication.pm: add $verbose parameter run_jobs()

7 years agoFix SafeDestroy when entering a numeric resource ID
Emmanuel Kasper [Wed, 14 Jun 2017 09:22:20 +0000 (11:22 +0200)]
Fix SafeDestroy when entering a numeric resource ID

In a previous commit, the inputField of SafeDestroy.js was converted
from a numberfield to a textfield to allow ceph pools names to be
entered.
This means the type of 'value' changed from number to string and
the strong equal test === was failing against a numeric id.
To solve this, we now always stringify the resource id before comparing.

7 years agoupdate default aplinfo.dat
Dietmar Maurer [Mon, 19 Jun 2017 04:52:52 +0000 (06:52 +0200)]
update default aplinfo.dat

7 years agouse 'any' for build architecture
Thomas Lamprecht [Wed, 14 Jun 2017 12:11:41 +0000 (14:11 +0200)]
use 'any' for build architecture

allows to build this on all architectures without marking it as
architecture independent.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agouse correct vmid for id when in vm replication panel
Dominik Csapak [Wed, 14 Jun 2017 06:52:59 +0000 (08:52 +0200)]
use correct vmid for id when in vm replication panel

values.guest is only available when the field 'guest' is not a
displayfield (e.g. when in vm replication panel), so we have to
use the given vmid first and only when this is not available, fall back
to the value of the field

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1414: use table layout instead of columns
Dominik Csapak [Wed, 14 Jun 2017 07:22:23 +0000 (09:22 +0200)]
fix #1414: use table layout instead of columns

columns with fixed widths do not resize correctly in chrome when
resizing or having a different dpi scaling

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd replication grid to lxc/qemu/node
Dominik Csapak [Tue, 13 Jun 2017 12:56:06 +0000 (14:56 +0200)]
add replication grid to lxc/qemu/node

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd replication grid in datacenter
Dominik Csapak [Tue, 13 Jun 2017 12:56:05 +0000 (14:56 +0200)]
add replication grid in datacenter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd replication grid
Dominik Csapak [Tue, 13 Jun 2017 12:56:04 +0000 (14:56 +0200)]
add replication grid

this patch adds a replication grid, which shows the status/configuration
for the defined replication jobs, and allow them to be
added/edited/removed

in case the replication grid gets shown in the datacenter, we omit the
status fields, because we only have the configuration there

when opening the grid, we check if there are at least two nodes,
because currently we only allow replication in a cluster environment

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd calendarevent form field
Dominik Csapak [Tue, 13 Jun 2017 12:56:03 +0000 (14:56 +0200)]
add calendarevent form field

this is a freely editable combobox, which shows five usable examples and
their syntax, allowing users to deduct how the syntax works without
reading documentation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoport button from proxmox-widget-toolkit
Dominik Csapak [Tue, 13 Jun 2017 12:56:02 +0000 (14:56 +0200)]
port button from proxmox-widget-toolkit

we want the new behaviour of the proxmox button also in pve, but
we do not want to change to proxmox-widget-toolkit yet

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd render_duration
Dominik Csapak [Tue, 13 Jun 2017 12:56:01 +0000 (14:56 +0200)]
add render_duration

for replica interval

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoimplement delete parameter for replicationconfig
Dominik Csapak [Tue, 13 Jun 2017 12:56:00 +0000 (14:56 +0200)]
implement delete parameter for replicationconfig

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoFix #1372: require manually entering the Ceph Pool id before destroying a pool
Emmanuel Kasper [Mon, 12 Jun 2017 14:18:09 +0000 (16:18 +0200)]
Fix #1372: require manually entering the Ceph Pool id before destroying a pool

7 years agoAdapt SafeDestroy component to be able to delete Ceph Pools
Emmanuel Kasper [Mon, 12 Jun 2017 14:18:08 +0000 (16:18 +0200)]
Adapt SafeDestroy component to be able to delete Ceph Pools

7 years agoimplement digest checking for ReplicationConfig update
Dominik Csapak [Mon, 12 Jun 2017 13:01:14 +0000 (15:01 +0200)]
implement digest checking for ReplicationConfig update

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agochange to ReplicaState
Dominik Csapak [Mon, 12 Jun 2017 13:01:13 +0000 (15:01 +0200)]
change to ReplicaState

this function moved, so the call to it has to move too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agopvesr set_state
Wolfgang Link [Fri, 9 Jun 2017 06:19:49 +0000 (08:19 +0200)]
pvesr set_state

7 years agoui: don't translate NDP
Wolfgang Bumiller [Mon, 12 Jun 2017 08:52:10 +0000 (10:52 +0200)]
ui: don't translate NDP

7 years agotranslate params in bulk migrate window
Thomas Lamprecht [Wed, 7 Jun 2017 08:37:46 +0000 (10:37 +0200)]
translate params in bulk migrate window

we have translated 'Target Node' already and I add a translation for
german and italian for 'Parallel Jobs' in the next translation update
patches.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agochange to debian font-awesome
Dominik Csapak [Mon, 12 Jun 2017 08:13:24 +0000 (10:13 +0200)]
change to debian font-awesome

instead of having font-awesome copied into the repository,
depend on the debian package 'fonts-font-awesome', which provides all we
need

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomark node shutdown/reboot buttons as dangerous
Thomas Lamprecht [Tue, 6 Jun 2017 13:40:37 +0000 (15:40 +0200)]
mark node shutdown/reboot buttons as dangerous

this has the effect that a warning triangle instead of an "?" symbol
is displayed and that the default focus is on "No"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
7 years agoexplicit set button focus respecting the 'dangerous' option
Thomas Lamprecht [Tue, 6 Jun 2017 13:40:36 +0000 (15:40 +0200)]
explicit set button focus respecting the 'dangerous' option

The line:
 > Ext.MessageBox.defaultButton = me.dangerous ? 2 : 1;
just set the button which should get triggered on an keyboard "Enter"
if no button is focused currently.

But often the 'Yes' buttons is focused so an enter press would
trigger it, even on a as 'dangerous' marked option.

Fix this, as else a to fast "Enter" press can cause more problems
than needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-By: Dominik Csapak <d.csapak@proxmox.com>
7 years agobuildsys: clean: remove .buildinfo and .changes
Wolfgang Bumiller [Mon, 12 Jun 2017 08:20:12 +0000 (10:20 +0200)]
buildsys: clean: remove .buildinfo and .changes

7 years agobuild: whitespace cleanup
Fabian Grünbichler [Mon, 12 Jun 2017 07:34:10 +0000 (09:34 +0200)]
build: whitespace cleanup

7 years agobuild: fakeroot is default anyway
Fabian Grünbichler [Mon, 12 Jun 2017 07:27:23 +0000 (09:27 +0200)]
build: fakeroot is default anyway

7 years agobuild: make control static
Fabian Grünbichler [Mon, 12 Jun 2017 07:26:57 +0000 (09:26 +0200)]
build: make control static

7 years agobuild: cleanup control.in
Fabian Grünbichler [Mon, 12 Jun 2017 07:26:22 +0000 (09:26 +0200)]
build: cleanup control.in

7 years agoremoved PVE/Replication.pm (moved to pve-guest-common)
Dietmar Maurer [Mon, 12 Jun 2017 05:04:51 +0000 (07:04 +0200)]
removed PVE/Replication.pm (moved to pve-guest-common)

7 years agouse new replication helpers from pve-guest-common
Dietmar Maurer [Mon, 12 Jun 2017 04:59:21 +0000 (06:59 +0200)]
use new replication helpers from pve-guest-common

7 years agoPVE::Replication - remove dependency to PVE::LXC/PVE::QemuServer
Dietmar Maurer [Fri, 9 Jun 2017 07:45:44 +0000 (09:45 +0200)]
PVE::Replication - remove dependency to PVE::LXC/PVE::QemuServer

So that we can move the whole class to package pve-guest-common.

7 years agoPVE::Replication - pass guest_class to run_replication
Dietmar Maurer [Fri, 9 Jun 2017 06:47:49 +0000 (08:47 +0200)]
PVE::Replication - pass guest_class to run_replication

So that we can (re)use methods from PVE::AbstractConfig.

7 years agodebian: reformat depends in control
Fabian Grünbichler [Fri, 9 Jun 2017 12:32:36 +0000 (14:32 +0200)]
debian: reformat depends in control

7 years agochange from dpkg-deb to dpkg-buildpackage
Dominik Csapak [Fri, 9 Jun 2017 07:55:28 +0000 (09:55 +0200)]
change from dpkg-deb to dpkg-buildpackage

for better building pve-manager

this moves the copyright file to debian/
the debian/changelog.Debian to debian/changelog

we do not need the debian/conffiles anymore (gets autogenerated from
files in ./etc/)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agodo not let www-data own the static js/html files
Dominik Csapak [Fri, 9 Jun 2017 07:55:27 +0000 (09:55 +0200)]
do not let www-data own the static js/html files

this is neither necessary, nor useful
those files are meant to be read only anyway, so there is no gain in
them being owned by www-data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix wrong variable syntax
Dominik Csapak [Fri, 9 Jun 2017 07:55:25 +0000 (09:55 +0200)]
fix wrong variable syntax

{$PACKAGE} expands to '{ACKAGE}', meaning we shipped a dir:
/usr/share/doc/{ACKAGE}/examples

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd SOURCE_DATE_EPOCH to Makefile
Dominik Csapak [Fri, 9 Jun 2017 07:55:24 +0000 (09:55 +0200)]
add SOURCE_DATE_EPOCH to Makefile

to get consistent timestamps for most files in the package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agotests: override GuestHelper's lockdir
Wolfgang Bumiller [Fri, 9 Jun 2017 07:55:57 +0000 (09:55 +0200)]
tests: override GuestHelper's lockdir

Otherwise the user running the tests may either create (and
end up being the ownderof) the system wide
/var/lock/pve-manager/* files, or the tests will fail (or
loop endlessly) if the user doesn't have access to them.

7 years agoPVE::API2::ReplicationConfig->delete - use raise_param_exc
Dietmar Maurer [Fri, 9 Jun 2017 04:12:02 +0000 (06:12 +0200)]
PVE::API2::ReplicationConfig->delete - use raise_param_exc

7 years agoAdd force parameter for delete replica job.
Wolfgang Link [Thu, 8 Jun 2017 10:01:50 +0000 (12:01 +0200)]
Add force parameter for delete replica job.

This parameter is helpful if an unsolvable situation occurs or the vmconfig was delete manually.

7 years agofix #1389: vzdump: handle storage failure in new()
Fabian Grünbichler [Mon, 22 May 2017 11:16:48 +0000 (13:16 +0200)]
fix #1389: vzdump: handle storage failure in new()

otherwise the mail notification is not triggered

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
7 years agoshow hostpci devices in gui
Dominik Csapak [Mon, 29 May 2017 09:10:21 +0000 (11:10 +0200)]
show hostpci devices in gui

so one can see which pci devices are assigned to which vm

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