Commit Graph

959 Commits

Author SHA1 Message Date
DavHau
5cdd9a1817 VMs: port vm_persistence test to python 2024-01-09 14:47:33 +07:00
lassulus
ae774353c1 zerotier-members: print authorized state on list 2024-01-08 22:28:13 +01:00
DavHau
4bdf769075 VMs: persist state folders on host
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders

TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07: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
Jörg Thalheim
11a2e808f0 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
Jörg Thalheim
61a0c69b38 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
Jörg Thalheim
f240dc9338 strip whitespace from clan uris 2024-01-04 16:30:26 +01:00
Jörg Thalheim
907520cb7e update nix-direnv 2024-01-04 16:24:26 +01:00
Qubasa
b87010016d Fix broken executor.py 2024-01-03 13:26:25 +01:00
Qubasa
f424395bd3 Fixed cmd.py writing to stderr 2024-01-02 17:21:06 +01:00
Qubasa
9c7f62a4a5 Refactor subprocess to cmd.py part 1. Fixed clan_uri test. 2024-01-02 17:21:06 +01:00
Qubasa
1986271bef delete unecessary f.truncate 2024-01-02 17:21:06 +01:00
Qubasa
79b651a6f2 Fixed unsafe dirs.py urlquoting, improved cmd.py run func 2024-01-02 17:21:06 +01:00
Qubasa
d7c5850f2f clan_uri: Support all other formats by just differentiating between remote and local 2024-01-02 17:21:05 +01:00
Jörg Thalheim
c889b2ade1 only set process title on Linux
the systemcall is not portable
2024-01-02 15:44:28 +01:00
Jörg Thalheim
c07e7868a5 Executor: drop unused in_file 2024-01-02 15:44:28 +01:00
Jörg Thalheim
2ec7282389 drop references to debug.py 2024-01-02 15:22:36 +01:00
Johannes Kirschbauer
ea0fd3ba84 rebase 2024-01-02 10:02:25 +01:00
DavHau
e5c238346a dirs.py: remove outdated comment 2024-01-02 14:25:37 +07:00
Qubasa
af6722daa0 vm-manager: Added right click context menu 2024-01-02 07:24:30 +01:00
Qubasa
5d69830f1a vm-manager: More error handling 2024-01-02 06:23:55 +01:00
Qubasa
1a3a33281b Added show_error_dialogue on exception 2024-01-02 05:54:19 +01:00
Qubasa
9f75237d27 Removed unecessary debug.py and test code 2024-01-01 18:58:12 +01:00
Qubasa
4265f53d37 Added settings attribute to history file 2024-01-01 18:24:40 +01:00
Qubasa
3c5dd31501 Added write and read history file functions 2023-12-31 15:17:12 +01:00
Qubasa
17f5d90926 history: added vm config to FlakeConfig 2023-12-31 14:56:03 +01:00
Qubasa
cddce324ef vm-manager: Fixed quit application not working bug 2023-12-31 14:13:11 +01:00
Qubasa
d604255217 cli: fixed run vm not working with url 2023-12-31 13:56:55 +01:00
Qubasa
6abfe4d595 cli: Switched b64 encoding of gcroot names to urlparse 2023-12-31 13:51:13 +01:00
Qubasa
cb933787ff Added gcroot for clan Icon and VM 2023-12-31 00:49:57 +01:00
Qubasa
001a48da52 Removed python deal. 2023-12-30 23:10:43 +01:00
Johannes Kirschbauer
d346f90e43 prepare flash usb window 2023-12-30 11:14:45 +01:00
Johannes Kirschbauer
76c06f4be1 error handling. add: dialog 2023-12-30 10:43:03 +01:00
Johannes Kirschbauer
7f604a41f2 error handling. add: dialog 2023-12-30 10:41:33 +01:00
Johannes Kirschbauer
44d269fcc0 new clan; Join page with none as initial value 2023-12-28 14:30:58 +01:00
Qubasa
c6188c17fb pytest: Removed -s flag for CI 2023-12-26 18:20:41 +01:00
Qubasa
e17508702a UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug. 2023-12-26 18:02:43 +01:00
Jörg Thalheim
a057f58229 cli/install: add option to specify alternative kexec url 2023-12-26 14:36:51 +01:00
Jörg Thalheim
38f9642d29 rutabaga_gfx_ffi: unstable-2023-12-05 -> unstable-2023-12-20 2023-12-21 15:46:31 +01:00
Jörg Thalheim
db0e792052 gfxstream: unstable-2023-12-11 -> unstable-2023-12-19 2023-12-21 15:41:57 +01:00
Jörg Thalheim
06b71c8d60 aemu: unstable-2023-11-10 -> unstable-2023-08-31 2023-12-21 15:41:21 +01:00
Jörg Thalheim
dfcac47e00 qemu-wayland: upgrade to latest 8.2.0 2023-12-21 15:40:50 +01:00
Jörg Thalheim
ca70dee092 switch to virtio-audio 2023-12-21 15:39:27 +01:00
Qubasa
30d80a3b28 nix fmt 2023-12-19 18:02:06 +01:00
Qubasa
aaf2fd5569 Improved spawn interface. Added garbage collector 2023-12-19 17:51:43 +01:00
Qubasa
646671a89f Fully working executor 2023-12-19 16:44:36 +01:00
Qubasa
c64420f191 Added proc executor 2023-12-19 16:44:36 +01:00