[pmg-devel] [PATCH pmg-api/pmg-gui v3 0/2] fix #3450: batch deletion/delivery for postfix queue

Hannes Laimer h.laimer at proxmox.com
Wed Sep 24 09:13:12 CEST 2025


Adds a new POST endpoint that accepts both a type(delete/deliver) and a
list of id's. This is also how batch operations are done for quarantine.

https://bugzilla.proxmox.com/show_bug.cgi?id=3450

v3, thanks @Thomas:
 - code cleanup
 - add more context to commit messages
 - remove not needed checks when passing a list of ids to `postsuper -d -`
 - ui: use INFO instead of WARNING confirm popup, same as we do for quarantine
 - ui: no confirmation for flush of single mails, so existing behaviour of the
   button does not change

v2:
 - instead of 'filter' use the IDs directly
 - UI now doesn't have extra buttons, the existing Remove and Flush ones
   will just work with either one or multiple selected items

pmg-api:

Hannes Laimer (1):
  fix #3450: api: queue: add POST endpoint for batch deletion/delivery

 src/PMG/API2/Postfix.pm | 40 ++++++++++++++++++++++++++++++++++++++++
 src/PMG/Postfix.pm      | 24 ++++++++++++++++++++++++
 2 files changed, 64 insertions(+)


pmg-gui:

Hannes Laimer (1):
  fix #3450: ui: queue: multi-select for item deletion/delivery

 js/PostfixMailQueue.js | 100 ++++++++++++++++++++++++++++-------------
 1 file changed, 68 insertions(+), 32 deletions(-)


Summary over all repositories:
  3 files changed, 132 insertions(+), 32 deletions(-)

-- 
Generated by git-murpp 0.8.1




More information about the pmg-devel mailing list