Commit Graph

1462 Commits

Author SHA1 Message Date
clan-bot
1a81a3caea Merge pull request 'init: vscode .#editor' (#1461) from Qubasa-init/editors into main 2024-05-27 12:00:26 +00:00
Qubasa
d45ce2183e init: vscode .#editor 2024-05-27 13:52:54 +02:00
Jörg Thalheim
0ea0872cd6 drop offline in nix shell
Otherwise we become gentoo!
2024-05-27 13:40:11 +02:00
a-kenji
c47916651c clan: fix description of cli tool 2024-05-27 11:51:25 +02:00
a-kenji
578fc55e40 clan: facts generate allow regeneration of facts
Add `--regenerate` flag to `clan facts generate` which allows forcing
the generation of facts, regardless of their current existence.

Examples:
```
clan facts generate [MACHINE] --regenerate
```
or
```
clan facts generate [MACHINE] --service [SERVICE] --regenerate
```
2024-05-26 22:55:48 +02:00
clan-bot
6b15862f12 Merge pull request 'clan: facts generate specific service' (#1446) from a-kenji-feat/clan/facts-generate-service-1395 into main 2024-05-26 19:57:17 +00:00
a-kenji
4e87389a4d clan: facts generate specific service
Add `--service` flag to the `clan` cli which allows specifying a certain
service to be generated.

Example:

```
clan facts generate [MACHINE] --service [SERVICE]
```

Fixes #1395
2024-05-26 21:52:56 +02:00
Johannes Kirschbauer
a3a250b57d Webview: improve linting & typechecks 2024-05-26 18:37:29 +02:00
clan-bot
2a1ebc63f0 Merge pull request 'Api: init response envelop' (#1444) from hsjobeki-feat/api-improvements into main 2024-05-26 16:08:02 +00:00
Johannes Kirschbauer
2d9be0e603 API: handle functions with multiple arguments 2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
5e266578ae Api: init response envelop 2024-05-26 15:57:10 +02:00
clan-bot
a4ffc78e4f Merge pull request 'clan: fix clan facts list [MACHINE]' (#1442) from a-kenji-fix/clan-facts-list into main 2024-05-26 12:29:37 +00:00
a-kenji
ead8118713 clan: fix clan facts list [MACHINE]
Fix `clan facts list [MACHINE]`.
The get command returned a dictionary of bytestrings.
We now convert them to strings.
2024-05-26 14:26:08 +02:00
Johannes Kirschbauer
daa0be20de api: fix breaking tests 2024-05-26 14:17:17 +02:00
Johannes Kirschbauer
1dafa44ab8 api: convert name casing 2024-05-26 13:54:21 +02:00
Johannes Kirschbauer
bff3d3be5b webview: fix typo 2024-05-26 13:41:07 +02:00
Johannes Kirschbauer
bacc862d52 fix: tests 2024-05-26 13:41:05 +02:00
Johannes Kirschbauer
27ecbca557 api: improve message serialisation 2024-05-26 13:40:47 +02:00
a-kenji
5d0a0762b3 clan machines list: reduce noise
Don't log nix error output by default on `clan machines list`.
Log it, if `--debug` is passed.

Fixes #1115
2024-05-24 12:55:14 +02:00
clan-bot
9d1467ec8a Merge pull request 'zerotier-members: fix joining by member ip' (#1397) from a-kenji-fix/by-ip into main 2024-05-21 14:42:35 +00:00
a-kenji
34fd684652 zerotier-members: fix joining by member ip 2024-05-21 16:39:28 +02:00
Johannes Kirschbauer
13678606e7 api: fix typing issues 2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d6e0bbebd1 webview: replace dream2nix by buildNpm from nixpkgs to save inputs 2024-05-21 15:52:20 +02:00
Johannes Kirschbauer
3427b0360a clan ui: add check to build script 2024-05-21 10:09:05 +02:00
Johannes Kirschbauer
53548eb56e clan ui: move print into log.debug statements 2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8d77525664 clan ui: setup typed api method 2024-05-20 19:34:49 +02:00
Johannes Kirschbauer
fee16e6328 clan-ui: rollback default view until webview is ready 2024-05-20 11:08:14 +02:00
a-kenji
1612bfbae0 zerotier-members: allow joining by zerotier ip 2024-05-19 23:13:26 +02:00
Johannes Kirschbauer
59b3981582 fix: segfault gtk when using webkit 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
bd34807055 clan ui: override webkitgtk unbroken on darwin. 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
e8c1508dc7 clan ui: integrate webview ui into clan-mananger-gtk 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
484247de6d add webview threaded api 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
3b3426d219 init webview: add webview ui and list machine as api example 2024-05-18 14:14:12 +00:00
Qubasa
908f9af671 Migrated blog to mkdocs 2024-05-16 15:08:24 +02:00
Qubasa
bae03fa338 Add --no-reboot flag to clan machine install 2024-05-14 15:41:15 +02:00
Qubasa
ecc80556cf Heavily improve documentation and flake template 2024-05-14 15:41:15 +02:00
Qubasa
a82aac7757 Fix build error 2024-05-14 15:41:15 +02:00
Qubasa
aca83b3448 fix get_keymap_and_locale 2024-05-14 15:41:15 +02:00
Qubasa
9ccf712ce8 Removed ssh password login 2024-05-14 15:41:15 +02:00
Qubasa
182b6f51f7 Add keymap and language detection 2024-05-14 15:41:15 +02:00
Qubasa
edce28582a clan flash: Copied network-status from nixos-images into installer 2024-05-14 15:41:15 +02:00
Qubasa
b1dd5c2832 Add --ssh-pubkey FILE argument 2024-05-14 15:41:15 +02:00
a-kenji
a50aaa34c3 clan-cli(docs): modularize in preparation for manpage generation 2024-05-14 12:18:37 +02:00
Qubasa
a60978240c Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
clan-bot
72c05a4ba4 Merge pull request 'hsjobeki-main' (#1332) from hsjobeki-main into main 2024-05-08 10:30:16 +00:00
Johannes Kirschbauer
d5cf64c73e vm-manager: hide hidden vm log info 2024-05-08 12:27:16 +02:00
clan-bot
30a82d0a2f Merge pull request 'clan-cli: add --json and --png flags to machine install' (#1320) from a-kenji-feat/clan-install-json into main 2024-05-07 12:52:21 +00:00
a-kenji
c7e662806f clan-cli: add --json and --png flags to machine install
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.

Fixes #1180
2024-05-07 14:47:13 +02:00
Johannes Kirschbauer
d7f3b6a1e0 cli-docs: add automatic markdown cli docs 2024-05-07 13:26:33 +02:00
clan-bot
83c6f3a15d Merge pull request 'Add jsonschema test case' (#1309) from Qubasa-main into main 2024-05-04 12:14:07 +00:00