Go to file
Thomas Lamprecht 8f60ee4cca ui: add storage plugin base class
This removes *a lot* of code duplication.

I add a base class for the storage edit window and for its containing
input panel, they implement the shared stuff. Especially the window
was mostly a 1:1 copy...

I look hard for a way to split up this patch, but I did not really
found one which would not generate a lot of work for no value added
(value being 'revertability' and better git history here).
nd actually not too much happens, the same thing happens just over
and over again.
Thus, I've thrown in the dynamic creation of the storage add menu
items here too.

I remove all storage specific Edit windows, they where all just >95%
duplicates of each other.
Special functionallity, i.e. some data deletion/transforming before
submitting gets done with onGetValues.

For the RBD external vs PVE plugin I just added a minimal child class
to RBD which only tells it'S parent that it is the pve one, this is
nice for the mapping and should be easy to understand when reading
the code.

Tried to test an add and an edit of all visible storage plugins,
seems to be OK now.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-28 13:19:41 +02:00
aplinfo update aplinfo.dat 2017-07-04 08:17:45 +02:00
bin pve-daily-update.service: add Wants/After for pve-cluster.service 2018-03-23 11:52:42 +01:00
debian bump version to 5.1-48 2018-03-22 09:45:30 +01:00
PVE Report: add info about PCI devices 2018-03-22 09:03:48 +01:00
www ui: add storage plugin base class 2018-03-28 13:19:41 +02:00
.gitignore add .gitignore files, fix Makefiles 2011-08-23 16:23:46 +02:00
bridgevlan bridgevlan: cleanup, remove useless case statement 2015-09-16 10:46:29 +02:00
bridgevlanport bridgevlanport: replace sed pipe with substitution 2015-08-11 10:26:35 +02:00
country.pl removed automake/autoconf, removed unused files 2011-08-23 16:11:04 +02:00
defines.mk bump version to 5.1-48 2018-03-22 09:45:30 +01:00
Makefile build: use git rev-parse for GITVERSION 2018-03-13 11:06:12 +01:00
mtu add mtu support for manual interfaces 2013-12-31 10:15:31 +01:00
pve-apt.conf Do not use a hardcoded Certificate Authority for https repositories 2016-08-17 12:35:16 +02:00
pve-blacklist.conf fix bug #701: blacklist nvidiafb 2015-09-06 10:56:17 +02:00
pve-initramfs.conf add initramfs conf snippet disabling RESUME 2017-06-22 12:23:01 +02:00
pve-sources.list use new repository URL 2017-03-22 08:23:23 +01:00
repoid.pl use return instead of next 2011-09-21 12:24:40 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vlan add vlan aware ifupdown script v3 2015-07-29 06:46:16 +02:00
vlan-down add vlan aware ifupdown script v3 2015-07-29 06:46:16 +02:00
vzdump-hook-script.pl Whitespace cleanup 2018-03-09 17:11:23 +01:00
vzdump.conf update default vzdump.conf 2016-05-03 06:58:49 +02:00