[pve-devel] [PATCH manager 00/17] gui storage and other improvements

Dominik Csapak d.csapak at proxmox.com
Wed Jul 19 15:45:12 CEST 2017


this series does a few things:
(i did not split it up, because the hunks are near each other,
and then only the first applied series would work or none at all)

patches 01/17 - 03/17 are for preparing to resolve a cyclic dependency
in pve-access-control

patches 04/17 - 12/17 are for getting the storage type information
from the backend instead of hardcoding values in the frontend
(with one exception for lxc mountpoints)

patches 13/17 - 15/17 are for hiding several buttons and entries
when not needed (e.g. start/stop buttons for templates)

patch 16/17 and 17/17 are seperate but touch code near the
other patches

@Emmanuel - could you please take a look at the extjs patches?

Dominik Csapak (17):
  copy api permission calculation to /version api call
  get the api permissions info from /version
  whitespace cleanup
  get storage type info in /version api call
  get storage info from /version api call in gui
  add new DiskStorageSelector.js
  move lxc mountpoint edit from ResourceEdit.js to MPEdit.js
  use DiskStorageSelector in qemu/HDEdit.js
  use DiskStorageSelector in qemu/HDEfi.js
  use DiskStorageSelector in qemu/Clone.js
  use DiskStorageSelector in qemu/HDMove.js
  use DiskStorageSelector in lxc/MPEdit.js
  hide not usable buttons for qemu
  hide migrate button in lxc for non cluster setups
  hide migrate in contextmenu when no cluster or no rights
  disable discard for non-scsi disks
  fix #1358: add clustername to datacenter element in tree

 PVE/API2.pm                              | 118 ++++++++-
 www/manager6/Makefile                    |   2 +
 www/manager6/Utils.js                    |  55 +++++
 www/manager6/Workspace.js                |  17 +-
 www/manager6/form/DiskStorageSelector.js | 109 +++++++++
 www/manager6/lxc/CmdMenu.js              |   9 +-
 www/manager6/lxc/Config.js               |   1 +
 www/manager6/lxc/MPEdit.js               | 340 ++++++++++++++++++++++++++
 www/manager6/lxc/ResourceEdit.js         | 395 -------------------------------
 www/manager6/qemu/Clone.js               |  70 +-----
 www/manager6/qemu/CmdMenu.js             |   3 +-
 www/manager6/qemu/Config.js              |  10 +-
 www/manager6/qemu/HDEdit.js              |  85 +------
 www/manager6/qemu/HDEfi.js               |  67 +-----
 www/manager6/qemu/HDMove.js              |  55 +----
 www/manager6/tree/ResourceTree.js        |   8 +
 16 files changed, 688 insertions(+), 656 deletions(-)
 create mode 100644 www/manager6/form/DiskStorageSelector.js
 create mode 100644 www/manager6/lxc/MPEdit.js

-- 
2.11.0





More information about the pve-devel mailing list