13c3169b41
lib: eval clan module as lib function
2024-06-24 15:47:25 +02:00
1ff58adcef
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
8ee33950e6
clan-cli: Disable stack trace on KeyboardInterrupt
2024-06-21 13:11:33 +02:00
399ce2e35c
UI: display block devices
2024-06-19 11:36:19 +02:00
56b2347a30
UI: display known network hosts
2024-06-19 11:07:45 +02:00
313db5643f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
b73246bdfd
API: init methods: hw_generate, dns discovery
2024-06-16 16:29:18 +02:00
43e8804eb4
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
5e39514251
CLI: init hw-generate command
2024-06-15 21:31:23 +02:00
3ebee252aa
Webview: init machine details
2024-06-15 11:35:15 +02:00
720fb4af63
Webview: minor improvements
2024-06-15 11:34:54 +02:00
af19950dfa
Webview: init global state for current clan path
2024-06-15 11:34:20 +02:00
149be249fa
Webview: init api event registry
2024-06-15 11:33:53 +02:00
0cf86806b2
API: mock echo op_key
2024-06-15 11:32:42 +02:00
cb847cab82
API: init op_key, improve seralisation & signature typing
2024-06-15 11:32:09 +02:00
06bbae6d14
fix: trying run_no_stdout with original show-config
2024-06-13 18:44:50 -04:00
5f22493361
fix: formatting cli command correctly
2024-06-13 12:59:26 -04:00
56a4caf39b
fix: outside of direnv clan-li warns this is going to be deprecated
2024-06-13 12:44:48 -04:00
6743ff96a9
API: init icon resolve
2024-06-12 13:21:39 +02:00
48aee84547
Webview: add form handling for create clan
2024-06-11 19:20:40 +02:00
d587b326b5
API: improve type & class construction
2024-06-11 19:20:40 +02:00
913ab4627c
Webview: init 'open clan' workflow
2024-06-11 16:28:02 +02:00
8dcb009e5b
api: refactor create flake into create clan
2024-06-11 12:11:29 +02:00
a1acf0b05d
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
6f18a5de92
test: extend minimal flake test with verification
2024-06-09 22:19:38 -07:00
07fb01d9db
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
f0c9de9e50
gui-installer: fix maintainer name
2024-06-09 14:28:54 +02:00
5473e2733c
Clan-cli/show: more detailed description
2024-06-08 18:24:54 +02:00
c647197b8c
Webview: add solid-toast feeback system
2024-06-08 18:14:15 +02:00
bd586575b3
API: add show clan to retrieve the buildClan meta
2024-06-08 17:53:17 +02:00
6adcd1fdf2
API: add abstract open_file method, implement open_file
2024-06-08 17:04:56 +02:00
6689d45a4f
UI: add open clan button
2024-06-08 15:24:18 +02:00
337ba1f8f6
api: list files
2024-06-08 15:01:53 +02:00
a7f724a804
clan: fix backup provider completions
2024-06-07 19:16:13 +00:00
7286c7250c
gui-installer: calculate bugfix version from lastModifiedDate
2024-06-07 11:35:25 -07:00
2ce704dd40
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
02a015a1b6
clan: install shell completions for zsh
2024-06-06 23:20:54 +02:00
0dc3b9f056
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
6dec2a9222
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
f71295e640
fix running cli without arguments
2024-06-06 13:27:30 +02:00
5f7099fc89
clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret
2024-06-05 14:31:45 +02:00
fe08fef015
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
5ff5b46896
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
49e67ac46c
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
7dce6ad6c4
clan-app: switch default view to webui
2024-06-05 12:10:26 +02:00
779229a907
Merge pull request 'clan-app: rename clan-vm-manager' ( #1569 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:41:05 +00:00
06412865bb
clan-app: rename clan-vm-manager
2024-06-05 11:36:02 +02:00
fab311b53a
clan: fix backup description
2024-06-05 11:35:04 +02:00
0fb207bb59
clan-app: rename clan-vm-manager
2024-06-05 11:24:59 +02:00
c9038ad0b3
clan: add dynamic completions to clan backups
providers
2024-06-05 09:23:02 +00:00
b4699cd8a3
clan: add dynamic completion function for backup providers
2024-06-05 09:23:02 +00:00
78dbabf901
web-ui: init type API checks
2024-06-05 11:07:55 +02:00
92bc2962b8
web-ui: remove type test method
2024-06-05 09:54:17 +02:00
6576290160
clan-api: wrap all api responses with error/success envelop type
2024-06-05 09:46:48 +02:00
db88e63148
clan-cli: create flake refactor to create clan
2024-06-05 09:45:47 +02:00
f2d2102127
clan-cli: refactor CmdOut to serializable dataclass
2024-06-05 09:44:44 +02:00
b9bf453731
clan-api: add support for generic types & annotated types
2024-06-05 09:43:45 +02:00
4bd927cbcf
demo.sh: fix tags
2024-06-04 15:23:39 -07:00
c926f23c09
clan: add dynamic completions to clan vms inspect
2024-06-04 15:50:50 +02:00
21ac1f7204
clan: add dynamic completions to clan vms run
2024-06-04 15:48:12 +02:00
05ff7bd261
clan: add dynamic completions to clan config
2024-06-04 15:44:39 +02:00
0bd13727de
clan: add dynamic-completions to clan secrets set
2024-06-04 15:21:00 +02:00
e1d6d04b48
clan: add dynamic completions to clan secrets machines
2024-06-04 15:02:35 +02:00
9dbbb6f2f6
clan: add dynamic completions for clan secrets import-sops
2024-06-04 13:40:24 +02:00
d4fabff7f4
clan: add dynamic completions for secret groups
2024-06-04 13:30:38 +02:00
b21bef0b98
clan: add dynamic completions for clan secrets users
2024-06-04 13:30:38 +02:00
533ed97fc1
clan: add dynamic completion for clan secret groups
2024-06-04 13:30:38 +02:00
e7e5a1ded8
clan: add completion function for clan users
2024-06-04 13:30:11 +02:00
4e95030e55
clan: clan secrets groups
add machine completions
2024-06-04 13:30:11 +02:00
2923051a12
clan: fix help message
2024-06-04 10:28:34 +00:00
addc4de735
clan: add more machine completion functions to secrets
2024-06-04 11:07:24 +02:00
62be27ec62
demo.sh: fix tag
2024-06-03 21:55:09 -07:00
d4d69d6990
distro-packages: add test for deb installation
2024-06-04 06:09:58 +02:00
31eca9e8bc
clan: add dyncamic completions for secrets
2024-06-03 21:47:14 +02:00
cfb78b0edb
clan: add dynamic machine completions to clan secrets
subcommands
2024-06-03 17:32:33 +02:00
e8241fb7c9
clan: add dynamic completion to clan machines show
2024-06-03 17:06:03 +02:00
578162425d
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit ba86b49952
.
2024-06-03 12:25:20 +02:00
da8a733899
clan_cli secrets_upload: fix permissions
2024-06-03 10:52:18 +02:00
ba86b49952
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
d513f66170
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
1a39957dbb
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
133f2b705f
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
83fe58e003
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
481f926b17
Merge pull request 'split list machines into show machine command' ( #1521 ) from machines-show into main
2024-05-31 15:00:03 +00:00
788eae432a
split list machines into show machine command
2024-05-31 16:56:09 +02:00
bcccf301f0
clan: add dynamic completions for fact generation services
2024-05-31 15:21:07 +02:00
d31aa7cf88
clan: add completion timeout as static
2024-05-31 13:06:46 +02:00
9f19a8e605
Merge pull request 'clan: add dynamic completions' ( #1522 ) from a-kenji-clan/cli/init-dynamic-completions into main
2024-05-31 11:00:50 +00:00
23ef39a2d9
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
c91c90a2a6
tea-create-pr: Add automatic rebase and autostash
2024-05-30 23:59:27 +02:00
01a4748d6b
tea-create-pr: Fix non working assignees label
2024-05-30 23:37:53 +02:00
a8762522c8
tea-create-pr: Better username detection
2024-05-30 23:29:59 +02:00
f63e3618c2
tea-create-pr: Require fork and upstream branch
2024-05-30 22:25:25 +02:00
076b98ff00
Merge pull request 'Webview: css font and icon import transformation' ( #1501 ) from hsjobeki-main into main
2024-05-30 16:28:14 +00:00
6999685bba
Webview: css font and icon import transformation
2024-05-30 18:23:49 +02:00
7cb8c114c2
install.sh: improvements
...
- use either curl or wget
- add to PATH /nix/var/nix/profiles/default/bin
2024-05-29 18:51:34 +02:00
ccadac4bb3
gui-installer: depend on git + ignore flake config
2024-05-29 17:42:44 +02:00
9bf76037aa
Webview: bootstrap layout
2024-05-29 16:40:54 +02:00
c1e2bc9ea9
make config command read-only
2024-05-29 13:17:55 +02:00
0eef21e2ef
Merge pull request 'Update flakes' ( #1492 ) from pass-nix-options into main
2024-05-29 10:58:19 +00:00