Will Miao
e09c09af6f
feat: support GIF format for preview images. Fixes #236
2025-06-20 10:51:52 +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
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
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
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
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
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
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
276aedfbb9
Set 'from_civitai' flag to True when updating local metadata with CivitAI data
2025-05-15 16:50:32 +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
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
1db49a4dd4
refactor: Enhance checkpoint download functionality with new modal and manager integration
2025-04-11 18:25:37 +08:00
Will Miao
e991dc061d
refactor: Implement common endpoint handlers for model management in ModelRouteUtils and update routes in CheckpointsRoutes
2025-04-11 12:06:05 +08:00
Will Miao
31d27ff3fa
refactor: Extract model-related utility functions into ModelRouteUtils for better code organization
2025-04-11 10:54:19 +08:00