Commit Graph

181 Commits

Author SHA1 Message Date
Dominik Csapak
7b58d7b272 refactor DnsName regex
we will need this again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-15 11:53:05 +02:00
Emmanuel Kasper
49f5d1abd1 Rename the SCSI VirtIO controller to better differenciate from VirtIO blk
Also fix casing to match VirtIO as displayed in Network Panel
2016-06-08 12:43:09 +02:00
Emmanuel Kasper
5ca366f2f4 Case fix for VMware
Closes: #778
2016-06-08 12:42:08 +02:00
Dominik Csapak
cc1a91be71 fix right click selection in tree
in my commit 685b7aa4c5
i introduced a bug with that an item gets selected
in the tree when you right click on it

also fix the function parameters

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-05-31 12:23:06 +02:00
Dominik Csapak
685b7aa4c5 move cmdmenu function and use it in poolmemberlist
we had the function for the cmdmenu at two
different places (resourcetree and resourcegrid)

move it to PVE.Utils to reuse code, and
also use it in pool members list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-05-20 07:30:21 +02:00
Dominik Csapak
4dcca8a403 change hotplugselector to checkboxes
the hotplugselector was not good to use,
and the options were confusing (empty was the default value, etc)

now we have checkboxes for each value, and if none are selected,
hotplug is disabled

also fixes the renderer when hotplug is set to '1' which
just means the default of 'disk,network,usb'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-05-17 06:15:53 +02:00
Dominik Csapak
f25d7c4a74 jslint: change (x)?x:y to x || y
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:08:51 +02:00
Dominik Csapak
a764c5f72e jslint: fix missing or extra semicolon
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:07:42 +02:00
Dominik Csapak
368df92e0d improve gui cidr matching
with this fix, we (again) allow ipv4 cidr to be as low as 8
also check the cidr for ipv6 and show the valid ranges in the
error text

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-28 10:57:41 +02:00
Emmanuel Kasper
b7159d8bee Do not display the internal value we use for storing ostypes
Strings like 'Linux 4.X/3.X/2.6 Kernel' are difficult
enough to visually parse, so don't append the internal
representation (l26) at the end: it does not bring any relevant
information to the user, and we usually don't display
internal representations in the GUI.
2016-04-21 12:20:33 +02:00
Wolfgang Link
d481d825b3 add Windows 10 and 2012r2 to OS selection
So user now we support also Win 10 and R2.
2016-04-20 10:00:47 +02:00
Dominik Csapak
0be88ae197 remove trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-20 09:37:06 +02:00
Dominik Csapak
728f1b97e6 fix #143: add disk/mem percent sort
previously, we had a disk/memory usage column in the resource grid,
whose raw data were the bytes used, but we added a renderer
to display it as percentage

with this, the columns sorted by bytes and not by percentage,
which made the column rather confusing

with this patch, we add a real percentage column (where the
data is a float from 0 to 1) so it sorts correctly

also make the old columns show the used size in B/KiB/etc.
by default we still only show the percentage column

since the disk usage part was always zero with qemu guests,
leave it empty there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-20 09:36:23 +02:00
Dietmar Maurer
45ab85bb2e use translated strings in format_ha() 2016-04-19 09:38:07 +02:00
Thomas Lamprecht
ced1677b2b StatusView: more verbose HA status output
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-19 09:07:13 +02:00
Dominik Csapak
0bfc799f0a add render_*_percentage and calculate_* to Utils
these functions will be used for the resource grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-15 17:02:17 +02:00
Dominik Csapak
02f47fe8e0 generalize format_size function
now it calculates the size in a general way,
up to the size defined in an array

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-15 17:00:55 +02:00
Dominik Csapak
5a4ba3c2fd also display Linux 4.X on OS selection
changes only the display

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-15 09:42:42 +02:00
Dominik Csapak
b1d8e73d15 add new icons to grid and tree
we set new icons for the tree and grid
changes:
* new icons
* wider type column (bigger icons)
* use arrows true (uses arrows instead of +/- and gets rid of the
  ugly lines in the tree)
* datacenter has icon instead of folder open/close
* "folder view" gets type icons for folders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:59 +02:00
Dietmar Maurer
16152937f8 reduce translation overhead 2016-04-04 16:59:52 +02:00
Dietmar Maurer
bfade4b40b Utils.js: add task descriptions for vzclone and vztemplate 2016-04-04 12:42:32 +02:00
Dominik Csapak
d98a2c3c2a fix language selector
due to the changes in
f2782813cd
we have to set the default value to '__default__'
instead of ''

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-01 13:22:25 +02:00
Dietmar Maurer
23d3881a0a fix jslint errors 2016-03-31 11:13:50 +02:00
Dominik Csapak
7b9c038d54 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>
2016-03-31 10:38:37 +02:00
Dominik Csapak
17c71f27d2 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>
2016-03-21 11:15:50 +01:00
Dominik Csapak
8682685479 fix monStoreErrors
in extjs6 they renamed request.operation to request._operation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 16:57:18 +01:00
Dominik Csapak
f2782813cd ext6migrate: fix model behaviour for KVComboBox
we used an empty value for the Key-Value ComboBox for defaults.
With extjs6, if the idProperty of a model is empty, they generate
a name for it, which breaks our logic for submitting
(currently we checked if this is empty, and send a delete command
to our api)
instead, we use the value 'default' and check for it when we submit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-29 15:27:15 +01:00
Dominik Csapak
c7218ab37d ext6migrate: update vncconsole and remove java applet code
includes the following fixes:
 * remove all code related to the old java applet vnc client
   (we do not use this anymore)
 * move static configuration to class definition
 * use Ext.ux.IFrame instead of widget.uxiframe (to be consistent)
 * change listener from show to activate (for browser refresh)
 * change deprecated autoScroll to scrollable
 * remove novnc option from openVNCViewer function,
    since we do not need this option anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-02-27 09:27:15 +01:00
Emmanuel Kasper
63b9faaec1 temporary disable accessibility warnings
ExtJS6 adds accessibility (aria) support to the framework, which means
special handling of space/enter key and panels title, and a lot of
warnings / errors in the browser console

Aria support will be reenabled after all the components are migrated to
ExtJS6
2016-02-17 15:26:13 +01:00
Dietmar Maurer
ffd96a3bf5 add correct display text for lvmthin and drbd storage type 2016-01-27 05:56:30 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00