Will Miao
6fcc6a5299
Update README.md
2025-07-26 09:53:19 +08:00
Will Miao
6dd58248c6
refactor: add embedding scanner support in download manager and example images processor
2025-07-26 07:35:53 +08:00
pixelpaws
2786801b71
Merge pull request #317 from willmiao/refactor
...
Refactor
2025-07-26 07:06:37 +08:00
Will Miao
ea29cbeb7a
refactor: add synchronous service retrieval method to ServiceRegistry
2025-07-26 07:05:27 +08:00
Will Miao
3cf9121a8c
refactor: enhance scanner handling and add embedding support in download manager and misc routes
2025-07-25 23:59:27 +08:00
Will Miao
381bd3938a
refactor: rename 'lora-card' to 'model-card' across styles and scripts for consistency
2025-07-25 23:23:57 +08:00
Will Miao
e4ce384023
feat: implement embeddings functionality with context menus, controls, and page management
2025-07-25 23:15:33 +08:00
Will Miao
12d1857b13
refactor: update model type references from 'lora' to 'loras' and streamline event delegation setup
2025-07-25 22:33:46 +08:00
Will Miao
0d9003dea4
refactor: remove legacy card components and update imports to use shared ModelCard component
2025-07-25 22:00:38 +08:00
Will Miao
1a3751acfa
refactor: unify API client usage across models and remove deprecated API files
2025-07-25 21:38:54 +08:00
Will Miao
c5a3af2399
feat: add embedding management functionality with routes, services, and UI integration
2025-07-25 21:14:56 +08:00
Will Miao
ea8a64fafc
refactor: remove unused get_models method from LoraRoutes
2025-07-25 18:23:52 +08:00
Will Miao
981e367bf1
refactor: remove unused API and page routes from routes.js
2025-07-25 17:51:40 +08:00
Will Miao
a3d6e62035
refactor: centralize resetAndReload functionality in baseModelApi
2025-07-25 17:48:02 +08:00
Will Miao
7f205cdcc8
refactor: unify model download system across all model types
...
- Add download-related methods to baseModelApi.js for fetching versions, roots, folders, and downloading models
- Replace separate download managers with a unified DownloadManager.js supporting all model types
- Create a single download_modals.html template that adapts to model type (LoRA, checkpoint, etc.)
- Remove old download modals from lora_modals.html and checkpoint_modals.html
- Update apiConfig.js to include civitaiVersions endpoints for each model type
- Centralize event handler binding in DownloadManager.js (no more inline HTML handlers)
- Modal UI and logic now auto-adapt to the current model type, making future extension easier
2025-07-25 17:35:06 +08:00
Will Miao
e587189880
Refactor modal.css into modular components
2025-07-25 16:36:07 +08:00
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