1
0
forked from clan/clan-core
Commit Graph

132 Commits

Author SHA1 Message Date
02dd132e08 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
8a9d3d3230 UI: Fixed incorrect display of cLAN icon in window switcher 2024-02-08 15:00:36 +07:00
0221e7176b Clan VM Manager: add dropdown to add more machines 2024-02-08 14:36:47 +07:00
0ee4dcd782 UI: Improved Join card display 2024-02-08 14:28:34 +07:00
a2ce341995 UI: Fixed style.css not working when installed 2024-02-08 14:10:17 +07:00
10578e7611 UI: Added joining multiple clans one after another over clan url 2024-02-07 17:16:20 +07:00
030cbd24ce
Clan VM Manager: detect if clan exists 2024-02-07 16:08:48 +07:00
d20902cef4
Clan VM Manager: init per vm settings handler 2024-02-07 15:41:18 +07:00
869c01bf95 clan_manager: UI is now a singelton. 2024-02-07 12:03:12 +07:00
ab05cfde30 clan_manager: Implemented machine_icon, machine_description 2024-02-06 20:13:18 +07:00
4421797f30 build-clan: Removed unecessary arg, machineDescription and machineIcon 2024-02-05 16:56:13 +07:00
fd44eeb384 vm_manager: Fixed uri join and then vm start not working 2024-02-05 15:57:14 +07:00
c52c83002c
async join 2024-02-05 15:05:14 +07:00
b3815527a5 Added machineIcon and machineDescription to buildClan 2024-02-05 14:18:40 +07:00
33a10f76c0 UI: Fixed multiple connects to signal 2024-02-05 13:37:35 +07:00
7daca31db7 Merge pull request 'Starting to implement logs' (#796) from Qubasa-main into main 2024-02-02 05:07:39 +00:00
16562946fe vm-manager: Added log console printing on vm start. Added python logging module 2024-02-02 12:04:30 +07:00
e57169cb29
multi join via cli 2024-02-02 10:58:28 +07:00
14917b7d56 Starting to implement logs 2024-02-01 10:21:58 +07:00
c1bc1c942a
group clans by url 2024-01-31 11:20:35 +07:00
649e345585 Machine __str__ impl 2024-01-30 15:32:35 +07:00
a3207f7011 UI: Fixed toggle button color on second time not changing 2024-01-30 15:02:05 +07:00
45e8917679 Added demo.sh to prepare demo environment 2024-01-30 14:42:22 +07:00
c00e5b3df3 Demo version 2024-01-30 14:02:52 +07:00
119a05d999 Fixed clan uri. Expand user, then resolve 2024-01-30 12:17:24 +07:00
f6c811e531 UI: Display error logs on VM crash. Fixed inspect_vm problem. 2024-01-29 15:11:57 +07:00
155a1ee98c Secret mgmt problem 2024-01-29 14:00:38 +07:00
6b00957d38
prepare details view 2024-01-21 12:46:04 +01:00
035a9f2358
add search bar 2024-01-21 12:13:15 +01:00
7ac0292cdd
display id as subtitle 2024-01-20 14:51:37 +01:00
d0b075c217
add join to list 2024-01-20 13:18:43 +01:00
cd2125074f
organize files and classes consistently 2024-01-20 10:12:37 +01:00
70cf75830d Remove error from qemu_command 2024-01-19 18:54:54 +01:00
d956dbeb77 UI: Added signal handling for stopped and started vm. 2024-01-19 18:52:51 +01:00
60c4d231f8 Wrapped vm.run in cmd.run. Working --wayland 2024-01-19 13:56:17 +01:00
2d613e3933 Gtk4 migration (#693)
Co-authored-by: Qubasa <consulting@qube.email>
Reviewed-on: clan/clan-core#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
ba05589af2 Refactor subprocess to cmd.py part 2 2024-01-10 12:11:29 +01:00
a5137efd48 move selected_vm to the ClanListToolbar constructor 2024-01-04 18:50:21 +01:00
c7fda31ab3 Update start/stop button based on VM state 2024-01-04 18:47:52 +01:00
738aaa3b5d executor: simplify running_procs 2024-01-04 18:42:13 +01:00
6a75ea56fd 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
093566aa42 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
d18c2063c3 clan-vm-manager: rename "Online" to "Status"
online means connected to some network, which is not what this field shows.
2024-01-04 16:49:21 +01:00
7f21e99736 update nix-direnv 2024-01-04 16:24:26 +01:00
ae00b3ae65 Fix broken executor.py 2024-01-03 13:26:25 +01:00
d0b165b311 only set process title on Linux
the systemcall is not portable
2024-01-02 15:44:28 +01:00
c609d84273 Executor: drop unused in_file 2024-01-02 15:44:28 +01:00
0676d93e4b
rebase 2024-01-02 10:02:25 +01:00
7be42146e7 vm-manager: Added right click context menu 2024-01-02 07:24:30 +01:00
01977b2e2a vm-manager: More error handling 2024-01-02 06:23:55 +01:00