]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agofix jslint errors
Dietmar Maurer [Thu, 31 Mar 2016 09:13:50 +0000 (11:13 +0200)]
fix jslint errors

8 years agobump version to 4.1-23
Dietmar Maurer [Thu, 31 Mar 2016 08:58:49 +0000 (10:58 +0200)]
bump version to 4.1-23

8 years agoFixed a small typo
Caspar Smit [Fri, 18 Mar 2016 08:30:31 +0000 (09:30 +0100)]
Fixed a small typo

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoAllow migrate-all button on HA enabled VMs
Caspar Smit [Fri, 18 Mar 2016 08:30:30 +0000 (09:30 +0100)]
Allow migrate-all button on HA enabled VMs

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoSkip templates when using the start all VMs button
Caspar Smit [Fri, 18 Mar 2016 08:30:29 +0000 (09:30 +0100)]
Skip templates when using the start all VMs button

Refactored and now using PVE::QemuConfig and PVE::LXC::Config
Moved the next if.. statements into the corresponding branches

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoAllow non-root to use start/stop/migrate all buttons
Caspar Smit [Fri, 18 Mar 2016 08:30:28 +0000 (09:30 +0100)]
Allow non-root to use start/stop/migrate all buttons

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoReadme.md: add pveproxy restart as neeed step for testing ExtJS6 GUI
Emmanuel Kasper [Thu, 31 Mar 2016 08:28:09 +0000 (10:28 +0200)]
Readme.md: add pveproxy restart as neeed step for testing ExtJS6 GUI

8 years agoext6migrate: use new charts for node/lxc/qemu
Dominik Csapak [Thu, 31 Mar 2016 08:30:20 +0000 (10:30 +0200)]
ext6migrate: use new charts for node/lxc/qemu

uses the new charts for the rrd graphs in the summary pages
and make them lazy (for minimal performance impact)

also correct some styling errors and move static fields
to the class definition

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change status units to binary prefixes
Dominik Csapak [Thu, 31 Mar 2016 08:30:19 +0000 (10:30 +0200)]
ext6migrate: change status units to binary prefixes

we used a factor of 2^10 when calculating, but
wrote MB,GB,etc which is not (entirely) correct

this patch changes the units to MiB, GiB, etc,
because this is more sensible than changing the calculation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add RRDStore class and RRDChart
Dominik Csapak [Thu, 31 Mar 2016 08:30:18 +0000 (10:30 +0200)]
ext6migrate: add RRDStore class and RRDChart

this patch adds two classes for the charts:

RRDStore:

based on our updatestore, but specialized on our rrddata output
it converts the percentage (cpu) and the time (from unix to milliseconds)

also it handles the changes for the timeframe and cf

it sets a default reload of 30seconds

RRDChart:

based on Ext.chart.CartesianChart,
with specialized options for our rrd graphs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add charts js/css to index html
Dominik Csapak [Thu, 31 Mar 2016 08:30:17 +0000 (10:30 +0200)]
ext6migrate: add charts js/css to index html

adds the sencha charts lib to the makefile and
the index file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agouse PVE::Storage::config(), not cfs_read_file()
Fabian Grünbichler [Fri, 25 Mar 2016 12:56:17 +0000 (13:56 +0100)]
use PVE::Storage::config(), not cfs_read_file()

8 years agosimplify code
Dietmar Maurer [Wed, 30 Mar 2016 07:37:47 +0000 (09:37 +0200)]
simplify code

8 years agolxc: disable console button for templates
Dietmar Maurer [Wed, 30 Mar 2016 07:35:52 +0000 (09:35 +0200)]
lxc: disable console button for templates

8 years agodisable console button for templates
Emmanuel Kasper [Thu, 24 Mar 2016 12:37:03 +0000 (13:37 +0100)]
disable console button for templates

8 years agofix tree update when migrating a VM/CT
Emmanuel Kasper [Thu, 24 Mar 2016 12:37:02 +0000 (13:37 +0100)]
fix tree update when migrating a VM/CT

original bug:
migrated items where not appearing under the target server

implentation:
remove items whose 'node' property has changed
as these items need to be removed before being re-added

also rename the local variable 'changed' to 'moved' to
better differentiate between what is updated in place, and
what needs to be redisplayed

8 years agoSafeDestroy: remove dead code
Dietmar Maurer [Wed, 30 Mar 2016 07:19:06 +0000 (09:19 +0200)]
SafeDestroy: remove dead code

The cancel button was already removed.

8 years agoSafeDestroy.js: use modern ExtJS features
Dietmar Maurer [Wed, 30 Mar 2016 07:07:32 +0000 (09:07 +0200)]
SafeDestroy.js: use modern ExtJS features

We now use the class config system, a View Model and a View Controller.

8 years agoSafeDestroy.js: factor out common code
Dietmar Maurer [Tue, 29 Mar 2016 08:27:40 +0000 (10:27 +0200)]
SafeDestroy.js: factor out common code

8 years agocleanup: run emacs indent-region on SafeDestroy.js
Dietmar Maurer [Tue, 29 Mar 2016 07:58:04 +0000 (09:58 +0200)]
cleanup: run emacs indent-region on SafeDestroy.js

8 years agoDo not turn the strings CT and VM into separate localizable strings
Emmanuel Kasper [Wed, 23 Mar 2016 12:06:14 +0000 (13:06 +0100)]
Do not turn the strings CT and VM into separate localizable strings

According to the PO files, translators keep 'CT' and 'VM' unchanged

8 years agoext6migrate: remove button height from upload window
Dominik Csapak [Mon, 21 Mar 2016 11:57:39 +0000 (12:57 +0100)]
ext6migrate: remove button height from upload window

since we changed to the crisp theme, the button should
not have a height of 32px

this reverts part of the commit:
5d57889439c5f05afb86b08df076e422520e8381

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofilter backup always by vm type
Dominik Csapak [Mon, 21 Mar 2016 11:57:38 +0000 (12:57 +0100)]
filter backup always by vm type

currently, as soon as you type something in the backup search bar,
the filter for the vm type (e.g. lxc or qemu) gets cleared, and
you see *all* backups (also those not for the current type)

this patch adds the original filterFn to the filter when searching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: Qemu Options fixes
Dominik Csapak [Mon, 21 Mar 2016 09:53:13 +0000 (10:53 +0100)]
ext6migrate: Qemu Options fixes

change applyIf to apply, so that the values are changed
and
change activate to show, so that the store starts updating
on site refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: let the components determine width
Dominik Csapak [Mon, 21 Mar 2016 09:53:12 +0000 (10:53 +0100)]
ext6migrate: let the components determine width

since we have a bigger font, instead of
hardcoding the width, let the components generate the
necessary width

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: change default values
Dominik Csapak [Mon, 21 Mar 2016 09:53:11 +0000 (10:53 +0100)]
ext6migrate: change default values

since KVCombobox expects __default__ as default value
change to this in

DisplayEdit
HDEdit
KeyboardEdit
ProcessorEdit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoext6migrate: add Haswell and Broadwell noTSX
Dominik Csapak [Mon, 21 Mar 2016 09:53:10 +0000 (10:53 +0100)]
ext6migrate: add Haswell and Broadwell noTSX

these were missing in manager6

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