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 EE9C81FF13B for ; Mon, 08 Jun 2026 08:58:10 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 394A813D70; Mon, 8 Jun 2026 08:58:09 +0200 (CEST) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Subject: [PATCH pmg-api/pmg-docs/pmg-gui 0/5] add optional consent-banner to be shown before login Date: Mon, 8 Jun 2026 08:56:18 +0200 Message-ID: <20260608065653.624545-1-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1780901809371 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.086 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 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. [proxmox.com,pmgproxy.pm,config.pm,html.tt] Message-ID-Hash: WT755KZJU6GL6INIHYMMIS5AFF2HZGN2 X-Message-ID-Hash: WT755KZJU6GL6INIHYMMIS5AFF2HZGN2 X-MailFrom: s.ivanov@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The idea is taken, and the code mostly copied from PVE, where this was added to address: https://bugzilla.proxmox.com/show_bug.cgi?id=5463 pmg-docs: Stoiko Ivanov (1): pmgconfig: add short documentation of the consent banner pmgconfig.adoc | 7 +++++++ 1 file changed, 7 insertions(+) pmg-api: Stoiko Ivanov (2): config: add consent-text key pmgproxy: pass consent-text as template variable to index src/PMG/Config.pm | 7 +++++++ src/PMG/Service/pmgproxy.pm | 2 ++ 2 files changed, 9 insertions(+) pmg-gui: Stoiko Ivanov (2): login: show optional consent-banner before login system options: add online help link for consent banner js/LoginView.js | 11 +++++++++++ js/SystemOptions.js | 8 ++++++++ pmg-index.html.tt | 1 + 3 files changed, 20 insertions(+) Summary over all repositories: 6 files changed, 36 insertions(+), 0 deletions(-) -- Generated by murpp 0.12.0