Will Miao
b0847f6b87
feat(doc): update priority tags configuration guide wiki
2025-10-11 20:08:42 +08:00
Will Miao
4fdc97d062
Merge branch 'main' of https://github.com/willmiao/ComfyUI-Lora-Manager
2025-10-11 19:43:41 +08:00
Will Miao
5fe5e7ea54
feat(ui): enhance settings modal styling and add priority tags tabs
...
- Rename `.settings-open-location-button` to `.settings-action-link` for better semantic meaning
- Add enhanced hover/focus states with accent colors and border transitions
- Implement tabbed interface for priority tags with LoRA, checkpoint, and embedding sections
- Improve input styling with consistent error states and example code formatting
- Remove deprecated grid layout in favor of tab-based organization
- Add responsive tab navigation with proper focus management and visual feedback
2025-10-11 19:43:22 +08:00
Will Miao
1dc189eb39
feat(metadata): implement fallback provider strategy for deleted models
...
Refactor metadata sync service to use a prioritized provider fallback system when handling deleted CivitAI models. The new approach:
1. Attempts civarchive_api provider first for deleted models
2. Falls back to sqlite provider if archive DB is enabled
3. Maintains existing default provider behavior for non-deleted models
4. Tracks provider attempts and errors for better debugging
This improves reliability when fetching metadata for deleted models by trying multiple sources before giving up, and provides clearer error messages based on which providers were attempted.
2025-10-11 17:44:38 +08:00
Will Miao
ddb30dbb17
Revert "feat(civarchive_client): update get_model_version_info to resolve the real model/version IDs before fetching the target metadata."
...
This reverts commit c3a66ecf28 .
2025-10-11 16:11:17 +08:00
Will Miao
1e8bd88e28
feat(metadata): improve model ID redirect logic and provider ordering
...
- Fix CivArchive model ID redirect logic to only follow redirects when context points to original model
- Rename CivitaiModelMetadataProvider to CivArchiveModelMetadataProvider for consistency
- Reorder fallback metadata providers to prioritize Civitai API over CivArchive API for better metadata quality
- Remove unused asyncio import and redundant logging from metadata sync service
2025-10-11 16:11:13 +08:00
Will Miao
c3a66ecf28
feat(civarchive_client): update get_model_version_info to resolve the real model/version IDs before fetching the target metadata.
2025-10-11 15:07:42 +08:00
Will Miao
1f60160e8b
feat(civarchive_client): enhance request handling and context parsing
...
Introduce `_request_json` method for async JSON requests and improved error handling. Add static methods `_normalize_payload`, `_split_context`, `_ensure_list`, and `_build_model_info` to parse and normalize API responses. These changes improve the robustness of the CivArchiveClient by ensuring consistent data structures and handling potential API response issues gracefully.
2025-10-11 13:07:29 +08:00
Will Miao
7d560bf07a
chore: add refs
2025-10-11 12:59:13 +08:00
Will Miao
47da9949d9
feat: update recipe download URL path to include /lm prefix
...
Update the download URL path in RecipeSharingService to include '/lm' prefix,
aligning with the new API route structure for recipe sharing endpoints.
2025-10-10 21:46:56 +08:00
Will Miao
e275968553
feat(civitai): remove debug print statement from rewrite_preview_url function
2025-10-10 08:18:23 +08:00
Will Miao
76d3aa2b5b
feat(version): bump version to 0.9.7 in pyproject.toml
2025-10-09 22:15:50 +08:00
Will Miao
c9a65c7347
feat(metadata): implement model data hydration and enhance metadata handling across services, fixes #547
2025-10-09 22:15:07 +08:00
Will Miao
f542ade628
feat(civitai): implement URL rewriting for Civitai previews and enhance download handling, fixes #499
2025-10-09 17:54:37 +08:00
Will Miao
d2c2bfbe6a
feat(sidebar): add recursive search functionality and toggle button
2025-10-09 17:07:10 +08:00
Will Miao
2b6910bd55
feat(misc): mark model versions in library for Civitai user models
2025-10-09 15:23:42 +08:00
Will Miao
b1dd733493
feat(civitai): enhance model version handling with cache lookup
2025-10-09 14:10:00 +08:00
Will Miao
3118f3b43c
feat(graph): enhance node handling with graph identifiers and improve metadata updates, see #408 , #538
2025-10-07 23:22:38 +08:00
Will Miao
9199950b74
feat(release): update version to 0.9.6 and add release notes for critical performance optimizations and new features
2025-10-07 17:41:58 +08:00
Will Miao
4c7e31687b
feat(recipe_scanner): reset cached state on active library change
2025-10-07 08:07:44 +08:00
Will Miao
75e207b520
fix(banner): remove redundant community support banner registration
2025-10-06 22:39:49 +08:00
Will Miao
631289b75e
feat(banner): add community support banner with Ko-fi integration and translations
2025-10-06 22:39:21 +08:00
Will Miao
1b958d0a5d
feat(modal): use CSS variables for header height and improve recipe modal layout
2025-10-06 16:28:56 +08:00
Will Miao
35fdf9020d
docs(README): update instructions for settings.json file creation in Portable Edition
2025-10-06 15:32:37 +08:00
Will Miao
45926b1dca
feat(constants): add CHROMA model to BASE_MODELS and update categories
2025-10-06 08:48:15 +08:00
Will Miao
686ba5024d
fix(tests): add loadingManager mocks in settingsManager tests
2025-10-06 08:24:58 +08:00
Will Miao
7757f72859
Enhance test for saving paths to ensure cross-platform compatibility in folder paths
2025-10-05 22:40:43 +08:00
Will Miao
cb1f08d556
Fix low contrast on nav-item hover
2025-10-05 21:10:01 +08:00
Will Miao
3c7cdf5db8
feat(header): enhance navigation and search functionality with context-aware behavior
2025-10-05 20:58:14 +08:00
Will Miao
9ac4203b1c
test(example-images): allow monkeypatching os.startfile on linux
2025-10-05 16:30:44 +08:00
Will Miao
413444500e
refactor(model_scanner): normalize path comparisons for model roots
...
fix(example_images_download_manager): re-raise specific exception on download error
refactor(usage_stats): define constants locally to avoid conditional imports
test(example_images_download_manager): update exception handling in download tests
test(example_images_file_manager): differentiate between os.startfile and subprocess.Popen in tests
test(example_images_paths): ensure valid example images root with single-library mode
test(usage_stats): use string literals for metadata payload to avoid conditional imports
2025-10-05 15:48:50 +08:00
Will Miao
9abedbf7cb
fix(metadata-sync): improve error handling for deleted CivitAI models, fixes #497
2025-10-05 11:05:52 +08:00
Will Miao
98425f37b8
fix(download-manager): improve handling of civitai payloads to avoid empty dictionaries
2025-10-05 07:29:11 +08:00
Will Miao
9d22dd3465
fix(model-library): update response structure to return model versions directly
2025-10-04 22:06:33 +08:00
Will Miao
16b611cb7e
Simplify settings file location and configuration
2025-10-04 18:42:53 +08:00
Will Miao
8dde2d5e0d
feat(websocket-manager): implement caching for initialization progress and enhance broadcast functionality
2025-10-04 18:19:20 +08:00
Will Miao
22b0b2bd24
fix(model-card): correct query parameter handling in versioned preview URL
2025-10-04 17:32:16 +08:00
Will Miao
056f727bfd
feat(model-scanner): enhance page type determination for model types
2025-10-04 17:08:02 +08:00
Will Miao
0aa6c53c1f
feat(initialization): add support for embeddings page type and log progress updates
2025-10-04 14:11:27 +08:00
Will Miao
51bee87cd0
fix(persistence): improve handling of lora_info attributes in recipe persistence
2025-10-04 09:52:53 +08:00
Will Miao
40d998a026
fix(settings): use timezone-aware datetime for current timestamp
...
fix(tests): normalize stored paths in library upsert test
2025-10-03 20:59:47 +08:00
Will Miao
6bd94269d4
refactor(model-scanner): remove unused model scanning methods
2025-10-03 18:58:02 +08:00
Will Miao
c90edec18a
feat(multi-library): add design documentation for multi-library management in standalone mode
2025-10-03 18:34:52 +08:00
Will Miao
cbb302614c
Merge branch 'main' of https://github.com/willmiao/ComfyUI-Lora-Manager
2025-10-03 15:23:30 +08:00
Will Miao
c54611a11b
fix(metadata-service): change log level to debug for SQLite and fallback provider registration
2025-10-03 15:23:28 +08:00
Will Miao
28bc966b76
feat(model-scanner): enhance cache loading with progress reporting and fallback to full scan
2025-10-03 14:31:08 +08:00
Will Miao
77bbf85b52
feat(persistent-cache): implement SQLite-based persistent model cache with loading and saving functionality
2025-10-03 11:00:51 +08:00
Will Miao
3b1990e97a
feat(scanner): enhance model scanning with cache build result and progress reporting
2025-10-02 21:25:09 +08:00
Will Miao
375b5a49f3
fix(config): update standalone mode environment variable usage
2025-10-02 09:40:24 +08:00
Will Miao
e4a2c518bb
fix(preset): update filePath retrieval method in removePreset function
2025-09-30 21:41:30 +08:00
Will Miao
d0fe28cfe2
fix(recipe): validate modelVersionId before fetching hash from cache or Civitai
2025-09-28 09:18:59 +08:00
Will Miao
656e3e43be
fix(imports): update import paths for ensure_settings_file to use relative imports
2025-09-28 08:40:09 +08:00
Will Miao
141f83065f
fix(locales): update language selection text in Chinese
2025-09-25 21:14:58 +08:00
Will Miao
da52e5b9dd
fix(settings): improve logic for auto-setting default root paths based on folder presence
2025-09-25 10:56:09 +08:00
Will Miao
c4e357793f
Merge branch 'main' of https://github.com/willmiao/ComfyUI-Lora-Manager
2025-09-25 10:43:14 +08:00
Will Miao
6c3424029c
fix(recipe image): optimize image saving and update PNG metadata handling, fixes #481
2025-09-25 10:43:10 +08:00
Will Miao
c85e694c1d
docs: update repository guidelines for clarity and consistency
2025-09-25 08:36:15 +08:00
Will Miao
ec05282db6
fix(coverage): improve Vitest CLI path handling and error checking
2025-09-25 08:11:48 +08:00
Will Miao
d504f89f6a
Merge branch 'main' of https://github.com/willmiao/ComfyUI-Lora-Manager
2025-09-24 21:11:43 +08:00
Will Miao
14c468f2a2
feat(video): enhance video handling in model cards with lazy loading and autoplay settings, see #446
2025-09-24 21:11:36 +08:00
Will Miao
59d027181d
refactor: remove obsolete JSON files and add new version metadata for LORA model
2025-09-24 10:56:06 +08:00
Will Miao
0d0988c090
feat: add functionality to attach model files to version data in SQLiteModelMetadataProvider
2025-09-24 10:55:55 +08:00
Will Miao
dc2de50924
bump: update version to 0.9.5 in pyproject.toml
2025-09-24 09:16:50 +08:00
Will Miao
12c88835f2
refactor: enhance model version retrieval logic in CivitaiClient, fixes #460
2025-09-24 09:16:02 +08:00
Will Miao
6f4453aaf3
refactor: remove storage migration logic and associated tests
2025-09-24 06:04:08 +08:00
Will Miao
4b4b8fe3c1
refactor: remove unused ModelRouteUtils class and its methods
2025-09-24 05:41:30 +08:00
Will Miao
ae145de2f2
feat(tests): add frontend automated testing setup with Vitest and jsdom
2025-09-23 23:05:55 +08:00
Will Miao
dde7cf71c6
fix(locales): translate global context menu entries for downloading example images
2025-09-23 22:24:57 +08:00
Will Miao
656f1755fd
feat: add cleanup example image folders functionality and UI integration
2025-09-23 20:35:35 +08:00
Will Miao
49fa37f00d
Merge branch 'main' of https://github.com/willmiao/ComfyUI-Lora-Manager
2025-09-23 19:31:19 +08:00
Will Miao
3eacf9558a
docs: remove outdated developer notes and add example image route architecture documentation
2025-09-23 15:39:56 +08:00
Will Miao
d477050239
feat: add global context menu with actions and integration
2025-09-23 11:19:36 +08:00
Will Miao
b91f06405d
feat: support clip strength in LoRA usage tips, fixes #401
2025-09-22 13:42:36 +08:00
Will Miao
c3b9c73541
refactor: remove ModelRouteUtils usage and implement filtering directly in services
2025-09-22 09:09:40 +08:00
Will Miao
1c4096f3d5
test(routes): add tests for service readiness and error handling in download model
2025-09-22 06:28:30 +08:00
Will Miao
66a3f3f59a
refactor(tests): enhance async test handling in pytest_pyfunc_call
2025-09-22 05:37:24 +08:00
Will Miao
8cf99dd928
refactor(tests): remove deprecated test runner script
2025-09-21 23:39:21 +08:00
Will Miao
2d00cfdd31
refactor: enhance BaseModelService initialization and improve filtering logic
2025-09-21 23:13:30 +08:00
Will Miao
fec85bcc08
refactor: unify standalone mode check using environment variable
2025-09-21 22:45:11 +08:00
Will Miao
1022b07f64
feat: enhance model metadata provider with import error handling and mock setup for tests
2025-09-21 19:57:49 +08:00
Will Miao
12295d2fdc
feat(docs): add comprehensive repository guidelines and project structure documentation
2025-09-21 16:40:07 +08:00
Will Miao
6261f7d18d
Update LM extension wiki
2025-09-20 23:21:10 +08:00
Will Miao
9e1a2e3bb7
chore(pyproject): bump version to 0.9.4
2025-09-20 22:03:29 +08:00
Will Miao
40cbb2155c
refactor(baseModelApi): comment out failure message handling in bulk metadata refresh
2025-09-20 21:43:00 +08:00
Will Miao
a8d7070832
feat(civitai): enhance metadata fetching with error handling and cache validation
2025-09-20 21:35:34 +08:00
Will Miao
ab7266f3a4
fix(download_manager): streamline output directory retrieval by using settings directly, fixes #443
2025-09-20 08:12:14 +08:00
Will Miao
3053b13fcb
feat(metadata): enhance model processing with CivitAI metadata checks and new fields for archive DB status
2025-09-19 23:22:47 +08:00
Will Miao
f3544b3471
refactor(settings): replace getStorageItem with state.global.settings for default root retrieval
2025-09-19 22:57:05 +08:00
Will Miao
1610048974
refactor(metadata): update model fetching methods to return error messages alongside results
2025-09-19 16:36:34 +08:00
Will Miao
fc6f1bf95b
fix(lora_loader): remove unnecessary string stripping from lora names in loaders, fixes #441
2025-09-19 11:17:19 +08:00
Will Miao
67b274c1b2
feat(settings): add 'show_only_sfw' setting to manage content visibility
2025-09-18 21:55:21 +08:00
Will Miao
fb0d6b5641
feat(docs): add comprehensive documentation for LoRA Manager Civitai Extension, including features, installation, privacy, and usage guidelines
2025-09-18 19:33:47 +08:00
Will Miao
d30fbeb286
feat(example_images): add dedicated folder check and update settings handling for example images path, see #431
2025-09-18 19:22:29 +08:00
Will Miao
46e430ebbb
fix(utils): update API endpoint for fetching connected trigger words
2025-09-18 15:45:57 +08:00
Will Miao
bc4cd45fcb
fix(lora_manager): rename invalid hash folder removal to orphaned folders and update logging
2025-09-18 15:09:32 +08:00
Will Miao
bdc86ddf15
Refactor API endpoints to use '/api/lm/' prefix
...
- Updated all relevant routes in `stats_routes.py` and `update_routes.py` to include the new '/api/lm/' prefix for consistency.
- Modified API endpoint configurations in `apiConfig.js` to reflect the new structure, ensuring all CRUD and bulk operations are correctly routed.
- Adjusted fetch calls in various components and managers to utilize the updated API paths, including recipe, model, and example image operations.
- Ensured all instances of the old API paths were replaced with the new '/api/lm/' prefix across the codebase for uniformity and to prevent broken links.
2025-09-18 14:50:40 +08:00
Will Miao
ded17c1479
feat(routes): add model versions status endpoint and enhance metadata retrieval
2025-09-17 22:06:59 +08:00
Will Miao
933e2fc01d
feat(routes): integrate CivitAI model version retrieval for various model types
2025-09-17 15:47:30 +08:00
Will Miao
1cddeee264
style(autocomplete): remove font styles from dropdown for consistency
2025-09-17 11:04:51 +08:00
Will Miao
183c000080
Refactor ComfyUI: Remove legacy tags widget and related dynamic imports
...
- Deleted the legacy tags widget implementation from legacy_tags_widget.js.
- Updated trigger_word_toggle.js to directly import the new tags widget.
- Removed unused dynamic import functions and version checks from utils.js.
- Cleaned up lora_loader.js and lora_stacker.js by removing redundant node registration code.
2025-09-16 21:48:20 +08:00