[pmg-devel] [PATCH pmg-gui 0/4] low-hanging improvments for the quarantine interface

Stoiko Ivanov s.ivanov at proxmox.com
Thu Oct 20 21:14:56 CEST 2022


A few bugzilla entries ask for features in the quarantine interface that
seem quite sensible (e.g. #4137), or are already present in the (by far
more used) spamquarantine, but never made it to the others.

This patchset contains a single small fix, and a refactoring of the
quarantine views to use the same controller.

Would be grateful for feedback

Stoiko Ivanov (4):
  fix #4137: display receiver in attachment/virus quarantine
  quarantine: contextmenu: refactor for use in other quarantines
  quarantine: add common controller for all quarantines
  quarantine: move all quarantines to the new controller

 js/AttachmentQuarantine.js            | 117 +++++------
 js/Makefile                           |   2 +
 js/QuarantineContextMenu.js           |  32 +++
 js/SpamContextMenu.js                 |  14 +-
 js/SpamQuarantine.js                  | 290 +++++++++-----------------
 js/Utils.js                           |  23 +-
 js/VirusQuarantine.js                 |  90 ++------
 js/controller/QuarantineController.js | 170 +++++++++++++++
 8 files changed, 391 insertions(+), 347 deletions(-)
 create mode 100644 js/QuarantineContextMenu.js
 create mode 100644 js/controller/QuarantineController.js

-- 
2.30.2





More information about the pmg-devel mailing list