2195 Commits

Author SHA1 Message Date
Emmanuel Kasper
c261ae1b18 fix storage selector 'change' event handling
the initial loading of the storage selector fires a 'change'
event via the 'onLoad' method of its parent class

at that point the value of the storage selector is empty,
and the callback function fails
2016-03-09 18:03:54 +01:00
Emmanuel Kasper
bedd67f69b Fix ComboBoxes when adding a mountpoint
reasoning identic to:
commit 548b29644df81408fc0fb4f3f450047e906c26c7
adapt KVComboBoxes to pass store items using 'comboItems' parameter
2016-03-09 18:02:43 +01:00
Emmanuel Kasper
ac88c0fcec copy missing methods from ExtJS 4 Parser.js 2016-03-09 18:02:28 +01:00
Emmanuel Kasper
e0cbefe963 fix display of lxc console button text
same reasoning as

841343e1c80a1d81a0e4fa90def389983f4a60fe
do not use applyIf when adding items in initComponent()
2016-03-09 18:02:09 +01:00
Emmanuel Kasper
a92e95dafb load/reload stores of tabpanel children on 'activate' event 2016-03-09 18:01:55 +01:00
Emmanuel Kasper
d7e79ee7b9 fix lxc console selection ComboBox for extjs6
reasoning identic to

commit 548b29644df81408fc0fb4f3f450047e906c26c7
adapt KVComboBoxes to pass store items using 'comboItems' parameter

commit 7515e62236b9f3c8317c3aa0dbf470e2b8efdd71
ext6migrate fix model behaviour for KVComboBox
2016-03-09 18:01:39 +01:00
Dietmar Maurer
6a83c4eb08 update changelog 2016-03-09 17:50:20 +01:00
Wolfgang Bumiller
f4d4a7e56b lxc: always allow blank mac address for autogeneration
Same as with KVM.
2016-03-09 17:47:54 +01:00
Dietmar Maurer
34f31138a0 bump version to 4.1-20 2016-03-09 14:38:46 +01:00
Fabian Grünbichler
413bd520c8 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.
2016-03-09 14:37:55 +01:00
Dietmar Maurer
b3d9be3324 bump version to 4.1-19 2016-03-08 11:57:32 +01:00
Fabian Grünbichler
65b2ff76cd Use methods from PVE::QemuConfig
use config_file and load_config from PVE::QemuConfig
2016-03-08 11:53:33 +01:00
Dominik Csapak
e62beb78a9 ext6migrate: fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-08 11:26:29 +01:00
Dominik Csapak
38803fdf8d ext6migrate: add LVM-Thin to manager6
shows the option to add lvmthin storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-08 11:26:08 +01:00
Dominik Csapak
bff3359e1d 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>
2016-03-08 11:25:57 +01:00
Dominik Csapak
b70f975672 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>
2016-03-08 11:25:17 +01:00
Dominik Csapak
0cf07745ea ext6migrate: fix typo in ContentTypeSelector
it is comboItems not comboItem

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-08 11:24:58 +01:00
Dominik Csapak
a8de3a96e6 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>
2016-03-08 11:24:34 +01:00
Dominik Csapak
160b249a83 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>
2016-03-08 11:24:06 +01:00
Dietmar Maurer
8365b37857 copy storage/ZFSPoolEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
7df4b48d5f copy storage/ZFSEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
4fccbb9b3b copy storage/Summary.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
8d0c21a289 copy storage/StatusView.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
f042d66055 copy storage/SheepdogEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
f2bc2a1462 copy storage/RBDEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
36dd45d402 copy storage/NFSEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
766cbaafa5 copy storage/LvmThinEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
1fc20a5f03 copy storage/LVMEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
a417e28cc1 copy storage/IScsiEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
977ebfc5e2 copy storage/GlusterFsEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
027345a8eb copy storage/DirEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
4e4fb33eb2 copy storage/ContentView.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dominik Csapak
da6adff900 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>
2016-03-08 11:21:37 +01:00
Dietmar Maurer
9cde95b9c9 pveam: add 'available' command to list available templates 2016-03-05 15:35:40 +01:00
Dominik Csapak
42e6f2652d fix monStoreErrors
in extjs6 they renamed request.operation to request._operation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 16:57:18 +01:00
Dominik Csapak
1686fc73e0 fix Edit Button in Time Tab
applyIf to apply for tbar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 16:56:59 +01:00
Dominik Csapak
f0af778ac6 ext6migrate: fix whitespaces and intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:34:05 +01:00
Dominik Csapak
836f51fefe ext6migrate: enable ceph tab on node
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:33:45 +01:00
Dominik Csapak
5e6a7eab1f 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>
2016-03-04 10:33:37 +01:00
Dominik Csapak
a4c238948c 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>
2016-03-04 10:33:03 +01:00
Dominik Csapak
9d364dd339 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>
2016-03-04 10:32:44 +01:00
Dominik Csapak
e85fbcd99c 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>
2016-03-04 10:32:13 +01:00
Dominik Csapak
c9e57bd7fe 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>
2016-03-04 10:10:41 +01:00
Wolfgang Bumiller
d6b8bffa3d 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
2016-03-04 09:04:06 +01:00
Jean-Francois Dagenais
4edfa36bee vzdump: make sure only DOT pid files excluded
and not files like "acpid"

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
2016-03-04 09:02:29 +01:00
Emmanuel Kasper
82a71dace1 enable a first group of LXC panels 2016-03-04 06:17:42 +01:00
Emmanuel Kasper
841343e1c8 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
2016-03-04 06:17:33 +01:00
Emmanuel Kasper
548b29644d 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
2016-03-04 06:17:25 +01:00
Dietmar Maurer
c3bf50ab2d copy ceph/Status.js from manager to manager6 2016-03-04 06:14:50 +01:00
Dietmar Maurer
e896edc5eb copy ceph/Pool.js from manager to manager6 2016-03-04 06:14:50 +01:00