a-kenji
c42381d810
pkgs/cli: Fix dynamic shell completions
...
Fix dynamic shell completions by correcting parameter names
Dynamic completions for the CLI were not working because completion
functions used `_prefix` as the first parameter name instead of `prefix`.
This is incompatible with how `argcomplete` passes it's arguments.
Add regression test for the prefix parameter as well as some basic shell
completion testing.
2025-10-21 14:19:30 +00:00
Mic92
5b399fd447
Merge pull request 'vars: respect deploy flag for shared secrets' ( #5572 ) from oneingan/clan-core:vars-no-deploy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5572
2025-10-20 15:37:03 +00:00
hsjobeki
0e9931d749
Merge pull request 'app: typography fixes' ( #5574 ) from ui-fix-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5574
2025-10-19 12:29:18 +00:00
Johannes Kirschbauer
0d182f4431
app: fix 'added' tag typography; test linaria
2025-10-19 14:25:25 +02:00
Johannes Kirschbauer
20a6a5684d
app: add typography tokens
2025-10-19 14:22:01 +02:00
pinpox
dcd7b6a8a2
Replace depracated --fast nix option
...
The option is throwing a deprecation warning on current nix versions.
See for details: https://github.com/NixOS/nixpkgs/issues/417609#issuecomment-2981327326
2025-10-19 12:45:27 +02:00
Juanjo Presa
c7cee905d1
vars: respect deploy flag for shared secrets
2025-10-18 23:09:31 +02:00
Johannes Kirschbauer
39d9f44286
app: init linaria
2025-10-17 11:05:14 +02:00
Johannes Kirschbauer
f91aca959f
docs: show {internet,tor} in docs; with experimental notice
2025-10-17 09:37:45 +02:00
Luis Hebendanz
9821e39b06
Merge pull request 'clanServices: add warning if manifest.readme is not set' ( #5537 ) from Qubasa/clan-core:fix_manifest_readmes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5537
2025-10-16 17:12:46 +00:00
Qubasa
2ac65b9c83
clan_lib/modules.py: get_service_readmes now logs an error if the readme is empty
2025-10-16 19:07:49 +02:00
Johannes Kirschbauer
17c35c4259
persistence: align some more variable names
2025-10-16 13:04:24 +02:00
Johannes Kirschbauer
727474055e
persistence: invert all writeability logic into not readonly
2025-10-16 13:01:34 +02:00
Johannes Kirschbauer
892cb1baae
inventoryStore: invert writeability terms to readonly
2025-10-16 13:00:21 +02:00
Johannes Kirschbauer
5eb6b703f0
inventoryStore: align class names and methods
2025-10-16 12:50:54 +02:00
Johannes Kirschbauer
d78dca47e2
modules: update service test
2025-10-16 12:42:49 +02:00
Johannes Kirschbauer
8254d197f0
api: persistence allow path prefix
2025-10-16 12:42:45 +02:00
Johannes Kirschbauer
a4839f9cf2
api: persistence, fix regressions
2025-10-16 11:57:38 +02:00
Johannes Kirschbauer
a32a5151dc
api: remove unused validation method
2025-10-15 16:19:21 +02:00
Johannes Kirschbauer
16d245b179
api: check deletions if possible
2025-10-15 16:15:54 +02:00
Qubasa
867fa5140b
clan_lib: Add get_service_readmes api function
...
Returns the README.md for one or multiple clan services, needed for the
clan ai feature
2025-10-14 18:54:22 +02:00
Qubasa
2b616575e1
service_runner: Fix starting a service twice
2025-10-14 17:32:21 +02:00
Qubasa
3f07f6ac79
service_runner: add grouping feature
2025-10-14 17:32:21 +02:00
Qubasa
c6b0b114c5
clan_lib: init platform independent service_runner
2025-10-14 17:31:37 +02:00
hsjobeki
8803343ae1
Merge pull request 'persistence: generate properties for data by traversing data' ( #5502 ) from persistence_attributes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5502
2025-10-14 15:27:10 +00:00
hsjobeki
4cfe866079
Merge pull request 'lib/cli: tests collect coverage' ( #5528 ) from test-cov into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5528
2025-10-14 15:23:28 +00:00
Johannes Kirschbauer
8609538756
clan_lib: allow explicit readonly access to inventory attributes
2025-10-14 17:21:39 +02:00
Johannes Kirschbauer
a296b8a1fe
lib/cli: tests collect coverage
2025-10-14 17:07:19 +02:00
Mic92
ccf64d5951
Merge pull request 'fix: handle OSError when age keys are too long to be file paths' ( #5523 ) from clan-secrets into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5523
2025-10-14 14:35:05 +00:00
pinpox
c1686691fa
Fix module mention in docs generation
2025-10-14 16:14:40 +02:00
pinpox
42e3fea9e5
clanServices: add desktop module
2025-10-14 16:02:20 +02:00
Johannes Kirschbauer
0c245f8eda
persistence: generate properties for data by traversing data
2025-10-14 14:51:06 +02:00
Jörg Thalheim
9469968851
fix: handle OSError when age keys are too long to be file paths
...
Prevents "File name too long" errors when users provide age keys directly
to 'clan secrets users add', as Path.is_file() would fail before the key
validation could run.
Fixes: https://git.clan.lol/clan/clan-core/issues/5522
2025-10-14 13:15:54 +01:00
Luis Hebendanz
3c7c52e35a
Merge pull request 'clan_cli: Add typeAlias support for api.py' ( #5509 ) from Qubasa/clan-core:fix_jsonschema_gen into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5509
2025-10-14 10:21:11 +00:00
Qubasa
23008d1f73
openapi: Add a test for TypeAliasing
2025-10-14 12:06:04 +02:00
hsjobeki
733d80d0b2
Merge pull request 'app: use geist font' ( #5508 ) from fix-font into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5508
2025-10-14 09:48:53 +00:00
Johannes Kirschbauer
9dceddc6c2
app: remove 'condensed' variant
2025-10-14 11:46:28 +02:00
Qubasa
f1747079c8
clan_cli: Add typeAlias support for api.py
2025-10-14 11:30:48 +02:00
Johannes Kirschbauer
ffdcd9b41e
app: use geist font
...
Drop Archivo, ArchivoSemicondensed, CommitMono
in favour of only one
2025-10-14 11:19:57 +02:00
hsjobeki
d9f6b7e3fb
Merge pull request 'api: prepare persistence_attributes' ( #5453 ) from persistence_attributes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5453
2025-10-13 15:23:03 +00:00
Johannes Kirschbauer
40de60946a
api: migrate to use persistence attributes everywhere
2025-10-13 17:04:01 +02:00
Michael Hoang
46f746d09c
cli: fix installation test with latest release of nixos-anywhere
2025-10-13 15:06:20 +02:00
DavHau
bf41a9ef00
vars/sops: stop writing on clan vars check
...
This fixes an issue where check_vars() would add machine keys or authorize machines for shared vars.
These write operations should only ever be done on a `clan vars generate`, which `clan vars check` should be a read-only operation
2025-10-13 18:43:49 +07:00
Johannes Kirschbauer
7b95fa039f
clan-cli: remove unused test fixture
2025-10-12 18:00:52 +02:00
Johannes Kirschbauer
63fdc13928
persist: add attributes props to accumulator
2025-10-12 17:45:14 +02:00
Johannes Kirschbauer
c13879ce69
persist: rename write map to attribute map
2025-10-12 17:45:14 +02:00
Johannes Kirschbauer
f57bc30c5a
persist/writeability: rename non_writeable to readonly
2025-10-12 17:45:14 +02:00
Michael Hoang
bc09d5c886
cli: ensure init-hardware-config passes Nix options to nixos-anywhere
2025-10-10 17:00:10 +02:00
Brian McGee
27d43ee21d
fix(storybook): disable Sidebar story until we have a better mock data approach
2025-10-09 14:57:22 +01:00
Brian McGee
9626e22db7
fix(storybook): adjust flash installer on mount
...
It needs to handle possible missing state in the store on mount.
2025-10-09 14:57:22 +01:00