hsjobeki
0e5c8d1a33
Merge pull request 'ui/hostfile: convert to use css modules' ( #4540 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4540
2025-07-30 14:34:52 +00:00
Johannes Kirschbauer
e5f8c515cd
ui/hostfile: convert to use css modules
2025-07-30 16:30:46 +02:00
hsjobeki
e856d4018a
Merge pull request 'ui/button: hide loader when not loading' ( #4539 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4539
2025-07-30 13:50:35 +00:00
Johannes Kirschbauer
17b75500fb
ui/button: hide loader when not loading
2025-07-30 15:46:43 +02:00
Kenji Berthold
cf8b7f63fc
Merge pull request 'pkgs/clan/lib: Move get_clan_directories to dirs' ( #4538 ) from kenji/ke-directory-move into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4538
2025-07-30 13:17:37 +00:00
a-kenji
62c4f735ed
pkgs/clan/lib: Move get_clan_directories to dirs
2025-07-30 15:07:05 +02:00
brianmcgee
cba951b2c5
Merge pull request 'feat: ui/machine-detail-pane' ( #4531 ) from ui/machine-detail-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4531
2025-07-30 12:59:27 +00:00
clan-bot
ef6f652b92
Merge pull request 'Update treefmt-nix' ( #4492 ) from update-treefmt-nix into main
2025-07-30 12:39:59 +00:00
Johannes Kirschbauer
3d51cee4bb
ui/modal: autofocus first input
2025-07-30 12:31:10 +00:00
Kenji Berthold
1791743444
Merge pull request 'pkgs/clan/lib: Add clan api to get the relative clan directory' ( #4534 ) from kenji/ke-add-computed-directory-function into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4534
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-07-30 12:30:30 +00:00
gitea-actions[bot]
6208a6e857
Update treefmt-nix
2025-07-30 12:28:55 +00:00
Johannes Kirschbauer
4759cce8a4
ui/modal: autofocus first input
2025-07-30 14:27:10 +02:00
a-kenji
c7ad875e7e
pkgs/clan/lib: Add clan api to get the relative clan directory
...
This is a Continuation of: #4519
2025-07-30 14:22:23 +02:00
hsjobeki
2ef292942f
Merge pull request 'ui/button: fix loader needs explizit styling, not stylable via css leakage anymore' ( #4536 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4536
2025-07-30 12:20:45 +00:00
Johannes Kirschbauer
b83f5d2ffc
ui/button: fix loader needs explizit styling, not stylable via css leakage anymore
2025-07-30 14:16:23 +02:00
hsjobeki
567e8b57cd
Merge pull request 'ui/modal: use css modules' ( #4535 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4535
2025-07-30 11:55:35 +00:00
Johannes Kirschbauer
7f1a7da5c7
ui/modal: use css modules
2025-07-30 13:51:47 +02:00
hsjobeki
bb92ffb898
Merge pull request 'ui/toolbarButton: fix selected state' ( #4533 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4533
2025-07-30 11:45:19 +00:00
Johannes Kirschbauer
7ed62c427c
ui/toolbarButton: fix selected state
2025-07-30 13:40:08 +02:00
Johannes Kirschbauer
596458d809
fix: set fixed height for SidebarSectionForm controls
2025-07-30 12:32:59 +01:00
Brian McGee
f677d96acf
feat(ui): add sidebar pane for machine detail
2025-07-30 12:32:58 +01:00
Brian McGee
2c3b0f3771
feat(ui): use keyed show to re-render Machine route when route changes
2025-07-30 12:32:57 +01:00
Brian McGee
ae20230a57
feat(ui): change machineID to machineName
...
And no longer base64 encode it in url params or cache keys.
The term used in the API is name, so this is aligning with that.
2025-07-30 12:32:57 +01:00
Kenji Berthold
549ba9bdc2
Merge pull request 'pkgs/cli/lib: Remove obsolete clan creation function' ( #4532 ) from kenji/ke-add-computed-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4532
2025-07-30 10:52:16 +00:00
a-kenji
e167137672
pkgs/cli/lib: Remove obsolete clan creation function
2025-07-30 12:41:42 +02:00
hsjobeki
e36735119c
Merge pull request 'ui/loader: transform to use css modules' ( #4530 ) from ui-css into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4530
2025-07-30 09:07:59 +00:00
Johannes Kirschbauer
f8cdac2a63
ui/debug: remove floating debug buttons
2025-07-30 11:04:22 +02:00
Johannes Kirschbauer
ea63b4411e
ui/splashscreen: transform to use css modules
2025-07-30 11:03:56 +02:00
Johannes Kirschbauer
a070fc74c1
ui/loader: transform to use css modules
2025-07-30 11:03:56 +02:00
DavHau
b30686269b
machines update: fix lacks a signature by a trusted key
...
Despite using `root` as the ssh user, `ssh-ng` still fails with:
`error: cannot add path '/nix/store/...' because it lacks a signature by a trusted key
`
This does not happen with `ssh` instead of `ssh-ng`
2025-07-30 15:15:57 +07:00
Jörg Thalheim
1626d179a0
run_machine_update: document missing flag
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6ec38c33d7
container-test-driver: fixup /etc/passwd for unprivileged user
...
By default /etc/passwd in container build sandboxes have two users
(root,nixbld) mapped to root. This confuses nix especially it behaves
different if it runs as root. setuid/setgid() is not enough because ssh
will break if the current uid does not exist in /etc/passwd.
Along with this we now also only run the setup for setting up the
network bridge and cgroup filesystems once and not per container.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
fdfbed1a3f
nixos_test_lib/setup_ssh_connection: no forward in container tests
2025-07-30 09:54:50 +02:00
Jörg Thalheim
f44b8c63c2
nixos_test_lib/prepare_test_flake: return a Path instead of str
2025-07-30 09:54:50 +02:00
Jörg Thalheim
092ac21dcd
git_clan_flake_toplevel: gracefully handle permission errors
...
since this code is used as a default in the cli parser, we should not
crash on OSError because we wouldn't be abe to perform basic tasks such
as --help.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
bd6f7b03af
inline find_git_repo_root
2025-07-30 09:54:50 +02:00
Jörg Thalheim
0908a2efb8
don't resolve absolute paths for flake uri
...
pathlib.Path("git+file:///foo").resolve() might resolve to urls like
PosixPath('/home/joerg/work/clan/clan-core/git+file:/foo'). If those
then actually exist, this can have weird behavior. We should in general
avoid changing directories for everything except for subprocess.run.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6c84b2e100
container-test-driver: also setup network if we start a single container
2025-07-30 09:54:50 +02:00
Jörg Thalheim
de65619442
update: explain why we use sudo rather than --use-remote-sudo
2025-07-30 09:54:50 +02:00
DavHau
85dda9e125
machines update: refactor - simplify
...
This is an attempt to reduce cognitive load when trying to understand the host related logic in run_machine_update.
The change should not affect behavior.
Done:
- make it very clear early on, that build_host == target_host if build_host is not set.
- rename some variables to make relations more clear
- remove `deploy_host` variable. unnecessary complexity
- remove `become_root` variable. After simplifying via boolean algebra, this boils down to `build_host == target_host`.
2025-07-30 09:54:50 +02:00
hsjobeki
7961a92d32
Merge pull request 'ui/toolbar: fix overly specifify css selectors' ( #4525 ) from toolbar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4525
2025-07-30 06:48:52 +00:00
hsjobeki
50ba21316e
Merge pull request 'ui/sidebar: fix close animation' ( #4524 ) from sidebar-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4524
2025-07-29 17:14:33 +00:00
Johannes Kirschbauer
08342578f1
ui/toolbar: fix story types
2025-07-29 19:12:27 +02:00
Johannes Kirschbauer
9954653657
ui/toolbar: use css modules
2025-07-29 19:10:42 +02:00
Johannes Kirschbauer
6e71b541aa
ui/toolbar: fix overly specifify css selectors
2025-07-29 18:50:34 +02:00
Johannes Kirschbauer
0f72f12461
ui/sidebar: fix close animation
...
Animation needs static layout as a starting point
2025-07-29 18:03:00 +02:00
Kenji Berthold
db579e169c
Merge pull request 'pkgs/clan/lib: Fix directory functionality' ( #4519 ) from kenji/ke-fix-directory-usage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4519
2025-07-29 16:01:35 +00:00
a-kenji
31438d6781
pkgs/clan/lib: Fix directory functionality
...
Fix the directory functionality of clan (clan.directory).
The python API interface was not able to distinguish if the directory
was set to anything other than `self.src`.
Breaking every command that relied on the clan directory, for example:
- `clan machines update`
- `clan machines update-hardware-config`
See more in #2906
This is the first step in fixing all those commands.
Individual command support and implementation will be implemented in
follow ups.
2025-07-29 17:51:12 +02:00
Kenji Berthold
eac21c5176
Merge pull request 'pkgs/clan/lib: Fix documentation of from_ssh_uri in the Remote class' ( #4523 ) from kenji/ke-fix-remote-documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4523
2025-07-29 15:47:47 +00:00
Kenji Berthold
2bd432bdb7
Merge pull request 'pkgs/clan/cli: Fix typo in machines update' ( #4522 ) from kenji/ke-machines-update-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4522
2025-07-29 15:46:18 +00:00