From a3478d8cc7622ed03d46b204a0da1d418645cdfa Mon Sep 17 00:00:00 2001 From: Qubasa Date: Tue, 17 Jun 2025 16:24:00 +0200 Subject: [PATCH 1/6] clan-lib: Set "root" as default user in Remote object --- pkgs/clan-cli/clan_lib/ssh/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_lib/ssh/remote.py b/pkgs/clan-cli/clan_lib/ssh/remote.py index fae1e9473..f810310ed 100644 --- a/pkgs/clan-cli/clan_lib/ssh/remote.py +++ b/pkgs/clan-cli/clan_lib/ssh/remote.py @@ -31,8 +31,8 @@ NO_OUTPUT_TIMEOUT = 20 @dataclass(frozen=True) class Remote: address: str - user: str command_prefix: str + user: str = "root" port: int | None = None private_key: Path | None = None password: str | None = None From f0913e331add0338af2ff2627a0c9623ac27c2ee Mon Sep 17 00:00:00 2001 From: Qubasa Date: Tue, 17 Jun 2025 16:24:54 +0200 Subject: [PATCH 2/6] clan-app: Improve api test page --- pkgs/clan-app/ui/src/api_test.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/clan-app/ui/src/api_test.tsx b/pkgs/clan-app/ui/src/api_test.tsx index c49755e0b..49599f059 100644 --- a/pkgs/clan-app/ui/src/api_test.tsx +++ b/pkgs/clan-app/ui/src/api_test.tsx @@ -119,11 +119,11 @@ export const ApiTester = () => { 0} > -
    +
      {(ep) => (
    • { e.preventDefault(); setValue(formStore, "endpoint", ep); @@ -142,13 +142,13 @@ export const ApiTester = () => { {(field, fieldProps) => ( -
      +