Will Miao
aa34c4c84c
refactor: streamline prompt matching logic in MetadataProcessor
2025-06-20 17:00:23 +08:00
Will Miao
32d12bb334
feat: update API routes for version info and enhance version fetching functionality
2025-06-20 16:38:11 +08:00
Will Miao
1b2a02cb1a
feat: add git information display in update modals and enhance version check functionality
2025-06-20 15:22:07 +08:00
Will Miao
2ff11a16c4
feat: implement DebugMetadata node with metadata display and update functionality
2025-06-20 14:17:39 +08:00
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
4889955ecf
feat: Add conditioning matching to prompts and update metadata handling in node extractors. See #235
2025-06-20 00:04:02 +08:00
pixelpaws
a61819cdb3
Merge branch 'main' into fix-crash-on-symlinks
2025-06-19 18:33:40 +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
2cb4f3aac8
Add example images access modal and API integration for checking image availability. Fixes #183 and #209
2025-06-16 21:33:49 +08:00
Will Miao
cb0a8e0413
Implement example image import functionality with UI and backend integration
2025-06-16 18:14:53 +08:00
Luka Celebic
8674168df4
Don't crash completely if a symlink resolve fails
2025-06-15 20:00:21 +02: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
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
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
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
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
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
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
d8ddacde38
Remove 'folder' field from model metadata before saving to file. See #211
2025-06-09 11:26:24 +08:00
Will Miao
7a4139544c
Add method to update model metadata from local example images. Fixes #211
2025-06-08 20:10:36 +08:00
Will Miao
4d6ea0236b
Add centralized example images setting and update related UI components
2025-06-08 17:38:46 +08:00
Will Miao
e872a06f22
Refactor MiscRoutes and move example images related api to ExampleImagesRoutes
2025-06-08 14:40:30 +08:00
Will Miao
647bda2160
Add API endpoint and frontend integration for fetching example image files
2025-06-07 22:31:57 +08:00
Will Miao
c96550cc68
Enhance migration and download processes: add backend path update and prevent duplicate completion toasts
2025-06-07 11:29:53 +08:00
Will Miao
b1015ecdc5
Add migration functionality for example images: implement API endpoint and UI controls
2025-06-07 11:27:25 +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
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
4b96c650eb
Enhance example image handling: improve filename extraction and fallback for local images
2025-06-04 11:30:56 +08:00
Will Miao
107aef3785
Enhance SaveImage and TriggerWordToggle: add tooltips for parameters to improve user guidance
2025-06-03 19:40:01 +08:00
Will Miao
e5ef2ef8b5
Add default_active parameter to TriggerWordToggle for controlling default state
2025-06-03 17:45:52 +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