Jörg Thalheim
810a2c67f9
clan-cli/machines/list: mark test as pure
2025-08-14 16:33:21 +02:00
Jörg Thalheim
fbb28afb2f
clan-cli/flash: make tests runnable in sandbox
2025-08-14 16:23:22 +02:00
hsjobeki
a6ef38dadd
Merge pull request 'vars: move generator class and bound methods into seperate module' ( #4734 ) from generator-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4734
2025-08-14 14:17:14 +00:00
Mic92
328e0b20ac
Merge pull request 'machines/list: make tests pure' ( #4759 ) from no-impure-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4759
2025-08-14 14:07:51 +00:00
Brian McGee
245453b461
fix(ui): host file input max width
2025-08-14 14:57:26 +01:00
Jörg Thalheim
21e6a01cf3
machines/list: make tests pure
2025-08-14 15:54:00 +02:00
brianmcgee
302adf6f41
Merge pull request 'chore(ui): general cleanup' ( #4758 ) from chore/cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4758
2025-08-14 13:32:36 +00:00
Brian McGee
f754b88ae4
chore(ui): general cleanup
2025-08-14 14:28:23 +01:00
Jörg Thalheim
5817713e39
clan-vm-manager: don't mark test_is_local as impure.
...
should just work without it
2025-08-14 15:09:33 +02:00
pinpox
2637496059
zt-tcp-relay: drop
2025-08-14 12:03:47 +02:00
pinpox
35e5f4a42a
Remove clanModules
...
- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
2025-08-14 12:02:40 +02:00
Johannes Kirschbauer
4312e3fc2f
vars: move generator class and bound methods into seperate module
2025-08-14 11:05:42 +02:00
hsjobeki
7fdbd2e3eb
Merge pull request 'dirs: remove unused conditional import' ( #4736 ) from import-cleanup-dirs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4736
2025-08-13 17:46:19 +00:00
hsjobeki
7daebd5ee0
Merge pull request 'networking: remove unused conditional import' ( #4737 ) from networking-import into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4737
2025-08-13 17:46:04 +00:00
hsjobeki
cc8dd0564b
Merge pull request 'askpass: use protocol as interface' ( #4739 ) from interface-askpass into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4739
2025-08-13 17:43:01 +00:00
Johannes Kirschbauer
e28f280036
vars: remove unused conditional import
2025-08-13 19:24:53 +02:00
Johannes Kirschbauer
6fa2a977df
askpass: use protocol as interface
...
Avoids a cyclic dependency on the Remote class
Strips down the dependency closure by explizitly declaring what functions it needs
2025-08-13 19:21:18 +02:00
Johannes Kirschbauer
65dba2508f
dirs: remove unused conditional import
2025-08-13 19:04:32 +02:00
Johannes Kirschbauer
9884643070
networking: remove unused conditional import
2025-08-13 19:03:35 +02:00
Johannes Kirschbauer
5083992f7b
lib: remove unused TYPE_CHECKING
2025-08-13 18:26:57 +02:00
Johannes Kirschbauer
6bd8839128
lib/Remote: Unify class method _parse_ssh_uri with class file
2025-08-13 18:26:28 +02:00
DavHau
72d3ad09a4
vars: refactor - pass Machine objects to run_generators
2025-08-13 12:45:47 +00:00
DavHau
a535450ec0
vars: refactor - unify get_generators and _get_closure
2025-08-13 12:45:47 +00:00
hsjobeki
3a8309b01f
Merge pull request 'UI/install: add loading animation' ( #4723 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4723
2025-08-13 12:19:23 +00:00
Johannes Kirschbauer
10065a7c8f
UI/install: add loading to button
2025-08-13 14:15:52 +02:00
Johannes Kirschbauer
176b54e29d
UI/Button: move state out of the button
2025-08-13 14:15:29 +02:00
Mic92
d3b423328f
Merge pull request 'Add wireguard service module' ( #3354 ) from init-wireguard-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3354
2025-08-13 10:55:48 +00:00
Jörg Thalheim
1177e84dcc
vars/generate: print the files that were found when files are missing
...
this helps fixing typos in the generator scripts
2025-08-13 12:29:52 +02:00
DavHau
24194011ac
vars: refactor - remove unnecessary return values
...
The boolean return value signaling if anything was ran or not isn't that useful. We are not doing anything with it.
2025-08-13 12:54:05 +07:00
DavHau
068b5d4c1e
install: fix error message when target host not specified
2025-08-13 12:04:14 +07:00
DavHau
adccef4757
install: fix torify package not available
2025-08-13 12:04:14 +07:00
Qubasa
980d94d47d
clan_cli: Improve cli message if no networks present
2025-08-13 12:04:14 +07:00
lassulus
a50b25eea2
clan-cli network: refactor, use new networking in ssh and install commands
2025-08-13 12:04:14 +07:00
lassulus
017989841d
refactor: remove DeployInfo class and use Network/Remote directly
...
- Remove DeployInfo class entirely, replacing with direct Remote usage
- Update parse_qr_json_to_networks to return dict with network and remote
- Refactor all code to work with Remote lists instead of DeployInfo
- Add get_remote_for_machine context manager for network connections
- Update tests to use new Network/Remote structure
2025-08-13 12:04:14 +07:00
lassulus
c14a5fcc69
refactor: move ssh/upload.py from cli to lib
...
Move the upload module to clan_lib to better organize SSH-related
utilities. Updated all imports across the codebase.
2025-08-13 12:04:14 +07:00
Johannes Kirschbauer
62ccba9fb5
ui/install: test connection
2025-08-12 21:04:18 +02:00
Johannes Kirschbauer
0b44770f1f
UI/install: add loading animation
2025-08-12 20:45:55 +02:00
Jörg Thalheim
88871bea69
clan_lib/flash: remove trailing whitespace
2025-08-12 17:14:52 +02:00
Johannes Kirschbauer
5141ea047c
install: init secrets
2025-08-12 17:11:58 +02:00
Johannes Kirschbauer
bc379c985d
ui/install: update storybook mock data
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
69d8b029d6
ui/install: fix alignment of some steps
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
f3617b0407
ui/vars: sanitize generator and prompt field names
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
a5205681cc
ui/select: fix z-index of trigger
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
9880847d43
install: add progress to ui
2025-08-12 16:35:34 +02:00
a-kenji
8aa88b22ab
pkgs/clan/lib(install): implement separate nixos-anywhere install phases
...
Split the `nixos-anywhere` phases into it's components,
so we provide the user with better feedback.
Closes : #4682
2025-08-12 16:35:34 +02:00
Brian McGee
5d1abbd303
feat(ui): integrate tags info from field schema into tags section
2025-08-12 15:16:59 +01:00
Brian McGee
92e9bb2ed8
feat(ui): integrate list_tags api call into machine detail
2025-08-12 14:46:43 +01:00
brianmcgee
ea75c9bfa9
Merge pull request 'feat(ui): add small and transparent variants for Alert component' ( #4713 ) from feat/small-variant-for-alert into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4713
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-08-12 12:04:31 +00:00
hsjobeki
2adf65482d
Merge pull request 'feat(api): add list_inventory_tags' ( #4692 ) from feat/machine-tags-writeability into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4692
2025-08-12 11:33:49 +00:00
DavHau
5684ddf104
vars: health check also for API not just cli
2025-08-12 11:28:02 +00:00