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 C8B3B1FF13B for ; Wed, 11 Feb 2026 17:18:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 53F3732DC0; Wed, 11 Feb 2026 17:19:36 +0100 (CET) From: Christian Ebner To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox-backup 3/3] ui: expose flag to use node's http proxy in remote edit window Date: Wed, 11 Feb 2026 17:18:45 +0100 Message-ID: <20260211161845.1006528-5-c.ebner@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260211161845.1006528-1-c.ebner@proxmox.com> References: <20260211161845.1006528-1-c.ebner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1770826656238 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 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 Message-ID-Hash: WWKU46UB53KZIY3NS5LC7GX765CPGWI7 X-Message-ID-Hash: WWKU46UB53KZIY3NS5LC7GX765CPGWI7 X-MailFrom: c.ebner@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: Allows to set/clear the flag to enable using the node http proxy config for given remote config. Place in the advanced settings to not intrude in current remote edit window layout to much. Defaults to not being set, clear from config if unset to avoid config bloating. Signed-off-by: Christian Ebner --- www/window/RemoteEdit.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/www/window/RemoteEdit.js b/www/window/RemoteEdit.js index 9e8353ff8..e9ce709f0 100644 --- a/www/window/RemoteEdit.js +++ b/www/window/RemoteEdit.js @@ -128,6 +128,21 @@ Ext.define('PBS.window.RemoteEdit', { fieldLabel: gettext('Comment'), }, ], + advancedColumn1: [ + { + xtype: 'proxmoxcheckbox', + fieldLabel: gettext("Use node proxy"), + name: 'use-node-proxy', + autoEl: { + tag: 'div', + 'data-qtip': gettext( + "Use the node's http proxy configuration for remote connections.", + ), + }, + uncheckedValue: false, + value: false, + }, + ], }, setValues: function (values) { @@ -153,6 +168,10 @@ Ext.define('PBS.window.RemoteEdit', { delete values.password; } + if (!me.isCreate) { + PBS.Utils.delete_if_default(values, 'use-node-proxy', false); + } + return values; }, }); -- 2.47.3