Commit Graph

1179 Commits

Author SHA1 Message Date
Johannes Kirschbauer
17532e999f API: add clanModules list and details test 2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
cf03c71966 Docs: rename clanName to just name 2024-06-25 14:21:53 +02:00
Qubasa
1cb6cff6fe clan-cli: Better env jailing in temporary_home 2024-06-25 12:03:44 +02:00
a-kenji
a6f342db35 clan: state list improve formatting 2024-06-25 11:50:19 +02:00
a-kenji
69e826fc17 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
a-kenji
9d394baca5 clan: ssh fix typos 2024-06-25 10:32:05 +02:00
Qubasa
642b60cd98 clan-cli: Acutally test SecretStore for age and password-store. 2024-06-24 21:41:16 +02:00
Qubasa
10877d73f4 clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret 2024-06-24 20:08:02 +02:00
Qubasa
960d8541b1 Fix run_vm test
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766 Fixed Contributing.md guide 2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e clan-cli: Add validity check for ssh
stash
2024-06-24 19:22:19 +02:00
Qubasa
7b0e1b437b clan-cli: Add validity check for age key generation 2024-06-21 15:07:53 +02:00
Qubasa
7cd26af66e clan-cli: Disable stack trace on KeyboardInterrupt 2024-06-21 13:11:33 +02:00
Johannes Kirschbauer
c4705ef8b6 UI: display block devices 2024-06-19 11:36:19 +02:00
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
Johannes Kirschbauer
97d8dd9816 API: init methods: hw_generate, dns discovery 2024-06-16 16:29:18 +02:00
Johannes Kirschbauer
0826c2bce0 Docs: update machine hardware config instructions 2024-06-15 22:27:46 +02:00
Johannes Kirschbauer
ec1eab7e14 CLI: init hw-generate command 2024-06-15 21:31:23 +02:00
Johannes Kirschbauer
759ace4f74 API: init op_key, improve seralisation & signature typing 2024-06-15 11:32:09 +02:00
samrose
ca784a632d fix: trying run_no_stdout with original show-config 2024-06-13 18:44:50 -04:00
samrose
74ebbe77f3 fix: formatting cli command correctly 2024-06-13 12:59:26 -04:00
samrose
7c68030300 fix: outside of direnv clan-li warns this is going to be deprecated 2024-06-13 12:44:48 -04:00
Johannes Kirschbauer
72d99bd0f7 API: init icon resolve 2024-06-12 13:21:39 +02:00
Johannes Kirschbauer
74538f69a9 Webview: add form handling for create clan 2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
b0845c050c API: improve type & class construction 2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
6532e2acff Webview: init 'open clan' workflow 2024-06-11 16:28:02 +02:00
Johannes Kirschbauer
81b1487057 api: refactor create flake into create clan 2024-06-11 12:11:29 +02:00
clan-bot
18506310ff Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' (#1582) from synapse into main 2024-06-10 13:24:08 +00:00
DavHau
f4060b6d16 test: extend minimal flake test with verification 2024-06-09 22:19:38 -07:00
DavHau
8eafd43fd3 tests: add test for creating machine on minimal clan 2024-06-09 21:54:04 -07:00
Johannes Kirschbauer
af69c57a9e Clan-cli/show: more detailed description 2024-06-08 18:24:54 +02:00
Johannes Kirschbauer
61db2382af API: add show clan to retrieve the buildClan meta 2024-06-08 17:53:17 +02:00
Johannes Kirschbauer
16a8ff208e API: add abstract open_file method, implement open_file 2024-06-08 17:04:56 +02:00
Johannes Kirschbauer
56b72ebb09 api: list files 2024-06-08 15:01:53 +02:00
a-kenji
cfd809581d clan: fix backup provider completions 2024-06-07 19:16:13 +00:00
a-kenji
98b438754a clan: remove very obvious comments
Remove some very obvious comments as to not lose meaning of the
comments.

We want comments that convey non-obvious behavior so they will be
actually read.
2024-06-07 14:45:53 +02:00
a-kenji
ac7b30c43f clan: install shell completions for zsh 2024-06-06 23:20:54 +02:00
Jörg Thalheim
46530a0a9c postgresql: add backup and restore 2024-06-06 14:28:50 +02:00
Jörg Thalheim
4822fbc80e add postgresql backup hooks 2024-06-06 13:27:30 +02:00
Jörg Thalheim
c1d86cd8ac fix running cli without arguments 2024-06-06 13:27:30 +02:00
Qubasa
b54e072e9d clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret 2024-06-05 14:31:45 +02:00
clan-bot
d115837167 Merge pull request 'clan-cli: temporary_home, set XDG_RUNTIME_DIR' (#1571) from Qubasa/clan-core:Qubasa-main into main 2024-06-05 11:39:14 +00:00
Qubasa
0ffb45eaf0 clan-cli: temporary_home, set XDG_RUNTIME_DIR 2024-06-05 13:34:17 +02:00
a-kenji
0c09fcbbda clan: improve machine completions
In recent nix versions the `nix flake show` command busts the eval
cache, which made the function that used to be faster, slower.

On benchmarks the completion was around 180-200ms.
2024-06-05 13:32:23 +02:00
a-kenji
ece426f8b0 clan: fix backup description 2024-06-05 11:35:04 +02:00
a-kenji
1e6ea7344e clan: add dynamic completions to clan backups providers 2024-06-05 09:23:02 +00:00
a-kenji
99008e1e3a clan: add dynamic completion function for backup providers 2024-06-05 09:23:02 +00:00
Johannes Kirschbauer
5b9a73aef5 clan-api: wrap all api responses with error/success envelop type 2024-06-05 09:46:48 +02:00
Johannes Kirschbauer
2e70a884bb clan-cli: create flake refactor to create clan 2024-06-05 09:45:47 +02:00