Qubasa
e27bb956c9
clan-lib: Add LogManager class
2025-06-12 16:24:40 +02:00
Qubasa
7df19df224
clan-app: Catch method not found error in api
2025-06-04 18:16:58 +02:00
lassulus
1f0c355175
clan-cli: clan_cli.custom_logger -> clan_lib.custom_logger
2025-05-20 15:08:02 +02:00
lassulus
a4895a4d96
clan-cli: clan_cli.async_run -> clan_lib.async_run
2025-05-20 15:05:11 +02:00
Jörg Thalheim
5d99fb1e47
fix logger no longer applying to clan_lib
...
with moving code to clan_lib we are missing logging for some output. To
fix this we remove the module scoping from the logger and just set one
global logger.
2025-05-20 10:09:20 +02:00
Jörg Thalheim
57dcd47992
rename ui to clan-app and move clan-app one layer up
2025-05-15 14:15:59 +02:00
Brian McGee
faf8689ab1
feat: group ui related packages under a ui directory
2025-05-15 12:00:24 +01:00
Mic92
f2464af5a5
Merge pull request 'clan-app: set title and icon' ( #3658 ) from clan-app-title into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3658
2025-05-15 10:42:06 +00:00
Jörg Thalheim
30ff0a622a
clan-app: prepare icon support on linux
...
For some reason the icon is not shown when using the gtk backend but at
least the API calls look correct.
2025-05-15 12:36:30 +02:00
Jörg Thalheim
2f2ebdb41f
clan-app: set title
2025-05-15 12:36:24 +02:00
Jörg Thalheim
b09e61f68d
clan-app: decode function arguments ahead of launching a thread.
...
If something goew wrong here we rather want to crash the app and get bug
reports.
2025-05-14 11:52:55 +02:00
Jörg Thalheim
b491e9cd51
clan-app: don't raise exception when we use ctr-c
2025-05-14 11:41:16 +02:00
Jörg Thalheim
a4057d39ae
api_wrapper: more descriptive parameter names
...
also only decode the op_key once
2025-05-14 11:39:25 +02:00
Jörg Thalheim
2283987bcd
bind_jsonschema_api: reduce method nesting
2025-05-14 11:39:25 +02:00
Jörg Thalheim
bbac947496
make listing/cancelling tasks less nosy in the logs
2025-05-14 10:49:09 +02:00
Jörg Thalheim
80cadf9268
remove thread garbage collection
2025-05-14 10:49:09 +02:00
Brian McGee
a79d907484
fix(ui): high cpu because of spinning garbage collection
2025-05-13 17:06:19 +01:00
Qubasa
804e46b8a6
clan-app: Improved UX of handling toasts
2025-05-12 18:54:53 +02:00
Qubasa
9544a3e522
clan-app: Working cancellable tasks
2025-05-12 17:54:10 +02:00
Qubasa
38ea6515cf
clan-app: Add cancellable tasks
2025-05-12 17:54:10 +02:00
Johannes Kirschbauer
f6628ec1a9
Refactor(clan_lib): move clan_cli.api into clan_lib.api
2025-04-26 19:51:35 +02:00
Qubasa
68f56ecafd
clan-app: Change tkinter file dialogue to gtk4 file dialogue
2025-01-12 14:39:41 +07:00
Qubasa
82f4fe44a7
clan-app: Rename dynamic library name, set macos x64 to unsupported
2025-01-11 13:06:40 +07:00
Qubasa
d13a0007db
clan-app: Fix webview crash on exception in api wrapper
2025-01-11 10:55:50 +07:00
Johannes Kirschbauer
355583c0d4
Webview: fix thread_task cannot raise exceptions
2025-01-10 12:06:01 +00:00
Qubasa
c0ecb557bf
clan: revert flake.lock upgrade
2025-01-06 20:14:35 +01:00
Qubasa
63331a2a44
clan-cli: Ignore new type hints in api/serde.py
...
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
2025-01-06 20:14:28 +01:00
Qubasa
1b1fa8c71b
clan-app: working nix run .#clan-app, working open_file with tkinter
2025-01-06 20:14:28 +01:00
Qubasa
06879c1d34
clan-app: working file dialogue
2025-01-06 20:14:24 +01:00
Qubasa
0123fcd3a5
clan-app: working js<->python api bridge
2025-01-06 20:14:20 +01:00
Qubasa
44a2ce1583
Fix nix run .#clan-app
2025-01-06 20:14:20 +01:00
Qubasa
2014f3663f
clan-app: added header files
2025-01-06 20:14:09 +01:00
Qubasa
34fa4c18b1
clan-app: Working webview from webview lib
2025-01-06 20:14:05 +01:00
Qubasa
a10b4b456b
clan-app: changed webui to webview lib
2025-01-06 20:14:01 +01:00
Johannes Kirschbauer
0ed5330f92
App: API return errors to js on invalid api methods
2024-12-10 21:50:04 +01:00
Johannes Kirschbauer
8193969331
Clan-app/api: add traceback for all underlying exceptions
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
836c9d26ab
UI/webview: remove unused clamp
2024-11-27 11:03:57 +01:00
Johannes Kirschbauer
7b9f40e224
App: improve exception logging
2024-11-26 10:44:06 +00:00
danjujan
75ffb4436e
pkgs: fix typos
2024-10-29 12:37:34 +00:00
Johannes Kirschbauer
3cb2396d66
Serde: improve js-python bridge
2024-10-17 10:26:14 +02:00
Jörg Thalheim
5ac3ac63c2
get rid of ValueError
2024-09-03 18:14:31 +02:00
Jörg Thalheim
29909e49d3
apply TRY lint
2024-09-03 18:13:46 +02:00
Jörg Thalheim
574567c1c4
use pathlib
2024-09-02 17:40:05 +02:00
Jörg Thalheim
e1e39e9ae9
add SLF lint
2024-09-02 16:25:06 +02:00
Jörg Thalheim
cb16cda3fa
add RET, Q, RSE lint
2024-09-02 15:58:49 +02:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Qubasa
f74df54edd
clan-vm-manager: Fix regression
2024-08-21 15:48:43 +02:00
Qubasa
e6dafd05f9
clan-app: Fix nix run .#clan-app
2024-08-21 13:52:25 +02:00
a-kenji
df04d68cf3
clan-app: Fix name, desktop file and uri handling
...
This fixes the desktop file and uri handling.
Also brings app window class and name and build in line with the actual
naming.
2024-08-21 12:31:02 +02:00
Johannes Kirschbauer
02662867fb
UI: init update machine
2024-08-15 15:08:15 +02:00