Commit Graph

2583 Commits

Author SHA1 Message Date
Jörg Thalheim
00a4f714ca fix spacing in error message 2024-12-25 22:55:03 +01:00
Jörg Thalheim
6dac0cfe42 fix committing in git worktree
fixes https://git.clan.lol/clan/clan-core/issues/2636
2024-12-25 22:51:53 +01:00
Jörg Thalheim
5e43571140 vars: commit validation hashes 2024-12-25 21:02:52 +01:00
Jörg Thalheim
64fa29d058 vars: fix path to validation hashes 2024-12-25 20:48:59 +01:00
Jörg Thalheim
7b3efcec06 vars/fact: isolate secret generation better from the system 2024-12-25 19:21:51 +00:00
Jörg Thalheim
de761d688b backup/list: improve error reporting 2024-12-24 07:11:00 +01:00
Michael Hoang
0bf701de63 vars: make populate_dir a method of StoreBase 2024-12-22 05:53:26 +00:00
Michael Hoang
1d7e0c1c02 install: upload vars needed for activation for installation 2024-12-22 05:53:26 +00:00
Michael Hoang
da4d7fa365 machines: don't build on target machine if remote builders can be used 2024-12-21 10:43:17 +11:00
Johannes Kirschbauer
365e80368c UI: fix interface breakages on some components. Features will be migrated later 2024-12-20 20:14:42 +01:00
Johannes Kirschbauer
7cd061472d UI: suppress type problems with tailwind 2024-12-20 19:15:37 +01:00
Johannes Kirschbauer
3c9d1508b3 UI: init tailwind popover-open variant 2024-12-20 18:15:11 +01:00
Johannes Kirschbauer
90121f50c3 UI: use FieldLayout in machine detail page 2024-12-20 18:14:41 +01:00
Johannes Kirschbauer
2e2df3f09b UI: migrate flash installer page 2024-12-20 18:14:14 +01:00
Johannes Kirschbauer
cad55e01bf UI/TextInput: use FieldLayout 2024-12-20 18:13:41 +01:00
Johannes Kirschbauer
abaee70d35 UI: fixup Select component design & api 2024-12-20 18:13:06 +01:00
Johannes Kirschbauer
de5479169c UI: init FieldLayout wrapper 2024-12-20 18:11:36 +01:00
Johannes Kirschbauer
ee4cdb2b76 UI typography: export reusable types 2024-12-20 18:11:19 +01:00
Johannes Kirschbauer
b44543f849 UI: init InputError component 2024-12-20 18:10:56 +01:00
Johannes Kirschbauer
ea47dd7711 UI: remove unused blockdevices route 2024-12-20 18:10:11 +01:00
Johannes Kirschbauer
6a6e9c1c2c API: Display only local block devices, remote ones should be retrieved from hw-report 2024-12-20 18:09:39 +01:00
DavHau
e8edec65d6 backups: throw error if no provider specified 2024-12-20 20:27:58 +07:00
DavHau
90a6d28f6c machines update: remove unecessary special handling for non-path flakes 2024-12-20 19:23:25 +07:00
clan-bot
5020f47a9b Merge pull request 'vars: allow setting files as needed for activation' (#2633) from vars-needed_activation into main 2024-12-19 12:26:58 +00:00
lassulus
70ff7fcc2f vars: allow setting files as needed for activation 2024-12-19 13:05:05 +01:00
DavHau
ad9fde4b41 vars/fix: mention machine in error message for fix 2024-12-19 17:39:02 +07:00
Qubasa
a452cc1a02 clan-cli: Fix clan install command and multiple other issues 2024-12-18 15:29:08 +01:00
Michael Hoang
67b9357ce4 vars: fix running generators on macOS 2024-12-19 00:16:22 +11:00
a-kenji
6438e77519 pkgs/cli: Fix target_host for machines install
Use the correct `target_host`, if a user is defined.

Before the change:

```console
$ clan machines install
$ Install jon to 49.13.232.197? [y/N]
```

After the change:

```console
$ clan machines install
$ Install jon to root@49.13.232.197? [y/N]
```

Because root is the configured user for `target_host`, this is the
correct behavior.
2024-12-17 22:29:54 +01:00
clan-bot
1627745901 Merge pull request 'updating groups/machines/users keys now also update vars secrets' (#2630) from shrink-vars-tests into main 2024-12-17 19:55:56 +00:00
clan-bot
8be3e41663 Merge pull request 'UI/chore: init typography xxs body' (#2627) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-17 18:43:06 +00:00
Johannes Kirschbauer
f7ddc4c26d UI: replace TextInput with simple Layout of InputBase, InputLabel, ErrorMessage 2024-12-17 19:37:07 +01:00
Jörg Thalheim
f2856cb773 updating groups/machines/users keys now also update vars secrets 2024-12-17 19:24:30 +01:00
Jörg Thalheim
09c30b4d10 machine_logger: increase truncation limit to 20
10 was a bit short.
2024-12-17 17:51:47 +01:00
Jörg Thalheim
e978bfdf9a vars/tests: merge test_build_scripts_for_correct_system into test_generate_secret_for_multiple_machines 2024-12-17 17:39:27 +01:00
Jörg Thalheim
792aa8033b merge three prompt type tests into one 2024-12-17 17:39:19 +01:00
Jörg Thalheim
33aa638338 vars: remove duplicate test 2024-12-17 17:21:10 +01:00
Jörg Thalheim
e6addcc879 var: merge migration tests into one 2024-12-17 17:21:10 +01:00
Jörg Thalheim
4f7bd8e485 vars: delete duplicate shared flag test 2024-12-17 17:21:01 +01:00
Jörg Thalheim
047a6722eb clan_cli: merge four var tests into one 2024-12-17 17:21:01 +01:00
Johannes Kirschbauer
f2a2c1d0d7 UI: init {InputBase,InputLabel} 2024-12-17 16:58:06 +01:00
Johannes Kirschbauer
4709d07a88 UI/chore: init typography xxs body 2024-12-17 16:56:17 +01:00
clan-bot
3b22494e82 Merge pull request 'clan_cli: improve target_host handling for clan machines install' (#2626) from Enzime/clan-core:push-pplrtxtyoyks into main 2024-12-17 13:52:43 +00:00
Michael Hoang
7e16a1a268 clan_cli: always use --target-host if specified for machines install 2024-12-18 00:13:17 +11:00
Michael Hoang
a7f8613878 clan_cli: fix target_host when running clan machines install 2024-12-18 00:08:10 +11:00
Johannes Kirschbauer
e64adf7431 UI/chore: consistent color utils 2024-12-17 13:44:46 +01:00
Johannes Kirschbauer
0330ee39a3 UI: init label typography 2024-12-17 13:43:25 +01:00
Qubasa
fee5cf6c06 clan-cli: Make clan ssh automatically start tor 2024-12-17 12:13:18 +01:00
DavHau
b64422679e vars: commit files for clan vars set
fixes #2601
2024-12-17 15:56:08 +07:00
Michael Hoang
60c2ca726a clan-cli: don't list non-Clan NixOS configurations 2024-12-17 15:11:38 +11:00