]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agoext6migrate: make some (sub)tabs lazy
Dominik Csapak [Wed, 16 Mar 2016 14:58:14 +0000 (15:58 +0100)]
ext6migrate: make some (sub)tabs lazy

make following (sub)tabs lazy:
 * ceph
 * firewall
 * ha
 * search
 * lxc/Resources

we have to add layout: 'fit', whereever we make a whole tab lazy
and we have to move the title of the search tab to the instantiaton
instead of the class definition, because the search grid is now a
sub component instead of a tab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: prepare panels for lazyitems
Dominik Csapak [Wed, 16 Mar 2016 14:58:13 +0000 (15:58 +0100)]
ext6migrate: prepare panels for lazyitems

since we want to make some tabpanels lazyitems,
we have to change the behaviour of the configpanel
and the subconfigpanel

in the configpanel, we have to manually fire the hide event
for the tabs which are lazyitems, because they will not
be direct children of our tabpanel and thus their
hide event will not fire

in the subconfigpanel we have to manually save the to
be active tab, since at this point, the subtabs are not there
yet (and cannot be activated)

also in the afterrender event, we only want to set the
activetab when we have none, and we only set the first,
if we have none saved

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change ceph event handlers
Dominik Csapak [Wed, 16 Mar 2016 14:58:12 +0000 (15:58 +0100)]
ext6migrate: change ceph event handlers

change event handlers from show to activate
to allow refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: make ceph config a subclass
Dominik Csapak [Wed, 16 Mar 2016 14:58:11 +0000 (15:58 +0100)]
ext6migrate: make ceph config a subclass

the subpanelconfig class was modeled after the ceph config class
but the ceph config was never changed to use that subclass
this patch changes that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add missing items in statusprovider
Dominik Csapak [Wed, 16 Mar 2016 14:58:10 +0000 (15:58 +0100)]
ext6migrate: add missing items in statusprovider

some elements were missing and some had typos
also change ovztab to lxctab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix Console butten text (again)
Dominik Csapak [Wed, 16 Mar 2016 14:58:09 +0000 (15:58 +0100)]
ext6migrate: fix Console butten text (again)

since sometimes, we set the text of the console button
('shell' or 'upgrade')
we do not want to override this everytime, but only
when me.text === null

we cannot use applyIf either, because this overwrites only
if the field is undefined, not null

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocss6: reduce tree space usage for new theme
Thomas Lamprecht [Wed, 16 Mar 2016 09:35:05 +0000 (10:35 +0100)]
css6: reduce tree space usage for new theme

The tree has also big space paddings/margins in the crisp theme,
reduce this to a saner level.

8 years agocopy qemu/TemplateMenu.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/TemplateMenu.js from manager to manager6

8 years agocopy qemu/Summary.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/Summary.js from manager to manager6

8 years agocopy qemu/StatusView.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/StatusView.js from manager to manager6

8 years agocopy qemu/StartupEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/StartupEdit.js from manager to manager6

8 years agocopy qemu/SnapshotTree.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/SnapshotTree.js from manager to manager6

8 years agocopy qemu/Snapshot.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/Snapshot.js from manager to manager6

8 years agocopy qemu/Smbios1Edit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/Smbios1Edit.js from manager to manager6

8 years agocopy qemu/SendKeyMenu.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/SendKeyMenu.js from manager to manager6

8 years agocopy qemu/ScsiHwEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/ScsiHwEdit.js from manager to manager6

8 years agocopy qemu/QemuBiosEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:23 +0000 (09:12 +0100)]
copy qemu/QemuBiosEdit.js from manager to manager6

8 years agocopy qemu/ProcessorEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/ProcessorEdit.js from manager to manager6

8 years agocopy qemu/OSTypeEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/OSTypeEdit.js from manager to manager6

8 years agocopy qemu/Options.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/Options.js from manager to manager6

8 years agocopy qemu/NetworkEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/NetworkEdit.js from manager to manager6

8 years agocopy qemu/Monitor.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/Monitor.js from manager to manager6

8 years agocopy qemu/MemoryEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/MemoryEdit.js from manager to manager6

8 years agocopy qemu/KeyboardEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/KeyboardEdit.js from manager to manager6

8 years agocopy qemu/HDThrottle.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/HDThrottle.js from manager to manager6

8 years agocopy qemu/HDResize.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/HDResize.js from manager to manager6

8 years agocopy qemu/HDMove.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/HDMove.js from manager to manager6

8 years agocopy qemu/HDEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/HDEdit.js from manager to manager6

8 years agocopy qemu/HardwareView.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/HardwareView.js from manager to manager6

8 years agocopy qemu/DisplayEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:22 +0000 (09:12 +0100)]
copy qemu/DisplayEdit.js from manager to manager6

8 years agocopy qemu/CreateWizard.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/CreateWizard.js from manager to manager6

8 years agocopy qemu/CPUOptions.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/CPUOptions.js from manager to manager6

8 years agocopy qemu/CmdMenu.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/CmdMenu.js from manager to manager6

8 years agocopy qemu/Clone.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/Clone.js from manager to manager6

8 years agocopy qemu/CDEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/CDEdit.js from manager to manager6

8 years agocopy qemu/BootOrderEdit.js from manager to manager6
Dietmar Maurer [Wed, 16 Mar 2016 08:12:21 +0000 (09:12 +0100)]
copy qemu/BootOrderEdit.js from manager to manager6

8 years agoEnlarge Wizard window vertically to accomodate all our LXC settings
Emmanuel Kasper [Tue, 15 Mar 2016 13:12:58 +0000 (14:12 +0100)]
Enlarge Wizard window vertically to accomodate all our LXC settings

Without this, the summary grid in the end of the LXC creation
wizard needs to be scrolled to see some settings.

Note that we still want to use a fixed height, so that all wizard
panels have the same height and next/previous buttons
are always displayed at the same place.

8 years agouse Ext.apply() instead of Ext.applyIf() to properly load child items
Emmanuel Kasper [Tue, 15 Mar 2016 13:12:57 +0000 (14:12 +0100)]
use Ext.apply() instead of Ext.applyIf() to properly load child items

8 years agouse proper xtype name
Emmanuel Kasper [Tue, 15 Mar 2016 13:12:56 +0000 (14:12 +0100)]
use proper xtype name

8 years agofix delayed store loading
Emmanuel Kasper [Tue, 15 Mar 2016 13:12:55 +0000 (14:12 +0100)]
fix delayed store loading

Because the store loading delay, it can be that reload() fails on trying to
load an undefined store, if the user switched tabs in the meantime

8 years agouse 'refresh' event to redisplay the grid after loading the store
Emmanuel Kasper [Tue, 15 Mar 2016 13:12:54 +0000 (14:12 +0100)]
use 'refresh' event to redisplay the grid after loading the store

'datachanged' event is not actualizing the component with ExtJS6,
but 'refresh' does.

8 years agoext6migrate: change VM selector in pool to grid
Dominik Csapak [Tue, 15 Mar 2016 12:43:38 +0000 (13:43 +0100)]
ext6migrate: change VM selector in pool to grid

this changes the vm add window in a pool
from a VMIDSelector (a numberfield)
to a grid of vms which are currently in no pool
where you can select more than one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoformatting and trailing whitespaces fix
Dominik Csapak [Tue, 15 Mar 2016 12:41:27 +0000 (13:41 +0100)]
formatting and trailing whitespaces fix

fix format of commit
f2a6ce6cf107c791de1e127bfe0055dbd20c9aaa
(space before 'load')

also fix trailing whitespaces in those files

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6: datepicker workaround
Thomas Lamprecht [Tue, 15 Mar 2016 09:55:47 +0000 (10:55 +0100)]
ext6: datepicker workaround

Witouth this we can get into issues where only the picker is visible
and the rest of the GUI is completely grey when selecting a date
with the date picker, generally this happens when a scroll field is
involved (e.g., syslog).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agomanager6: web-syslog: add date span selection
Thomas Lamprecht [Tue, 15 Mar 2016 09:55:46 +0000 (10:55 +0100)]
manager6: web-syslog: add date span selection

This is the ExtJS 6 version from commit
59e6da2d44104e315ea3fa1c50a516148a9e6def

Same code as there.
A issue with the date picker which can be triggered by scrolling up
and then selecting a date will be fixed in ExtJS 6.0.2 (not yet
released), a workaround is in the next patch.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agocss improvements for crisp theme
Emmanuel Kasper [Mon, 14 Mar 2016 12:35:09 +0000 (13:35 +0100)]
css improvements for crisp theme

* usability improvement for enabled buttons:
in the default theme, ExtJS uses two different nuances of grey to
distinguish enabled or disabled buttons
the problem is that compared to the full black of the panels titles, it gives
the impression that everything is disabled (the contrast is not strong
enough between the two grey nuances)
the fix is to replace the dark grey of an 'enabled' button with black, similar with
what we had in ExtJS and the Classic theme

* re add menu header
this was lost when moving to crisp theme

reasoning and fix identic to

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

8 years agoupdate changelog
Dietmar Maurer [Tue, 15 Mar 2016 08:21:07 +0000 (09:21 +0100)]
update changelog

8 years agodeactivate (currently) not working lxc templates
Dominik Csapak [Tue, 15 Mar 2016 08:01:19 +0000 (09:01 +0100)]
deactivate (currently) not working lxc templates

this deactivates template creating for lxc in the gui,
since this does currently not work reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-22
Dietmar Maurer [Mon, 14 Mar 2016 16:31:02 +0000 (17:31 +0100)]
bump version to 4.1-22

8 years agolxc: disable ACL settings for bind mounts
Wolfgang Bumiller [Mon, 14 Mar 2016 13:50:47 +0000 (14:50 +0100)]
lxc: disable ACL settings for bind mounts

8 years agoext6migrate: fix trailing whitespaces
Dominik Csapak [Mon, 14 Mar 2016 15:22:35 +0000 (16:22 +0100)]
ext6migrate: fix trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix pool member view
Dominik Csapak [Mon, 14 Mar 2016 15:22:34 +0000 (16:22 +0100)]
ext6migrate: fix pool member view

change show event to activate

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: remove unecessary hacks
Dominik Csapak [Mon, 14 Mar 2016 15:22:33 +0000 (16:22 +0100)]
ext6migrate: remove unecessary hacks

this removes the two overrides for extjs4

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix double loadMask
Dominik Csapak [Mon, 14 Mar 2016 15:22:32 +0000 (16:22 +0100)]
ext6migrate: fix double loadMask

fix the double loadMask, (it exists, because extjs has a default
loadmask for gridpanels)

also move static configuration to class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix framework caching issue
Dominik Csapak [Mon, 14 Mar 2016 12:41:23 +0000 (13:41 +0100)]
ext6migrate: fix framework caching issue

in extjs 5/6 there is a caching issue, where they
save dom elements for reuse, but the garbage collector
can set them to null

when the framework now reuses the "cached" element it is null,
and any action on it produces an error, which breaks the site

for details see the forum link in the comment

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix store load race condition
Dominik Csapak [Mon, 14 Mar 2016 12:41:22 +0000 (13:41 +0100)]
ext6migrate: fix store load race condition

when we click on a node/container/vm and quickly
click on something else, there might be a race condition,
where the store finished loading and we try to change
dom elements, which are not there anymore

so we change the store.on to me.mon, which
deletes the handler when the component is gone

in the logview panel we use API2Request, where
we cannot do this, so we check if the component
is destroyed manually

also we change this whenever we change a dom element
in a callback

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoFix LXC summary view:
Emmanuel Kasper [Mon, 14 Mar 2016 12:35:11 +0000 (13:35 +0100)]
Fix LXC summary view:

 * replace scrollable with autoScroll and move to prototype body
 * use 'activate' to load store on F5
 * do not set a height on the StatusView component: it hides some rows,
and the framework sets a good working default height

8 years agoEnable last remaining lxc panels
Emmanuel Kasper [Mon, 14 Mar 2016 12:35:10 +0000 (13:35 +0100)]
Enable last remaining lxc panels

8 years agoupdate leaf nodes instead of removing / readding them
Emmanuel Kasper [Mon, 14 Mar 2016 09:31:43 +0000 (10:31 +0100)]
update leaf nodes instead of removing / readding them

if the selected node has its status changed between stop &
running, the node was removed and then readded
during the remove / add process the 'selected' status of the node
was lost if it has one

instead of deleting / readding the node, we update now its content
this was the default behaviour for server nodes, but not for leaf nodes

this fixes a graphical bug where starting/stopping a VM/container would lose
the current selection in the ressource tree

8 years agoext6migrate: remove useless padding to improve TaskViewer layout
Dietmar Maurer [Fri, 11 Mar 2016 16:49:37 +0000 (17:49 +0100)]
ext6migrate: remove useless padding to improve TaskViewer layout

8 years agolazy create view controller (use xclass property)
Dietmar Maurer [Fri, 11 Mar 2016 16:17:43 +0000 (17:17 +0100)]
lazy create view controller (use xclass property)

8 years agoext6migrate: change setContent behaviour of workspace
Dominik Csapak [Fri, 11 Mar 2016 14:57:33 +0000 (15:57 +0100)]
ext6migrate: change setContent behaviour of workspace

instead of removing the current content and setting the new
we add the new content to the next card of the content container
(which now has the card layout, same as in the wizard)

then seamlessly change the active card, and then destroy the old card
with a delay

this has three reasons:
on a change, the panel does not flicker anymore
we give the old content time to finish ajax request (avoid race
conditions)
and we (hopefully) load the new content faster as the destroy
process can take some time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: avoid using id
Dominik Csapak [Fri, 11 Mar 2016 14:57:32 +0000 (15:57 +0100)]
ext6migrate: avoid using id

since id should be unique for the whole dom,
avoid using it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix task history race condition
Dominik Csapak [Fri, 11 Mar 2016 14:57:31 +0000 (15:57 +0100)]
ext6migrate: fix task history race condition

on destroy, stop the store loading, else
we try to update dom elements which are not there anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add unqueue to UpdateQueue
Dominik Csapak [Fri, 11 Mar 2016 14:57:28 +0000 (15:57 +0100)]
ext6migrate: add unqueue to UpdateQueue

in the event of a destroyed or stopped object/updateStore,
we do not want to execute queued requests, thus we
need to unqueue them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.1-21
Dietmar Maurer [Fri, 11 Mar 2016 15:30:38 +0000 (16:30 +0100)]
bump version to 4.1-21

8 years agodisable template/upload button in manager6, fixes #483
Dominik Csapak [Fri, 11 Mar 2016 10:48:19 +0000 (11:48 +0100)]
disable template/upload button in manager6, fixes #483

also for manager6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agodisable template/upload button, fixes #483
Dominik Csapak [Fri, 11 Mar 2016 10:48:18 +0000 (11:48 +0100)]
disable template/upload button, fixes #483

with this patch, the upload/template buttons
are disabled, when the selected storage
has the respective contents disabled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: use a view controller for LoginWindow
Dietmar Maurer [Fri, 11 Mar 2016 11:55:35 +0000 (12:55 +0100)]
ext6migrate: use a view controller for LoginWindow

8 years agoext6migrate: fix LoginWindow
Dietmar Maurer [Fri, 11 Mar 2016 09:23:58 +0000 (10:23 +0100)]
ext6migrate: fix LoginWindow

move the static configuration to the class definition

8 years agouse 'form' layout for login window
Dietmar Maurer [Fri, 11 Mar 2016 09:09:44 +0000 (10:09 +0100)]
use 'form' layout for login window

this fixes padding problems when using new themes.

8 years agoext6migrate: fix Pool View
Dominik Csapak [Thu, 10 Mar 2016 14:29:24 +0000 (15:29 +0100)]
ext6migrate: fix Pool View

move static configuration to class definition
change applyIf to apply
and change show event to activate

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix trailing whitespaces
Dominik Csapak [Thu, 10 Mar 2016 10:47:02 +0000 (11:47 +0100)]
ext6migrate: fix trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add Tabs to Storages
Dominik Csapak [Thu, 10 Mar 2016 10:47:01 +0000 (11:47 +0100)]
ext6migrate: add Tabs to Storages

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix ContentView grouping
Dominik Csapak [Thu, 10 Mar 2016 10:47:00 +0000 (11:47 +0100)]
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>
8 years agoext6migrate: fix zpool storage subject
Dominik Csapak [Thu, 10 Mar 2016 10:46:59 +0000 (11:46 +0100)]
ext6migrate: fix zpool storage subject

the correct value is 'zfspool' not 'ZFS Storage'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix StatuView and Summary
Dominik Csapak [Thu, 10 Mar 2016 10:46:58 +0000 (11:46 +0100)]
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>
8 years agoext6migrate: fix ContentView
Dominik Csapak [Thu, 10 Mar 2016 10:46:57 +0000 (11:46 +0100)]
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>
8 years agoext6migrate: fix dropboxes in Storage Edit windows
Dominik Csapak [Thu, 10 Mar 2016 10:46:56 +0000 (11:46 +0100)]
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>
8 years agoext6migrate: remove unnecessary array declaration
Dominik Csapak [Thu, 10 Mar 2016 10:46:55 +0000 (11:46 +0100)]
ext6migrate: remove unnecessary array declaration

we do not need the array definition for the alias

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change PVE.form.NodeSelector to pveNodeSelector
Dominik Csapak [Thu, 10 Mar 2016 10:46:54 +0000 (11:46 +0100)]
ext6migrate: change PVE.form.NodeSelector to pveNodeSelector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add LvmThinEdit.js to html site
Dominik Csapak [Thu, 10 Mar 2016 10:46:53 +0000 (11:46 +0100)]
ext6migrate: add LvmThinEdit.js to html site

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: use crisp theme instead of triton
Dietmar Maurer [Thu, 10 Mar 2016 16:17:01 +0000 (17:17 +0100)]
ext6migrate: use crisp theme instead of triton

This theme works without to many css changes.

8 years agofix storage selector 'change' event handling
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:17 +0000 (15:57 +0100)]
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

8 years agoFix ComboBoxes when adding a mountpoint
Emmanuel Kasper [Wed, 9 Mar 2016 14:57:16 +0000 (15:57 +0100)]
Fix ComboBoxes when adding a mountpoint

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

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>