a-kenji
c40fca6261
pkgs/clan(templates): Add shell completions
2025-07-15 14:46:04 +02:00
hsjobeki
311d68dfff
Merge pull request 'ui/scene: refactor simplify select animation' ( #4325 ) from ui-scene-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4325
2025-07-13 18:56:12 +00:00
Johannes Kirschbauer
8627398e3e
ui/scene: simplify select animation
2025-07-13 20:44:12 +02:00
Johannes Kirschbauer
d87a771a78
ui/scene: rename file
2025-07-13 20:43:35 +02:00
hsjobeki
e8ecd22bab
Merge pull request 'clan_cli: move __init__.py into cli.py' ( #4323 ) from cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4323
2025-07-13 16:14:21 +00:00
Johannes Kirschbauer
b0ef0cf341
clan_cli: add empty __init__.py for relative imports
2025-07-13 18:03:56 +02:00
Johannes Kirschbauer
3e82e63443
clan_cli: rename references
2025-07-13 15:53:10 +02:00
Johannes Kirschbauer
f3dab3f9bb
clan_cli: move __init__.py into cli.py
...
This helps to reduce import cycles in python
If ANY python module from clan_cli is imported all the imports of the __init__.py are executed leading to a lot of cycles
2025-07-13 15:52:29 +02:00
Johannes Kirschbauer
fc6faa882b
api/services: add get_service_module_schema
2025-07-13 14:56:57 +02:00
Johannes Kirschbauer
9c7f684ec5
instances: create_service_instance init
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
6d2f522cbb
lib/modules: list modules consistent argument
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
079f5d1033
lib/modules: rename 'list_modules' to 'list_service_modules'
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
ceb0221daf
lib/disks: move from api to templates
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
943dde4bbf
lib/modules: move from api to services module
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
5f19e76cd0
api/modules: remove redundant localModules
2025-07-13 11:52:19 +02:00
Johannes Kirschbauer
9ece8c6d10
Templates/cli: improve ux and docs
2025-07-12 17:21:23 +02:00
hsjobeki
f9f9d8b936
Merge pull request 'pkgs/clan(templates): Fix template help' ( #4315 ) from ke-fix-template-help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4315
2025-07-12 15:06:31 +00:00
a-kenji
9a5fa7406d
pkgs/clan(templates): Fix template help
...
Currently the template help has the following interface:
```
usage: clan [-h] [SUBCOMMAND]
The clan cli tool
positional arguments:
{show,backups,b,flakes,f,templates,flash,ssh,secrets,facts,vars,va,machines,m,vms,select,se,state,st}
show Show meta information about the clan
backups (b) Manage backups of clan machines
flakes (f) Create a clan flake inside the current directory
templates Subcommands to interact with templates
flash Flashes your machine to an USB drive
ssh Ssh to a remote machine
secrets Manage secrets
facts Manage facts
vars (va) Manage vars
machines (m) Manage machines and their configuration
vms Manage virtual machines
select (se) Select nixos values from the flake
state (st) Query state information about machines
options:
-h, --help show this help message and exit
Online reference for the clan cli tool: ]8;;https://docs.clan.lol/reference/cli\https://docs.clan.lol/reference/cli ]8;;\
For more detailed information, visit: ]8;;https://docs.clan.lol\https://docs.clan.lol ]8;;\
```
2025-07-12 16:42:05 +02:00
a-kenji
3ad2e045e8
pkgs/clan(templates): Add machine completions
...
Add machine completions for the `--to-machine` subcommand
2025-07-12 16:02:51 +02:00
hsjobeki
d861fb435b
Merge pull request 'cli/create: add interactive name method' ( #4310 ) from getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4310
2025-07-12 13:27:38 +00:00
Johannes Kirschbauer
135df0dbe6
clan/create: rename path to name argument
2025-07-12 15:16:31 +02:00
Johannes Kirschbauer
c1bad93d36
templates/copy: fix use shutil to copy hidden dot files
2025-07-12 15:08:40 +02:00
Johannes Kirschbauer
f7b39fc941
cli/create: add interactive name method
2025-07-12 14:12:10 +02:00
a-kenji
f97bbc946e
pkgs/clan: Fix command typos
2025-07-12 13:54:37 +02:00
Johannes Kirschbauer
4c4a17ed0c
cli/templates: init apply disk
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
78b1931271
lib/disks: add parameter to disable hardware checking
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
c26809df16
cli/machine/hardware: improve error message
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
6d90a39747
get_machine: fix error message for not existing machine
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
615607730d
lib/copy: fix, copying the content of tempate directory, not the directory itself
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
69e432e727
openapi: remove verb {open}, noun {file}
2025-07-10 18:44:34 +02:00
Johannes Kirschbauer
480fdfaf8a
API: rename {open_file, open_clan_folder} into {get_system_file, get_clan_folder}
2025-07-10 18:42:03 +02:00
Johannes Kirschbauer
7f3292ceb0
Docs: improve api docs of {open_file, open_clan_folder}
2025-07-10 18:40:48 +02:00
hsjobeki
387807800e
Merge pull request 'UI/App: improve cube scene' ( #4298 ) from ui-scene into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4298
2025-07-10 16:27:49 +00:00
Johannes Kirschbauer
d0bc2e9074
UI/Cubes: init circle positioning
2025-07-10 18:23:32 +02:00
Johannes Kirschbauer
a5d5736981
UI/qubescene: add create animation
2025-07-10 17:00:36 +02:00
Johannes Kirschbauer
219e974fc6
UI/qubescene: add delete and reposition animation
2025-07-10 16:53:49 +02:00
Johannes Kirschbauer
57fb62c2c8
UI/qubescene: dynamically recalculate the positions
2025-07-10 16:49:14 +02:00
Johannes Kirschbauer
0d5199604e
UI/cubescene: init delete cube
2025-07-10 16:45:49 +02:00
Qubasa
695141b2ae
clan-app: Make http server non blocking, add tests for the http server and for cancelling tasks
2025-07-10 17:21:18 +07:00
Qubasa
70eb67ffd2
stash
2025-07-10 16:09:08 +07:00
Qubasa
90a32dba0f
clan-app: Working swagger requests
2025-07-10 16:09:08 +07:00
Qubasa
dbb3e889e1
clan-lib: Fix @API.register_abstract not throwing correct error when called directly without implementation
...
clan-app: Fix mypy lint
clan-lib: Mark test as with_core
2025-07-10 15:09:51 +07:00
Qubasa
f3873683cc
clan_lib: Add test for check_valid_clan function
2025-07-10 14:20:02 +07:00
Qubasa
b1c3acb008
clan-app: Implement open_clan_folder api request
2025-07-10 14:19:19 +07:00
Qubasa
70f7f7e676
clan-app: Moved thread handling up to the ApiBridge
2025-07-10 12:02:30 +07:00
a-kenji
80655edf6a
pkgs/clan: Fix template listing
2025-07-09 19:29:15 +02:00
hsjobeki
73c74cb967
Merge pull request 'openapi: add strict top-level checking' ( #4280 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4280
2025-07-09 15:24:45 +00:00
Johannes Kirschbauer
e4de5fe035
openapi: add strict top-level checking
2025-07-09 16:57:06 +02:00
Johannes Kirschbauer
474a0a3f9d
api: rename {list_system_services_mdns, list_system_storage_devices}
2025-07-09 16:51:42 +02:00
lassulus
e5f07cd0d2
Merge pull request 'feat: implement macOS sandboxing for vars generation using sandbox-exec' ( #4228 ) from darwin-sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4228
2025-07-09 14:37:24 +00:00