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
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
af713470c1
fix(recipes): parse loras from civitai hashes
2025-09-25 15:59:44 +08:00
pixelpaws
7499570766
fix(updates): avoid network stack traces offline
2025-09-25 14:50:06 +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
6c3424029c
fix(recipe image): optimize image saving and update PNG metadata handling, fixes #481
2025-09-25 10:43:10 +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
12c88835f2
refactor: enhance model version retrieval logic in CivitaiClient, fixes #460
2025-09-24 09:16:02 +08:00
Will Miao
4b4b8fe3c1
refactor: remove unused ModelRouteUtils class and its methods
2025-09-24 05:41:30 +08:00
pixelpaws
219cd242db
Merge pull request #467 from willmiao/codex/migrate-frontend-settings-to-backend
...
feat(settings): centralize settings loading and snake_case keys
2025-09-23 22:16:10 +08:00
Will Miao
656f1755fd
feat: add cleanup example image folders functionality and UI integration
2025-09-23 20:35:35 +08:00
pixelpaws
8aa76ce5c1
feat(settings): centralize frontend settings on backend
2025-09-23 20:28:32 +08:00
pixelpaws
6054d95e85
Update py/services/model_query.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 19:25:12 +08:00
pixelpaws
43fcce6361
refactor(example-images): inject websocket manager
2025-09-23 14:40:43 +08:00
pixelpaws
679cfb5c69
refactor(example-images): encapsulate download manager state
2025-09-23 13:07:11 +08:00
pixelpaws
aaad270822
feat(example-images): add use case orchestration
2025-09-23 11:47:12 +08:00
pixelpaws
85f79cd8d1
refactor(routes): introduce example images controller
2025-09-23 11:12:08 +08:00
pixelpaws
613cd81152
refactor(routes): add registrar for example images
2025-09-23 11:12:05 +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
d033a374dd
refactor(routes): split recipe handlers into dedicated classes
2025-09-22 12:57:37 +08:00
pixelpaws
3220cfb79c
test(recipe-routes): add scaffolding baseline
2025-09-22 12:41:37 +08:00
pixelpaws
b92e7aa446
chore(routes): dedupe os import
2025-09-22 12:15:12 +08:00
Will Miao
c3b9c73541
refactor: remove ModelRouteUtils usage and implement filtering directly in services
2025-09-22 09:09:40 +08:00
pixelpaws
08baf884d3
refactor(routes): migrate lifecycle mutations to service
2025-09-22 08:28:30 +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
pixelpaws
49e03d658b
Merge pull request #450 from willmiao/codex/refactor-basemodelroutes-for-better-separation
...
refactor(routes): extract registrar and handlers
2025-09-21 22:46:13 +08:00
Will Miao
fec85bcc08
refactor: unify standalone mode check using environment variable
2025-09-21 22:45:11 +08:00
pixelpaws
0e93a6bcb0
refactor(routes): extract registrar and handlers
2025-09-21 20:52:08 +08:00
pixelpaws
24090e6077
docs(routes): map base model dependencies and contracts
2025-09-21 20:34:45 +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
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
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
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
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
0566d50346
feat(middleware): add .mp4 to image extensions for cache control
2025-09-16 15:39:12 +08:00
Will Miao
4275dc3003
refactor(middleware): reorganize cache middleware into py directory and update import paths
2025-09-16 15:16:53 +08:00