Will Miao
441af82dbd
fix: update EXIF metadata extraction method for better compatibility with non-JPEG formats
2025-06-20 11:15:05 +08:00
Will Miao
e09c09af6f
feat: support GIF format for preview images. Fixes #236
2025-06-20 10:51:52 +08:00
Will Miao
3721fe226f
Remove unused code
2025-06-20 10:43:02 +08:00
Will Miao
8ace0e11cf
Update find_preview_file to include example extension from Civitai Helper for A1111. Fixes #225
2025-06-20 10:41:42 +08:00
Will Miao
5e249b0b59
fix: Update from_civitai flag to True in metadata creation for checkpoints and LoraMetadata. Fixes #238
2025-06-20 05:48:28 +08:00
Will Miao
e986fbb5fb
refactor: Streamline progress file handling and enhance metadata extraction for images
2025-06-19 18:12:16 +08:00
Will Miao
8f4d575ec8
refactor: Improve metadata handling and streamline example image loading in modals
2025-06-19 17:07:28 +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
09a3246ddb
Add delete functionality for custom example images with API endpoint
2025-06-19 11:21:00 +08:00
Will Miao
1ca05808e1
Enhance preview image upload by deleting existing previews and updating UI state management
2025-06-18 18:37:13 +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
022c6c157a
Refactor example images code
2025-06-18 09:28:00 +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
78bcdcef5d
Enhance CivitAI metadata fetch handling and update virtual scroller item management. See #227
2025-06-15 08:34:22 +08:00
Will Miao
92d48335cb
Add endpoints and functionality for verifying duplicates in Lora and Checkpoints
...
- Implemented `/api/loras/verify-duplicates` and `/api/checkpoints/verify-duplicates` endpoints.
- Added `handle_verify_duplicates` method in `ModelRouteUtils` to process duplicate verification requests.
- Enhanced `ModelDuplicatesManager` to manage verification state and display results.
- Updated CSS for verification badges and hash mismatch indicators. Fixes #221
2025-06-12 12:06:01 +08:00
Will Miao
78cac2edc2
Add DoRA type support. move VALID_LORA_TYPES to utils.constants and update imports in recipe parsers and API routes.
2025-06-12 09:25:00 +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
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
14238b8d62
Update preview URL handling in load_metadata function to reflect model location changes. See #113
2025-06-11 15:43:12 +08:00
Will Miao
787e37b7c6
Add CivitAI re-linking functionality and related UI components. Fixes #216
...
- Implemented new API endpoints for re-linking models to CivitAI.
- Added context menu options for re-linking in both Lora and Checkpoint context menus.
- Created a modal for user confirmation and input for CivitAI model URL.
- Updated styles for the new modal and context menu items.
- Enhanced error handling and user feedback during the re-linking process.
2025-06-09 17:23:03 +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
b4e7feed06
Enhance trained words extraction and display: include class tokens in response and update UI accordingly. See #147
2025-06-04 12:04:38 +08:00
Will Miao
99d2ba26b9
Add API endpoint for fetching trained words and implement dropdown suggestions in the trigger words editor. See #147
2025-06-02 17:04:33 +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
aa1ee96bc9
Add versioning and history tracking to usage statistics. Implement backup and conversion for old stats format, enhancing data structure for checkpoints and loras.
2025-05-31 16:38:18 +08:00
Will Miao
8250acdfb5
Add creator information display to Lora and Checkpoint modals. #186
2025-05-21 15:31:23 +08:00
Will Miao
50704bc882
Enhance error handling and input validation in fetch_and_update_model method
2025-05-20 13:57:22 +08:00
Will Miao
35d34e3513
Revert db0b49c427 Refactor load_metadata to use save_metadata for updating metadata files
2025-05-19 21:46:01 +08:00
Will Miao
11aedde72f
Fix save_metadata call to await asynchronous execution in load_metadata function. Fixes #192
2025-05-19 15:01:56 +08:00
Will Miao
276aedfbb9
Set 'from_civitai' flag to True when updating local metadata with CivitAI data
2025-05-15 16:50:32 +08:00
Will Miao
db0b49c427
Refactor load_metadata to use save_metadata for updating metadata files
2025-05-15 09:49:30 +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
Will Miao
c9f902a8af
Refactor recipe metadata parser package for ComfyUI-Lora-Manager
...
- Implemented the base class `RecipeMetadataParser` for parsing recipe metadata from user comments.
- Created a factory class `RecipeParserFactory` to instantiate appropriate parser based on user comment content.
- Developed multiple parser classes: `ComfyMetadataParser`, `AutomaticMetadataParser`, `MetaFormatParser`, and `RecipeFormatParser` to handle different metadata formats.
- Introduced constants for generation parameters and valid LoRA types.
- Enhanced error handling and logging throughout the parsing process.
- Added functionality to populate LoRA and checkpoint information from Civitai API responses.
- Structured the output of parsed metadata to include prompts, LoRAs, generation parameters, and model information.
2025-05-06 21:11:25 +08:00
Will Miao
0b67510ec9
refactor: remove StandardMetadataParser and ImageSaverMetadataParser, integrate AutomaticMetadataParser for improved metadata handling
2025-05-06 17:51:44 +08:00
Will Miao
71b97d5974
fix: update recipe data structure to include source_path from metadata and improve loading messages
2025-05-05 18:15:59 +08:00
Will Miao
2b405ae164
fix: update load_metadata to set preview_nsfw_level based on civitai data. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/53
2025-05-05 15:46:37 +08:00
Will Miao
2fe4736b69
fix: update ImageSaverMetadataParser to improve metadata matching and parsing logic. https://github.com/willmiao/ComfyUI-Lora-Manager/issues/104
2025-05-05 14:41:56 +08:00
Will Miao
1ff2019dde
fix: update model type checks to include LoCon and lycoris in API routes. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/159
2025-05-05 07:48:08 +08:00
Will Miao
ec1c92a714
feat: add model exclusion functionality with new API endpoints and metadata handling
2025-05-02 22:36:50 +08:00
Will Miao
5cd5a82ddc
feat: add creator information to model metadata handling
2025-05-01 15:56:57 +08:00
Will Miao
d308c7ac60
feat: enhance A1111MetadataParser to improve metadata extraction and parsing logic. https://github.com/willmiao/ComfyUI-Lora-Manager/issues/148
2025-04-30 19:09:47 +08:00
Will Miao
947c757aa5
Revert the incorrect changes
2025-04-30 19:09:00 +08:00
Will Miao
cb876cf77e
Implement saving model example images locally. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/88
2025-04-29 22:41:18 +08:00
Will Miao
0e7ba27a7d
feat: enhance Civitai resource extraction in StandardMetadataParser for improved JSON handling. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/141
2025-04-26 22:12:40 +08:00
Will Miao
7ce5857cd5
feat: implement standalone mode support with mock modules and path handling
2025-04-26 19:14:38 +08:00
Will Miao
51a6374c33
feat: add favorites filtering functionality across models and UI components
2025-04-25 17:55:33 +08:00
Will Miao
0a52575e8b
feat: Enhance model file retrieval by ensuring primary model is selected from files list. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/127
2025-04-25 05:45:29 +08:00
Will Miao
b12079e0f6
feat: Implement usage statistics tracking with backend integration and route setup
2025-04-22 08:56:34 +08:00
Will Miao
afcc12f263
fix: Update populate_lora_from_civitai method to accept a tuple for Civitai API response. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/117
2025-04-20 15:01:23 +08:00