Commit Graph

65 Commits

Author SHA1 Message Date
Jörg Thalheim
4986fe30c3 ARG002/ARG005: fix 2025-08-25 14:36:36 +02:00
Jörg Thalheim
dc5485d9f1 ruff: replace asserts outside of tests with Exceptions 2025-08-25 13:06:04 +02:00
Jörg Thalheim
0b4e896af3 migrate clan history to clan-vm-manager
this functionality is not really useful or used in clan-vm-manager and
therefore should live in the clan-vm-manager.

Not porting the test for now because we probably get rid of the clan-vm-manager soon in favour of the UI.
2025-04-16 14:51:37 +02:00
Qubasa
cf2ddfc191 clan-vm-manager: Fix regression part2 2024-11-28 19:01:46 +01:00
Johannes Kirschbauer
836c9d26ab UI/webview: remove unused clamp 2024-11-27 11:03:57 +01:00
Jörg Thalheim
2405315c21 clan-vm-manager: remove type assertions
we use mypy already, so these type assertions don't make sense.
Also we no longer have strings and always FlakeId in this case
2024-08-26 15:52:20 +02:00
Qubasa
f74df54edd clan-vm-manager: Fix regression 2024-08-21 15:48:43 +02:00
Qubasa
31161322d6 clan-vm-manager: Fix waypipe regression in nix code 2024-07-23 13:20:02 +02:00
Qubasa
131299694b clan-vm-manager: Restore to known good version 2024-07-19 22:07:34 +02:00
Johannes Kirschbauer
b03fe685dc clan-app: rename clan-vm-manager 2024-06-05 11:24:59 +02:00
Jörg Thalheim
2c8e231bb2 consistent rename cLAN -> Clan 2024-05-27 13:58:32 +00:00
Johannes Kirschbauer
27ecbca557 api: improve message serialisation 2024-05-26 13:40:47 +02:00
Johannes Kirschbauer
13678606e7 api: fix typing issues 2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
8d77525664 clan ui: setup typed api method 2024-05-20 19:34:49 +02:00
Johannes Kirschbauer
fee16e6328 clan-ui: rollback default view until webview is ready 2024-05-20 11:08:14 +02:00
Johannes Kirschbauer
59b3981582 fix: segfault gtk when using webkit 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
484247de6d add webview threaded api 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
3b3426d219 init webview: add webview ui and list machine as api example 2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
90228b5da8 vm-manager: move signals to emitter 2024-04-24 14:41:53 +02:00
Johannes Kirschbauer
ff189dd2b7 vm-manager: add empty list screen 2024-04-23 16:17:09 +02:00
Johannes Kirschbauer
ec17bfb4ba vm-manager: add empty list screen 2024-04-23 16:16:48 +02:00
Qubasa
8a513f462a clan-vm-manager: Basic pytest framework established 2024-03-22 19:08:35 +01:00
Johannes Kirschbauer
3888a7dba3 clan-vm-manager: connect log view to build state of machines 2024-03-17 14:08:39 +01:00
Johannes Kirschbauer
87ab67a4d6 clan-vm-manager: add log view 2024-03-10 14:10:59 +01:00
Johannes Kirschbauer
cb3cef2a1c vm-manager: add toast overlay to main window 2024-03-10 10:40:00 +01:00
Qubasa
1f724d339f clan-vm-manager: Add library for mypy pygobject types 2024-03-09 23:15:32 +07:00
Qubasa
98121e1fa3 clan-vm-manager: Add register_on_change to GKVStore. Improve overall signal typing. 2024-03-06 15:05:10 +07:00
Qubasa
dc8a2cbcba clan_vm_manager: Fix vms not shutting down after closing GTK app. Sync JoinList with ClanStore 2024-03-05 23:10:30 +07:00
Qubasa
0fc1f340ad clan_vm_manager: Renamed Views to ViewStack 2024-03-03 16:51:34 +07:00
Qubasa
548bea1889 clan_vm_manager: Renamed VMs singleton to ClanStore. And VM to VMObject 2024-03-03 16:47:38 +07:00
Qubasa
24f8548796 clan_vm_manager: New directory structure 2024-03-03 16:38:25 +07:00
Qubasa
68b0482792 clan_vm_manager: Fix dynamic join 2024-03-03 13:50:49 +07:00
Qubasa
d611729e32 clan_vm_manager: Fix GLib.idle_add rexecuting the VM push multiple times because of missing GLib.SOURCE_REMOVE 2024-03-01 01:58:03 +07:00
Qubasa
5950b26413 clan_vm_manager: Working GKVStore that emulates the ListStore Object 2024-03-01 01:26:45 +07:00
Qubasa
3a5280f22a clan_vm_manager: Add GKVStore to combat O(n2) runtimes. Add pygdb to devshell 2024-02-29 22:46:09 +07:00
Qubasa
062b39e64c clan-vm-manager: Moved switch from list view to VM object. 2024-02-27 03:53:19 +07:00
Qubasa
aebf960188 clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages 2024-02-21 16:16:58 +07:00
Johannes Kirschbauer
327645486f async join 2024-02-05 15:05:14 +07:00
Johannes Kirschbauer
88a947f41a multi join via cli 2024-02-02 10:58:28 +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
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
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
Jörg Thalheim
a80c386e44 Update start/stop button based on VM state 2024-01-04 18:47:52 +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
Johannes Kirschbauer
ea0fd3ba84 rebase 2024-01-02 10:02:25 +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
17f5d90926 history: added vm config to FlakeConfig 2023-12-31 14:56:03 +01:00