Will Miao
de06c6b2f6
feat: Add download cancellation and tracking features in DownloadManager and API routes
2025-07-21 15:38:20 +08:00
Will Miao
124002a472
feat: Add JSON parsing for base_model_path_mappings and refactor path handling in DownloadManager
2025-07-21 07:37:34 +08:00
Will Miao
f749dd0d52
feat: Add YAML configuration for path mappings to customize model download directories
2025-07-16 17:07:13 +08:00
Will Miao
7e0df4d718
feat: Add Civitai model tags for prioritized subfolder organization in download manager
2025-07-12 10:32:15 +08:00
Will Miao
0dbb76e8c8
feat: Add download progress endpoint and implement progress tracking in WebSocketManager
2025-07-12 10:11:16 +08:00
Will Miao
bd95e802ec
refactor: Replace asynchronous service calls with synchronous counterparts in SaveImage and ServiceRegistry. Fixes #282
2025-07-11 22:48:39 +08:00
Will Miao
854e8bf356
feat: Adjust CivitaiClient.get_model_version logic to handle API changes — querying by model ID no longer includes image generation metadata. Fixes #279
2025-07-10 15:29:34 +08:00
Will Miao
79011bd257
refactor: Update model_id and model_version_id types to integers and add validation in routes
2025-07-09 14:21:49 +08:00
Will Miao
c692713ffb
refactor: Simplify model version existence checks and enhance version retrieval methods in scanners
2025-07-09 10:26:03 +08:00
Will Miao
0653f59473
feat: Enhance relative path handling in download manager to include base model
2025-07-03 10:28:52 +08:00
Will Miao
7a4b5a4667
feat: Implement download progress WebSocket and enhance download manager with unique IDs
2025-07-02 23:48:35 +08:00
Will Miao
40ad590046
refactor: Update checkpoint handling to use base_models_roots and streamline path management
2025-07-02 21:29:41 +08:00
Will Miao
ab22d16bad
feat: Rename download endpoint from /api/download-lora to /api/download-model and update related logic
2025-07-02 19:21:25 +08:00
Will Miao
971cd56a4a
feat: Update WebSocket endpoint for checkpoint progress and adjust related routes
2025-07-02 18:38:02 +08:00
Will Miao
d7cb546c5f
refactor: Simplify model download handling by consolidating download logic and updating parameter usage
2025-07-02 18:25:42 +08:00
Will Miao
cad5fb3fba
feat: Add mock module creation for py/nodes directory to prevent loading modules from the nodes directory
2025-06-30 20:19:37 +08:00
Will Miao
2ee057e19b
feat: update metadata saving to ensure backup creation and support nested civitai structure
2025-06-25 11:50:10 +08:00
Will Miao
605a06317b
feat: Enhance media handling by adding NSFW level support and improving preview image management
2025-06-19 15:19:24 +08:00
Will Miao
3c047bee58
Refactor example images handling by introducing migration logic, updating metadata structure, and enhancing image loading in the UI
2025-06-18 17:14:49 +08:00
Will Miao
afa5a42f5a
Refactor metadata handling by introducing MetadataManager for centralized operations and improving error handling
2025-06-17 21:01:48 +08:00
Will Miao
9e553bb87b
Refactor card update functions to unify model and Lora card handling; remove unused metadata path update logic. See #228
2025-06-14 09:39:59 +08:00
Will Miao
a7207084ef
Remove unused monitor cleanup logic from LoraManager and DownloadManager
2025-06-13 05:52:52 +08:00
Will Miao
68fdb14cd6
Remove unused lora monitor retrieval and ignore path logic from ApiRoutes, DownloadManager, and ModelScanner. Fixes #226
2025-06-13 05:46:22 +08:00
Will Miao
26d105c439
Enhance Civitai model handling: add get_model_version method for detailed metadata retrieval, update routes to utilize new method, and improve URL handling in context menu for model re-linking.
2025-06-11 22:06:16 +08:00
Will Miao
eb01ad3af9
Refactor model response inclusion to only include groups with multiple models; update model removal logic to accept hash value. See #221
2025-06-11 19:52:44 +08:00
Will Miao
e0d9880b32
Remove duplicate hash entries with a single path in get_duplicate_hashes method
2025-06-11 17:33:13 +08:00
Will Miao
e81e96f0ab
Refactor file monitoring and model scanning; remove unused monitors and streamline model file deletion process.
2025-06-11 17:02:10 +08:00
Will Miao
06d5bd259c
Refactor model file processing in ModelScanner to determine root paths and enhance error logging for missing roots.
2025-06-11 15:53:35 +08:00
Will Miao
3b51886927
Add cache file control to ModelScanner; implement flags to enable/disable cache usage and clear cache files accordingly. See #222
2025-06-11 09:17:10 +08:00
Will Miao
9d1b357e64
Enhance cache validation logic: add logging for version and model type mismatches, and relax directory structure checks to improve cache validity.
2025-06-04 20:47:14 +08:00
Will Miao
9fc2fb4d17
Enhance model caching and exclusion functionality: update cache version, add excluded models to cache data, and ensure cache is saved to disk after model exclusion and deletion.
2025-06-04 18:38:45 +08:00
Will Miao
2d39b84806
Add CivitaiApiMetadataParser and improve recipe parsing logic for Civitai images. Also fixes #197
...
Additional info: Now prioritizes using the Civitai Images API to fetch image and generation metadata. Even NSFW images can now be imported via URL.
2025-06-03 14:58:43 +08:00
Will Miao
7545312229
Add bulk delete endpoint for checkpoints and enhance ModelDuplicatesManager for better handling of model types
2025-06-02 08:54:31 +08:00
Will Miao
26f9779fbf
Add bulk delete functionality for loras and implement model duplicates management. See #198
...
- Introduced a new API endpoint for bulk deleting loras.
- Added ModelDuplicatesManager to handle duplicate models for loras and checkpoints.
- Implemented UI components for displaying duplicates and managing selections.
- Enhanced controls with a button for finding duplicates.
- Updated templates to include a duplicates banner and associated actions.
2025-06-02 08:08:45 +08:00
Will Miao
0bd62eef3a
Add endpoints for finding duplicate loras and filename conflicts; implement tracking for duplicates in ModelHashIndex and update ModelScanner to handle new data structures.
2025-05-31 20:50:51 +08:00
Will Miao
e06d15f508
Remove LoraHashIndex class and related functionality to streamline codebase.
2025-05-31 20:25:12 +08:00
Will Miao
c62206a157
Add preprocessing for MessagePack serialization to handle large integers. See #201
2025-05-30 10:55:48 +08:00
Will Miao
68568073ec
Refactor model caching logic to streamline adding models and ensure disk persistence
2025-05-30 07:34:39 +08:00
Will Miao
67acd9fd2c
Relax cache validation by removing strict modification time checks, allowing users to refresh the cache as needed.
2025-05-29 20:58:06 +08:00
Will Miao
f7be5c8d25
Change log level to info for cache save operation and ensure cache is saved to disk after updating preview URL
2025-05-29 20:09:58 +08:00
Will Miao
ddf132bd78
Add cache management feature: implement clear cache API and modal confirmation
2025-05-29 14:36:13 +08:00
Will Miao
afb012029f
Enhance get_cached_data method: improve cache rebuilding logic and ensure cache is saved after initialization
2025-05-29 08:50:17 +08:00
Will Miao
651e14c8c3
Enhance get_cached_data method: add rebuild_cache option for improved cache management
2025-05-29 08:36:18 +08:00
Will Miao
e7c626eb5f
Add MessagePack support for efficient cache serialization and update dependencies
2025-05-28 22:30:06 +08:00
Will Miao
6e5f333364
Enhance model file moving logic: support moving associated files and handle metadata paths
2025-05-27 05:41:39 +08:00
Will Miao
ea834f3de6
Revert "Enhance metadata processing in ModelScanner: prevent intermediate writes, restore missing civitai data, and ensure base_model consistency. #185 "
...
This reverts commit 99b36442bb .
2025-05-19 21:39:31 +08:00
Will Miao
99b36442bb
Enhance metadata processing in ModelScanner: prevent intermediate writes, restore missing civitai data, and ensure base_model consistency. #185
2025-05-14 19:16:58 +08:00
Will Miao
75a95f0109
refactor: enhance recipe fingerprint calculation and return detailed recipe information; remove unnecessary console logs in import managers
2025-05-08 16:54:49 +08:00
Will Miao
e92ab9e3cc
refactor: add endpoints for finding duplicates and bulk deletion of recipes; enhance fingerprint calculation and handling
2025-05-07 19:34:27 +08:00
Karl Woditsch
59b67e1e10
fix: use natural sorting when sorting by name
2025-05-05 22:25:50 +02:00