2358 Commits

Author SHA1 Message Date
Dominik Csapak
8cf53ea659 make viewselector stateful
to save the view across browser refresh/sessions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 16:33:59 +02:00
Dominik Csapak
29aedb75d6 make containerviewport stateful
with this patch, the split view saves its state
in the local storage, so that users don't lose this
after a refresh or even a new browser session
(only when they change browser/workstation)

if the window resizes (or refreshes),
the left/bottom panel gets resized to a sane width/height
in case this would be bigger than the viewport
to avoid an unusable interface

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 16:33:38 +02:00
Dietmar Maurer
68084386bb bump version to 2.4-15 2016-06-16 10:59:03 +02:00
Dominik Csapak
f48141d7c2 remove unnecessary information from lxc templates
as with vm templates, restyle the summary panel
for lxc templates

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 10:53:54 +02:00
Dominik Csapak
6aafa47e2b change bodystyle to bodypadding
use the shortcut for padding,
same as everywhere else

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 10:53:09 +02:00
Dominik Csapak
a4d292d9da remove unnecessary information on template summary
since most of the information on the summary page is
irrelevant for templates (e.g. status,ha,using memory,graphs, etc),
we only show just the information which is available and helpful

since we then have the vertical space, we move the notes panel
below the statuspanel, to allow visually more space for the description
(which makes sense for a template)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-15 16:39:11 +02:00
Dominik Csapak
688677441d move notepanel padding out of the class
it makes more sense to define the padding in context,
rather than directly in the component

especially if we want to use this panel elsewhere in the future

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-15 16:37:45 +02:00
Dominik Csapak
5240a1a390 add 'edit' tool to notes panel
this adds a tool to the note panel to edit it,
this is clearer than just double clicking the notes field
(also makes it easier on tablets)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-15 16:35:04 +02:00
Dominik Csapak
9038682fed add a 'bootdisk size' entry to the status view
to show the size of the current bootdisk of the vm/container

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-15 16:25:38 +02:00
Dominik Csapak
ac4905b2c9 remove RAM column from lxc snapshottree (temporarily)
since we cannot save the ram state for lxc containers currently,
it makes no sense to display a column, where every entry is 'no'

i left it there but commented it out, so that when we implement it,
we just have to reenable the column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-15 16:24:49 +02:00
Dietmar Maurer
19bfb364c6 bump version to 4.2-14 2016-06-14 12:21:36 +02:00
Emmanuel Kasper
80e51f7ee6 Add a toplevel pointer to the PVE admin guide
Since the Admin Guide is now delivered with each standard
PVE installation, link it from the support tab

Initial idea was to include the chapters list in the panel itself
but a simple link renders better because:
* linking to toplevel allows to show that pdf and epub are also
available
* the chapter list is long and would need scrolling on laptop displays
* since a click opens the documentation in another tab, table of content
and content would be in two different tabs, which is not intuitive
2016-06-14 12:20:46 +02:00
Emmanuel Kasper
de38208467 Add Help buttons for three more Qemu Panels 2016-06-14 12:20:38 +02:00
Dietmar Maurer
eabb54735c bump version to 4.2-13 2016-06-10 15:34:51 +02:00
Dietmar Maurer
7aa0353ea6 revert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461
ceph 'infernalis' and 'jewel' still not work 100%, so
disable that until it runs really stable.
2016-06-10 15:31:19 +02:00
Dominik Csapak
91535f2ba7 htmlEncode some comment fields
this adds Ext.String.htmlEncode as renderer
for some comment/description fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-09 17:40:03 +02:00
Dietmar Maurer
17325396e3 pveceph install: run apt-get interactive
It is sometime necessary to answer questions.
2016-06-09 10:01:58 +02:00
Wolfgang Link
ccc7ad4b47 Extend the Ceph featuring version Infernalis and Hammer. 2016-06-09 07:28:16 +02:00
Wolfgang Link
1aecf972bc Add check if ceph is managed by systemd
Ceph is managed since version infernalis by systemd and use
ceph as user and group.
2016-06-09 07:28:16 +02:00
Wolfgang Bumiller
93363a1128 Fix #191: acl: honor propagate checkbox 2016-06-08 16:39:46 +02:00
Dietmar Maurer
55c39f6909 bump version to 4.2-12 2016-06-08 12:46:23 +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
Fabian Grünbichler
e42ae622cc fix #1005: don't exclude /var/log/?* with stdexcludes
the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.
2016-06-08 12:34:04 +02:00
Wolfgang Bumiller
ef456bd0b0 Remove IPv4 netmask check 2016-06-06 14:50:25 +02:00
Wolfgang Bumiller
403761c43e Fix #1015: vzdump: send email on early errors
VZDump->new() dies when a tmpdir or dumpdir is configured
but does not exist. At this point the error is not being
reported via email.

This also moves the instantiation of VZDump into the worker
since new() can now call sendmail() on error.

Additionally rather than only showing a single error if both
tmpdir and dumpdir don't exist, both are included in the
message.
2016-06-06 13:38:35 +02:00
Dietmar Maurer
2f85c89882 bump version to 4.2-11 2016-06-03 12:12:44 +02:00
Fabian Grünbichler
7619e4dd31 add vzdump/extractconfig API path 2016-06-03 12:11:14 +02:00
Dietmar Maurer
b8571c2958 remove old www/manager dir 2016-06-02 16:54:32 +02:00
Dominik Csapak
8748401747 disable animation of charts on load
this enables the animation of the chart after it
finished loading, to avoid the initial zoom

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-02 16:36:33 +02:00
Dietmar Maurer
e99ef329e2 bump version to 4.2-10 2016-06-02 10:01:56 +02:00
Dietmar Maurer
6e8e14eb48 node GUI: move status into column layout 2016-06-02 07:59:52 +02:00
Dietmar Maurer
64ff6a1920 GUI: move status into column layout 2016-06-02 07:21:57 +02:00
Dominik Csapak
d49b640b6c make the graphs on the summary pages use empty space
this patch lets the graphs flow if you have enough
horizontal space

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-02 06:26:06 +02:00
Dominik Csapak
e008e6e44f check if tabs exist before selecting them
when switching from a vm to a template, if you
have a tab selected which does not exists in a template
(for example console or task history) you break
the site

this patch checks if the wanted tab actually exists,
and leave it on default (the first) when it does not

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-02 06:24:48 +02:00
Dominik Csapak
ab5022deb4 fix jslint errors
jslint does not like mixing statements and function calls

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-01 16:47:32 +02:00
Dominik Csapak
4a01bc8345 hide snapshot tab with qemu templates
since we cannot create templates with existing snapshots,
and we cannot take snapshots of templates, showing
the tab on templates makes no sense

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-01 16:46:41 +02:00
Dietmar Maurer
18fc8027ee bump version to 4.2-9 2016-06-01 12:54:11 +02:00
Emmanuel Kasper
e9ee100696 Add support for Help Button in Edit windows 2016-06-01 12:42:36 +02:00
Emmanuel Kasper
8aa37826e7 Add online help for some complex Qemu InputPanels 2016-06-01 12:39:11 +02:00
Emmanuel Kasper
285403bf62 Add custom syle to pveHelpButton
Next / OK are already displayed in blue, which is the 'call-to-action'
color we use everywhere.
To prevent stealing attention from these buttons, switch help button
to grey
2016-06-01 12:38:29 +02:00
Emmanuel Kasper
84bfba3e28 Add support for onlineHelp in Creation Wizard
Inside a wizard, switching to a new tab will fire
the 'activate' event to the new tab, causing
the inputPanel of this tab to display its help in
the wizard window.
2016-06-01 12:32:23 +02:00
Emmanuel Kasper
ecbca6c4c0 Add help button for PVE
This help button is meant to be added on InputPanels, where a
link to an online documentation chapter or subschapter is available.

Clicking on the help button will open the help in a new
browser tab.

Original idea similar to the pfSense GUI.
2016-06-01 12:30:25 +02:00
Dominik Csapak
cc1a91be71 fix right click selection in tree
in my commit 685b7aa4c595b9e98de5acbfc853908e88ee26f2
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
Dietmar Maurer
897e77907c bump version to 4.2-8 2016-05-25 10:00:45 +02:00
Dietmar Maurer
ccccbf3fdb simplify/optimize code 2016-05-25 09:59:25 +02:00
Dietmar Maurer
d5d08d2aca depend on pve-docs package
and serve documentation files with pveproxy:

https://<HOST>:8006/pve-docs/index.html
2016-05-25 09:41:46 +02:00
Dietmar Maurer
6c012815ef bump version to 4.2-7 2016-05-23 09:42:51 +02:00
Thomas Lamprecht
f014da61c5 Status: report errors on socket creation problems
If the socket couldn't be created (e.g. FQDN not resolvable) we
continued witouth any hint, when actualy writing the data we then
die'd. The user then does not really know why, so report errors
if the socket creation failed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-05-23 09:17:42 +02:00
Thomas Lamprecht
4caf47e9e2 Status: allow IPs and move properties to base class
We only allowed servers with the dns-name format, as such status
server may often be in internal networks and with no hostname
(testing, small network so no dns, ...) do not limit the
configuration possibilities with no reason.

Also move the base property part to the base Status class, all
current plugins use server and port so no need for double
declaration of format/descriptions.

If a future plugin doesn't need them it can omit them by not
returning the respective properties in the options method
inherited by SectionConfig.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-05-23 09:16:33 +02:00