861 Commits

Author SHA1 Message Date
Thomas Lamprecht
e03c739f18 Add CT service support and remove type parameter
The type parameter is not needed anymore because the service type
can be extracted by only using the unique vmid.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-03 12:53:40 +02:00
Emmanuel Kasper
8e703e48b2 ext5migrate: adapt Backup items to new KVCombobox parent class
This allows the Backup to work with ExtJS5
2015-09-03 12:46:18 +02:00
Thomas Lamprecht
a0b9279d47 set size in the rootfs parameter on CT create
As the size parameter is now deprecated and was replaced with the
new rootfs parameter, use that one when creating an container.
So we don't get an 'parameter verification failed' error.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-08-31 12:48:16 +02:00
Alexandre Derumier
6622f7e697 allow iframe fullscreen
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 12:02:27 +02:00
Wolfgang Link
7235c46aa8 Add possibillity to distinguish container and vm on RBD Storage.
this is necessary because we use image files for both.
2015-08-26 15:33:22 +02:00
Emmanuel Kasper
8fde7805b3 Pass the list of of combobox items as a property
The original fix using a config Object was a bit overkill, this works well too , requires less code in the child classes, and is more consistent with rest of the code we have.
2015-08-26 05:59:27 +02:00
Emmanuel Kasper
aaf8444c3e Remove Java applet from list of available console viewers.
We already did this for ExtJS4, just copying from there
2015-08-26 05:59:09 +02:00
Dietmar Maurer
0375c4f2a4 fix bug #690: workaround - list all storages
It is currently unclear howto restrict storages for container usage.
The 'rootdir' property does not work anymore, because we can now create
containers on normal VM image files.
2015-08-25 07:57:32 +02:00
Dietmar Maurer
2d303bde45 use predefined text for default values 2015-08-20 11:03:47 +02:00
Dietmar Maurer
b2f07813df lxc GUI: add tty and console options 2015-08-20 10:59:18 +02:00
Emmanuel Kasper
8f78a916c4 ext5migrate: move setting the Panel title into the class properties
Ext.applyIf(me, {
	    title: gettext('Search')
});
in initComponent() is not safe anymore with ExtJS5.
Since the 'title' property is existing at that stage (even if with a null or undefined value), Ext.applyIf will not update it.
2015-08-18 16:43:17 +02:00
Emmanuel Kasper
5679e9b0db ext5migrate: enable striped row, it now works with ExtJS5 2015-08-18 16:42:58 +02:00
Emmanuel Kasper
3150236aa5 ext5migrate: do not set a custome idProperty for the KeyValue model
ExtJS refuses with version to have an id set to an empty string, hence we can't
use our "key" property as a custom idProperty (an empty string for key is ok for us, and is used to set back a PVE property to its default value)

We always access the KeyValues entities via their Key property, so this change should be safe.
2015-08-18 16:40:11 +02:00
Emmanuel Kasper
bf6b27ebaa ext5migrate: pass the items we want in the ComboBox as a config property
Since ExtJS5, when doing such a declaration,

	Ext.applyIf(me, {
	    items: {
		xtype: 'pveKVComboBox',
		comboItems: data,
	    }
	});

the comboItems property is passed in the parent class as a config object,
instead of being directly available via this.comboItems

Since using a config object is the recommended way of passing parameters
int the ExtJS class model, adapt the parent class to use the new paradigm.
2015-08-18 16:38:36 +02:00
Dietmar Maurer
31b275d9fb correctly display lxc templates 2015-08-18 09:43:15 +02:00
Dietmar Maurer
15afd36cdb lxc GUI: implement console mode option 2015-08-17 12:49:45 +02:00
Wolfgang Link
ebe81b150e fix bug #684: Fix Typo 2015-08-17 10:59:40 +02:00
Wolfgang Link
08142b081f fix bug #682: change at the Gui the used disk size.
in the pvesm and pvesh we are giving the correct size of the used space from a disk.
this change make the output of Gui and CLI consistent.
2015-08-17 09:47:36 +02:00
Dietmar Maurer
8b594eadbc allow all storages with content type 'images' for containers
New LXC containers can use raw images, so the distinction between 'images'
and 'rootdir' does not really makes sense now.
2015-08-07 10:34:56 +02:00
Emmanuel Kasper
7827629dbc add some green to the icon to indicate more clearly when LXC and KVMs are running 2015-08-06 11:32:12 +02:00
Dietmar Maurer
fcbe81f19c update LXC GUI (support new rootfs and size parameter). 2015-08-06 10:34:54 +02:00
Wolfgang Bumiller
3415d41f04 add dhcp and slaac options to lxc network config 2015-07-31 10:51:01 +02:00
Alen Grizonic
08ec5ef6a8 bug #659 (pool support) fix
lxc added to additional GUI pool functions (also for ExtJS5)

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-07-30 11:39:11 +02:00
Emmanuel Kasper
42cda896fd ext5migrate: set buttons property directly instead of calling applyIf
It seems that in ExtJS5 the prototype of the Window component already sets
some default values to me.buttons and me.layout, hence calling applyIf
on these properties will silently fail.

me.layout is already set to 'auto' by the framework, we don't need to set
that anymore.
2015-07-30 09:04:56 +02:00
Emmanuel Kasper
e12f89d8c1 Move subscription tab to the outmost right of the node tab panel
This brings consistency with the datacenter tab panel.
2015-07-30 09:04:38 +02:00
Emmanuel Kasper
88abf528fb remove debugging traces 2015-07-30 09:03:55 +02:00
Wolfgang Bumiller
3b43128359 Add missing ')' to en-us keyboard layout option.
Closes #303
2015-07-28 09:19:17 +02:00
Wolfgang Link
f2396dc5cd Fix Extent ZFSPool Content with rootdir 2015-07-28 08:34:42 +02:00
Dietmar Maurer
3e5a7bf4c6 PVE.dc.BackupView: improve rendering of boolean values 2015-07-27 09:27:44 +02:00
Thomas Lamprecht
064b74ac7c Added UI elements for the backup job disabling function
Added a column in the datacenter backup job overview to see if a job
is enabled or not. Added checkbox to the input panel, which enables
or disables a job.
This closes bug/feature request 492.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-27 09:15:39 +02:00
Wolfgang Link
1b23db6962 Change Ct restore rest call
this change will provide that it will be possibel to restore LXC and OVZ dumpfiles over the gui.
2015-07-24 13:48:20 +02:00
Wolfgang Link
23dd427fb0 Extent ZFSPool Content with rootdir 2015-07-24 13:16:04 +02:00
Wolfgang Link
e00f8e857b Add Snapshot to LXC
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-07-24 11:03:40 +02:00
Emmanuel Kasper
2f69c0baca ext5migrate: replace call to private ExtJS function getRoot()
getRoot() semantics changed with ExtJS5.

To avoid further annoyances when ExtJS6 is around the corner, replace the call
to this private method, set rootProperty in the ObjectStore call,
and use the value of rootProperty to filter out the content of the server
answer.
2015-07-22 12:16:18 +02:00
Emmanuel Kasper
b24be2728f Add documentation header 2015-07-22 12:16:01 +02:00
Emmanuel Kasper
73ff9bd37d Enable loading of most of the datacenter config panel
This patch does the following:
 * remove the EXT5DEBUG header we added previously
 * build the items[] array as a one-dimensional array, as PVE.panel.Config
 with ExtJS5 is not able to find the elements otherwise
 * rename the problematic panel tabs with TODO suffix, to be dealed later on
2015-07-20 06:33:14 +02:00
Emmanuel Kasper
33477e3091 Add EXT5DEBUG header, comment function to allow the dc Config panel to load 2015-07-20 06:33:04 +02:00
Dietmar Maurer
3756ee061b copy window/Wizard.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
9be4b959d5 copy window/Restore.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
e6adfebbd2 copy window/NotesEdit.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
f804bc78cf copy window/Migrate.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
593f5b2d04 copy window/MigrateAll.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
3640326dd2 copy window/Backup.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
b00c92b755 copy pool/Summary.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
c3cf57c03f copy pool/StatusView.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
231ec8d984 copy pool/Config.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
900abd3357 copy panel/SubConfigPanel.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
55aa563651 copy panel/RRDView.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
1aa15487f9 copy panel/NotesView.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
f928637774 copy panel/LogView.js from manager to manager5 2015-07-03 11:29:11 +02:00