From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 634891FF183 for ; Wed, 24 Sep 2025 09:12:50 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D2C401D6BD; Wed, 24 Sep 2025 09:13:19 +0200 (CEST) From: Hannes Laimer To: pmg-devel@lists.proxmox.com Date: Wed, 24 Sep 2025 09:13:12 +0200 Message-ID: <20250924071314.41917-1-h.laimer@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1758697983900 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.045 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [postfix.pm, proxmox.com] Subject: [pmg-devel] [PATCH pmg-api/pmg-gui v3 0/2] fix #3450: batch deletion/delivery for postfix queue X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" 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 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel