2195 Commits

Author SHA1 Message Date
Wolfgang Bumiller
e975f6c141 parser: fix case sensitivity when classifying mountpoints 2016-03-18 16:27:03 +01:00
Dominik Csapak
fe6bd65f58 ext6migrate: enable some qemu tabs
enables:
Monitor, Backup, Snapshot, Console, Firewall, Permissions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:58 +01:00
Dominik Csapak
dfd981678c 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>
2016-03-18 16:09:42 +01:00
Dominik Csapak
566b968005 ext6migrate: change reference to widget
the correct name is pveNodeSelector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:19 +01:00
Dominik Csapak
829ded130c 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>
2016-03-18 16:09:04 +01:00
Dominik Csapak
630e0d3c91 ext6migrate: fix KVCombobox behaviour in qemu
for details see commit:
7515e62236b9f3c8317c3aa0dbf470e2b8efdd71

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:50 +01:00
Dominik Csapak
9a1ac1d290 ext6migrate: make lxc snapshot window bigger
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:26 +01:00
Dominik Csapak
fe14a0ee5e 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 b26fe8189d81f955d6c65232f822314bfde84c8f)
and change show to activate event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:15 +01:00
Dominik Csapak
833d2788a0 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>
2016-03-18 16:07:50 +01:00
Dietmar Maurer
cd7c40e6b4 copy form/QemuBiosSelector.js from manager to manager6 2016-03-18 15:42:36 +01:00
Emmanuel Kasper
1474d03e8a 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')
2016-03-17 10:45:48 +01:00
Emmanuel Kasper
b44fde6fa0 Enable four first tabs of Qemu Panel 2016-03-17 10:45:33 +01:00
Emmanuel Kasper
8bfc0ffe18 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)
2016-03-17 10:45:17 +01:00
Emmanuel Kasper
d9ea2a6d5e replace calls to new() with Ext.create() 2016-03-17 10:44:48 +01:00
Emmanuel Kasper
89f12991c5 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
2016-03-17 10:44:39 +01:00
Emmanuel Kasper
d675f09dde 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
2016-03-17 10:44:10 +01:00
Dominik Csapak
e619c5cdb5 ext6migrate: remove trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:32:55 +01:00
Dominik Csapak
553ff17dc9 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>
2016-03-16 16:32:40 +01:00
Dominik Csapak
a6bfa9e34e 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>
2016-03-16 16:30:26 +01:00
Dominik Csapak
e40ece32ab ext6migrate: change ceph event handlers
change event handlers from show to activate
to allow refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:28:30 +01:00
Dominik Csapak
fd344aafc4 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>
2016-03-16 16:28:17 +01:00
Dominik Csapak
12425761e9 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>
2016-03-16 16:27:38 +01:00
Dominik Csapak
ebbcb9f479 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>
2016-03-16 16:26:58 +01:00
Thomas Lamprecht
36bdf79986 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.
2016-03-16 10:43:38 +01:00
Dietmar Maurer
7ace9f792f copy qemu/TemplateMenu.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
472b672b2e copy qemu/Summary.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
71bb050ba3 copy qemu/StatusView.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
fec3ae0b63 copy qemu/StartupEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
53b6836afb copy qemu/SnapshotTree.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
4f3ced131d copy qemu/Snapshot.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
b61df95093 copy qemu/Smbios1Edit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
71e5f1a433 copy qemu/SendKeyMenu.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
3ca43622e3 copy qemu/ScsiHwEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
e98aff2215 copy qemu/QemuBiosEdit.js from manager to manager6 2016-03-16 09:12:23 +01:00
Dietmar Maurer
785e475658 copy qemu/ProcessorEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
57f9ed9fa1 copy qemu/OSTypeEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
9205f4eaf4 copy qemu/Options.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
d61b9766dc copy qemu/NetworkEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
ce1b76015e copy qemu/Monitor.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
79f60042ba copy qemu/MemoryEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
45980d847e copy qemu/KeyboardEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
cfb9f55735 copy qemu/HDThrottle.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
c8f90a3dc7 copy qemu/HDResize.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
e894a28755 copy qemu/HDMove.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
8bd3e68308 copy qemu/HDEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
37d8b5b068 copy qemu/HardwareView.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
ba7d9e27d5 copy qemu/DisplayEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00
Dietmar Maurer
e0b3ee0539 copy qemu/CreateWizard.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
14ba222f51 copy qemu/CPUOptions.js from manager to manager6 2016-03-16 09:12:21 +01:00
Dietmar Maurer
4fb643d1d4 copy qemu/CmdMenu.js from manager to manager6 2016-03-16 09:12:21 +01:00