]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
7 years agorestrict vzdump cron options
Fabian Grünbichler [Mon, 17 Oct 2016 08:14:22 +0000 (10:14 +0200)]
restrict vzdump cron options

modeled after the VZDump API path, but since we are
restricted to Sys.Modify users already, we only need to
restrict these three options.

7 years agobump version to 4.3-5
Dietmar Maurer [Fri, 14 Oct 2016 07:02:07 +0000 (09:02 +0200)]
bump version to 4.3-5

7 years agopveversion: add smartmontools
Dietmar Maurer [Fri, 14 Oct 2016 06:59:24 +0000 (08:59 +0200)]
pveversion: add smartmontools

7 years agopveversion: add pve-docs package
Dietmar Maurer [Fri, 14 Oct 2016 06:57:51 +0000 (08:57 +0200)]
pveversion: add pve-docs package

7 years agobump version to 4.3-4
Dietmar Maurer [Thu, 13 Oct 2016 09:29:03 +0000 (11:29 +0200)]
bump version to 4.3-4

7 years agouse auto-generated block IDs to reference online docu.
Dietmar Maurer [Thu, 13 Oct 2016 09:26:06 +0000 (11:26 +0200)]
use auto-generated block IDs to reference online docu.

7 years agofix lint error
Dietmar Maurer [Thu, 13 Oct 2016 07:40:33 +0000 (09:40 +0200)]
fix lint error

7 years agovzdump: move restricted API parameters check
Fabian Grünbichler [Wed, 12 Oct 2016 13:30:20 +0000 (15:30 +0200)]
vzdump: move restricted API parameters check

for better visibility and earlier error detection

7 years agovzdump: document restricted API parameters
Fabian Grünbichler [Wed, 12 Oct 2016 13:30:19 +0000 (15:30 +0200)]
vzdump: document restricted API parameters

7 years agoFix jslint warning: 'sortedList' is already defined
Emmanuel Kasper [Mon, 10 Oct 2016 12:32:51 +0000 (14:32 +0200)]
Fix jslint warning: 'sortedList' is already defined

sortedList was defined twice in the function
remove the declaration at the beginning of function as declaring a var
just before using it is more similar to the rest of code

7 years agoMove bus priority list to OSDefaults
Emmanuel Kasper [Mon, 10 Oct 2016 12:32:50 +0000 (14:32 +0200)]
Move bus priority list to OSDefaults

So a field container does not need to know if Linux likes SCSI.

7 years agomake Win XP and Win 2003 use the same defaults as Win 2000
Emmanuel Kasper [Mon, 10 Oct 2016 08:13:25 +0000 (10:13 +0200)]
make Win XP and Win 2003 use the same defaults as Win 2000

(this means: rtl8139 as nic and lsi as hardware controller)

XP & 2003 ISO E1000 drivers are missing or do not work with Qemu
(source: https://pve.proxmox.com/wiki/Windows_2003_guest_best_practices)
(source: https://pve.proxmox.com/wiki/Windows_XP_Guest_Notes)

The lsi SCSI controller was the default SCSI controller until recently and works with Win2003.
(NB: An IDE controller is still selected during installation for these OSes)

The aim is to provide an out-of-the box besser experience when using the Create Wizard.

NB: we have a distinct OS type between wxp and w2k3 in QemuServer.pm but since they
use the same defaults we can still wxp for both of those.

7 years agobump version to 4.3-3
Dietmar Maurer [Fri, 7 Oct 2016 09:46:40 +0000 (11:46 +0200)]
bump version to 4.3-3

7 years agoHA/Groups: add onlineHelp button to edit window
Thomas Lamprecht [Thu, 6 Oct 2016 12:07:23 +0000 (14:07 +0200)]
HA/Groups: add onlineHelp button to edit window

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agogrid/FirewallRules.js jslint fixes
Dominik Csapak [Thu, 6 Oct 2016 10:10:28 +0000 (12:10 +0200)]
grid/FirewallRules.js jslint fixes

trailing commas are bad

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomove DocsPages from global to PVE.Utils namespace
Dominik Csapak [Thu, 6 Oct 2016 10:10:27 +0000 (12:10 +0200)]
move DocsPages from global to PVE.Utils namespace

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agocorrectly reset value of combobox
Dominik Csapak [Thu, 6 Oct 2016 10:10:26 +0000 (12:10 +0200)]
correctly reset value of combobox

we have cases, were the original value of a combobox is an array,
but not the current value

on reset, we get an error in Ext.Array.equals, because we
did not check if the current value is also an array

this patch fixes this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoha/groups: allow editing node priorities through UI
Thomas Lamprecht [Thu, 6 Oct 2016 09:52:52 +0000 (11:52 +0200)]
ha/groups: allow editing node priorities through UI

This allows the setting and editing node priorities in HA groups.

Also fixes the bug where the priorities of an existing group (e.g.
set through the CLI) where deleted when editing said group through
the GUI.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd getNodes function to PVEResource store
Thomas Lamprecht [Thu, 6 Oct 2016 09:52:51 +0000 (11:52 +0200)]
add getNodes function to PVEResource store

Add the getNodes function to the periodically asynchronous updated
PVEResource store. This allows a component to get the node data
directly, without making an API call and waiting that it's finished,
the data is also up to date.

A usage example would be:

var data = PVE.data.ResourceStore.getNodes();

var store = Ext.create('Ext.data.Store', {
    fields: [ 'node', 'mem', 'cpu', ... ], // or a model
    data: data,
    proxy: {
type: 'memory',
reader: {type: 'json'}
    },
    ...
});

I'll use it in a later patch to avoid two asynchrony store loads
where I'd have logic in place for the case that either one finishes
first, this function helps me to avoid such logic while achieving
the same functionallity.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agosimplify code, improve sort order
Dietmar Maurer [Fri, 7 Oct 2016 06:12:52 +0000 (08:12 +0200)]
simplify code, improve sort order

7 years agoWhen adding a new hard disk, use the most used controller as suggested value
Emmanuel Kasper [Thu, 6 Oct 2016 09:01:26 +0000 (11:01 +0200)]
When adding a new hard disk, use the most used controller as suggested value

This is a complementary fix for #1105 (Create Linux VM Wizard: use scsi
as default bus/device) and add some logic to the list of controllers
presented in the ControllerSelector combo box

Since we can have IDE, SCSI, Virtio(blk) as a controller during installation,
based on OS detection and personal preferences, we can reasonably assume
on 80 % of cases it will be the same controller we want to use for the
next time we add a hardisk.

This allows backward compatibility for Linux guests which were proposed a
virtio-blk as first choice, and also helps newly created Linux VMs by proposing
SCSI.

7 years agoAdd regexp to match a bus entry in a VM config
Emmanuel Kasper [Thu, 6 Oct 2016 09:01:25 +0000 (11:01 +0200)]
Add regexp to match a bus entry in a VM config

7 years agoremove debugging code from postrm
Dietmar Maurer [Thu, 6 Oct 2016 14:45:51 +0000 (16:45 +0200)]
remove debugging code from postrm

7 years agouse correct info on disks in destroyosd and skip smart
Dominik Csapak [Wed, 5 Oct 2016 13:32:40 +0000 (15:32 +0200)]
use correct info on disks in destroyosd and skip smart

instead of using
'/dev/${real_dev}'

we use the devpath property directly

also we skip the smart check in the cleanup

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1099: get correct info on disks in createosd
Dominik Csapak [Wed, 5 Oct 2016 13:32:39 +0000 (15:32 +0200)]
fix #1099: get correct info on disks in createosd

instead of getting all disks, only get the info
from the one we get as parameter
and use the 'devname' value for the
ceph commands instead of the parameter itself
(this fixes the cciss!cXdY cciss/cXdY mismatch)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agodo not get smart data for ceph disk list
Dominik Csapak [Wed, 5 Oct 2016 13:32:38 +0000 (15:32 +0200)]
do not get smart data for ceph disk list

on the ceph disks call, we do not need the smart
data, so set the nosmart flag

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoSort all lists in the storage what we load dynamically.
Wolfgang Link [Wed, 5 Oct 2016 12:27:56 +0000 (14:27 +0200)]
Sort all lists in the storage what we load dynamically.

It locks better if the lists are sorted.
Also if you have long list it makes working easier.

7 years agobump version to 4.3-2
Dietmar Maurer [Wed, 5 Oct 2016 05:11:31 +0000 (07:11 +0200)]
bump version to 4.3-2

7 years agofix #1108: add copy firewall rule to GUI
Wolfgang Link [Thu, 22 Sep 2016 09:03:25 +0000 (11:03 +0200)]
fix #1108: add copy firewall rule to GUI

It is now possible to select a firewall rule on the GUI
and copy it as template for the new rule.

7 years agofix #1116: center modal windows on browser resize
Dominik Csapak [Tue, 4 Oct 2016 14:29:23 +0000 (16:29 +0200)]
fix #1116: center modal windows on browser resize

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse new statusview for storage
Dominik Csapak [Tue, 4 Oct 2016 14:29:22 +0000 (16:29 +0200)]
use new statusview for storage

to better fit with the rest

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomove rrd legend to the bottom, make it toggleable
Dominik Csapak [Tue, 4 Oct 2016 14:29:21 +0000 (16:29 +0200)]
move rrd legend to the bottom, make it toggleable

this is to make up for the lost width,
and to make up for the lost height, you
can now toggle the legend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix width of panels in statusviews
Dominik Csapak [Tue, 4 Oct 2016 14:29:20 +0000 (16:29 +0200)]
fix width of panels in statusviews

since we introduced the vertical menus,
each panel is about 30px too wide for having
two side by side with a 1920x1080 resolution

this patch changes, the paddings/sizes so that
this fits again, at the cost of about 30 pixels width
per panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoshow smart text if disk type is not ATA
Dominik Csapak [Tue, 4 Oct 2016 11:39:37 +0000 (13:39 +0200)]
show smart text if disk type is not ATA

in case the disk is not type ATA (e.g. SAS),
the smartctl output is not well parsable,
so we show the raw text instead

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd loadMask to Disk and SMART grid
Dominik Csapak [Tue, 4 Oct 2016 11:39:36 +0000 (13:39 +0200)]
add loadMask to Disk and SMART grid

also use the hasMany reference of the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd htmlEncode to S.M.A.R.T. Fields
Dominik Csapak [Tue, 4 Oct 2016 11:39:35 +0000 (13:39 +0200)]
add htmlEncode to S.M.A.R.T. Fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix jslint error
Dominik Csapak [Tue, 4 Oct 2016 07:59:07 +0000 (09:59 +0200)]
fix jslint error

trailing comma

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoMinor refactor for #1115 (reload grid after template download)
Emmanuel Kasper [Wed, 28 Sep 2016 08:51:57 +0000 (10:51 +0200)]
Minor refactor for #1115 (reload grid after template download)

Move the listener to the new window declaration to make it clear
this listener is not bound to the current component

7 years agoCeph/Monitor: set name column witdh to 100px
Thomas Lamprecht [Tue, 27 Sep 2016 13:41:34 +0000 (15:41 +0200)]
Ceph/Monitor: set name column witdh to 100px

so that we can actually read the monitor name without resizing the
grid every time we visit, there is space enough

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoCeph/Monitor: sort monitors after name
Thomas Lamprecht [Tue, 27 Sep 2016 13:41:33 +0000 (15:41 +0200)]
Ceph/Monitor: sort monitors after name

we get the entries random else, which is unintuitive.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoMakefile: fix distclean target
Thomas Lamprecht [Tue, 27 Sep 2016 13:39:56 +0000 (15:39 +0200)]
Makefile: fix distclean target

As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile

This target is broken.

As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agofix #1115 reload storage grid after template download
Emmanuel Kasper [Mon, 26 Sep 2016 14:24:20 +0000 (16:24 +0200)]
fix #1115 reload storage grid after template download

Refresh the grid after the template has been downloaded, instead
of refreshing after the template has been selected.

this fix a the problem that a newly Turnkey / PVE downloaded template
would not be shown in the storage content grid after closing the task
window

7 years agoprepare version number for new 4.3 release
Dietmar Maurer [Fri, 23 Sep 2016 06:40:16 +0000 (08:40 +0200)]
prepare version number for new 4.3 release

7 years agobump version to 4.2-23
Dietmar Maurer [Wed, 21 Sep 2016 14:17:45 +0000 (16:17 +0200)]
bump version to 4.2-23

7 years agodo not test for the cgmanager package in pveversion fix #1117
Emmanuel Kasper [Wed, 21 Sep 2016 13:37:09 +0000 (15:37 +0200)]
do not test for the cgmanager package in pveversion fix #1117

the package has been removed from the list of lxcfs dependencies
since 0.12-pve1

7 years agobump version to 4.2-22
Dietmar Maurer [Tue, 20 Sep 2016 15:28:38 +0000 (17:28 +0200)]
bump version to 4.2-22

7 years agoadd a warning message if the EFI disk is missing fix #1112
Emmanuel Kasper [Tue, 20 Sep 2016 13:19:25 +0000 (15:19 +0200)]
add a warning message if the EFI disk is missing fix #1112

do not display an obstrusive popup on top of a modal window,
but display a hint under the combo box

7 years agofix #1113 use a LSI controller for legacy OSes
Emmanuel Kasper [Tue, 20 Sep 2016 13:17:40 +0000 (15:17 +0200)]
fix #1113 use a LSI controller for legacy OSes

instead of setting virtio-scsi for all newly created VMs, pass the
OS Optimal SCSI Controller to pveQemuCreateWizard which will
add it as an hidden paramater just before POSTing the wizard data
to the API.

7 years agofix #1113: preserve LSI controller for legacy Oses
Emmanuel Kasper [Tue, 20 Sep 2016 13:17:39 +0000 (15:17 +0200)]
fix #1113: preserve LSI controller for legacy Oses

The SCSI HW type handling will be made in the Wizard class, removing from here.

7 years agobump version to 4.2-21
Dietmar Maurer [Fri, 16 Sep 2016 06:08:35 +0000 (08:08 +0200)]
bump version to 4.2-21

7 years agocode cleanup
Dietmar Maurer [Fri, 16 Sep 2016 05:38:47 +0000 (07:38 +0200)]
code cleanup

7 years agouse refresh event instead of datachanged
Dietmar Maurer [Fri, 16 Sep 2016 05:36:15 +0000 (07:36 +0200)]
use refresh event instead of datachanged

7 years agolxc: correctly display cpulimit
Fabian Grünbichler [Thu, 15 Sep 2016 12:51:56 +0000 (14:51 +0200)]
lxc: correctly display cpulimit

the backend defaults to 0 (unlimited), so this should also be the default
in the GUI if nothing is set.

7 years agochange overflowhandler of actionmenu to scroller
Dominik Csapak [Thu, 15 Sep 2016 11:17:48 +0000 (13:17 +0200)]
change overflowhandler of actionmenu to scroller

the menu overflowhandler has a few problems
(alignment, no action for some entries)
so we change it to type scroller

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd missing documentation link to firewall log
Dominik Csapak [Thu, 15 Sep 2016 09:41:42 +0000 (11:41 +0200)]
add missing documentation link to firewall log

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd tooltip hashmap/generator for help button
Dominik Csapak [Thu, 15 Sep 2016 09:41:41 +0000 (11:41 +0200)]
add tooltip hashmap/generator for help button

instead of manually setting the onlineHelpTooltip property
we now have a method which maps links to the docs to
titles

for now this uses a static hashmap, but in the future
we want to generate this by the pve-docs package

also most of the subheaders we can generate instead of
saving them because they simply have each word capitalized
(e.g. '_container_network' => 'Container Network')

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoUse SCSI controller as default for l26 guests fix #1105
Emmanuel Kasper [Thu, 15 Sep 2016 07:34:06 +0000 (09:34 +0200)]
Use SCSI controller as default for l26 guests fix #1105

NB: This is only for new created VMs.

7 years agovirtio-scsi-pci as default SCSI for new VMS fix #1106
Emmanuel Kasper [Thu, 15 Sep 2016 07:34:05 +0000 (09:34 +0200)]
virtio-scsi-pci as default SCSI for new VMS fix #1106

7 years agoadd tooltip to help button
Dominik Csapak [Wed, 14 Sep 2016 10:19:28 +0000 (12:19 +0200)]
add tooltip to help button

with this patch, the help button on the config panels
get a tooltip with the text of the property
onlineHelpTooltip

or when an options has an onlineHelp defined but no
tooltip text, it gets the title of the option
(e.g. Datacenter -> Backup has the Tooltip "Backup")

We want this, to clarify where the help button goes,
without actually clicking

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoBugfix Only set a content when we have a selection
Emmanuel Kasper [Wed, 14 Sep 2016 09:31:11 +0000 (11:31 +0200)]
Bugfix Only set a content when we have a selection

Removing a node via updateTree() would cause the selection to be lost temporary
which in turn via the selectionchange listener would select an
empty content.
Now we only set a content if we have a selection.
This fix a graphical glitch where a migrated VM would not be properly
re-selected at its new position in tree.

The bug was introduced by:
    Clear sensitive content when logging out fixes #1060
    de7eeaac1c8bb1da27ddabbe8af93024ace3e6dc

7 years agoadd onlineHelp for UEFI
Dominik Csapak [Tue, 13 Sep 2016 13:12:27 +0000 (15:12 +0200)]
add onlineHelp for UEFI

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agogive error instead of disabling efidisk button
Dominik Csapak [Tue, 13 Sep 2016 13:12:26 +0000 (15:12 +0200)]
give error instead of disabling efidisk button

when seabios is selected, we do not want to simply
disable the add efi button, because it is not clear
why it is disabled

so we give a meaningful error message instead

the button is still 'just' disabled when there
is already an efidisk, because then it is clear
that you alread have one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agowhitespace cleanup
Dominik Csapak [Tue, 13 Sep 2016 11:46:16 +0000 (13:46 +0200)]
whitespace cleanup

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd onlineHelp to pool and storage
Dominik Csapak [Tue, 13 Sep 2016 11:46:15 +0000 (13:46 +0200)]
add onlineHelp to pool and storage

and their options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd onlineHelp to qemu
Dominik Csapak [Tue, 13 Sep 2016 11:46:14 +0000 (13:46 +0200)]
add onlineHelp to qemu

and its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd onlineHelp to lxc
Dominik Csapak [Tue, 13 Sep 2016 11:46:13 +0000 (13:46 +0200)]
add onlineHelp to lxc

and its options, and to network input panel
and mount point input panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd onlineHelp to nodes
Dominik Csapak [Tue, 13 Sep 2016 11:46:12 +0000 (13:46 +0200)]
add onlineHelp to nodes

and to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd onlineHelp links to Datacenter
Dominik Csapak [Tue, 13 Sep 2016 11:46:11 +0000 (13:46 +0200)]
add onlineHelp links to Datacenter

also add it to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd a helpbutton to the toolbar of the configpanel
Dominik Csapak [Tue, 13 Sep 2016 11:46:10 +0000 (13:46 +0200)]
add a helpbutton to the toolbar of the configpanel

this adds a contextual help button to the action
toolbar on the far right.

now the subclasses of pvePanelConfig have to have
a property 'onlineHelp', which is a relative link
to the relevant documentation

if no link is given, we output 'No Help available'.

For the folder view, we have a switch statement,
because these are dynamically created and simply
from type pvePanelConfig

if an option has the property onlineHelp, this link
will be set when selecting it, so that
you have a contextual help button for the options
(e.g. directly to the backup documentation on the 'Backup' entry)

if an option does not have this property, it defaults
to the pvePanelConfig property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd global help button
Dominik Csapak [Tue, 13 Sep 2016 11:46:09 +0000 (13:46 +0200)]
add global help button

this adds a global help button to the top,
which links to the index of our included documentation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake pveHelpButton more abstract
Dominik Csapak [Tue, 13 Sep 2016 11:46:08 +0000 (13:46 +0200)]
make pveHelpButton more abstract

this adds an option to set the helplink on the global event

also we now only set the link instead of the complete handler,
which is now static and gets the url from a property
(which we will set directly for other help buttons)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoupdate favicon, add homescreen icon
Dominik Csapak [Fri, 9 Sep 2016 11:22:21 +0000 (13:22 +0200)]
update favicon, add homescreen icon

this updates the favicon to 64px and the new logo
and adds a 128px image for apple/android homescreen

also we add the relevant html meta link tags
for apple/android homescreen icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse new logo
Dominik Csapak [Thu, 8 Sep 2016 13:57:51 +0000 (15:57 +0200)]
use new logo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1104: add missing /firewall in url
Dominik Csapak [Mon, 12 Sep 2016 12:35:58 +0000 (14:35 +0200)]
fix #1104: add missing /firewall in url

with the reorganizing of the tabs to
the treelist, we forgot to add /firewall to some
urls, making the url for source/destination invalid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd efidisk button to add menu
Dominik Csapak [Mon, 12 Sep 2016 10:02:38 +0000 (12:02 +0200)]
add efidisk button to add menu

this adds a new button "efi disk" to the
qemu hardware add menu

this is only enabled if the vm has ovmf enabled and
no active efidisk

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd efidisk to qemu hardwareview
Dominik Csapak [Mon, 12 Sep 2016 10:02:37 +0000 (12:02 +0200)]
add efidisk to qemu hardwareview

this shows an active efidisk above
unused disks, without an editor (because there are no options)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd new efidisk edit window
Dominik Csapak [Mon, 12 Sep 2016 10:02:36 +0000 (12:02 +0200)]
add new efidisk edit window

this will be used to add an efidisk,
mostly copied from hdedit, but stripped down,
because we do not use most of the functionality here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse renamed alias for xtype
Dominik Csapak [Mon, 12 Sep 2016 10:02:35 +0000 (12:02 +0200)]
use renamed alias for xtype

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agorename alias of some form fields, and remove brackets
Dominik Csapak [Mon, 12 Sep 2016 10:02:34 +0000 (12:02 +0200)]
rename alias of some form fields, and remove brackets

to be conform with the rest of the code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 4.2-20
Dietmar Maurer [Fri, 9 Sep 2016 08:40:48 +0000 (10:40 +0200)]
bump version to 4.2-20

7 years agostartall: remove timeout, wait forever
Dietmar Maurer [Fri, 9 Sep 2016 08:31:21 +0000 (10:31 +0200)]
startall: remove timeout, wait forever

7 years agobump version to 4.2-19
Dietmar Maurer [Fri, 9 Sep 2016 07:31:11 +0000 (09:31 +0200)]
bump version to 4.2-19

7 years agoAdd link to terms glossary when adding an ACL
Emmanuel Kasper [Thu, 8 Sep 2016 12:46:54 +0000 (14:46 +0200)]
Add link to terms glossary when adding an ACL

This is especially needed to know what is the synthax of the Path
input field

7 years agowhitespace cleanup
Dominik Csapak [Wed, 7 Sep 2016 09:11:06 +0000 (11:11 +0200)]
whitespace cleanup

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove unused code
Dominik Csapak [Wed, 7 Sep 2016 09:11:05 +0000 (11:11 +0200)]
remove unused code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse the Diskmanage subs for ceph instead
Dominik Csapak [Wed, 7 Sep 2016 09:11:04 +0000 (11:11 +0200)]
use the Diskmanage subs for ceph instead

the subs are now in PVE::Diskmanage, so use them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove ceph disk panel code
Dominik Csapak [Tue, 6 Sep 2016 14:59:43 +0000 (16:59 +0200)]
remove ceph disk panel code

because we do not need it anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse nodedisk panel and remove ceph disks from navigation
Dominik Csapak [Tue, 6 Sep 2016 14:59:42 +0000 (16:59 +0200)]
use nodedisk panel and remove ceph disks from navigation

this adds a "disks" entry in the node navigation,
and removes the "disks" entry under ceph

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomove cephdisk selector and create osd into osd panel
Dominik Csapak [Tue, 6 Sep 2016 14:59:41 +0000 (16:59 +0200)]
move cephdisk selector and create osd into osd panel

this patch moves the create osd button into the osd panel
and puts the ceph diskselector into ceph/OSD.js

also remove the vdev parameter there, because on the osd panel
we cannot preselect a disk

this patch makes it possible to remove the ceph disk panel alltogether

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd DiskList panel
Dominik Csapak [Tue, 6 Sep 2016 14:59:40 +0000 (16:59 +0200)]
add DiskList panel

this patch adds a disk list panel which:
lists the disks with typical columns
(type, vendor, serial, smart, wearout, etc.)

and with a doubleclick you can show the smart attributes

and with a click on init disk you can initialize a disk
with a gpt table

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd disk api entry point
Dominik Csapak [Tue, 6 Sep 2016 14:59:39 +0000 (16:59 +0200)]
add disk api entry point

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1091: add backup config button to storage contentview
Dominik Csapak [Tue, 30 Aug 2016 12:18:46 +0000 (14:18 +0200)]
fix #1091: add backup config button to storage contentview

this adds a show config button to the storage contentview
so that you can show the backup configuration from there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>