Claude
90986bd795
feat: add case-insensitive webp support for lora cover photos
...
Make preview file discovery case-insensitive so files with uppercase
extensions like .WEBP are found on case-sensitive filesystems. Also
explicitly list image/webp in the file picker accept attribute for
broader browser compatibility.
https://claude.ai/code/session_01SgT2pkisi27bEQELX5EeXZ
2026-03-17 01:32:48 +00:00
Will Miao
415fc5720c
feat(settings): add configurable hash chunk size
2025-11-10 10:15:01 +08:00
Will Miao
c2a8508513
feat: Add get_preview_extension function to retrieve complete preview file extensions
2025-08-26 10:19:17 +08:00
Will Miao
1823840456
feat: Disable image optimization in find_preview_file function for future configuration
2025-08-25 09:03:28 +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
e986fbb5fb
refactor: Streamline progress file handling and enhance metadata extraction for images
2025-06-19 18:12:16 +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
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
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
db0b49c427
Refactor load_metadata to use save_metadata for updating metadata files
2025-05-15 09:49:30 +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
c4c926070d
fix: Update optimize_image method to handle image validation and error logging, and adjust metadata preservation logic.
2025-04-15 12:31:17 +08:00
Will Miao
c3192351da
feat: Add support for reading SHA256 from .sha256 file in get_file_info function
2025-04-12 11:59:40 +08:00
Will Miao
56670066c7
refactor: Optimize preview image handling by converting to webp format and improving error logging
2025-04-11 11:17:49 +08:00
Will Miao
7393e92b21
refactor: Consolidate preview file extensions into constants for improved maintainability
2025-04-11 06:19:15 +08:00
Will Miao
8fdfb68741
checkpoint
2025-04-10 09:08:51 +08:00
Will Miao
c31c9c16cf
Enhance LoraScanner and file_utils for improved metadata handling
...
- Updated LoraScanner to first attempt to create metadata from .civitai.info files, improving metadata extraction from existing files.
- Added error handling for reading .civitai.info files and fallback to generating metadata using get_file_info if necessary.
- Refactored file_utils to expose find_preview_file function and added logic to utilize SHA256 from existing .json files to avoid recalculation.
- Improved overall robustness of metadata loading and preview file retrieval processes.
2025-03-28 16:27:59 +08:00
Will Miao
e57a72d12b
Fixed an issue caused by inconsistent base model name for Illustrious. It fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/37
2025-03-13 11:00:55 +08:00
Will Miao
8e5e16ce68
Refactor logging and update badge visibility in UpdateService; improve path normalization in file_utils
2025-03-12 10:06:15 +08:00
Will Miao
2bdecf571b
Add trigger words editting
2025-03-10 17:10:58 +08:00
Will Miao
721bef3ff8
Add tag filtering checkpoint
2025-03-10 13:18:56 +08:00
Will Miao
2d72044d66
Reorganize python files
2025-02-24 20:41:16 +08:00