Qubasa
038aa769aa
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
Qubasa
3ed58de082
Fixed missing log.BOTH and error_msg at prev refactors
2024-01-11 21:11:49 +01:00
Qubasa
13ba1440bd
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
clan-bot
0179cec841
Merge pull request 'make zerotier name configureable' ( #711 ) from Mic92-zerotier into main
2024-01-11 17:05:54 +00:00
Jörg Thalheim
163abdb311
schema: set also clanName
...
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
lassulus
babf69af4e
zerotier-members: add ipv6 to list display
2024-01-11 15:46:26 +01:00
clan-bot
7ce276c25c
Merge pull request 'cmd.py part 3 refactor' ( #706 ) from Qubasa-main into main
2024-01-10 17:57:51 +00:00
Qubasa
25e6f90b01
Improved error message. Fixed incorrect ret code check in git.py
2024-01-10 18:54:34 +01:00
Qubasa
50781d6cf0
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
513f48bab1
cmd.py part 3 refactor
2024-01-10 18:39:19 +01:00
clan-bot
726ba6147f
Merge pull request 'Added ClanCmdError. cmd.run now returns this error' ( #704 ) from Qubasa-main into main
2024-01-10 17:02:08 +00:00
Qubasa
cbc4c966f1
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
clan-bot
e75b4ac6e6
Merge pull request 'Refactor subprocess to cmd.py part 2' ( #685 ) from Qubasa-main into main
2024-01-10 16:34:38 +00:00
Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
Jörg Thalheim
d72bb17878
re-anble pulseaudio in qemu
2024-01-10 15:32:37 +01:00
Qubasa
7049573d28
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
clan-bot
9f4e38fcf0
Merge pull request 'cmd: rework redirecting stdout/stderr' ( #700 ) from Mic92-wayland-update into main
2024-01-09 16:39:19 +00:00
Jörg Thalheim
b476f6386d
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
DavHau
368931c5af
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
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