Johannes Kirschbauer
076a5cad89
Unit tests: fix template test - override the input in the flake template
2024-07-17 12:06:23 +02:00
DavHau
117843021e
vars: implement dependencies
2024-07-17 16:42:16 +07:00
Johannes Kirschbauer
24b3674983
Inventory: fix dataclasses discrepancy once more
2024-07-17 11:39:18 +02:00
Johannes Kirschbauer
0bfba72739
Inventory: fix options
2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
ef18d60286
Inventory: extend python dataclasses by schema changes
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
7e21428548
Inventory: extend model by deployment info
2024-07-17 10:09:58 +02:00
Qubasa
dfb1f18e2d
clan-app: Add automatic debug console in debug mode
2024-07-16 21:01:35 +02:00
Qubasa
bfe952d910
clan-app: Add threaded api execution by default
2024-07-16 20:44:48 +02:00
Qubasa
ccece77680
clan-app: WebExecutor now mirrors jsonschema api types generically
2024-07-16 16:34:59 +02:00
clan-bot
be4f90eca1
Merge pull request 'cli: add programms to allowed list' ( #1765 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 11:52:56 +00:00
Johannes Kirschbauer
54dcbfae01
cli: add programms to allowed list
2024-07-16 13:49:16 +02:00
clan-bot
14bb11d702
Merge pull request 'vars: add test for multiple machines' ( #1763 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 11:38:31 +00:00
DavHau
d700f651b4
vars: add test for multiple machines
2024-07-16 18:35:13 +07:00
Qubasa
c115e9b0db
clan-app: Improve method_name argument
2024-07-16 12:16:52 +02:00
clan-bot
8a092cfed4
Merge pull request 'API: async signal integration migration' ( #1762 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 09:37:25 +00:00
Johannes Kirschbauer
cc238ecc60
API: async signal integration migration
2024-07-16 11:28:20 +02:00
DavHau
37e6ca7a30
clan-cli: deprecate nix_shell() in favor of run_cmd()
2024-07-16 14:03:17 +07:00
DavHau
0e335f7ecc
impure-checks: improve performance by disabling dynamic deps
2024-07-16 12:42:45 +07:00
Johannes Kirschbauer
ce387482bb
Webview: flash view
2024-07-15 20:40:29 +02:00
Johannes Kirschbauer
e4b11a6dc1
Webview: migrate create clan form to async api
2024-07-15 20:40:29 +02:00
clan-bot
c80e2538c4
Merge pull request 'Webview: add solid-query for improved resource fetching & caching' ( #1755 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 17:53:54 +00:00
Qubasa
cd48b8df0c
clan-app: Fix mypy lints and add GenericFnRuntime
2024-07-15 19:48:20 +02:00
Johannes Kirschbauer
729e893820
Webview: add solid-query for improved resource fetching & caching
2024-07-15 19:41:01 +02:00
Qubasa
25fea331d0
clan-app: Add Webview to python async backend
2024-07-15 19:24:38 +02:00
Qubasa
bb9058f5ef
clan-app: Remove vm-manager from codebase
2024-07-15 19:24:38 +02:00
Jörg Thalheim
a54dc76af1
switch to nixfmt from nixpkgs-fmt
2024-07-15 16:47:54 +02:00
Jörg Thalheim
0aac83b8c5
webview: restrict what links can be browsed
2024-07-15 12:54:49 +02:00
Jörg Thalheim
0bb5000f2a
docs/clan-app: add missing npm install
2024-07-15 12:52:28 +02:00
Johannes Kirschbauer
ad321976ff
Fix schema test
2024-07-14 15:02:32 +02:00
Johannes Kirschbauer
7bbe63a525
Fix schema test
2024-07-14 13:38:43 +02:00
Johannes Kirschbauer
e54101165f
Inventory: generate exact schema for validation & documentation
2024-07-14 13:30:02 +02:00
Johannes Kirschbauer
3034b9ef92
Json-schema: extend interface by header to allow schema spec and arbitrary extensions
2024-07-14 13:29:19 +02:00
Qubasa
bdbf8a8da0
clan-cli: Fix missing allowed-programs.json in package
2024-07-14 13:07:24 +02:00
Johannes Kirschbauer
ba8a9c7565
Webview: add clanList edit
2024-07-11 18:45:35 +02:00
Johannes Kirschbauer
b324e1a4f4
Fix some type issues
2024-07-11 17:05:57 +02:00
Johannes Kirschbauer
af4e843131
Webview: add welcome workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
ac413a4d13
Webview: Add async method handling
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
1e4a761c53
Clan create: add template url field
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
060f020d83
Webview: add feeback for clan create workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
8077053100
Webview: improve error debug abilities
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
d2e94b8188
API: improve json serialization
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
dfec6afd6b
Clan create: migrate to inventory
2024-07-11 16:39:06 +02:00
DavHau
9988fb744c
vars: implement sops.defaultGroups
2024-07-11 18:39:29 +07:00
DavHau
75b969b1ad
clan-cli: improve runtime dependency management
...
Many dependencies of clan-cli are currently dynamically loaded via nix-shell on each execution.
This is nice, as it reduces the initial closure size of clan, but the overhead introduced by nix-shell piles up quickly, as some commands shell out many times during their lifetime. For example, when adding a secret git is called 10+ times.
This reduces the time of a test which adds a secret from around 50 seconds to 15 seconds.
- add run_cmd() as an alternative to nix_shell()
- introduce the concept of static dependencies which do not need to go through nix-shell
- static dependencies are defined at build time and included into the wrapper for clan-cli
- add package: clan-cli-full which statically ships all required dependencies
TODO: deprecate nix_shell() in favor of run_cmd()
2024-07-11 15:34:41 +07:00
DavHau
d21926db47
vars: implement secret generation
2024-07-11 11:37:17 +07:00
clan-bot
b066c3633a
Merge pull request 'clan-cli: simplify cli helper' ( #1726 ) from DavHau/clan-core:DavHau-dave into main
2024-07-10 11:18:48 +00:00
DavHau
e7908c2af5
clan-cli: simplify cli helper
2024-07-10 18:14:06 +07:00
Johannes Kirschbauer
4e9778f7d6
UI: improve open clan from directory & list machines
2024-07-10 11:08:03 +02:00
Johannes Kirschbauer
10bae7dcb0
UI: init flash poc
2024-07-10 09:43:18 +02:00
Qubasa
d917144819
fixup! clan-app: Add webview hot-reloading
2024-07-09 15:55:22 +02:00