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 66B601FF140 for ; Fri, 08 May 2026 10:41:17 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8596110D01; Fri, 8 May 2026 10:40:50 +0200 (CEST) From: Dominik Csapak To: pve-devel@lists.proxmox.com, pbs-devel@lists.proxmox.com Subject: [PATCH cluster/manager/proxmox{,-backup}/widget-toolkit 0/8] add location property to node/datacenter config for PVE/PBS Date: Fri, 8 May 2026 10:40:11 +0200 Message-ID: <20260508084038.1405206-1-d.csapak@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-SPAM-LEVEL: Spam detection results: 0 AWL 0.050 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. [config.rs,datacenterconfig.pm,proxmox.com,nodeconfig.pm,node.rs] Message-ID-Hash: IQJTAFGAK3LUCDZ66CFGSITGBFB4EI6C X-Message-ID-Hash: IQJTAFGAK3LUCDZ66CFGSITGBFB4EI6C X-MailFrom: d.csapak@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: This is in preparation of the next version of my 'world map' feature for PDM[0]. Since we want to have the location saved on PVE/PBS side, I'm sending this now already while I'm working on changing the PDM side I't currently very simple, just property string config in pve/pbs datacenter and node-config. The second patch in widget-toolkit makes it somewhat useful for others too by providing a link to openstreetmap. (Not sure if we want to include such things, thus it's a separate patch) 0: https://lore.proxmox.com/pdm-devel/20260505073203.398548-1-d.csapak@proxmox.com/T/#t pve-cluster: Dominik Csapak (1): datacenter config: add location property src/PVE/DataCenterConfig.pm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) proxmox-widget-toolkti: Dominik Csapak (2): add window and renderer for locations utils: render location: add a link to that location on openstreetmap src/Makefile | 1 + src/Utils.js | 13 +++++++++ src/window/LocationEdit.js | 57 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 src/window/LocationEdit.js pve-manager: Dominik Csapak (2): node config: add location property ui: add location to datacenter and node options PVE/NodeConfig.pm | 30 ++++++++++++++++++++++++++++ www/manager6/dc/OptionView.js | 9 +++++++++ www/manager6/node/NodeOptionsView.js | 16 +++++++++++++++ 3 files changed, 55 insertions(+) proxmox: Dominik Csapak (1): pbs-api-types: node config: add location property pbs-api-types/src/node.rs | 46 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) proxmox-backup: Dominik Csapak (2): api: node: config: add location property ui: node options: add location property src/api2/node/config.rs | 8 ++++++++ www/config/NodeOptionView.js | 11 +++++++++++ 2 files changed, 19 insertions(+) Summary over all repositories: 10 files changed, 218 insertions(+), 1 deletions(-) -- Generated by git-murpp 0.8.1