DavHau
03bcf6bba3
vars: generate docs for cli and module
2024-11-29 17:23:31 +07:00
clan-bot
88861ecfb7
Merge pull request 'vars: make upload actually upload' ( #2520 ) from lassulus/clan-core:vars_upload into main
2024-11-28 20:08:19 +00:00
lassulus
513431148e
vars: make upload actually upload
2024-11-28 21:00:12 +01:00
clan-bot
1138ba06bd
Merge pull request 'clan-vm-manager: Fix regression part2' ( #2519 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 18:08:35 +00:00
Qubasa
ff8d82c3c6
clan-vm-manager: Fix regression part2
2024-11-28 19:01:46 +01:00
clan-bot
bbb5672854
Merge pull request 'cli vars upload: fix sops' ( #2518 ) from lassulus/clan-core:vars-sops-fix into main
2024-11-28 16:59:54 +00:00
lassulus
d4fb4efd1f
cli vars upload: fix sops
2024-11-28 17:52:04 +01:00
clan-bot
a97d719a52
Merge pull request 'remove secretsUploadDirectory from common module' ( #2509 ) from lassulus/clan-core:no-secrets-upload-dir into main
2024-11-28 15:46:51 +00:00
clan-bot
ad95265773
Merge pull request 'Clan-app/api: add traceback for all underlying exceptions' ( #2517 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-28 15:45:54 +00:00
lassulus
748053154e
vars: remove dead option
2024-11-28 16:39:01 +01:00
lassulus
af1dacc651
vars: use vars in option descriptions
2024-11-28 16:38:47 +01:00
lassulus
c00ac4a246
vars: remove secretsUploadDirectory from common module
2024-11-28 16:38:06 +01:00
Johannes Kirschbauer
c7a3d52a33
Clan-app: init single-disk template
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
ee9fdb7ac7
Clan-app/api: improve error message for mismatching types
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
d3be596c77
Clan-app/api: error on {unknown api method, mismatching parameter name}
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
c35b30a447
Clan-app/api: add traceback for all underlying exceptions
2024-11-28 16:37:52 +01:00
clan-bot
17f1f2dca8
Merge pull request 'clan-cli: refactor HostGroup._run_local to work with RunOpts' ( #2516 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 15:12:45 +00:00
Qubasa
95cb239206
clan-cli: refactor HostGroup._run_local to work with RunOpts
2024-11-28 16:05:51 +01:00
clan-bot
466044e85f
Merge pull request 'clan-cli: cmd.run now has its options extracted to a dataclass' ( #2515 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 14:41:52 +00:00
Qubasa
d2719f3179
clan-cli: cmd.run now has its options extracted to a dataclass
2024-11-28 15:26:37 +01:00
hsjobeki
d672c08074
Merge pull request 'Templates: move all clan templates into subfolder 'clan'' ( #2514 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2514
2024-11-28 11:03:56 +00:00
Johannes Kirschbauer
126874e62e
CLI/tests: use correct fixture paths
2024-11-28 11:56:12 +01:00
Johannes Kirschbauer
5d78c7a01e
CLI: use new template path
2024-11-28 11:44:44 +01:00
Johannes Kirschbauer
8c24034dc7
Templates: init disko single disk template file
2024-11-28 11:44:09 +01:00
Johannes Kirschbauer
f2f993203b
Templates: move all clan templates into subfolder 'clan'
2024-11-28 11:17:52 +01:00
Luis Hebendanz
43f9b17cd9
Merge pull request 'clan-cli: Add -L option to nixos-rebuild switch to still have build output, simplify logging code' ( #2513 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2513
2024-11-28 09:59:12 +00:00
Qubasa
d29f9bf86c
clan-cli: SSH now completely refactored to use dataclasses everywhere
2024-11-28 10:52:14 +01:00
Qubasa
55e080a89f
clan-cli: Add -L option to nixos-rebuild switch to still have build output, simplify logging code
2024-11-28 10:42:43 +01:00
DavHau
00064ee98b
wifi: init as experimental module
2024-11-28 15:49:23 +07:00
clan-bot
4f25e2f79a
Merge pull request 'clan-cli: Refactor colors to a subset of colors that work in light and dark mode' ( #2508 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-27 11:48:47 +00:00
Qubasa
fddaa3a5bb
clan-cli: Refactor colors to a subset of colors that work in light and dark mode
2024-11-27 12:42:10 +01:00
clan-bot
781334344c
Merge pull request 'UI/webview: remove unused clamp' ( #2506 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 10:12:04 +00:00
clan-bot
604e2c9049
Merge pull request 'Modules: more categories' ( #2507 ) from hsjobeki/clan-core:main into main
2024-11-27 10:06:45 +00:00
Johannes Kirschbauer
1dd7d46fad
UI/webview: remove unused clamp
2024-11-27 11:03:57 +01:00
clan-bot
f0a0bba6a3
Merge pull request 'cli machines update: remove dead code' ( #2505 ) from lassulus/clan-core:rip-always-upload into main
2024-11-27 10:01:52 +00:00
clan-bot
a05297356f
Merge pull request 'UI/machines: show tags' ( #2504 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 09:47:58 +00:00
Johannes Kirschbauer
ce9785e093
UI/machines: show tags
2024-11-27 10:40:12 +01:00
lassulus
354a71f574
cli machines update: remove dead code
2024-11-27 10:33:28 +01:00
clan-bot
ca6b5d09af
Merge pull request 'UI/treewide: replace all {button,icon} component, other minor fixes' ( #2503 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 09:13:09 +00:00
Johannes Kirschbauer
e7a9344665
UI/treewide: replace all {button,icon} component
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
cc84a53b6d
UI:_ convert sidebar.css into tailwind notation
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
a0d365a3f9
UI: remove unsused old sidebar
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
f9eaf3e8ec
Cli: improve targetHost error message
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
b68cf7a7e5
API/serde: fix construction of Enum values
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
bcc0f9e61d
Cli: fix error description should be appended
2024-11-27 10:06:04 +01:00
clan-bot
5db3783976
Merge pull request 'vars: make all python tests work in nix sandbox' ( #2502 ) from DavHau/clan-core:DavHau-dave into main
2024-11-27 07:38:23 +00:00
DavHau
61576649ff
vars: make all python tests work in nix sandbox
...
- generate a flake.lock file for each template by copying the clan-core flake.lock and modifying it
- call nix build with --store for tests inside the sandbox
2024-11-27 14:32:02 +07:00
Mic92
dcd2581b41
Merge pull request 'clan-cli: secrets: fix encryption, and collect public and private keys separately' ( #2500 ) from lo-sops-filter-env into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2500
2024-11-27 06:27:53 +00:00
Louis Opter
5a5b92ef1d
clan-cli: secrets: sops: SOPS_NIX_SECRET is not a sops variable
...
It's a variable internal to us, and it does not need to be allowed.
2024-11-27 06:27:53 +00:00
Louis Opter
1e0db82827
clan-cli: secrets: address CR feedback for sops encryption and key handling
...
- Move public keys collection to a class method on `SopsKey`, and
implement collection for each key type in `KeyType`, this helps make
the code more generic ;
- Replace `Operation.__call__` by `run` (`sops.run` if you import the
entire module), that allows us to dedent the code so that's cool ;
- Fix exception handling when trying to get a in-memory temporary file ;
- Make Executor cuter 😵 🪦 .
2024-11-27 06:27:53 +00:00