a-kenji
6cea3e6c60
pkgs/cli: machines install handle invalid character
...
Re-request prompt, if invalid character is specified.
None is still treated as no as per CLI hint [y/N].
We now also accept Y/N.
Closes : #4475
2025-07-24 22:00:31 +02:00
Luis Hebendanz
9668c318dc
Merge pull request 'fix flake select logging' ( #4483 ) from Qubasa/clan-core:fix_flake_select_logging into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4483
2025-07-24 11:44:21 +00:00
Qubasa
7146c97362
clan_lib: Fix flake.select logging, now we log the first time select queries a path for the first time, it doesn't matter if it is cached or not.
2025-07-24 18:27:40 +07:00
Brian McGee
d3d1489829
feat(ui): animate sidebar pane entry/exit
2025-07-24 11:40:54 +01:00
Qubasa
b74aa31b87
clan-lib: Fix missing logging for flake.select execution
2025-07-24 17:29:09 +07:00
Brian McGee
f18e70dda6
fix(ui): increase z index for sidebar dropdown
2025-07-24 10:23:43 +01:00
hsjobeki
5ddeb41a5d
Merge pull request 'ui/cubes: add labels' ( #4469 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4469
2025-07-24 08:56:41 +00:00
Johannes Kirschbauer
fb5229a5f3
ui/cubes: adjust label style
2025-07-24 10:52:21 +02:00
Brian McGee
694059d3ce
feat(ui): waiting for necessary queries before dropping clan loader
2025-07-24 09:48:57 +01:00
Qubasa
94662b722d
clan-lib: Remove injected "op_key" argument from all functions and do it over the threadcontext instead. Remove double threading in http server
2025-07-24 14:25:20 +07:00
Johannes Kirschbauer
334fe45adc
ui/cubes: add labels
2025-07-23 16:41:24 +02:00
hsjobeki
ebdd3e8413
Merge pull request 'ui/cubes: reactive wiring, use orthographic camera' ( #4468 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4468
2025-07-23 14:09:42 +00:00
hsjobeki
ffe58fc189
Merge pull request 'feat(ui): move toolbar lower down' ( #4467 ) from ui/refine-toolbar-position into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4467
2025-07-23 14:07:02 +00:00
Johannes Kirschbauer
7065464227
ui/cubes: reactive updates, use orthographic
2025-07-23 16:05:51 +02:00
Johannes Kirschbauer
5f567e2473
hooks: add maybeMachine hook
2025-07-23 16:04:55 +02:00
Johannes Kirschbauer
9afeec5683
ui: remove left over process-compose-2d.yml
2025-07-23 16:04:16 +02:00
hsjobeki
1e51439414
Merge pull request 'pytest: add simple clan_flake function' ( #4453 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4453
2025-07-23 10:27:05 +00:00
Brian McGee
a472f7f696
feat(ui): move toolbar lower down
2025-07-23 11:23:31 +01:00
Johannes Kirschbauer
29c764773f
pytest: clan_flake allow usage of plain dicts
2025-07-23 12:15:54 +02:00
brianmcgee
af056f2355
Merge pull request 'feat(ui): set a fixed width for welcome screen' ( #4464 ) from ui/max-width-onboarding into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4464
2025-07-23 09:32:12 +00:00
Brian McGee
6803f3c6f5
feat(ui): set a fixed width for welcome screen
2025-07-23 10:27:33 +01:00
Brian McGee
38d62af1ba
feat(ui): add sidebar and flesh out app routes
2025-07-23 10:16:00 +01:00
Kenji Berthold
14f255c2d5
Merge pull request 'pkgs/cli: Fix fstring interplolation' ( #4459 ) from kenji/ke-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4459
2025-07-23 07:55:04 +00:00
Johannes Kirschbauer
34ccbcc13d
ui/scene: add timeout for splashscreen
2025-07-23 09:50:59 +02:00
a-kenji
f58a120db1
pkgs/cli: Fix fstring interplolation
...
Closes : #4458
2025-07-23 09:43:51 +02:00
DavHau
cc69892e3b
create clan: better info about existing sop keys
...
When creating a new clan, the key selection now looks like this:
```
Found existing admin keys on this machine:
1: type: AGE
pubkey: age1xyz...
source: /home/grmpf/.config/sops/age/keys.txt
2: type: PGP
pubkey: abc...
source: SOPS_PGP_FP
Select keys to use (comma-separated list of numbers, or leave empty to select all):
```
This is achieved by adding a `source` attribute to `SopsKey`.
2025-07-23 13:22:19 +07:00
DavHau
c94330ee9c
clan create: fix failure when path was single word
...
This should better be fixed with types. It should be possible to initialize a flake from a Path, making it very clear that a path `foo` is meant and not a remote flake called `foo`
2025-07-23 12:33:57 +07:00
Jörg Thalheim
377056e80c
clan flakes create: initialize keys automatically ( #4435 )
...
fixes https://git.clan.lol/clan/clan-core/issues/2665
fixes https://git.clan.lol/clan/clan-core/issues/4407
Co-authored-by: DavHau <d.hauer.it@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4435
Co-authored-by: Jörg Thalheim <joerg@thalheim.io >
Co-committed-by: Jörg Thalheim <joerg@thalheim.io >
2025-07-23 04:44:55 +00:00
Johannes Kirschbauer
1dbaff7b61
pytest: add simple clan_flake function
...
Takes a clan nix expression as a string
Is empty by default and does nothing
Expensive lockfile patching is done once per session
2025-07-22 23:24:40 +02:00
Kenji Berthold
acfe3b0a04
Merge pull request 'pkgs/clan: Fix common command flags registering' ( #4451 ) from kenji/ke-completions-add-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4451
2025-07-22 18:10:15 +00:00
a-kenji
04f36a4cb1
pkgs/clan: Fix common command flags registering
...
Fix common command flags registering.
Register the common command flags before triggering autocomplete,
that way we can use the flags in the autocompletions themselves.
2025-07-22 19:56:07 +02:00
hsjobeki
41a0138c16
Merge pull request 'clan/create: api fixes and unit tests' ( #4449 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4449
2025-07-22 17:28:37 +00:00
Johannes Kirschbauer
f1be729206
create/clan: unit tests init
2025-07-22 19:17:41 +02:00
a-kenji
cacd853374
pkgs/cli: Support the flake argument for clan shell completions
2025-07-22 19:06:42 +02:00
Brian McGee
9706285474
chore(ui): finish simplifying clan query params
2025-07-22 17:45:23 +01:00
Kenji Berthold
1510b4014b
Merge pull request 'pkgs/cli: Autocomplete various vars subcommands' ( #4447 ) from kenji/ke-complete-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4447
2025-07-22 16:27:32 +00:00
lassulus
d5e0f7e505
Merge pull request 'fix: handle arbitrary store paths references in flake cache' ( #4441 ) from fix-flake-caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4441
2025-07-22 16:18:15 +00:00
Johannes Kirschbauer
b9e5cf1220
clan/create: use post_processing hook
2025-07-22 18:14:56 +02:00
Johannes Kirschbauer
f4eb59c373
create/clan: add validation to create arguments
2025-07-22 18:13:56 +02:00
Johannes Kirschbauer
06257d044a
test_create: fix duplicated variables
2025-07-22 18:12:51 +02:00
Johannes Kirschbauer
34ca7a4a7b
create/clan: add abstraction for initial meta
...
Directly passing through persisted data is bad
2025-07-22 18:12:17 +02:00
Brian McGee
dd3051d62b
chore(ui): simplify clan uri params
...
Now that everything lives under `/clans/:clanURI` we don't need to handle the case where the param might be null.
2025-07-22 17:08:12 +01:00
Brian McGee
5f290fed7f
chore(ui): remove solid-devtools
...
It's a chrome extension which is pointless inside of webview which is webkit.
2025-07-22 17:07:44 +01:00
Johannes Kirschbauer
a34ec8ed22
templates: add post_process hook for tests or other extensions
2025-07-22 18:07:26 +02:00
Johannes Kirschbauer
4597b207e7
pytest: fixtures offline_flake_hook init
2025-07-22 18:06:47 +02:00
Johannes Kirschbauer
9257cb02ee
validator: hostname init
2025-07-22 18:06:27 +02:00
a-kenji
cd8a1d9a32
pkgs/cli: Autocomplete various vars subcommands
...
Add autocomplete for `vars` for the following subcommands:
```
clan vars get [machine] [var_id]
clan vars set [machine] [var_id]
```
2025-07-22 18:03:55 +02:00
Brian McGee
ee9ae21bd2
feat(ui): add tanstack devtools for debugging queries
2025-07-22 16:33:53 +01:00
Jörg Thalheim
bd1451ce18
fix: handle arbitrary store paths references in flake cache
...
Previously, paths like /nix/store/hash-file.nix:123 were incorrectly
treated as pure store paths and wrapped in {"outPath": ...}, breaking
the cache. This fix:
- Adds helper functions to properly detect and handle store references
- Distinguishes between pure store paths and paths with metadata (line numbers)
- Supports multiple store references in a single string
- Handles custom NIX_STORE_DIR correctly
- Ensures existence checks work for all store references
Also fixes test_cache_gc to delete NIX_REMOTE for proper local store testing.
2025-07-22 17:13:04 +02:00
hsjobeki
69ab00b34b
Merge pull request 'store: move merge_objects into persistence helpers' ( #4440 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4440
2025-07-22 13:12:04 +00:00