Will Miao
206c1bd69f
Refactor modals.html into modular components
2025-07-25 16:10:16 +08:00
Will Miao
a7d9255c2c
refactor: Replace direct model metadata API calls with unified model API client
2025-07-25 15:35:16 +08:00
Will Miao
08265a85ec
refactor: Include new file path in response after moving model
2025-07-25 15:10:03 +08:00
Will Miao
1ed5630464
Merge branch 'refactor' of https://github.com/willmiao/ComfyUI-Lora-Manager into refactor
2025-07-25 14:49:30 +08:00
Will Miao
c784615f11
refactor: Simplify API calls and enhance model moving functionality
2025-07-25 14:48:28 +08:00
Will Miao
26d51b1190
refactor: Simplify API calls and enhance model moving functionality
2025-07-25 14:44:05 +08:00
Will Miao
d83fad6abc
Refactor API structure to unify model operations
...
- Introduced MODEL_TYPES and MODEL_CONFIG for centralized model type management.
- Created a unified API client for checkpoints and loras to streamline operations.
- Updated all API calls in checkpointApi.js and loraApi.js to use the new client.
- Simplified context menus and model card operations to leverage the unified API client.
- Enhanced state management to accommodate new model types and their configurations.
- Added virtual scrolling functions for recipes and improved loading states.
- Refactored modal utilities to handle model exclusion and deletion generically.
- Improved error handling and user feedback across various operations.
2025-07-25 10:04:18 +08:00
Will Miao
692796db46
refactor: Update API endpoints to include 'loras' prefix for consistency
2025-07-24 19:56:55 +08:00
pixelpaws
f15c6f33f9
Merge pull request #313 from willmiao/refactor
...
Refactor
2025-07-24 19:37:17 +08:00
Will Miao
dda9eb4d7c
refactor: Remove MessagePack dependency and related cache management code
2025-07-24 19:30:47 +08:00
Will Miao
6f3aeb61e7
feat: Implement Git-based update functionality with nightly mode support and UI enhancements
2025-07-24 19:03:52 +08:00
Will Miao
d6145e633f
refactor: Simplify cache resort calls in model metadata updates and API routes
2025-07-24 10:47:19 +08:00
Will Miao
07014d98ce
refactor: Enhance logging configuration by adding a filter for non-critical connection reset errors
2025-07-24 09:47:51 +08:00
Will Miao
e8ccdabe6c
refactor: Enhance sorting functionality and UI for model selection, including legacy format conversion
2025-07-24 09:26:15 +08:00
Will Miao
cf9fd2d5c2
refactor: Rename LoraScanner methods for consistency and remove deprecated checkpoint methods
2025-07-24 06:25:33 +08:00
Will Miao
bf9aa9356b
refactor: Update model retrieval methods in RecipeRoutes and streamline CheckpointScanner and LoraScanner initialization
2025-07-23 23:27:18 +08:00
Will Miao
68d00ce289
refactor: Adjust logging configuration to reduce verbosity for asyncio logger
2025-07-23 22:58:40 +08:00
Will Miao
5288021e4f
refactor: Simplify filtering methods and enhance CJK character handling in LoraService
2025-07-23 22:55:42 +08:00
Will Miao
4d38add291
Revert "refactor: Update logging configuration to use asyncio logger and remove aiohttp access logger references"
...
This reverts commit 804808da4a .
2025-07-23 22:23:48 +08:00
Will Miao
804808da4a
refactor: Update logging configuration to use asyncio logger and remove aiohttp access logger references
2025-07-23 22:09:42 +08:00
Will Miao
298a95432d
feat: Integrate WebSocket routes for download progress tracking in standalone manager
2025-07-23 18:02:38 +08:00
Will Miao
a834fc4b30
feat: Update API routes for LoRA management and enhance folder handling
2025-07-23 17:26:06 +08:00
Will Miao
2c6c9542dd
refactor: Change logging level from info to debug for service registration
2025-07-23 16:59:16 +08:00
Will Miao
a9a7f4c8ec
refactor: Remove legacy API route handlers from standalone manager
2025-07-23 16:30:00 +08:00
Will Miao
ea9370443d
refactor: Implement download management routes and update API endpoints for LoRA
2025-07-23 16:11:02 +08:00
Will Miao
c2e00b240e
feat: Enhance model routes with generic page handling and template integration
2025-07-23 15:30:39 +08:00
Will Miao
a2b81ea099
refactor: Implement base model routes and services for LoRA and Checkpoint
...
- Added BaseModelRoutes class to handle common routes and logic for model types.
- Created CheckpointRoutes class inheriting from BaseModelRoutes for checkpoint-specific routes.
- Implemented CheckpointService class for handling checkpoint-related data and operations.
- Developed LoraService class for managing LoRA-specific functionalities.
- Introduced ModelServiceFactory to manage service and route registrations for different model types.
- Established methods for fetching, filtering, and formatting model data across services.
- Integrated CivitAI metadata handling within model routes and services.
- Added pagination and filtering capabilities for model data retrieval.
2025-07-23 14:39:02 +08:00
Will Miao
ee609e8eac
Revert "feat: Implement check for missing creator in model metadata"
...
This reverts commit 0184dfd7eb .
2025-07-23 06:33:00 +08:00
Will Miao
e04ef671e9
feat: Update metadata handling to use current timestamp for model modifications
2025-07-22 22:56:45 +08:00
Will Miao
0184dfd7eb
feat: Implement check for missing creator in model metadata
2025-07-22 20:14:39 +08:00
Will Miao
eccfa0ca54
feat: Add keyboard shortcuts for bulk operations and enhance shortcut key styling
2025-07-22 19:14:36 +08:00
Will Miao
6d3feb4bef
feat: Update styles for creator info and Civitai view in Lora modal; refactor button to div
2025-07-22 18:07:19 +08:00
Will Miao
29d2b5ee4b
feat: Enhance creator info display and add Civitai view functionality in ModelModal
2025-07-22 17:43:33 +08:00
Will Miao
c82fabb67f
feat: Refactor model type determination to use state for saving metadata and handling events
2025-07-22 16:44:21 +08:00
Will Miao
fcfc868e57
feat: Move LoRA related components to shared directory for consistency
...
- Added PresetTags.js to handle LoRA model preset parameter tags.
- Introduced RecipeTab.js for managing recipes associated with LoRA models.
- Created TriggerWords.js to manage trigger word functionality for LoRA models.
- Implemented utility functions in utils.js for general model modal operations.
2025-07-22 16:00:04 +08:00
Will Miao
67b403f8ca
Update wiki images
2025-07-21 16:39:00 +08:00
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
fa444dfb8a
Fix typo
2025-07-21 08:30:36 +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
0c883433c1
feat: Implement download path template settings and base model path mappings in UI
2025-07-21 07:37:03 +08:00
Will Miao
bcf3b2cf55
feat: Add default root paths for LoRA and checkpoint if only one exists
2025-07-20 09:45:09 +08:00
Will Miao
357c4e9c08
refactor: Normalize and deduplicate checkpoint and unet paths in configuration
2025-07-19 23:06:43 +08:00
Will Miao
9edfc68e91
fix: Remove path_mappings.yaml from repository and update .gitignore
2025-07-19 10:09:02 +08:00
Will Miao
8c06cb3e80
chore: Bump version to 0.8.21 in pyproject.toml
2025-07-19 08:28:02 +08:00
Will Miao
144fa0a6d4
refactor: Remove redundant metadata collector initialization
2025-07-18 09:39:54 +08:00
Will Miao
25d5a1541e
feat: Add pyyaml to requirements for YAML support
2025-07-17 15:09:29 +08:00
Will Miao
a579d36389
fix: Improve error message for example image import failure
2025-07-17 14:58:02 +08:00
Will Miao
d766dac341
feat: Enhance metadata collection by adding support for async execution hooks and improving error handling. See #291 #298
2025-07-17 14:45:56 +08:00
Will Miao
b15ef1bbc6
feat: Update metadata file name in MetadataManager to match actual file name. See #294
2025-07-17 06:30:41 +08:00
Will Miao
3e52e00597
feat: Add path mappings configuration file for customizable model download directories
2025-07-16 17:41:23 +08:00