Johannes Kirschbauer
79321485c7
docs/api: add docstrings to {list_mdns_services, set_clan_details}
2025-07-07 15:47:14 +02:00
Johannes Kirschbauer
d0c6cfaed0
api: remove unused get_directory
2025-07-07 15:45:51 +02:00
Johannes Kirschbauer
67973d1382
api: expose docstring as function description
2025-07-07 14:51:15 +02:00
Johannes Kirschbauer
cc0382fb57
api/tasks: rename 'cancel_task' into 'delete_task'
2025-07-07 14:07:53 +02:00
Johannes Kirschbauer
874faad285
api: rename 'show_mdns' -> 'list_mdns_services'
2025-07-07 10:49:46 +02:00
Johannes Kirschbauer
c503f41b7c
docs: improve docstring for 'list_block_devices'
2025-07-07 10:46:26 +02:00
Johannes Kirschbauer
1c33f30135
api/clan: rename 'show_clan_meta' -> 'get_clan_details'
2025-07-07 10:41:00 +02:00
Johannes Kirschbauer
0d0554cdf6
api/hardware: consolidate into 'describe_machine_hardware'
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
adb726c318
Templates/list: display templates via exposed nix value
2025-07-06 14:37:03 +02:00
Jörg Thalheim
e8247533a9
clan-cli: handle None in union types to prevent TypeError
...
Add comprehensive test coverage for union types with None to prevent
regression of the issubclass() TypeError that was occurring when
checking if None is in a union type.
2025-07-04 18:39:01 +02:00
Qubasa
0d1e1d9796
treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.
2025-07-04 17:11:31 +02:00
Qubasa
e982daf9d9
clan_lib: Move load_in_all_api_functions to clan_lib
2025-07-04 14:22:40 +07:00
Qubasa
83e4dcf8f7
clan-cli: Print function name to raise for unsupported types by API.register
2025-07-04 13:17:01 +07:00
Qubasa
26680bc784
clan-app: simplified task function, moved them to a separate file
2025-07-02 16:18:37 +07:00
Qubasa
43df077dda
clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory
2025-06-24 21:42:18 +02:00
Qubasa
168e1d8c96
clan-cli: Move hardware.py to clan_lib/machines
2025-06-24 11:07:37 +02:00
Qubasa
bc6b7e4ae9
clan-lib: Rename check_machine_online to can_ssh_login. Move to Remote object
2025-06-23 14:21:51 +02:00
Qubasa
87f4fbfcbf
clan-cli: Fix check_machine_online to use Remote object instead of machine, this makes it possible to override HostKeyCheck properly
2025-06-12 16:36:55 +02:00
Qubasa
68b7c22faf
clan-cli: init machine from inventory
2025-06-12 16:36:55 +02:00
Qubasa
e27bb956c9
clan-lib: Add LogManager class
2025-06-12 16:24:40 +02:00
Qubasa
25a6108198
clan-lib: Move task functions to own file
2025-06-12 16:23:53 +02:00
Qubasa
2bbf97199f
clan-cli: Fix test_create::test_clan_create_api
2025-06-02 15:39:50 +02:00
Qubasa
8b1968cca6
clan-cli: Move Machine object to clan_lib
2025-05-22 19:11:19 +02:00
Qubasa
e14f30bdc0
clan-cli: Rename Host -> Remote move to clan_lib and mark as frozen
2025-05-22 14:08:27 +02:00
Johannes Kirschbauer
6c1f8638f5
chore(clan_lib) add api.serde tests for typed_dict
2025-05-21 10:01:27 +02:00
Johannes Kirschbauer
ffc82928a7
docs: add doc-string to api serde utilities
2025-05-21 10:00:42 +02:00
Johannes Kirschbauer
70d06a189b
Refactor(clan_lib): move serde tests next to serde module
2025-05-21 09:36:00 +02:00
hsjobeki
3edd6487cc
Merge pull request 'feat(docs,api): expose inventory.instances interface' ( #3721 ) from hsjobeki/clan-core:inventory-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3721
2025-05-20 15:29:14 +00:00
Johannes Kirschbauer
9eeae6e229
feat(classgen): add support for unknown types
2025-05-20 16:10:25 +02:00
lassulus
f2bf142e80
clan-cli: clan_cli.git -> clan_lib.git
2025-05-20 14:35:14 +02:00
lassulus
ed89352ea1
clan-cli: clan_cli.dirs -> clan_lib.dirs
2025-05-20 12:08:30 +02:00
lassulus
9a0c6f55bd
clan-cli: clan_cli.cmd -> clan_lib.cmd
2025-05-19 19:07:24 +02:00
lassulus
cb74273da4
clan-cli: move clan_cli.nix to clan_lib.nix
2025-05-19 18:40:36 +02:00
lassulus
fa052f45bd
clan_lib: move clan_lib.flake.flake to clan_lib.flake
2025-05-16 19:28:36 +02:00
Johannes Kirschbauer
fe0507b47c
refactor: move clan_cli.error to clan_lib.error
2025-05-16 16:14:39 +02:00
lassulus
5423b9af41
clan_cli: move flake class to clan_lib
2025-05-16 13:38:47 +02:00
Qubasa
2f0114a236
clan-cli: Unify list_machines and use flake caching
2025-05-16 10:47:49 +02:00
Johannes Kirschbauer
70e2a6d116
chore: remove unused iwd python module
2025-05-14 16:17:03 +02:00
hsjobeki
310450d142
Merge pull request 'UI: make tasks cancleable' ( #3586 ) from hsjobeki/clan-core:qubasas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3586
2025-05-12 16:24:45 +00:00
Johannes Kirschbauer
96d6ae68b7
Feat(UI/modules): display more module informations
2025-05-12 18:09:42 +02:00
Qubasa
3ea01c60f6
working fileSelect component
2025-05-12 17:54:10 +02:00
Qubasa
38ea6515cf
clan-app: Add cancellable tasks
2025-05-12 17:54:10 +02:00
Qubasa
01f9bb358e
clan-cli: Use machine object everywhere instead of name + flake
2025-05-09 13:13:14 +02:00
Qubasa
5f7b95ac73
clan-cli: remove useless run_no_stdout function
2025-05-08 12:30:16 +02:00
Qubasa
89decdaf7e
clan-cli: Refactor the API to use the Flake object
2025-05-07 16:43:50 +00:00
Johannes Kirschbauer
3413a08c4e
Feat(modules): display clan.service modules
2025-05-07 16:03:39 +02:00
Johannes Kirschbauer
19dbab01d7
chore(API): cleanup remove unnused functions
2025-05-06 12:29:11 +02:00
Johannes Kirschbauer
fbd291ba11
chore: remove unused moduleSchemas and related API endpoint for legacy modules
...
We didn't reach the state where we would display these schemas in the
UI.
We might need to wire this up in a similar way for the newer
clan.services
2025-04-27 13:14:09 +02:00
Johannes Kirschbauer
f6628ec1a9
Refactor(clan_lib): move clan_cli.api into clan_lib.api
2025-04-26 19:51:35 +02:00