]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agoext6migrate: Qemu Bios Selector fixes
Dominik Csapak [Mon, 21 Mar 2016 09:53:09 +0000 (10:53 +0100)]
ext6migrate: Qemu Bios Selector fixes

add render function for Qemu Bios,
and change data to comboItems and '' to '__default__'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agorequires manual entering VM id before enabling the delete Button for VMs
Emmanuel Kasper [Mon, 21 Mar 2016 09:35:04 +0000 (10:35 +0100)]
requires manual entering VM id before enabling the delete Button for VMs

suggested by a user in https://bugzilla.proxmox.com/show_bug.cgi?id=360#c7
similar to the way github handles the deleting of a repository

fixes: #360

8 years agoparser: fix case sensitivity when classifying mountpoints
Wolfgang Bumiller [Thu, 17 Mar 2016 13:22:22 +0000 (14:22 +0100)]
parser: fix case sensitivity when classifying mountpoints

8 years agoext6migrate: enable some qemu tabs
Dominik Csapak [Fri, 18 Mar 2016 13:36:11 +0000 (14:36 +0100)]
ext6migrate: enable some qemu tabs

enables:
Monitor, Backup, Snapshot, Console, Firewall, Permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix HDEdit, HDMove, HDResize
Dominik Csapak [Fri, 18 Mar 2016 13:36:10 +0000 (14:36 +0100)]
ext6migrate: fix HDEdit, HDMove, HDResize

the StorageSelector fires the change event one time before data is there,
this patch catches that

also make the hdresize window wider because of the bigger font

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change reference to widget
Dominik Csapak [Fri, 18 Mar 2016 13:36:09 +0000 (14:36 +0100)]
ext6migrate: change reference to widget

the correct name is pveNodeSelector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix lxc resource view
Dominik Csapak [Fri, 18 Mar 2016 13:36:08 +0000 (14:36 +0100)]
ext6migrate: fix lxc resource view

after making the resource view lazy
the activate event does not trigger everytime
(where we reload)
so we make it the afterrender event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix KVCombobox behaviour in qemu
Dominik Csapak [Fri, 18 Mar 2016 13:36:07 +0000 (14:36 +0100)]
ext6migrate: fix KVCombobox behaviour in qemu

for details see commit:
f2782813cd763382a1bbc1ce43121e21377efe4f

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: make lxc snapshot window bigger
Dominik Csapak [Fri, 18 Mar 2016 13:36:06 +0000 (14:36 +0100)]
ext6migrate: make lxc snapshot window bigger

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: fix qemu snapshot panel
Dominik Csapak [Fri, 18 Mar 2016 13:36:05 +0000 (14:36 +0100)]
ext6migrate: fix qemu snapshot panel

changes id to itemid
make the snapshot info window a little bigger (for the bigger font)
changes the fireevent from datachanged to refresh
(for details see commit 1cd913372cbddf12a03e4adadfd7f84a8bf6b337)
and change show to activate event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: prevent collapsing of snapshottree
Dominik Csapak [Fri, 18 Mar 2016 13:36:04 +0000 (14:36 +0100)]
ext6migrate: prevent collapsing of snapshottree

instead of returning false in the 'beforeitemcollaps'
event (which is not fired in extjs6 anymore)

we set every element as not 'expendable'

this has thei nice side effect that there are no
'-' symbols anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocopy form/QemuBiosSelector.js from manager to manager6
Dietmar Maurer [Fri, 18 Mar 2016 14:42:36 +0000 (15:42 +0100)]
copy form/QemuBiosSelector.js from manager to manager6

8 years agoDon't set a fix size for MPResize window
Emmanuel Kasper [Thu, 17 Mar 2016 09:34:03 +0000 (10:34 +0100)]
Don't set a fix size for MPResize window

Due to the font increase of the Crisp theme,
the text was truncated

Instead of setting manually window size, let the items of the component
freely expend to what they need ( layout 'fit')

8 years agoEnable four first tabs of Qemu Panel
Emmanuel Kasper [Thu, 17 Mar 2016 09:31:12 +0000 (10:31 +0100)]
Enable four first tabs of Qemu Panel

8 years agoFixes Hardware View gridPanel for ExtJS6
Emmanuel Kasper [Thu, 17 Mar 2016 09:31:11 +0000 (10:31 +0100)]
Fixes Hardware View gridPanel for ExtJS6

 * uses Ext.apply() instead of applyIf(), because the parent class
 already set a toolbar to 'null', and we want to override that
 * use 'activate' event to redisplay content on page reload
 * use a managed listener via mon() so we ignore events from the store
 when the component is not displayed ( prevent race conditions)

8 years agoreplace calls to new() with Ext.create()
Emmanuel Kasper [Thu, 17 Mar 2016 09:31:10 +0000 (10:31 +0100)]
replace calls to new() with Ext.create()

8 years agoinitialize Diffstore sorters and filters with empty arrays
Emmanuel Kasper [Thu, 17 Mar 2016 09:31:09 +0000 (10:31 +0100)]
initialize Diffstore sorters and filters with empty arrays

ExtJS expect this properties to be arrays of Filters/Sorters
objects, but sets them to null

setting an empty array here allows to push sorters/filters easily
later

This fix allows loading the Hardware Tab of the Qemu Panel

8 years agoFix Qemu summary view:
Emmanuel Kasper [Thu, 17 Mar 2016 09:31:08 +0000 (10:31 +0100)]
Fix Qemu 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
* replace deprecated 'rows' parameter in textareafield with
height in pixels

8 years agoext6migrate: remove trailing whitespaces
Dominik Csapak [Wed, 16 Mar 2016 14:58:15 +0000 (15:58 +0100)]
ext6migrate: remove trailing whitespaces

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
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>