[pve-devel] [PATCH manager v2 0/4] ui: refactor storage plugins add/create

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 27 14:19:42 CEST 2018


changes v1 -> v2:
* 3/4 is new and solves a problem with the StorageEdit controller on block
  based storages
* remove 'controller' usages from child storage plugins, they get it from
  the base class
* no ECMAScript 6 arrow functions anymore :(
* make jslint shut up about our for .. in, this exact one just needs no
  filtering

cheers,

Thomas Lamprecht (4):
  ui/Utils: do not create non-standard console.dir fallback
  ui/Utils: add storage schema
  controller: StorageEdit: check if 'maxfiles' could be looked up
  ui: add storage plugin base class

 www/manager6/Makefile                  |   1 +
 www/manager6/Utils.js                  | 112 +++++++++++++------
 www/manager6/controller/StorageEdit.js |   3 +
 www/manager6/dc/StorageView.js         | 196 ++++++++-------------------------
 www/manager6/storage/Base.js           | 105 ++++++++++++++++++
 www/manager6/storage/CIFSEdit.js       |  90 +--------------
 www/manager6/storage/DirEdit.js        |  95 +---------------
 www/manager6/storage/GlusterFsEdit.js  |  91 +--------------
 www/manager6/storage/IScsiEdit.js      |  92 +---------------
 www/manager6/storage/LVMEdit.js        |  93 +---------------
 www/manager6/storage/LvmThinEdit.js    |  96 +---------------
 www/manager6/storage/NFSEdit.js        |  83 +-------------
 www/manager6/storage/RBDEdit.js        |  99 +----------------
 www/manager6/storage/SheepdogEdit.js   |  87 +--------------
 www/manager6/storage/ZFSEdit.js        |  87 ++-------------
 www/manager6/storage/ZFSPoolEdit.js    |  95 +---------------
 16 files changed, 265 insertions(+), 1160 deletions(-)
 create mode 100644 www/manager6/storage/Base.js

-- 
2.14.2





More information about the pve-devel mailing list