]>
git.proxmox.com Git - pve-manager-legacy.git/log
Thomas Lamprecht [Tue, 22 Nov 2016 13:45:02 +0000 (14:45 +0100)]
VZDump: switch ha managed check from enabled to started
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 14:28:10 +0000 (15:28 +0100)]
fix #1208: add ballooning checkbox to memory edit
when using fixed memory size, we implicitly deleted shares and
ballon, which removed a (manually) set balloon: 0,
to be able to set this via the gui, we add a checkbox to the fixed
memory edit (using variable memory always needs ballooning)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:15 +0000 (12:32 +0100)]
check for array in disallowednodes filter
extjs throws an error if disallowednodes is not an array,
so we need to check this
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:14 +0000 (12:32 +0100)]
add new ceph dashboard
this patch changes the ceph dashboard
now we show the information in a more graphical way, namely:
the overall status is displayed by a big icon (+health)
the warnings/errors are in a list (with severity)
we show more detailed information about monitors, osds, and pgs
we show the usage of the cluster as a gauge graph, and
the reads, writes and iops as running charts (the last 5 minutes)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:13 +0000 (12:32 +0100)]
add ceph statudetail panel
this adds a the component ceph statusdetail,
it displays the monitors (+status)
the osd as a table (in/out,up/down)
and the pg states as a list (+number)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:12 +0000 (12:32 +0100)]
add runningchart widget
this adds a new component 'runningchart', which is a simple linegraph
you define a timeFrame (default 5*60 seconds), and you regularly add
datapoints to it, and the graph shows the last timeFrame seconds of it
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:11 +0000 (12:32 +0100)]
refactor health status widget and ceph status data
this adds a new component health widget, used for cluster and ceph
status
also refactor ceph error levels and ceph status data into PVE.Utils
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:10 +0000 (12:32 +0100)]
refactor health icons
instead of setting them manually every time, factor them out in a
get_health_icon function
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:32:09 +0000 (12:32 +0100)]
improve green and red colors
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:07:31 +0000 (12:07 +0100)]
change the ha resources columns
rename Request State to State, and add the request_state and crm_state
as hidden columns (so that the user can display them if they want)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:07:30 +0000 (12:07 +0100)]
merge ha resources into the ha status panel
this changes the ha status view and ha resources view, so that they take
an rstore and use that instead of a new one
we do this, so that we can display the status and the resources grid
with one api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:07:29 +0000 (12:07 +0100)]
add the haStatus panel
for the new status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 22 Nov 2016 11:07:28 +0000 (12:07 +0100)]
add new fields to ha models
to be prepared for the new ha status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 21 Nov 2016 12:02:01 +0000 (13:02 +0100)]
ConfigPanel: automatically expand node in selectById()
This is only used for automated tests.
Dietmar Maurer [Sat, 19 Nov 2016 09:38:04 +0000 (10:38 +0100)]
Resources.js: s/enabled/started/
Thomas Lamprecht [Fri, 18 Nov 2016 16:14:34 +0000 (17:14 +0100)]
ha resource edit: adapt to new service state
Add the new stopped state to the ResourceEdit panel.
Rename enabled state to started as done in ha-manager.
As 'enabled' is now the wrong label use the more correct label
'Request state', for both the resource edit window and the grid
column.
Do this by replacing the checkbox with a KVCombogrid.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 17 Nov 2016 14:00:40 +0000 (15:00 +0100)]
do not show current node in migration window
As we cannot migrate to the source node do not show it in the
migration window's node selector.
Fixes #1049 partly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 17 Nov 2016 15:49:54 +0000 (16:49 +0100)]
NodeSelector: add disallowedNodes configuration property
This can be used to mask out some nodes from the node selector.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 18 Nov 2016 09:13:37 +0000 (10:13 +0100)]
add kvcombobox validator
this enables validation of all kvcomboboxes, including
multiselect
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:51 +0000 (10:50 +0100)]
make pool members grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Fabian Grünbichler [Thu, 17 Nov 2016 10:36:32 +0000 (11:36 +0100)]
enable certificate pinning for proxied requests
when forwarding an API request to the responsible node,
only accept the certificate that this node should have
according to the contents of the cluster file system.
to limit performance issues, cache certificate fingerprint
on first request for each node, and only regenerate cache
(at most once per minute) if the actual encountered
fingerprint does not match or every 30 minutes (to clear out
old entries).
Fabian Grünbichler [Wed, 16 Nov 2016 13:24:14 +0000 (14:24 +0100)]
pass proxied to node to proxy_request
in addition to proxied to IP
Dominik Csapak [Thu, 17 Nov 2016 14:44:03 +0000 (15:44 +0100)]
check for lxc instead of openvz in the backup window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:52:26 +0000 (10:52 +0100)]
move onlineHelp from FirewallAliasEdit to FirewallAliases
since the first is a window, not the grid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:52:25 +0000 (10:52 +0100)]
remove border from ceph crushmap/config panel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:50 +0000 (10:50 +0100)]
make storage/template grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:49 +0000 (10:50 +0100)]
make lxc/qemu snapshot/network grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:48 +0000 (10:50 +0100)]
make backupview stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:47 +0000 (10:50 +0100)]
make ceph panels/grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:46 +0000 (10:50 +0100)]
make update/disk/network and task grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:45 +0000 (10:50 +0100)]
make user/acl/auth grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:44 +0000 (10:50 +0100)]
make firewall panels/grids stateful
to save the columns/layouts in the browsers local storage
also change width to string (or else jslint complains)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:43 +0000 (10:50 +0100)]
make backup/storage/ha resources/ha groups grid stateful
so that the column changes are saved in the browsers local storage
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 8 Nov 2016 09:50:42 +0000 (10:50 +0100)]
remove reset columns button from resource grid
since we now have the client settings, we do not need this anymore
also rename the stateid to 'grid-resource'
(we want to establish a convention to differentiate between saved local
storage items)
the whole saveCurrentState logic was not really necessary, so we can drop this too
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Stefan Priebe [Wed, 16 Nov 2016 19:08:28 +0000 (20:08 +0100)]
VZDump: die with error if plugin loading fails
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Fabian Grünbichler [Tue, 15 Nov 2016 09:26:39 +0000 (10:26 +0100)]
add sheepdog and gluster to pveproxy.service
this ensures proper ordering for starting on boot and
stopping on shutdown.
Dietmar Maurer [Sun, 13 Nov 2016 08:51:57 +0000 (09:51 +0100)]
API2Client: allow to set ssl options
and use /etc/pve/pve-root-ca.pem as default CA.
Dietmar Maurer [Sun, 13 Nov 2016 08:24:31 +0000 (09:24 +0100)]
API2Client: avoid perl warning
Dietmar Maurer [Sat, 12 Nov 2016 11:45:21 +0000 (12:45 +0100)]
new helper call_menu_handler
Dietmar Maurer [Fri, 11 Nov 2016 16:11:19 +0000 (17:11 +0100)]
ConfigPanel: added helper selectById()
for test automation
Dietmar Maurer [Fri, 11 Nov 2016 14:52:52 +0000 (15:52 +0100)]
ResourceTree.js: return value in selectById
So that automation tools can see success.
Dietmar Maurer [Thu, 10 Nov 2016 15:15:32 +0000 (16:15 +0100)]
lxc: don't show an empty ssh-public-key field in summary
Dietmar Maurer [Thu, 10 Nov 2016 10:33:00 +0000 (11:33 +0100)]
add activeTitle helper
Dominik Csapak [Mon, 7 Nov 2016 11:05:06 +0000 (12:05 +0100)]
fix #1196: make restriced/nofailback boolean in gui
since we get the string "0" from the backend if the line is in the
groups.cfg, we have to set the field to type boolean, or the string will
always be interpreted as true
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 6 Oct 2016 12:55:57 +0000 (14:55 +0200)]
disable rules copy button if not 'in' or 'out' rule
else you could always click the button, but
nothing would happen
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 5 Oct 2016 09:34:17 +0000 (11:34 +0200)]
BackupEdit, cleanup: remove insideUpdate construct
insideUpdate protects for a endless loop which gets caused if the sm
selection change callback updates vmidField which then triggers the
vmidField change callback which updates the selection model again,
and the circle starts again.
As this construct is rather confusing when looking first at the code
replace it with a temporary suspend of the change event during the
vmidField update.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Jos Ewert [Wed, 2 Nov 2016 23:18:37 +0000 (00:18 +0100)]
Add ECDH curves to use with modern ciphers
This patch adds curves to use with TLS_ECDHE_* ciphers
They will automatically be used be the proxy as they are
in the HIGH ciphersuite.
This patch uses the prime256v1 curve, which should be supported
by most clients. openssl 1.0.1 only supports a single curve.
This also forces the use of new DHE and ECDHE keys on every
handshake. This does not seem to have an impact on performance.
Signed-Off-By: Jos Ewert flami@flami.net
Dominik Csapak [Wed, 2 Nov 2016 15:57:13 +0000 (16:57 +0100)]
only allow integers in memoryfield
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 15:57:12 +0000 (16:57 +0100)]
add pveIntegerField and use it
this adds a subclass of Ext.form.field.Number with the settings for
Integers (allowDecimals: false and allowExponential: false and default
step size 1)
and use it where we only accept integers
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 15:57:11 +0000 (16:57 +0100)]
remove unnecessary onlineHelp property
we already defined it in the inputpanel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 15:57:10 +0000 (16:57 +0100)]
move onlineHelp into classes from definition
this patch moves the onlineHelp ids into the javascript classes, instead
of defining them where we use the classes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 11:50:42 +0000 (12:50 +0100)]
fix jslint errors in ha resources
also the correct value for haGroupSelector is [] not '',
with this, the reset button works correctly
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 11:50:41 +0000 (12:50 +0100)]
add lxc cpu and memory onlineHelp ids
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 2 Nov 2016 11:50:40 +0000 (12:50 +0100)]
correctly hide helpButton in wizard
the property is "listenToGlobalEvent" not "listenGlobalEvent"
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Wed, 2 Nov 2016 09:31:20 +0000 (10:31 +0100)]
forbid decimals and exponent in HA resource edit numberfields
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 2 Nov 2016 09:31:19 +0000 (10:31 +0100)]
add 'delete_if_default' helper and use it
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 31 Oct 2016 10:07:00 +0000 (11:07 +0100)]
add 'max_{relocate, restart}' fields to UI
The 'max_reloacte' and 'max_restart' properties can be set via CLI
and API for about a year, expose them to the user alsow via web
interface
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 31 Oct 2016 10:06:59 +0000 (11:06 +0100)]
remove unnecessary trigraph
values['delete'] is always empty here, plus the code was buggy for
the case that it wasn't:
values['delete'] = values['delete'] ? ',group' : 'group';
^^^
always overwrites values['delete'], even if not empty
So just drop it here.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Mon, 31 Oct 2016 11:10:11 +0000 (12:10 +0100)]
change ceph diskselector field to devpath
in the field 'devpath' we get the correct path of the device from
udevadm, so use it here
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 31 Oct 2016 11:10:10 +0000 (12:10 +0100)]
forbid decimals and exponent in lxc cores field
because we only accept integers here
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 31 Oct 2016 11:10:09 +0000 (12:10 +0100)]
show correct mouse cursor on help and settings button
this patch fixes that moving your mouse over the top help button or the
settings button, does not change your mouse cursor like on every other
link/button/etc
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Sat, 29 Oct 2016 13:12:20 +0000 (15:12 +0200)]
bump version to 4.3-10
Dietmar Maurer [Sat, 29 Oct 2016 09:05:16 +0000 (11:05 +0200)]
LXC GUI: Wizard now uses new 'cores' option instead of cpulimit
Dominik Csapak [Fri, 28 Oct 2016 11:11:48 +0000 (13:11 +0200)]
add cpu/memory usage, uptime to nodeview
this patch adds a custom progressbar widget which changes color,
depending on the value, and adds cpu/memory usage and uptime as columns
to the nodeview
altough those columns are missing in the model/api call, this works , because we
inject the data in our data collectin loop and having the fields not in
the model, causes the store not to overwrite them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:47 +0000 (13:11 +0200)]
adds the dc health, guest, resources to cluster dashboard
this adds the panels to the cluster dashboard
to get the values, we add a listener to the PVE.data.ResourceStore
and iterate over all elements, collecting the data
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:46 +0000 (13:11 +0200)]
change layout of dc summary and nodeview
this patch changes a few things:
* instead of having the nodeview in full size, it is just a panel in
the summary, similar to node/qemu/lxc summary
* creates the store in the summary component, and not in the nodeview,
because we need it later
* makes most of the config options of the nodeview declarative, gets
rid of the initcomponent
* changes the 'online' yes/no to a check/x
* makes the panel resizable with tools
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:45 +0000 (13:11 +0200)]
add guests panel
this adds a guests panel which will show the running/stopped/etc. guests
in the cluster dashboard
to update this, we have to call updateValues with the data
we do this, because in the component above, we will collect the data
after a load event of the PVE.data.Resources store, to avoid going
through this (sometimes large) list more than once
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:44 +0000 (13:11 +0200)]
add dc health panel
this adds a dc health panel which will be used in the cluster dashboard
it shows the overall cluster status (or simply ok if no cluster defined)
with a symbol and text
then it shows the number of online and offline nodes
optionally it shows then the overall ceph health
of the connected node
if the api call for ceph fails 3 times, we stop it
the ceph status is hidden by default
for updating the cluster and node status, we have to call
updateStatus as a callback from a store which
loads the /api2/json/cluster/status call
we do not have our own store for this, because we will be using the store
which handles this in the component above
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:43 +0000 (13:11 +0200)]
add some color definitions to css
this will be used throughout the cluster dashboard
for the font-awesome icons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:42 +0000 (13:11 +0200)]
add gaugeWidget
this adds a gaugeWidget panel, which will be used for the
cluster dashboard
it shows a title, a gauge (a half circle) with the percentage
in the center
over 59% the color is yellow,
over 89% the color is red
also you can add a text to the bottom
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 28 Oct 2016 11:11:41 +0000 (13:11 +0200)]
move dcNodeView into its own file
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Sat, 29 Oct 2016 05:52:58 +0000 (07:52 +0200)]
bump version to 4.3-9
Dietmar Maurer [Fri, 28 Oct 2016 15:50:13 +0000 (17:50 +0200)]
use new CpuSet::max_cpuid() helper
Emmanuel Kasper [Fri, 28 Oct 2016 08:56:40 +0000 (10:56 +0200)]
Fix #1186: do not run non installed commands
Conditionnally add commands which are not:
* Debian packages whith priority Essential or Important,
* a dependency of pve-manager
Dominik Csapak [Fri, 28 Oct 2016 08:05:52 +0000 (10:05 +0200)]
open my settings directly with click
instead of having a menu with one entry, directly open the my settings
window. also change the icon from a down caret to a gear, to make it
more visible
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 24 Oct 2016 11:54:01 +0000 (13:54 +0200)]
add 'my settings' to top bar
this adds a menu right to the username with an entry 'my settings',
this opens a window with (for now) browser specific settings
and a place to reset them
the plan would be to add password change, 2fa setup etc here
one remark: the reset layout button reloads the window,
to really apply the reset
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 24 Oct 2016 11:54:00 +0000 (13:54 +0200)]
make login user name saveable
this patch adds a checkbox to the login window,
which uses the localstorage to save the username
if one is saved, set the textfield and move focus
to the password field
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 25 Oct 2016 12:12:23 +0000 (14:12 +0200)]
show ha error state in tree and resource grid
with this patch, vms in an ha error state get an icon (reusing the node
offline icon) to indicate the error
in the resource grid, we also add the icon, and have an additional
column where we can display the ha state
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 28 Oct 2016 07:32:35 +0000 (09:32 +0200)]
code cleanup: avoid use of PVE::HA::Env (not necessary)
Dominik Csapak [Tue, 25 Oct 2016 12:12:22 +0000 (14:12 +0200)]
add hastate to /cluster/resources api call
this adds a hastate field to all vms/ct which have ha enabled
we will use this for showing the error state in the tree (in the webgui)
and for the cluster dashboard (to count the error state guests)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 28 Oct 2016 05:09:08 +0000 (07:09 +0200)]
rebalance_lxc_containers: nicer logs, improve hotplug
We also need to handle the case when someone removes the 'cores'
setting from a container.
Dietmar Maurer [Thu, 27 Oct 2016 10:34:03 +0000 (12:34 +0200)]
bump version to 4.3-8
Dietmar Maurer [Thu, 27 Oct 2016 10:08:11 +0000 (12:08 +0200)]
rebalance_lxc_containers: improve algorithm
This one avoids unnecessary cpuset changes (for example
when a guest is stopped).
Dietmar Maurer [Thu, 27 Oct 2016 07:08:38 +0000 (09:08 +0200)]
rebalance_lxc_containers: use cores instead of cpulimit
Dietmar Maurer [Wed, 26 Oct 2016 13:58:23 +0000 (15:58 +0200)]
pvestatd: log warnings to syslog
Dietmar Maurer [Wed, 26 Oct 2016 13:47:08 +0000 (15:47 +0200)]
rebalance_lxc_containers: do not use vmstatus, call from updata_status
Simply use PVE::LXC::config_list() and test if there is a cgroup.
Dietmar Maurer [Wed, 26 Oct 2016 10:55:58 +0000 (12:55 +0200)]
rebalance_lxc_containers: use persistent container ordering
Dietmar Maurer [Wed, 26 Oct 2016 10:00:13 +0000 (12:00 +0200)]
pvestatd: add simple container cpuset balancing
Fabian Grünbichler [Fri, 21 Oct 2016 10:44:43 +0000 (12:44 +0200)]
bump version to 4.3-7
Fabian Grünbichler [Fri, 21 Oct 2016 06:47:45 +0000 (08:47 +0200)]
bump version to 4.3-6
Dominik Csapak [Thu, 20 Oct 2016 11:51:43 +0000 (13:51 +0200)]
fix #1175: make error messages more verbose
the error messages for several input fields (e.g. snapshot name)
did not correctly reflect the regex which was checked
this patch adds additional information about the required format
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Emmanuel Kasper [Wed, 19 Oct 2016 12:17:45 +0000 (14:17 +0200)]
Add onlineHelp
Emmanuel Kasper [Wed, 19 Oct 2016 12:17:44 +0000 (14:17 +0200)]
Use enable as adjective to match the Resource List panel
Since we describe a resource state, an adjective is also here a better match.
Emmanuel Kasper [Wed, 19 Oct 2016 12:17:43 +0000 (14:17 +0200)]
Close #1161: add hint when disabling a ha resource
Disabling a HA resource/service means that this
ressource will always be turned off.
However some users though this disabling HA management
for this VM, see
http://pve.proxmox.com/pipermail/pve-user/2016-October/011024.html
so we had a hint after clicking on the 'disable' checkbox, that
the checkbox is meant for shutdown
Emmanuel Kasper [Wed, 19 Oct 2016 12:17:42 +0000 (14:17 +0200)]
Move out custom css style for hints in css class and use it
Dominik Csapak [Wed, 12 Oct 2016 10:04:36 +0000 (12:04 +0200)]
fix 'NaN%' when max value is 0
when we get a max value of 0
(for example when a storage is not active)
the render function would show:
'NaN% (0B of 0B)'
because of a division by 0
this patch simply returns 'N/A' because
a max value of 0 should never be valid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Emmanuel Kasper [Tue, 18 Oct 2016 10:13:56 +0000 (12:13 +0200)]
Move globally defined regexpes into PVE.Utils
Those globally defined regexpes were only used in Toolkit.js
Emmanuel Kasper [Tue, 18 Oct 2016 10:13:55 +0000 (12:13 +0200)]
Turn PVE.Utils into a singleton
This will allow us to add contructed values ( regexp a = stringA + stringB )
into the constructor.
Access to the PVE.Utils properties and methods stays the same.
Fabian Grünbichler [Mon, 17 Oct 2016 08:14:22 +0000 (10:14 +0200)]
restrict vzdump cron options
modeled after the VZDump API path, but since we are
restricted to Sys.Modify users already, we only need to
restrict these three options.
Dietmar Maurer [Fri, 14 Oct 2016 07:02:07 +0000 (09:02 +0200)]
bump version to 4.3-5