[pbs-devel] [PATCH widget-toolkit/proxmox-backup] improve Administration/Task panel

Dominik Csapak d.csapak at proxmox.com
Fri Oct 30 15:02:08 CET 2020


this series extends the node/tasks api call with several new filters,
and adds a new task panel to the ui that makes use of these filters

the type selector will show all tasks in the current Proxmox.Utils object,
so this will work best when [0] is applied

0: https://lists.proxmox.com/pipermail/pve-devel/2020-October/045730.html

proxmox-widget-toolkit:

Dominik Csapak (1):
  add form/TaskTypeSelector

 src/Makefile                 |  1 +
 src/form/TaskTypeSelector.js | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 src/form/TaskTypeSelector.js

proxmox-backup:

Dominik Csapak (6):
  server/worker_task: add tasktype to return the api type of a taskstate
  api2/node/tasks: change limit behaviour when it is 0
  api2/node/tasks: add optional since/typefilter/statusfilter
  api2/status: remove list_task api call
  api2/node/tasks: add optional until filter
  ui: add panel/Tasks and use it for the node tasks

 src/api2/node/tasks.rs       |  67 ++++++-
 src/api2/status.rs           |  99 ----------
 src/server/worker_task.rs    |  11 +-
 www/Dashboard.js             |   3 +-
 www/Makefile                 |   1 +
 www/ServerAdministration.js  |   2 +-
 www/dashboard/TaskSummary.js |   3 +-
 www/panel/Tasks.js           | 362 +++++++++++++++++++++++++++++++++++
 8 files changed, 438 insertions(+), 110 deletions(-)
 create mode 100644 www/panel/Tasks.js

-- 
2.20.1






More information about the pbs-devel mailing list