Commit Graph

3664 Commits

Author SHA1 Message Date
Dominik Csapak
7daa19ff2e dc/user: render user fullnames htmlEncoded
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-22 08:57:42 +02:00
Fabian Grünbichler
7f4d4526f2 build: use pve-doc-generator to verify API
and move API verification to 'check' target, where it belongs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
c436a4baa6 build: use pve-doc-generator for bash-completion
and bump build-depends accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
6d1115f2a8 build: set PERL_DOC_INC_DIRS
this allows correct builds without pve-manager installed, with a clean
fall-back to the old behaviour in case pve-doc-generator is too old.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
fb992042c6 build: pull REPOID into top-level Makefile
otherwise it is missing when building in a clean chroot via a generated
source packages.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
1b9008bff2 build: cleanup file generation
should happen in the default 'all' target, not in 'install'.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:15:41 +02:00
Tim Marx
3b2e557ff9 close #584: ui qemu: changed remove unused disk to asynchron call
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-10-18 13:26:15 +02:00
Thomas Lamprecht
76dbbe3596 d/control: add lintian to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 10:07:23 +02:00
Thomas Lamprecht
6f21b3fa6f d/control: add libapt-pkg-perl also to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 08:00:59 +02:00
Rhonda D'Vine
deec61be05 Completing Build-Depends
These were the missing Build-Depends that were needed in building this
package.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-10-17 07:56:32 +02:00
Rhonda D'Vine
5878f07454 Update default CIPHERS to a more current list
The default CIPHERS allowed for a fair amount of not really considered
secure anymore connections.  This updated cipher list is taken from
mozilla: https://wiki.mozilla.org/Security/Server_Side_TLS

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-10-17 07:56:32 +02:00
Thomas Lamprecht
3a8d2854bb bump version to 5.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-16 11:57:20 +02:00
Dietmar Maurer
ddc9c56c4d pvesh: fix bug #1942 - add standard options conditional
Do not add/extract standard options if the method itself defined properties
using the same names (like 'quiet').

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2018-10-16 11:41:26 +02:00
Thomas Lamprecht
8a4cdec509 d/control: bump version dependency for libpve-common-perl
to ensure we have the /etc/hosts inotify read/write, needed for it's
gui part, methods available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-08 14:16:14 +02:00
Dietmar Maurer
930d267849 use 'die' instead of 'raise_param_exc'
Because there is not 'config' parameter.
2018-10-08 13:32:03 +02:00
Alexandre Derumier
cacd7547ad API2 : Network : add network config reload
This add a new api to online reload networking configuration
with ifupdown2.

This work with native ifupdown2 modules, as ifupdown2 have
interface dependency relationships.

Some specific interfaces options can't be reloaded online
(because kernel don't implement it), it this case, we ifdown/ifup
theses interfaces. (mainly vxlan interfaces options)
2018-10-08 13:32:03 +02:00
Dominik Csapak
70793a32a2 gui: dc/Tasks.js fix indentation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-10-05 11:47:40 +02:00
Dominik Csapak
9d8d96c675 gui: dc/Tasks.js fix trailing whitespace
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-10-05 11:47:40 +02:00
Dominik Csapak
c88170a478 make /etc/hosts editable via gui
with adding the NodeHostsView to the node tabs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:50:33 +02:00
Dominik Csapak
820d0458e7 add /node/{NODE}/hosts API Call
to get and set the content of /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:47:03 +02:00
Thomas Lamprecht
2e6bf499b4 bump version to 5.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-13 11:43:59 +02:00
Thomas Lamprecht
afc845791c ui: form/VMSelector: use SIMPLE mode for guest checkbox model
Switch the default mode 'MULTI' with 'SIMPLE', the same we use in the
dc/Backup guest selector. It allows to remove the 'checkOnly'
setting, which limited selection and deselection of elements on the
checkbox it self, doing nothing when clicking on rows.

Besides the friendlier and more streamlined UX this actually fixes a
bug in Firefox (confirmed in version 62, possible in other versions
too) where select/deselect di not worked when clicking in the white
area of the checkbox, but only when clicking on the surrounding
padding.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-11 10:25:02 +02:00
Thomas Lamprecht
6e5711db64 ui: window/BulkAction: remove double '/' in api URL
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-11 09:42:46 +02:00
Fabian Grünbichler
85e6b368d1 switch MP selector to integer input
instead of combobox - 256 elements are too much.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-11 07:55:28 +02:00
Fabian Grünbichler
483bd394f8 fix #1897: bump max number of mountpoints to 256
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-11 07:55:28 +02:00
Thomas Lamprecht
d12a849ffe d/control: update build dependencies
helpful for easier bootstrapping PVE, e.g., on buster.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-06 06:37:52 +02:00
Alexandre Derumier
7dc494ab48 cpumodelselector : add EPYC
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-04 11:36:36 +02:00
Wolfgang Link
29f633a8b1 pveceph: remove 'btrfs' as fstype for new OSDs
btrfs is deprecated since Luminous and it will no more be tested.

If btrfs is used, you have to add an extra parameter to ceph.conf
to allow ceph-disk to activate btrfs OSD's.
In our default config this is not the case.

From Luminous release note [1]:

"We no longer test the FileStore ceph-osd backend in combination with
btrfs. We recommend against using btrfs. If you are using
btrfs-based OSDs and want to upgrade to luminous you will need to
add the follwing to your ceph.conf:

enable experimental unrecoverable data corrupting features = btrfs
The code is mature and unlikely to change, but we are only
continuing to test the Jewel stable branch against btrfs. We
recommend moving these OSDs to FileStore with XFS or BlueStore."

[1] https://ceph.com/releases/v12-2-0-luminous-released/
2018-08-31 08:15:43 +02:00
David Limbeck
cdf5bec2c9 fix #1884: vm/hardware: ensure correct value on pending changes
e.g., pending deletion of cdrom/dvd drive showed as hard disk in
hardware tab

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-24 11:24:38 +02:00
Dominik Csapak
a108c35aaa gui: allow whitespace in mp paths
we do all necessary checks in the backend, and there we allow
whitespace in mp paths, so there is no need to restrict it in
the gui to non-whitespace characters

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-22 11:15:53 +02:00
Thomas Lamprecht
c39d63a512 bump version to 5.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-20 15:12:23 +02:00
David Limbeck
eb273d60e5 fix #1872 Move button stays on the screen after closing 2018-08-20 14:42:27 +02:00
Dominik Csapak
47f8655333 fixe return values in /cluster/resources
openvz is deprecated but can still be a return value
maxcpu can be a real number (e.g., for CT if cpulimit is 1.5 and
cores is not set), and may not be an integer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-20 11:31:53 +02:00
Dominik Csapak
f4aa76c549 fix #1393: use language from datacenter.cfg for gui
if we do not have a language cookie, try to read
the language from the datacenter.cfg and fall back to 'en'

also set it into the 'Proxmox' object, so that the gui can show it
in the LoginWindow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-17 11:01:44 +02:00
Dominik Csapak
03bb5ce933 gui: zfs over iscsi: only allow inputs that are relevant
some options are only relevant for some iscsi providers
so only allow thos who are relevant to the selected provider
and rename LIO target portal group to 'Target portal group'
since it is only active when lio is chosen

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-13 09:01:23 +02:00
Dominik Csapak
73981e3937 fix #1828: check if targetnode exists before starting mass migration
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-13 09:00:54 +02:00
Dominik Csapak
f464823a6f fix #1837: reorganize ha panel
since the whole panel was scrollable instead of the individual ones,
selecting a ha service triggered the 'jump to focus' which made it
hard (if not impossible) to reach the edit/remove buttons for it

this patch reorganizes the panels in such a way that the status
panel is fixed height, and the content of the resource panel is
scrollable (always showing the edit/remove buttons)

to avoid not seeing the resources when one has a large number of
nodes, we make the individual panels collapsible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-09 07:36:37 +02:00
Dominik Csapak
f04e415b5e add 'single' type for zfs creation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 12:03:04 +02:00
Dominik Csapak
fee716d32b add ZFS list/detail/create gui
list shows zpools only, with detail the user can see
the status of the indiviual vdevs/mirrors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 08:14:06 +02:00
Dominik Csapak
705edf4154 fix onlineHelp links for diskmanagement
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 08:12:14 +02:00
Dietmar Maurer
ae7aa09d60 pveam update: add empty properties definition
To avoid warnings about undef value in RESTHandler.
2018-08-07 11:31:20 +02:00
Thomas Lamprecht
af0aca8874 ui: storage: do not allow empty TPG if LIO is selected
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 18:25:56 +02:00
Thomas Lamprecht
b4659733b0 ui: storage: add enable/hide logic for LIO TPG field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 18:21:50 +02:00
Udo Rader
209923b3f1 ui: storage: Linux LIO/targetcli support
adding LIO option and dedicated "LIO target portal group" input field to the
"Add: ZFS via iSCSI" dialog

Signed-Off-By: Udo Rader <udo.rader@bestsolution.at>
2018-08-02 18:21:37 +02:00
Stoiko Ivanov
1662ccdbfd ui/qemu: Extend Qemu Guest agent
Change to agent now being a property_string, and including  fstrim_cloned_disks.

Co-Authored-By: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-08-02 16:20:12 +02:00
Thomas Lamprecht
8007aaaf87 ui/Parser: printPropertyString: simplify and always put defaultKey values first
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 16:20:12 +02:00
Thomas Lamprecht
9bbdcdff03 ui/Parser: parsePropertyString: log errors to console
allows to catch bugs faster as we get a call trace and may see this
error even when our caller doesn't handle an undefined return value
from this method.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 16:20:12 +02:00
Stoiko Ivanov
3d6189d304 ui/Parser: add generic functions property_strings
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-08-02 16:01:12 +02:00
Dominik Csapak
6ac4621119 add Directory list/create gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:42:17 +02:00
Dominik Csapak
64f9c6d60c add LVMThin list/create gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:42:04 +02:00