Commit Graph

2316 Commits

Author SHA1 Message Date
Dominik Csapak
232c96e0f1 ext6migrate: add Tabs to Storages
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:24:42 +01:00
Dominik Csapak
86cc7049d2 ext6migrate: fix ContentView grouping
the framework triggers the convert function
when you click on a grouping header

since there is no volid there, we have to check this,
otherwise we get an error

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:24:31 +01:00
Dominik Csapak
2a82a5286b ext6migrate: fix zpool storage subject
the correct value is 'zfspool' not 'ZFS Storage'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:24:05 +01:00
Dominik Csapak
e857c94adc ext6migrate: fix StatuView and Summary
we move the static configuration to the class definiton
change applyIf to apply
and change the show event to activate

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:23:47 +01:00
Dominik Csapak
3b422683cf ext6migrate: fix ContentView
we move the static configuration to the class definition
we change the deprecated autoScroll to scrollable
we change applyIf to apply (when appropriate)
we change "new Ext..." to Ext.create
we change the event from show to activate

also we change the button height of the upload to 32
so that it matches the textfield (looks weird otherwise)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:23:36 +01:00
Dominik Csapak
c2317525f0 ext6migrate: fix dropboxes in Storage Edit windows
we fix this by moving the static configuration (especially value and
displayfield) to the class definition

also we remove the scrollbar hack (it works properly now)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:23:20 +01:00
Dominik Csapak
3f90858ace ext6migrate: remove unnecessary array declaration
we do not need the array definition for the alias

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:23:00 +01:00
Dominik Csapak
5198365d53 ext6migrate: change PVE.form.NodeSelector to pveNodeSelector
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:22:39 +01:00
Dominik Csapak
a74714b8b5 ext6migrate: add LvmThinEdit.js to html site
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:22:26 +01:00
Dietmar Maurer
0c061aec56 ext6migrate: use crisp theme instead of triton
This theme works without to many css changes.
2016-03-10 17:17:01 +01:00
Emmanuel Kasper
e7f0e95e2f 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
0b409147ad Fix ComboBoxes when adding a mountpoint
reasoning identic to:
commit 8f8e8a2e06
adapt KVComboBoxes to pass store items using 'comboItems' parameter
2016-03-09 18:02:43 +01:00
Emmanuel Kasper
4c1c0d5d2a copy missing methods from ExtJS 4 Parser.js 2016-03-09 18:02:28 +01:00
Emmanuel Kasper
0d9df07076 fix display of lxc console button text
same reasoning as

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

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

commit f2782813cd
ext6migrate fix model behaviour for KVComboBox
2016-03-09 18:01:39 +01:00
Dietmar Maurer
67f010216a update changelog 2016-03-09 17:50:20 +01:00
Wolfgang Bumiller
41bfbd0a73 lxc: always allow blank mac address for autogeneration
Same as with KVM.
2016-03-09 17:47:54 +01:00
Dietmar Maurer
c78f745aee bump version to 4.1-20 2016-03-09 14:38:46 +01:00
Fabian Grünbichler
299d290c42 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
e59db2739d bump version to 4.1-19 2016-03-08 11:57:32 +01:00
Fabian Grünbichler
7141ae254a Use methods from PVE::QemuConfig
use config_file and load_config from PVE::QemuConfig
2016-03-08 11:53:33 +01:00
Dominik Csapak
a9f712828d ext6migrate: fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-08 11:26:29 +01:00
Dominik Csapak
c3378f7b3e 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
fbf6e7b412 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
b4ea8af6cc 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
871df3163a 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
2d306f254d 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
198f2d837a 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
6cbcc54638 copy storage/ZFSPoolEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
5bf28d898d copy storage/ZFSEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
af51679a15 copy storage/Summary.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
35795eb72c copy storage/StatusView.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
d2a12d3e7f copy storage/SheepdogEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00
Dietmar Maurer
c0dee88e7e copy storage/RBDEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
13246edc13 copy storage/NFSEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
cbebb7216f copy storage/LvmThinEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
16b294b50c copy storage/LVMEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
208ba0c690 copy storage/IScsiEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
5313526e55 copy storage/GlusterFsEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
caab7a92d6 copy storage/DirEdit.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dietmar Maurer
4a580e6073 copy storage/ContentView.js from manager to manager6 2016-03-08 11:22:42 +01:00
Dominik Csapak
89722698a9 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
ee6e61009d pveam: add 'available' command to list available templates 2016-03-05 15:35:40 +01:00
Dominik Csapak
8682685479 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
2851d275bf 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
c474314e5a ext6migrate: fix whitespaces and intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:34:05 +01:00
Dominik Csapak
0e81e8e90d 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
c449c89a73 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
89cd5a3f7d 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