Commit Graph

105 Commits

Author SHA1 Message Date
Johannes Kirschbauer
480fdfaf8a API: rename {open_file, open_clan_folder} into {get_system_file, get_clan_folder} 2025-07-10 18:42:03 +02:00
Qubasa
695141b2ae clan-app: Make http server non blocking, add tests for the http server and for cancelling tasks 2025-07-10 17:21:18 +07:00
Qubasa
70eb67ffd2 stash 2025-07-10 16:09:08 +07:00
Qubasa
90a32dba0f clan-app: Working swagger requests 2025-07-10 16:09:08 +07:00
Qubasa
dbb3e889e1 clan-lib: Fix @API.register_abstract not throwing correct error when called directly without implementation
clan-app: Fix mypy lint

clan-lib: Mark test as with_core
2025-07-10 15:09:51 +07:00
Qubasa
b1c3acb008 clan-app: Implement open_clan_folder api request 2025-07-10 14:19:19 +07:00
Qubasa
70f7f7e676 clan-app: Moved thread handling up to the ApiBridge 2025-07-10 12:02:30 +07:00
Qubasa
97650daa10 clan-app: Add swagger redirect 2025-07-09 18:48:00 +07:00
Qubasa
6d166cc7a7 clan-app: Cleaned up http code 2025-07-09 18:45:42 +07:00
Qubasa
0987c4b2cc clan-app: Working swagger 2025-07-09 18:34:58 +07:00
Qubasa
0b4eb9202e clan-app: Better http architecture 2025-07-09 16:40:49 +07:00
Qubasa
053ed833d9 clan-app: init clan http api
clan-app: nix fmt
2025-07-09 16:40:49 +07:00
Qubasa
0c54a0f6de clan-app: Fix delete tasks
clan-app: Fix delete tasks
2025-07-08 18:11:59 +07:00
Qubasa
26710c0aca clan-app: Move json.loads to try catch 2025-07-08 17:38:24 +07:00
Qubasa
876a90cfc3 clan-app: Ignore ruff errors 2025-07-08 17:32:59 +07:00
Qubasa
d8251dce2b clan-app: Generalize architecture for API requests 2025-07-08 17:32:59 +07:00
Qubasa
be10d99015 clan-app: Add plug and play middleware interface 2025-07-08 17:32:59 +07:00
Qubasa
389e726521 clan-app: Add plug and play middleware interface 2025-07-08 17:32:59 +07:00
Qubasa
f854c39292 clan-cli: Fix regression in ruff linter, where linter rules got overriden by local pyproject.toml
clan-app: Fix ruff regression where linter rules got overriden by local pyproject.toml
2025-07-08 17:23:32 +07:00
Qubasa
0d1e1d9796 treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up. 2025-07-04 17:11:31 +02:00
Qubasa
5b21a266fc clan-app: Implement dynamic log groups into javascript callApi
nix fmt
2025-07-04 17:49:00 +07:00
Qubasa
e982daf9d9 clan_lib: Move load_in_all_api_functions to clan_lib 2025-07-04 14:22:40 +07:00
Qubasa
a4964c4c93 clan_lib: expose log_manager with API.register properly 2025-07-04 13:19:09 +07:00
Qubasa
9cf6cecdae clan-app: Add logging middleware 2025-07-02 17:59:05 +07:00
Qubasa
26680bc784 clan-app: simplified task function, moved them to a separate file 2025-07-02 16:18:37 +07:00
Qubasa
7d378ca9fa webview-lib: Moved repo to gitea, updated revision. Removed set_icon 2025-07-02 16:16:37 +07:00
Qubasa
43df077dda clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory 2025-06-24 21:42:18 +02:00
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