Commit Graph

2231 Commits

Author SHA1 Message Date
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
Fabian Grünbichler
3cba09d570 docs: typo, newlines 2016-04-15 16:36:03 +02:00
Dietmar Maurer
5c6d0f5785 update changelog 2016-04-15 09:43:29 +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
adaac36f72 fix #181: rewrite Boot Order Window
changed the way the boot order selection behaves:

now when choosing a value which already is chosen elsewhere,
switch them

also when assigning any device as none, move the remaining devices up

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-15 09:42:33 +02:00
Dietmar Maurer
056501a541 bump version to 4.1-30 2016-04-15 08:38:37 +02:00
Dietmar Maurer
6a0b8c26c9 GUI: use raw format for DRBD images 2016-04-15 08:23:32 +02:00
Dietmar Maurer
827f88ab50 bump version to 4.1-29 2016-04-14 17:03:31 +02:00
Fabian Grünbichler
74b47fd8e1 Fix 'mailto: ...' in /etc/vzdump.conf
allow comma-separated list of email addresses, like the API2
parameter.
2016-04-14 17:02:37 +02:00
Dietmar Maurer
da55da21c7 bump version to 4.1-28 2016-04-14 12:49:05 +02:00
Fabian Grünbichler
4f367c1917 VZDump: add -mailto schema desc 2016-04-14 12:46:21 +02:00
Fabian Grünbichler
3c6feff249 VZDump: remove dead code
remove get_lvm_mapping and get_lvm_device, which are not
used anywhere anymore.
2016-04-14 10:39:59 +02:00
Fabian Grünbichler
e2a2525e60 VZDump: mark 'size' as deprecated, warn if set
this parameter should be removed in a future release, just
warn and change description for now to avoid breakage.
2016-04-14 10:39:45 +02:00
Fabian Grünbichler
2fcb93475f VM -> guest in VZDump schema descriptions 2016-04-14 10:37:26 +02:00
Fabian Grünbichler
af77c16479 Spelling in VZDump descriptions 2016-04-14 10:36:58 +02:00
Dominik Csapak
d5066d8487 fix ceph tabs switching
when switching from one node to another, we stop the wrong store
for the ceph tabs disk/monitor/pools because they have the same id,
so give them different ones

also the same applies for node/Services, fix it there too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-13 10:36:56 +02:00
Wolfgang Bumiller
4aed5e3e3a Fix #936: ceph: support multiple roots in osd tree
The OSD tree in our GUI otherwise only shows the "first"
root it finds in the crush map.
2016-04-13 08:40:49 +02:00
Dietmar Maurer
eca5c8b1dc update changelog 2016-04-13 08:20:15 +02:00
Wolfgang Bumiller
0052bd0a3c www: monitor: support page up/down
to scroll the textbox while keeping focus in the inputbox
2016-04-13 08:17:22 +02:00
Dietmar Maurer
a6a77822f1 bump version to 4.1-27 2016-04-12 17:12:32 +02:00
Emmanuel Kasper
3c46a9a776 Do not disable a invalid previous tab, as this make the tab fields valid
disable_at() iterates over all the fields of the previously selected
tab and disables them
however disabling an input field makes it valid for validation purposes. I can't see a reason why disabling the tab fields
is needed, since the tab already hidden
and after testing, it seems safe to remove this call

this fix a problem when going back and forth in the wizard would
make some fields uneditable for the wrong reason
2016-04-12 17:11:02 +02:00
Emmanuel Kasper
58e1cdc0a6 Recheck field validation after manually enabling the input field of a ComboGrid
Calling setDisabled(true) on a component makes it valid, but calling setDisabled(false) afterwards did not retrigger a validation check

This fixes a serious bug which was happening in the following
conditions, for instance in the template tab of LXC Wizard:
1) user selects a storage
2) this triggers a reload of a related combogrid
3) this combogrid is marked valid, although its value is empty and it had allowedBlank: false
2016-04-12 17:10:50 +02:00
Dominik Csapak
d1918d1bf6 revert default compress mode for vzdump to 0
rationale is the following:

we had this as default before commit
1ab98f059e

but wrongly documented

since we set the compression mode explicitly via the gui,
we can set the default to 0, which makes some operations more
intuitive (e.g. with the -stdout parameter it makes no sense
to compress it by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-12 12:44:44 +02:00
Dietmar Maurer
15b46bab52 do not depend of pve-doc-generator
This should be a Build-Depend instead.
2016-04-12 12:43:03 +02:00
Dominik Csapak
f05de373c7 mark item as changed when status is different
to detect changes from running->paused and reverse,
since this is now reflected by the icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 13:03:44 +02:00
Dominik Csapak
efbc9f5d7e cleanup of contextmenus
change the order of the contextmenu items to
group functions, also introducing separators

like this:

***
power options
***
moving options
***
console
***

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 13:03:19 +02:00
Dietmar Maurer
dc3ed02ee2 update changelog 2016-04-11 11:57:27 +02:00
Wolfgang Bumiller
63e62a6f89 whitespace cleanup 2016-04-11 11:56:40 +02:00
Wolfgang Bumiller
a2ed069746 qemu: parse vlan trunks
Fixes an error when trying to edit a network with assigned
trunks.
2016-04-11 11:56:32 +02:00
Dominik Csapak
52af3f0de4 correct qemu cmdMenu
start button should be disabled when suspended

use 'file' icon instead of 'sticky-note'
to be consistent with tree icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:51:05 +02:00
Dominik Csapak
9a132f4a40 add icon to nodes more button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:47 +02:00
Dominik Csapak
79ae73ee35 new icons for snapshottree
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:39 +02:00
Dominik Csapak
0ef7ade911 change icons in storage add menu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:31 +02:00
Dominik Csapak
d1f155b8b0 add icons to Logout/Create VM/CT
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:18 +02:00
Dominik Csapak
25f08bacd0 add icons for user/group in aclview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:50:10 +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
Dominik Csapak
a991a203d9 add icons classes to ext6-pve.css
this adds the necessary classes/overwrites for the new icons

notable changes:

nodes/cts/vms state:
Dark when on
Light grey when off

Badges for Nodes (check = on, cross = off)
VM/CT (play = on, pause = paused)

change the hardware/resource view to the new icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:38 +02:00
Dominik Csapak
663d92d786 add new icons for hardware/resources view
this adds a few icons
most are from font-awesome (exported as png)
and some are selfmade (xcf sources included)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:48:51 +02:00
Dietmar Maurer
567a0d892c use pve-doc-generator, bump version to 4.1-25 2016-04-10 15:54:35 +02:00
Dietmar Maurer
05c82ad5c3 remove old openvz make targets 2016-04-10 14:49:37 +02:00
Dominik Csapak
065bb064b5 change show to activate
so that the store loads on page activation (refresh and intial click)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-08 16:59:00 +02:00
Dominik Csapak
c2f6b28ff2 change minValue of VLAN tag to 2
since linux bridges have untagged traffic on vlan1,
we cannot set this value

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-08 16:58:48 +02:00
Dominik Csapak
1b7117805b disable suspend/resume on containers
since this feature is not really working at the moment,
disable it in the gui

we can reenable it when it works reliably

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:46 +02:00
Dominik Csapak
546e0c5c22 change order of weekdays
to be consistent with the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:35 +02:00
Dominik Csapak
af3838c5ef show days of week as ranges
when selecting days in a backup job,
show every series of 3 or more days as range, instead
of single days
e.g. Monday-Wednesday instead of Monday, Tuesday, Wednesday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:57:25 +02:00
Dominik Csapak
ae9e2161bc make enabled column wider in backupview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-07 16:54:24 +02:00
Emmanuel Kasper
026b760111 Overrides Ext.Msg.alert() to always display an Error Icon 2016-04-07 16:52:48 +02:00