]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agocopy missing methods from ExtJS 4 Parser.js
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:15 +0000 (15:57 +0100)]
copy missing methods from ExtJS 4 Parser.js

8 years agofix display of lxc console button text
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:14 +0000 (15:57 +0100)]
fix display of lxc console button text

same reasoning as

f799361886b20c260d75517112f39be748831345
do not use applyIf when adding items in initComponent()

8 years agoload/reload stores of tabpanel children on 'activate' event
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:13 +0000 (15:57 +0100)]
load/reload stores of tabpanel children on 'activate' event

8 years agofix lxc console selection ComboBox for extjs6
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:12 +0000 (15:57 +0100)]
fix lxc console selection ComboBox for extjs6

reasoning identic to

commit 8f8e8a2e0614c796f25bc709e1e10af27e4a44da
adapt KVComboBoxes to pass store items using 'comboItems' parameter

commit f2782813cd763382a1bbc1ce43121e21377efe4f
ext6migrate fix model behaviour for KVComboBox

8 years agoupdate changelog
Dietmar Maurer [Wed, 9 Mar 2016 16:50:20 +0000 (17:50 +0100)]
update changelog

8 years agolxc: always allow blank mac address for autogeneration
Wolfgang Bumiller [Wed, 9 Mar 2016 08:11:59 +0000 (09:11 +0100)]
lxc: always allow blank mac address for autogeneration

Same as with KVM.

8 years agobump version to 4.1-20
Dietmar Maurer [Wed, 9 Mar 2016 13:38:46 +0000 (14:38 +0100)]
bump version to 4.1-20

8 years agoAllow non-self-signed override certificate for API
Fabian Grünbichler [Tue, 8 Mar 2016 14:55:33 +0000 (15:55 +0100)]
Allow non-self-signed override certificate for API

if the files pveproxy-ssl.pem and pveproxy-ssl.key are
available for a node (i.e., in /etc/pve/<node>/), they will
be used as TLS certificate and private key for the web
interface and API of this node.

Note: the Spice and non-websocket VNC connections are still
using the self-signed certificate and key in pve-ssl.pem
and pve-ssl.key.

8 years agobump version to 4.1-19
Dietmar Maurer [Tue, 8 Mar 2016 10:57:32 +0000 (11:57 +0100)]
bump version to 4.1-19

8 years agoUse methods from PVE::QemuConfig
Fabian Grünbichler [Mon, 7 Mar 2016 11:43:07 +0000 (12:43 +0100)]
Use methods from PVE::QemuConfig

use config_file and load_config from PVE::QemuConfig

8 years agoext6migrate: fix trailing whitespaces
Dominik Csapak [Tue, 8 Mar 2016 10:03:57 +0000 (11:03 +0100)]
ext6migrate: fix trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add LVM-Thin to manager6
Dominik Csapak [Tue, 8 Mar 2016 10:03:56 +0000 (11:03 +0100)]
ext6migrate: add LVM-Thin to manager6

shows the option to add lvmthin storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix NodeSelector
Dominik Csapak [Tue, 8 Mar 2016 10:03:55 +0000 (11:03 +0100)]
ext6migrate: fix NodeSelector

the intial value of the node selector is null,
but when the store is loaded, it becomes an empty array

this triggers the 'dirtychanged' event and causes
the edit windows to enable the OK/Submit Button,
even when no change is made

this fix sets the default value to an empty array,
which fixes the mentioned behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix User and Role selector
Dominik Csapak [Tue, 8 Mar 2016 10:03:54 +0000 (11:03 +0100)]
ext6migrate: fix User and Role selector

we have to move the static fields to the class
configuration, otherwise the combobox does not work

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix typo in ContentTypeSelector
Dominik Csapak [Tue, 8 Mar 2016 10:03:53 +0000 (11:03 +0100)]
ext6migrate: fix typo in ContentTypeSelector

it is comboItems not comboItem

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix ACLView
Dominik Csapak [Tue, 8 Mar 2016 10:03:52 +0000 (11:03 +0100)]
ext6migrate: fix ACLView

the usual (static conf. to class headers, new to Ext.create, new to
xtype)

also we change store.filters.add to store.addFilter since
at this point .filters is null

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add css for contextmenu header
Dominik Csapak [Tue, 8 Mar 2016 10:03:51 +0000 (11:03 +0100)]
ext6migrate: add css for contextmenu header

by default the title in extjs6 menus have no style
this patch uses the same style as the tab headers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocopy storage/ZFSPoolEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:43 +0000 (11:22 +0100)]
copy storage/ZFSPoolEdit.js from manager to manager6

8 years agocopy storage/ZFSEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:43 +0000 (11:22 +0100)]
copy storage/ZFSEdit.js from manager to manager6

8 years agocopy storage/Summary.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:43 +0000 (11:22 +0100)]
copy storage/Summary.js from manager to manager6

8 years agocopy storage/StatusView.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:43 +0000 (11:22 +0100)]
copy storage/StatusView.js from manager to manager6

8 years agocopy storage/SheepdogEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:43 +0000 (11:22 +0100)]
copy storage/SheepdogEdit.js from manager to manager6

8 years agocopy storage/RBDEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/RBDEdit.js from manager to manager6

8 years agocopy storage/NFSEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/NFSEdit.js from manager to manager6

8 years agocopy storage/LvmThinEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/LvmThinEdit.js from manager to manager6

8 years agocopy storage/LVMEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/LVMEdit.js from manager to manager6

8 years agocopy storage/IScsiEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/IScsiEdit.js from manager to manager6

8 years agocopy storage/GlusterFsEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/GlusterFsEdit.js from manager to manager6

8 years agocopy storage/DirEdit.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/DirEdit.js from manager to manager6

8 years agocopy storage/ContentView.js from manager to manager6
Dietmar Maurer [Tue, 8 Mar 2016 10:22:42 +0000 (11:22 +0100)]
copy storage/ContentView.js from manager to manager6

8 years agofix LVM Content settings
Dominik Csapak [Mon, 7 Mar 2016 12:38:38 +0000 (13:38 +0100)]
fix LVM Content settings

when adding LVM Storage, do not overwrite user input for content
and if Storage and Container is selected
show the proper names

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agopveam: add 'available' command to list available templates
Dietmar Maurer [Sat, 5 Mar 2016 14:35:40 +0000 (15:35 +0100)]
pveam: add 'available' command to list available templates

8 years agofix monStoreErrors
Dominik Csapak [Fri, 4 Mar 2016 14:15:32 +0000 (15:15 +0100)]
fix monStoreErrors

in extjs6 they renamed request.operation to request._operation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix Edit Button in Time Tab
Dominik Csapak [Fri, 4 Mar 2016 14:15:31 +0000 (15:15 +0100)]
fix Edit Button in Time Tab

applyIf to apply for tbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix whitespaces and intendation
Dominik Csapak [Fri, 4 Mar 2016 08:28:34 +0000 (09:28 +0100)]
ext6migrate: fix whitespaces and intendation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: enable ceph tab on node
Dominik Csapak [Fri, 4 Mar 2016 08:28:33 +0000 (09:28 +0100)]
ext6migrate: enable ceph tab on node

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix ceph Pool tab
Dominik Csapak [Fri, 4 Mar 2016 08:28:32 +0000 (09:28 +0100)]
ext6migrate: fix ceph Pool tab

the usual:
* move static conf. to class definition
* change "show" event to "activate"

special attention here to the bufferedRenderer: false value here:
if the grid panel has bufferedRenderer: true (default) and the
store is our Diffstore, it adds the Summary Row twice, once before
the store is loaded and once after.

because there probably will not be many pools in a ceph configuration
managed by the gui, we can safely deactivate bufferedRenderer
(according to extjs documentation, this is intended for gridpanels
with several thousand rows, which is not an issue with ceph pools
i think)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix ceph OSD Panel
Dominik Csapak [Fri, 4 Mar 2016 08:28:31 +0000 (09:28 +0100)]
ext6migrate: fix ceph OSD Panel

* moved static configuration to class definition
* changed the width of the headers (because most were too small)
* changed "show" event to "activate"

special attention for the data fields:
changed the id from type integer to default type, because
extjs cannot convert form integer for this field
(if we do not do this, the whole ceph tab breaks)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix most ceph subtabs
Dominik Csapak [Fri, 4 Mar 2016 08:28:30 +0000 (09:28 +0100)]
ext6migrate: fix most ceph subtabs

this fixed the ceph subtabs: Status,Config,Crush,Disks,Monitor
with the usual fixes:
 * moving static configuration to class definition
 * change deprecated fields
 * make xtypes consistent
 * change "show" event to "activated"

 special note: i moved the subtabs to the left (like the firewall),
 because the alternatives are really bad (top looks not good, bottom
 is not obvious)

 i also changed the width of some headers in gridpanels when the
 title was too long

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix DiffStore event
Dominik Csapak [Fri, 4 Mar 2016 08:28:29 +0000 (09:28 +0100)]
ext6migrate: fix DiffStore event

some extjs components expect the datachanged event
to be fired, we changed this to refresh (which
worked for most things, but not all),
this patch fires both events when data is loaded

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: save space in grouped header (gridpanel)
Dominik Csapak [Fri, 4 Mar 2016 08:28:28 +0000 (09:28 +0100)]
ext6migrate: save space in grouped header (gridpanel)

the grouped headers in gridpanels use space like
there is no tomorrow, this patch makes it a little
denser

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agovzdump: fix default values
Wolfgang Bumiller [Thu, 3 Mar 2016 14:49:59 +0000 (15:49 +0100)]
vzdump: fix default values

Not all document default values matched their actual
default, fix this by not maintaining two separate lists of
default values.

Note that this changes:
 - the default compression from none to the documented LZO
 - the documented default mode from stop to snapshot

8 years agovzdump: make sure only DOT pid files excluded
Jean-Francois Dagenais [Thu, 3 Mar 2016 14:48:40 +0000 (09:48 -0500)]
vzdump: make sure only DOT pid files excluded

and not files like "acpid"

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
8 years agoenable a first group of LXC panels
Emmanuel Kasper [Thu, 3 Mar 2016 13:43:23 +0000 (14:43 +0100)]
enable a first group of LXC panels

8 years agodo not use applyIf when adding items in initComponent()
Emmanuel Kasper [Thu, 3 Mar 2016 13:43:22 +0000 (14:43 +0100)]
do not use applyIf when adding items in initComponent()

our parent class Ext.grid.GridPanel sets 'tbar: null'
and Ext.applyIf() will only apply our property
if it is undefined, so switch to Ext.apply()

it is safe to use Ext.apply() because none of these classes is further extended,
so we don't have to worry that might me might override a toolbar
set further down by a child class

this fixes allows the panel to display its top toolbar with add/edit buttons

8 years agoadapt KVComboBoxes to pass store items using 'comboItems' parameter
Emmanuel Kasper [Thu, 3 Mar 2016 13:43:21 +0000 (14:43 +0100)]
adapt KVComboBoxes to pass store items using 'comboItems' parameter

we used a custom 'data' property to pass around the items to
add to the store, but this property is now used by ExtJS to
store content for the component template

also move to declarative style, saves lines

8 years agocopy ceph/Status.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:50 +0000 (06:14 +0100)]
copy ceph/Status.js from manager to manager6

8 years agocopy ceph/Pool.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:50 +0000 (06:14 +0100)]
copy ceph/Pool.js from manager to manager6

8 years agocopy ceph/OSD.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:49 +0000 (06:14 +0100)]
copy ceph/OSD.js from manager to manager6

8 years agocopy ceph/Monitor.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:49 +0000 (06:14 +0100)]
copy ceph/Monitor.js from manager to manager6

8 years agocopy ceph/Disks.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:49 +0000 (06:14 +0100)]
copy ceph/Disks.js from manager to manager6

8 years agocopy ceph/Crush.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:49 +0000 (06:14 +0100)]
copy ceph/Crush.js from manager to manager6

8 years agocopy ceph/Config.js from manager to manager6
Dietmar Maurer [Fri, 4 Mar 2016 05:14:49 +0000 (06:14 +0100)]
copy ceph/Config.js from manager to manager6

8 years agoext6migrate: fix selection of ComboGrid
Dominik Csapak [Thu, 3 Mar 2016 13:28:47 +0000 (14:28 +0100)]
ext6migrate: fix selection of ComboGrid

if one selected an item in a ComboGrid which was already selected,
the ComboGrid would not close (as expected), this patch fixes this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocombine if paths
Dominik Csapak [Thu, 3 Mar 2016 13:28:46 +0000 (14:28 +0100)]
combine if paths

we had the same actions for different if paths,
now they are combined
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodoc: The quotes around the glob are actually required...
Wolfgang Bumiller [Thu, 3 Mar 2016 09:00:53 +0000 (10:00 +0100)]
doc: The quotes around the glob are actually required...

8 years agodoc: update vzdump stdexclude documentation
Wolfgang Bumiller [Thu, 3 Mar 2016 08:55:17 +0000 (09:55 +0100)]
doc: update vzdump stdexclude documentation

8 years agovzdump: revert /var/run stdexclude entry to its original
Wolfgang Bumiller [Thu, 3 Mar 2016 08:55:16 +0000 (09:55 +0100)]
vzdump: revert /var/run stdexclude entry to its original

It used to be /var/run/.+pid when we used regular
expressions so now it should be /var/run/?*pid

8 years agocopy lxc/Summary.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:32 +0000 (10:51 +0100)]
copy lxc/Summary.js from manager to manager6

8 years agocopy lxc/StatusView.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:32 +0000 (10:51 +0100)]
copy lxc/StatusView.js from manager to manager6

8 years agocopy lxc/SnapshotTree.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:32 +0000 (10:51 +0100)]
copy lxc/SnapshotTree.js from manager to manager6

8 years agocopy lxc/Snapshot.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/Snapshot.js from manager to manager6

8 years agocopy lxc/Resources.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/Resources.js from manager to manager6

8 years agocopy lxc/ResourceEdit.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/ResourceEdit.js from manager to manager6

8 years agocopy lxc/Options.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/Options.js from manager to manager6

8 years agocopy lxc/Network.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/Network.js from manager to manager6

8 years agocopy lxc/MPResize.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/MPResize.js from manager to manager6

8 years agocopy lxc/DNS.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/DNS.js from manager to manager6

8 years agocopy lxc/CreateWizard.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/CreateWizard.js from manager to manager6

8 years agocopy lxc/CmdMenu.js from manager to manager6
Dietmar Maurer [Thu, 3 Mar 2016 09:51:31 +0000 (10:51 +0100)]
copy lxc/CmdMenu.js from manager to manager6

8 years agoLXC refactoring
Fabian Grünbichler [Wed, 2 Mar 2016 12:53:55 +0000 (13:53 +0100)]
LXC refactoring

call load_config in PVE::LXC::Config instead of PVE::LXC

8 years agobump version to 4.1-18
Dietmar Maurer [Thu, 3 Mar 2016 08:55:57 +0000 (09:55 +0100)]
bump version to 4.1-18

8 years agovzdump: don't double exclude-paths from the config
Wolfgang Bumiller [Thu, 3 Mar 2016 08:46:12 +0000 (09:46 +0100)]
vzdump: don't double exclude-paths from the config

The exclude list is built from both the command line
parameters and the config. If no excludes are passed on the
command line we previously copied the defaults to it,
effectively passing them twice.

8 years agovzdump: make exclude-path from config file work again
Wolfgang Bumiller [Thu, 3 Mar 2016 08:22:31 +0000 (09:22 +0100)]
vzdump: make exclude-path from config file work again

Call split_args() on the 'exclude-path' option read from
/etc/vzdump.conf

With the move to the generic JSONSchema::parse_config() in
commit cc61ea36 the call to split_args() for 'exclude-path'
was dropped breaking the 'exclude-path' option.

8 years agodoc: consistent vzdump --exclude-path documentation
Wolfgang Bumiller [Thu, 3 Mar 2016 08:22:30 +0000 (09:22 +0100)]
doc: consistent vzdump --exclude-path documentation

The schema's documentation was already updated to reflect
the change from regular expressions to shell globs, but the
pod entry in CLI/vzdump.pm wasn't.

Also C<> is not interpreted in verbatim (space-prefixed)
lines so it showed up as literal text.

8 years agofirewall: add ipfilter option
Wolfgang Bumiller [Wed, 2 Mar 2016 14:09:30 +0000 (15:09 +0100)]
firewall: add ipfilter option

8 years agobump version to 4.1-17
Dietmar Maurer [Wed, 2 Mar 2016 16:18:22 +0000 (17:18 +0100)]
bump version to 4.1-17

8 years agoRemove content type Container from GlusterFS
Wolfgang Link [Wed, 2 Mar 2016 15:18:13 +0000 (16:18 +0100)]
Remove content type Container from GlusterFS

8 years agofix display cluster status in Datacenter Panel
Emmanuel Kasper [Wed, 2 Mar 2016 10:26:43 +0000 (11:26 +0100)]
fix display cluster status in Datacenter Panel

use getData() instead of accessing the intern raw value

8 years agofix Timezones window
Emmanuel Kasper [Wed, 2 Mar 2016 10:26:42 +0000 (11:26 +0100)]
fix Timezones window

Ext.regModel() was removed from the framework
rewrite the store in declarative style with inline data

8 years agoweb-syslog: add date span selection
Thomas Lamprecht [Tue, 1 Mar 2016 15:32:36 +0000 (16:32 +0100)]
web-syslog: add date span selection

This allows the user to only show logs from a specific date span.
For that two date picker and a 'Update' button were added to the
header bar.

For the until date we assume always 23:59:59 o'clock, as witouth
a specific time journalctl assumes 00:00 which would result in an
empty log if we only wanted to look at todays log.

As the LogView is shared with others (e.g. ceph log) use an boolean
variable to set if we want to show those date pickers)

Fixes timeout when the user has a long uptime and or persistent logs

8 years agosyslog: allow since/until parameters
Thomas Lamprecht [Tue, 1 Mar 2016 15:32:35 +0000 (16:32 +0100)]
syslog: allow since/until parameters

allow the since/until parameters which journalctl understands
We use a really simple regex to check a valit date (time) stamp.

This can be done as this API call gets mainly used by the GUI where
we have full controll over what we send and additional journalctl
has already a good timestamp parser which can handle that.

8 years agoext6migrate: enable firewall and subscription tabs
Dominik Csapak [Tue, 1 Mar 2016 12:15:17 +0000 (13:15 +0100)]
ext6migrate: enable firewall and subscription tabs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix subscription tab
Dominik Csapak [Tue, 1 Mar 2016 12:15:16 +0000 (13:15 +0100)]
ext6migrate: fix subscription tab

fixes:
 * update deprecated field
 * move static configuration to class definition
 * change applyIf to apply
 * change system report handler to pass a function to
    check_command (instead of the result of showReport)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change applyIf to apply
Dominik Csapak [Tue, 1 Mar 2016 12:15:15 +0000 (13:15 +0100)]
ext6migrate: change applyIf to apply

in the option view, change the applyIf to apply to
correctly show the 'Edit' button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoPVE::API2::Nodes::Nodeinfo: import raise_param_exc
Dietmar Maurer [Tue, 1 Mar 2016 08:22:39 +0000 (09:22 +0100)]
PVE::API2::Nodes::Nodeinfo: import raise_param_exc

8 years agomove component properties to prototype body
Emmanuel Kasper [Mon, 29 Feb 2016 15:29:37 +0000 (16:29 +0100)]
move component properties to prototype body

this is needed for 'displayField'

also remove redundant truthiness test which is also
taking place at the beginning of setNodeName()

8 years agoadapt BondSelector to our ExtJS6 KVComboBox parameters
Emmanuel Kasper [Mon, 29 Feb 2016 15:29:36 +0000 (16:29 +0100)]
adapt BondSelector to our ExtJS6 KVComboBox parameters

8 years agopush column items individually
Emmanuel Kasper [Mon, 29 Feb 2016 15:29:35 +0000 (16:29 +0100)]
push column items individually

looks like ExtJS is not automatically flattening the array anymore
and items in a multidimensionnal array are not displayed with ExtJS6

lxc/Config.js is still commented because we haven't reached this part
in the upgrade, but fixing there too

8 years agouse 'refresh' event to reload the grid after the store content has changed
Emmanuel Kasper [Mon, 29 Feb 2016 12:50:11 +0000 (13:50 +0100)]
use 'refresh' event to reload the grid after the store content has changed

this fixes the problem that buttons and grid contents were not updated
after a service stop/start

8 years agoreload stores of tabpanel children on 'activate' event
Emmanuel Kasper [Mon, 29 Feb 2016 12:50:10 +0000 (13:50 +0100)]
reload stores of tabpanel children on 'activate' event

8 years agoenable more node panels
Emmanuel Kasper [Mon, 29 Feb 2016 12:50:09 +0000 (13:50 +0100)]
enable more node panels

8 years agomove tabs of a sub tabpanel to the left by default
Emmanuel Kasper [Mon, 29 Feb 2016 12:50:08 +0000 (13:50 +0100)]
move tabs of a sub tabpanel to the left by default

This takes a bit of screensize, but is fine as long as the browser
horizontal screen size is at least 1280 px ( 92 % of desktop users in 2016
according to StatsCounter)
Still usable for the remaining small displays, but horizontal scrolling
is needed for grids with a lot of columns.

Moving the sub tabs to the top left provides a minor usability
improvement as all controls are now grouped together in the same
screen region.

8 years agoext6migrate: fix model behaviour for KVComboBox
Dominik Csapak [Mon, 29 Feb 2016 11:54:47 +0000 (12:54 +0100)]
ext6migrate: fix model behaviour for KVComboBox

we used an empty value for the Key-Value ComboBox for defaults.
With extjs6, if the idProperty of a model is empty, they generate
a name for it, which breaks our logic for submitting
(currently we checked if this is empty, and send a delete command
to our api)
instead, we use the value 'default' and check for it when we submit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix fullscreen for noVNC
Dominik Csapak [Mon, 29 Feb 2016 10:40:44 +0000 (11:40 +0100)]
ext6migrate: fix fullscreen for noVNC

add allowfullscreen to iframe code, makes novnc fullscreen work

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: enable update and console tab for node
Dominik Csapak [Fri, 26 Feb 2016 14:33:45 +0000 (15:33 +0100)]
ext6migrate: enable update and console tab for node

since the console is working again, we can activate the
console tab and the update tab for nodes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-16
Dietmar Maurer [Sat, 27 Feb 2016 09:30:20 +0000 (10:30 +0100)]
bump version to 4.1-16

8 years agofirewall: add option to allow router advertisement
Wolfgang Bumiller [Thu, 25 Feb 2016 12:07:43 +0000 (13:07 +0100)]
firewall: add option to allow router advertisement

8 years agofixing trailing whitespaces and jslint type confusions
Dominik Csapak [Fri, 26 Feb 2016 14:33:46 +0000 (15:33 +0100)]
fixing trailing whitespaces and jslint type confusions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: update vncconsole and remove java applet code
Dominik Csapak [Fri, 26 Feb 2016 14:33:44 +0000 (15:33 +0100)]
ext6migrate: update vncconsole and remove java applet code

includes the following fixes:
 * remove all code related to the old java applet vnc client
   (we do not use this anymore)
 * move static configuration to class definition
 * use Ext.ux.IFrame instead of widget.uxiframe (to be consistent)
 * change listener from show to activate (for browser refresh)
 * change deprecated autoScroll to scrollable
 * remove novnc option from openVNCViewer function,
    since we do not need this option anymore

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