Commit Graph

291 Commits

Author SHA1 Message Date
Jörg Thalheim
e8bb051c35 demo.sh: make relative path configureable 2024-02-13 11:45:42 +01:00
Qubasa
6d06742c49 clan_cli: Added lazy qmp 2024-02-13 16:44:09 +07:00
Qubasa
a1afd05fcb clan_cli: Made qmp implementation lazy 2024-02-13 16:44:09 +07:00
Qubasa
4323e73517 clan_vm_manager: started spinner. not fully working yet 2024-02-13 16:44:09 +07:00
Qubasa
d828a73aa4 UI: Improve README 2024-02-13 16:44:09 +07:00
Qubasa
8c8481d9fe clan_vm_manager: --debug enables debug mode in clan_cli too 2024-02-13 16:44:09 +07:00
Qubasa
d54531e38c update flake lock 2024-02-12 14:52:01 +07:00
Qubasa
e30168742e clan_vm_manager: Added VM shutdown timeout 2024-02-12 14:16:44 +07:00
Qubasa
b54e6eb520 UI: Added tray icon 2024-02-12 13:43:54 +07:00
DavHau
a438a27c69 vms: init graceful shutdown for GUI
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI

the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
Qubasa
d99ef89f7c UI: Fixed incorrect display of cLAN icon in window switcher 2024-02-08 15:00:36 +07:00
Johannes Kirschbauer
1d50d8824c Clan VM Manager: add dropdown to add more machines 2024-02-08 14:36:47 +07:00
Qubasa
67029693aa UI: Improved Join card display 2024-02-08 14:28:34 +07:00
Qubasa
58065a7401 UI: Fixed style.css not working when installed 2024-02-08 14:10:17 +07:00
Qubasa
e6e4f6f958 UI: Added joining multiple clans one after another over clan url 2024-02-07 17:16:20 +07:00
Johannes Kirschbauer
14cb6544ec Clan VM Manager: detect if clan exists 2024-02-07 16:08:48 +07:00
Johannes Kirschbauer
3c28e82a0c Clan VM Manager: init per vm settings handler 2024-02-07 15:41:18 +07:00
Qubasa
74323595c9 clan_manager: UI is now a singelton. 2024-02-07 12:03:12 +07:00
Qubasa
79ee50b810 clan_manager: Implemented machine_icon, machine_description 2024-02-06 20:13:18 +07:00
Qubasa
e0ba8dd6cb build-clan: Removed unecessary arg, machineDescription and machineIcon 2024-02-05 16:56:13 +07:00
Qubasa
4fa82b993d vm_manager: Fixed uri join and then vm start not working 2024-02-05 15:57:14 +07:00
Johannes Kirschbauer
327645486f async join 2024-02-05 15:05:14 +07:00
Qubasa
e8416856f7 Added machineIcon and machineDescription to buildClan 2024-02-05 14:18:40 +07:00
Qubasa
bc1842dd2b UI: Fixed multiple connects to signal 2024-02-05 13:37:35 +07:00
clan-bot
3183a3e2fc Merge pull request 'Starting to implement logs' (#796) from Qubasa-main into main 2024-02-02 05:07:39 +00:00
Qubasa
a894b358b4 vm-manager: Added log console printing on vm start. Added python logging module 2024-02-02 12:04:30 +07:00
Johannes Kirschbauer
88a947f41a multi join via cli 2024-02-02 10:58:28 +07:00
Qubasa
ed8e5d4022 Starting to implement logs 2024-02-01 10:21:58 +07:00
Johannes Kirschbauer
31fcaf0d4e group clans by url 2024-01-31 11:20:35 +07:00
Qubasa
e7668f6e41 Machine __str__ impl 2024-01-30 15:32:35 +07:00
Qubasa
deae5c6168 UI: Fixed toggle button color on second time not changing 2024-01-30 15:02:05 +07:00
Qubasa
4b2657a9b3 Added demo.sh to prepare demo environment 2024-01-30 14:42:22 +07:00
Qubasa
28a9367479 Demo version 2024-01-30 14:02:52 +07:00
Qubasa
07bec607bc Fixed clan uri. Expand user, then resolve 2024-01-30 12:17:24 +07:00
Qubasa
b10650b77b UI: Display error logs on VM crash. Fixed inspect_vm problem. 2024-01-29 15:11:57 +07:00
Qubasa
6da5ec6f1c Secret mgmt problem 2024-01-29 14:00:38 +07:00
Johannes Kirschbauer
5533b7780c prepare details view 2024-01-21 12:46:04 +01:00
Johannes Kirschbauer
3c018e30bd add search bar 2024-01-21 12:13:15 +01:00
Johannes Kirschbauer
94cfd4547c display id as subtitle 2024-01-20 14:51:37 +01:00
Johannes Kirschbauer
b96fdcc178 add join to list 2024-01-20 13:18:43 +01:00
Johannes Kirschbauer
efea7698b3 organize files and classes consistently 2024-01-20 10:12:37 +01:00
Qubasa
a38f45db0a Remove error from qemu_command 2024-01-19 18:54:54 +01:00
Qubasa
f4ccb09406 UI: Added signal handling for stopped and started vm. 2024-01-19 18:52:51 +01:00
Qubasa
01a61f778b Wrapped vm.run in cmd.run. Working --wayland 2024-01-19 13:56:17 +01:00
Johannes Kirschbauer
00a03fc502 Gtk4 migration (#693)
Co-authored-by: Qubasa <consulting@qube.email>
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/693
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com>
Co-committed-by: Johannes Kirschbauer <hsjobeki@gmail.com>
2024-01-17 12:11:49 +00:00
Qubasa
7049573d28 Refactor subprocess to cmd.py part 2 2024-01-10 12:11:29 +01:00
Jörg Thalheim
8e00120724 move selected_vm to the ClanListToolbar constructor 2024-01-04 18:50:21 +01:00
Jörg Thalheim
a80c386e44 Update start/stop button based on VM state 2024-01-04 18:47:52 +01:00
Jörg Thalheim
0192ec2d4f executor: simplify running_procs 2024-01-04 18:42:13 +01:00
Jörg Thalheim
cb9b25b34d clan-vm-manager: make joining clan url more logical
The icon is confusing. It distracts from the actual "Join" label. Also when a user
copy in an URL we can assume they trust the content, which might be not the case
when they just clicked on an URL.
2024-01-04 17:08:01 +01:00