Commit Graph

1624 Commits

Author SHA1 Message Date
Dietmar Maurer
7cfb65bf9c aplinfo: allow version without -\d+ endings 2015-08-29 12:33:14 +02:00
Dietmar Maurer
30ec25a066 bump version to 4.0-31 2015-08-28 12:08:40 +02:00
Alexandre Derumier
6622f7e697 allow iframe fullscreen
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 12:02:27 +02:00
Alexandre Derumier
20cd318f95 pve-manager : NoVncIndex : add inflator.js && fullscreen button
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-08-28 12:02:17 +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
Wolfgang Link
41a1c83b14 complete optional packet list for pveversion 2015-08-25 09:39:14 +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
e14ecb82b9 bump version to 4.0-30 2015-08-24 06:37:13 +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
Dietmar Maurer
878be33b27 bump version to 4.0-29 2015-08-18 16:46:27 +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
Wolfgang Bumiller
5621a50995 Ceph: fix old interfaces access in find_node_ip
Fixes #681
2015-08-12 09:43:03 +02:00
Wolfgang Bumiller
0bba4496df bridgevlanport: replace sed pipe with substitution
The previous code stripped *all* combinations of zero or
more letters and digits followed by a dot of an interface
name to retrieve the VLANID. At the same time the supposedly
opposite code for IF_VLAN_RAW_DEVICE only actually extracts
the part up to the *first* dot. Thus an interface named
'a.b.0' would have a VLANID of 0 and a raw device name of
just 'a'.
I also don't see a reason to limit the removed portions to
alphanumeric characters. I.e. an interface named tap-test.0
would result in a VLANID of 'tap-0' and an
IF_VLAN_RAW_DEVICE of 'test'.

A simple shell substitution seems to do a much better job
and is more efficient than forking out two processes with a
pipe.
2015-08-11 10:26:35 +02:00
Dietmar Maurer
9cbb0187cb pveversion: add criu package 2015-08-10 09:55:00 +02:00
Wolfgang Link
b6ee868edc Add extra optional list to pveversion
if the packet on the opt list is not installed, it will not shown.
2015-08-10 09:53:18 +02:00
Dietmar Maurer
74692eceac bump version to 4.0-28 2015-08-07 12:14:14 +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
69517c2485 bump version to 4.0-27 2015-08-06 11:30:50 +02:00
Dietmar Maurer
fcbe81f19c update LXC GUI (support new rootfs and size parameter). 2015-08-06 10:34:54 +02:00
Dietmar Maurer
5d4a615bec bump version to 4.0-26 2015-07-31 11:17:05 +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
Dietmar Maurer
191ec7acf7 bridgevlan: avoid bash regex 2015-07-30 11:28:50 +02:00
Thomas Lamprecht
16145cba4c Use JSONSchema to parse vzdump config
Instead of a lot of hardcoded if's use JSONSchema::parse_config to
parse and validate vzdump.conf. To do that $confdesc was extended
to match a valid schema.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-30 11:27:49 +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
07b0271ae2 fix a remote_node_ip calling context
Using remote_node_ip to build a hash needs to explicitly
request a scalar context.
2015-07-30 08:58:04 +02:00
Dietmar Maurer
50169fe423 control.in: add replaces/provides for vlan
So that we can upgrade without problems (automatically remove old vlan package).
2015-07-29 06:57:46 +02:00
Alexandre Derumier
312ce78084 add vlan aware ifupdown script v3
This add support to enable vlan aware bridge,
and management interfaces

example: 1 bridge and 1 administration port on vlan 100

auto vmbr0
iface vmbr0 inet manual
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes
        bridge_vids 10-15

auto vmbr0.100
iface vmbr0.100 inet static
        address X.X.X.X
        netmask 255.255.255.0
        gateway X.X.X.X

bridge_vids is optional, and allow on the specified vlans.(current take 1 value or range, need to be improve with list)
If not specified, the allowed vlan are 2-4094.
vlan 1 is the default pvid. (all untagged traffic is going to this vlan).

scripts:
- /etc/network/if-up.d/bridgevlan

manage bridge vlan aware configuration

- /etc/network/if-up.d/bridgevlanport

manage bridge vlan admin port

-/etc/network/if-pre-up.d/vlan
-/etc/network/if-post-down.d/vlan

replace current vlan package, without vconfig usage and cleanups
It's only needed to create vlan interface from bridge_ports.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-07-29 06:46:16 +02:00
Thomas Lamprecht
f6913d83c5 fix bug #662: wrong subroutine for parsing startup order
Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order()

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-28 09:31:09 +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
e8f2e335ed bump version to 4.0-25 2015-07-27 13:28:38 +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
Thomas Lamprecht
c8653ebb08 Added functionality do disable temporary a backup job
Added an option to disable a backup job while preserving its
settings. When a job is disabled a '#' is added in front of the vzdump
command in the vzdump.cron file. So the cron job still fires,
but only a comment gets executed. If we would comment out the cron job
a bit more changes to the parser would be needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-27 09:15:09 +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