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
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
pixelpaws
8f5e134d3e
fix: skip redundant hydration in metadata sync service
2025-10-10 08:49:54 +08:00
pixelpaws
ef03a2a917
fix(metadata): hydrate cached records before saving
2025-10-10 08:30:51 +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
pixelpaws
cf357b57fc
feat(scanner): index cached models by version id
2025-10-09 13:50:44 +08:00
pixelpaws
8e51f0f19f
fix(civitai): improve model version retrieval
2025-10-09 10:56:25 +08:00
pixelpaws
c53fa8692b
refactor(settings): lazily initialize manager
2025-10-08 08:56:57 +08:00
pixelpaws
e21d5835ec
Merge pull request #524 from willmiao/codex/add-async-tests-for-websocketmanager
...
Add websocket broadcast and usage stats tests
2025-10-05 15:19:40 +08:00
pixelpaws
fc64e97f92
Merge pull request #525 from willmiao/codex/develop-tests-for-metadatasyncservice-and-modelscanner
...
Add coverage for metadata sync service and scanner reconciliation
2025-10-05 15:03:36 +08:00
pixelpaws
5e23e4b13d
test(metadata): cover sync service and scanner reconciliation
2025-10-05 14:42:13 +08:00
pixelpaws
badae2e8b3
test: cover websocket broadcasts and usage stats
2025-10-05 14:41:47 +08:00
pixelpaws
9e64531de6
test(settings): cover migrations and registry lazy loading
2025-10-05 14:41:24 +08:00
pixelpaws
5b564cd8a3
fix(example-images): pin downloads to start library
2025-10-05 09:10:25 +08:00
pixelpaws
67c82ba6ea
fix(example-images): reuse migrated folders during downloads
2025-10-05 08:37:11 +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
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
pixelpaws
e066fa6873
feat(settings): add multi-library backend support
2025-10-03 20:08:35 +08:00
pixelpaws
fe9fbdb93c
fix(cache): sync persistent metadata updates
2025-10-03 14:57:44 +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
pixelpaws
9121c12a2c
feat(download): retry mirror urls sequentially
2025-09-30 17:14:59 +08:00
pixelpaws
88d5caf642
feat(settings): migrate settings to user config dir
2025-09-27 22:22:15 +08:00
pixelpaws
1684978693
Merge pull request #491 from willmiao/codex/replace-spaces-in-embedding-paths
...
Fix embedding relative paths by replacing spaces
2025-09-26 09:06:56 +08:00
pixelpaws
8e4927600f
fix(embeddings): replace spaces in relative paths
2025-09-26 09:02:46 +08:00
pixelpaws
e7316b3389
fix(civitai): strip comfy metadata from images
2025-09-26 08:55:46 +08:00
pixelpaws
fc9db4510f
test: fix duplicate pytest import
2025-09-25 16:44:43 +08:00
pixelpaws
af713470c1
fix(recipes): parse loras from civitai hashes
2025-09-25 15:59:44 +08:00
pixelpaws
095320ef72
test(routes): tidy lora route test imports
2025-09-25 09:40:25 +08:00
Will Miao
656f1755fd
feat: add cleanup example image folders functionality and UI integration
2025-09-23 20:35:35 +08:00
pixelpaws
8c9bb35824
Update tests/services/test_base_model_service.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 19:25:02 +08:00
pixelpaws
e128c80eb1
test(services): add async example image download tests
2025-09-23 14:58:35 +08:00
pixelpaws
aaad270822
feat(example-images): add use case orchestration
2025-09-23 11:47:12 +08:00
pixelpaws
42872e6d2d
feat(recipes): expose recipe scanner mutation apis
2025-09-22 13:45:40 +08:00
pixelpaws
097a68ad18
refactor(recipes): introduce dedicated services for handlers
2025-09-22 13:25:21 +08:00
pixelpaws
c063854b51
feat(routes): extract orchestration use cases
2025-09-22 05:25:27 +08:00
pixelpaws
21772feadd
refactor(routes): extract route utilities into services
2025-09-21 23:34:46 +08:00
Will Miao
2d00cfdd31
refactor: enhance BaseModelService initialization and improve filtering logic
2025-09-21 23:13:30 +08:00