public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager] ui: add wizard: note that login currently only works for PBS 4
@ 2025-09-26 15:26 Christian Ebner
  2025-09-26 17:28 ` Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Ebner @ 2025-09-26 15:26 UTC (permalink / raw)
  To: pdm-devel

Due to an incompatibility, the login currently only works with the
PBS 4 API, logins to PBS 3 will fail with 401 error code.

Adds an information to the remote add settings page until the
underlying issue has been diagnosed and fixed, so users are made
aware of this.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 ui/src/remotes/wizard_page_info.rs | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/ui/src/remotes/wizard_page_info.rs b/ui/src/remotes/wizard_page_info.rs
index 7fffdd1..959764f 100644
--- a/ui/src/remotes/wizard_page_info.rs
+++ b/ui/src/remotes/wizard_page_info.rs
@@ -379,6 +379,21 @@ impl Component for PdmWizardPageInfo {
         let content = Column::new()
             .class(FlexFit)
             .with_child(Row::new().with_child(input_panel))
+            .with_child(
+                Row::new()
+                    .padding(2)
+                    .gap(2)
+                    .class(css::AlignItems::Center)
+                    .with_optional_child(
+                        if props.remote_type == RemoteType::Pbs && self.user_mode {
+                            Some(tr!(
+                                "Note: Login currently requires Proxmox Backup Sever version 4"
+                            ))
+                        } else {
+                            None
+                        },
+                    ),
+            )
             .with_child(
                 Row::new()
                     .padding(2)
-- 
2.47.3



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pdm-devel] [PATCH datacenter-manager] ui: add wizard: note that login currently only works for PBS 4
  2025-09-26 15:26 [pdm-devel] [PATCH datacenter-manager] ui: add wizard: note that login currently only works for PBS 4 Christian Ebner
@ 2025-09-26 17:28 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-09-26 17:28 UTC (permalink / raw)
  To: pdm-devel, Christian Ebner

On Fri, 26 Sep 2025 17:26:39 +0200, Christian Ebner wrote:
> Due to an incompatibility, the login currently only works with the
> PBS 4 API, logins to PBS 3 will fail with 401 error code.
> 
> Adds an information to the remote add settings page until the
> underlying issue has been diagnosed and fixed, so users are made
> aware of this.
> 
> [...]

Applied, with s/Sever/Server/ typo fix squashed in, thanks!

[1/1] ui: add wizard: note that login currently only works for PBS 4
      commit: f9b6ba357f52a2cfd122e1318dc547b742c88541


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-26 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-26 15:26 [pdm-devel] [PATCH datacenter-manager] ui: add wizard: note that login currently only works for PBS 4 Christian Ebner
2025-09-26 17:28 ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal