2589 Commits

Author SHA1 Message Date
Dominik Csapak
b7c32bee5f 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>
2016-09-15 13:41:02 +02:00
Dominik Csapak
dc6e32eb04 add missing documentation link to firewall log
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-15 11:58:38 +02:00
Dominik Csapak
a50de12435 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>
2016-09-15 11:58:17 +02:00
Emmanuel Kasper
9daa22a630 Use SCSI controller as default for l26 guests fix #1105
NB: This is only for new created VMs.
2016-09-15 11:40:12 +02:00
Emmanuel Kasper
eca87c69bc virtio-scsi-pci as default SCSI for new VMS fix #1106 2016-09-15 11:36:35 +02:00
Dominik Csapak
d33823bf07 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>
2016-09-14 13:05:38 +02:00
Emmanuel Kasper
f184350f9d 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
2016-09-14 11:47:18 +02:00
Dominik Csapak
67fc6ddf0e add onlineHelp for UEFI
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:46:07 +02:00
Dominik Csapak
1535df627b 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>
2016-09-13 16:45:49 +02:00
Dominik Csapak
f3777880e9 whitespace cleanup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:29 +02:00
Dominik Csapak
565a68be99 add onlineHelp to pool and storage
and their options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:17 +02:00
Dominik Csapak
3c724630b3 add onlineHelp to qemu
and its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:06 +02:00
Dominik Csapak
7f1ac74ce7 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>
2016-09-13 16:41:53 +02:00
Dominik Csapak
0f9347a6ff add onlineHelp to nodes
and to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:39 +02:00
Dominik Csapak
983277c98b add onlineHelp links to Datacenter
also add it to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:29 +02:00
Dominik Csapak
9cc74dfe30 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>
2016-09-13 16:40:43 +02:00
Dominik Csapak
3ef5861105 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>
2016-09-13 16:37:08 +02:00
Dominik Csapak
4542b0d633 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>
2016-09-13 16:36:48 +02:00
Dominik Csapak
5b19317420 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>
2016-09-13 08:56:53 +02:00
Dominik Csapak
55d727ca7a use new logo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 08:56:08 +02:00
Dominik Csapak
816b62b0aa 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>
2016-09-13 08:03:20 +02:00
Dominik Csapak
3b37ab6db8 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>
2016-09-13 07:52:46 +02:00
Dominik Csapak
194c9b0964 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>
2016-09-13 07:51:19 +02:00
Dominik Csapak
1c67cee1ed 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>
2016-09-13 07:50:09 +02:00
Dominik Csapak
f118971daf use renamed alias for xtype
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:47:34 +02:00
Dominik Csapak
4cb75dd989 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>
2016-09-13 07:46:46 +02:00
Dietmar Maurer
ee9d0f6a44 bump version to 4.2-20 2016-09-09 10:40:48 +02:00
Dietmar Maurer
3947d0a069 startall: remove timeout, wait forever 2016-09-09 10:31:21 +02:00
Dietmar Maurer
e9619b93bb bump version to 4.2-19 2016-09-09 09:31:11 +02:00
Emmanuel Kasper
09ad03bfea Add link to terms glossary when adding an ACL
This is especially needed to know what is the synthax of the Path
input field
2016-09-08 16:48:12 +02:00
Dominik Csapak
6f8bf83de4 whitespace cleanup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:45:42 +02:00
Dominik Csapak
00e544ce46 remove unused code
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:45:30 +02:00
Dominik Csapak
7f4924bd9b 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>
2016-09-07 11:45:09 +02:00
Dominik Csapak
f935538f4c remove ceph disk panel code
because we do not need it anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:44:35 +02:00
Dominik Csapak
fc2916c1ca 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>
2016-09-07 11:22:58 +02:00
Dominik Csapak
1c9db30716 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>
2016-09-07 11:21:09 +02:00
Dominik Csapak
a36deac4a5 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>
2016-09-07 11:17:53 +02:00
Dominik Csapak
e781363f19 add disk api entry point
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:16:55 +02:00
Dominik Csapak
772042eaf0 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>
2016-09-05 11:20:56 +02:00
Dominik Csapak
6da4aea874 refactor backupconfig window
refactor it in its own class, because we need it again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 11:20:41 +02:00
Dominik Csapak
6f242111c3 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>
2016-09-05 06:54:40 +02:00
Dominik Csapak
9174efeb5b fix #586: make notes edit window resizable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 06:50:40 +02:00
Dominik Csapak
cc183d882d 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>
2016-09-01 11:44:27 +02:00
Dominik Csapak
a14b32233b 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>
2016-09-01 11:44:10 +02:00
Dominik Csapak
1939a0069e 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>
2016-09-01 11:43:59 +02:00
Dominik Csapak
e72f428558 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>
2016-09-01 11:43:44 +02:00
Dominik Csapak
8f795124ac 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>
2016-09-01 11:42:34 +02:00
Dietmar Maurer
d16531e394 add Proxmox Virtual Environment 5.x Release Key
In future, we want to use this key to sign our aplinfo.dat
2016-08-29 12:54:46 +02:00
Dietmar Maurer
9b7a927966 update default aplinfo.dat 2016-08-29 10:35:16 +02:00
Dietmar Maurer
224e1d655a remove pve-repo-ca-certificates.crt - no longer required 2016-08-29 10:23:13 +02:00