Commit Graph

908 Commits

Author SHA1 Message Date
lassulus
c73818c1a5 zerotier-members: print authorized state on list 2024-01-08 22:28:13 +01:00
DavHau
c29e0086a4 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
a5137efd48 move selected_vm to the ClanListToolbar constructor 2024-01-04 18:50:21 +01:00
Jörg Thalheim
c7fda31ab3 Update start/stop button based on VM state 2024-01-04 18:47:52 +01:00
Jörg Thalheim
738aaa3b5d executor: simplify running_procs 2024-01-04 18:42:13 +01:00
Jörg Thalheim
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
Jörg Thalheim
093566aa42 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
Jörg Thalheim
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
Jörg Thalheim
f9dd2e0926 strip whitespace from clan uris 2024-01-04 16:30:26 +01:00
Jörg Thalheim
7f21e99736 update nix-direnv 2024-01-04 16:24:26 +01:00
Qubasa
ae00b3ae65 Fix broken executor.py 2024-01-03 13:26:25 +01:00
Qubasa
e4a7f68b0e Fixed cmd.py writing to stderr 2024-01-02 17:21:06 +01:00
Qubasa
3f55c688d9 Refactor subprocess to cmd.py part 1. Fixed clan_uri test. 2024-01-02 17:21:06 +01:00
Qubasa
69d08241e9 delete unecessary f.truncate 2024-01-02 17:21:06 +01:00
Qubasa
ef827af89c Fixed unsafe dirs.py urlquoting, improved cmd.py run func 2024-01-02 17:21:06 +01:00
Qubasa
7c5ed85231 clan_uri: Support all other formats by just differentiating between remote and local 2024-01-02 17:21:05 +01:00
Jörg Thalheim
d0b165b311 only set process title on Linux
the systemcall is not portable
2024-01-02 15:44:28 +01:00
Jörg Thalheim
c609d84273 Executor: drop unused in_file 2024-01-02 15:44:28 +01:00
Jörg Thalheim
0ecfaa96cf drop references to debug.py 2024-01-02 15:22:36 +01:00
Johannes Kirschbauer
0676d93e4b rebase 2024-01-02 10:02:25 +01:00
DavHau
e7bd86a9d5 dirs.py: remove outdated comment 2024-01-02 14:25:37 +07:00
Qubasa
7be42146e7 vm-manager: Added right click context menu 2024-01-02 07:24:30 +01:00
Qubasa
01977b2e2a vm-manager: More error handling 2024-01-02 06:23:55 +01:00
Qubasa
c157ecb161 Added show_error_dialogue on exception 2024-01-02 05:54:19 +01:00
Qubasa
9ec1d594e7 Removed unecessary debug.py and test code 2024-01-01 18:58:12 +01:00
Qubasa
42235e39be Added settings attribute to history file 2024-01-01 18:24:40 +01:00
Qubasa
7069d746ad Added write and read history file functions 2023-12-31 15:17:12 +01:00
Qubasa
e0bba046ea history: added vm config to FlakeConfig 2023-12-31 14:56:03 +01:00
Qubasa
f1642c6c71 vm-manager: Fixed quit application not working bug 2023-12-31 14:13:11 +01:00
Qubasa
33afa04b38 cli: fixed run vm not working with url 2023-12-31 13:56:55 +01:00
Qubasa
fcadaca010 cli: Switched b64 encoding of gcroot names to urlparse 2023-12-31 13:51:13 +01:00
Qubasa
c4799f1e9a Added gcroot for clan Icon and VM 2023-12-31 00:49:57 +01:00
Qubasa
330ef00a7c Removed python deal. 2023-12-30 23:10:43 +01:00
Johannes Kirschbauer
36e7488da1 prepare flash usb window 2023-12-30 11:14:45 +01:00
Johannes Kirschbauer
d39d3a9a45 error handling. add: dialog 2023-12-30 10:43:03 +01:00
Johannes Kirschbauer
f5b578d0c7 error handling. add: dialog 2023-12-30 10:41:33 +01:00
Johannes Kirschbauer
968adf24b2 new clan; Join page with none as initial value 2023-12-28 14:30:58 +01:00
Qubasa
cb06353451 pytest: Removed -s flag for CI 2023-12-26 18:20:41 +01:00
Qubasa
ca265b0c59 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
ed643e3829 cli/install: add option to specify alternative kexec url 2023-12-26 14:36:51 +01:00
Jörg Thalheim
55f91079c7 rutabaga_gfx_ffi: unstable-2023-12-05 -> unstable-2023-12-20 2023-12-21 15:46:31 +01:00
Jörg Thalheim
b6ecb0b2e2 gfxstream: unstable-2023-12-11 -> unstable-2023-12-19 2023-12-21 15:41:57 +01:00
Jörg Thalheim
fe60a1a381 aemu: unstable-2023-11-10 -> unstable-2023-08-31 2023-12-21 15:41:21 +01:00
Jörg Thalheim
df9aa4ccb2 qemu-wayland: upgrade to latest 8.2.0 2023-12-21 15:40:50 +01:00
Jörg Thalheim
de38ce47ee switch to virtio-audio 2023-12-21 15:39:27 +01:00
Qubasa
a1575ec19c nix fmt 2023-12-19 18:02:06 +01:00
Qubasa
e0e7324876 Improved spawn interface. Added garbage collector 2023-12-19 17:51:43 +01:00
Qubasa
9d877969c9 Fully working executor 2023-12-19 16:44:36 +01:00
Qubasa
baaa860e63 Added proc executor 2023-12-19 16:44:36 +01:00
Qubasa
57bbe19c1a merge 2023-12-19 16:44:36 +01:00