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 3849D1FF13A for ; Wed, 29 Apr 2026 16:10:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 177C7FD73; Wed, 29 Apr 2026 16:10:24 +0200 (CEST) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox-backup 5/6] ui: add strict-encryption-mode to SyncJobEdit window Date: Wed, 29 Apr 2026 16:09:26 +0200 Message-ID: <20260429140941.3537494-6-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260429140941.3537494-1-f.gruenbichler@proxmox.com> References: <20260429140941.3537494-1-f.gruenbichler@proxmox.com> 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: 1777471689926 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.054 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 Message-ID-Hash: LELNOJ2KHEH4C6HOIYK6HPJJG3D7JI5D X-Message-ID-Hash: LELNOJ2KHEH4C6HOIYK6HPJJG3D7JI5D X-MailFrom: f.gruenbichler@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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Fabian Grünbichler --- www/window/SyncJobEdit.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js index 216653d17..013a16507 100644 --- a/www/window/SyncJobEdit.js +++ b/www/window/SyncJobEdit.js @@ -40,6 +40,7 @@ Ext.define('PBS.window.SyncJobEdit', { me.syncRemoteNamespace = gettext('Target Namespace'); me.syncLocalOwner = gettext('Local User'); me.associatedKeysLabel = gettext('Associated Keys'); + me.syncStrictEncryptionModeLabel = gettext("Strict Encryption Mode"); // Sync direction request parameter is only required for creating new jobs, // for edit and delete it is derived from the job config given by it's id. if (me.isCreate) { @@ -55,6 +56,7 @@ Ext.define('PBS.window.SyncJobEdit', { me.syncRemoteNamespace = gettext('Source Namespace'); me.syncLocalOwner = gettext('Local Owner'); me.associatedKeysLabel = gettext('Decryption Keys'); + me.syncStrictEncryptionModeLabel = gettext("Strict Decryption Mode"); } return {}; @@ -601,6 +603,21 @@ Ext.define('PBS.window.SyncJobEdit', { 'include-archived': true, }, }, + { + xtype: 'proxmoxcheckbox', + name: 'strict-encryption-mode', + cbind: { + fieldLabel: '{syncStrictEncryptionModeLabel}', + }, + autoEl: { + tag: 'div', + 'data-qtip': gettext( + 'Enable strict mode for encryption/decryption.', + ), + }, + uncheckedValue: false, + value: false, + }, ], columnB: [ { -- 2.47.3