Commit Graph

9 Commits

Author SHA1 Message Date
86e7d9fe57 feat: add __main__ function with generic config retrieval 2025-11-01 23:00:48 +01:00
bb3b922325 refactor: rework configuration models, add CLI, tests and VSCode settings
- Replace hardcoded CONFIG_PATH with appdirs AppDirs (use app.user_config_dir) and update SETTINGS_PATH
- Rework dataclasses: add Library, QbitTorrent; convert Komga.libraries to List[Library]; use Path for media_path; add getLibraryByName and proper __post_init__ conversions
- Extend KomGrabber to support downloader/downloader_settings (aria2/qbit), normalize Path handling and expanduser usage
- Add type fixes, utility methods (getattr/_setattr) and API __post_init__ to convert nested dicts to dataclass instances
- Add package CLI entrypoints (__main__.py, src package main) and simple runner (main.py)
- Add tests for package __init__ CLI and config behavior (tests/*) and a small test script (test.py)
- Add .vscode/settings.json for pytest integration
- Tidy pyproject.toml: format dependencies, add dev/test dependency groups and fix trailing newline in bumpversion section
2025-11-01 22:17:50 +01:00
40d6e8824e move bumpversion to pyproject, update workflow, add database configuration to config class 2025-05-29 11:28:55 +02:00
0d24c0a95c update files, add issue templates, 2025-05-18 19:06:04 +02:00
653bbb0d06 add new settings 2025-03-15 21:08:45 +01:00
a4234c852a auto expand user 2025-03-02 22:22:52 +01:00
4856f21258 update version, move komga to main from general 2025-02-27 18:02:11 +01:00
a0d5dfbfc4 add dependencies, config 2025-02-20 22:52:37 +01:00
094b709d41 initial commit 2025-02-19 22:01:00 +01:00