Will Miao
c90306cc9b
feat: display abbreviated base model labels in model cards
...
- Add BASE_MODEL_ABBREVIATIONS mapping and getBaseModelAbbreviation utility function
- Replace full base model names with abbreviated versions in ModelCard component
- Implement fallback abbreviation generation for unknown base models
- Maintain full base model name in tooltip for accessibility
- Improve card layout by reducing label width while preserving information
2025-10-25 17:04:16 +08:00
Will Miao
5fe0660c64
feat: add update available indicator to model cards
...
- Add CSS custom properties for update badge styling in both light and dark themes
- Create new card header info layout with flexbox for better content organization
- Implement model-update-badge component with glow effects and proper spacing
- Add has-update class to cards when updates are available with visual border indicators
- Update ModelCard.js to conditionally render update badges based on model data
- Include internationalization support for update badge labels and tooltips
The changes provide users with clear visual indicators when model updates are available, improving the user experience by making update status immediately visible without requiring manual checks.
2025-10-25 16:41:35 +08:00
Will Miao
2abb5bf122
feat: add update_available flag to model services
...
Add update_available field to checkpoint, embedding, and LoRA service response formatting. The flag indicates whether a model update is available and defaults to false when not specified.
Include comprehensive tests to verify the update flag is properly included in formatted responses and defaults to false when not present in the payload.
2025-10-25 16:29:54 +08:00
Will Miao
bb65527469
feat: add database migration system for model update schema
...
Add migration support to handle schema changes without data loss. Instead of dropping and recreating tables, the system now:
- Uses CREATE TABLE IF NOT EXISTS for initial table creation
- Adds _apply_migrations method to handle incremental schema updates
- Adds _get_table_columns helper to inspect existing table structure
- Adds new columns to model_update_versions table (sort_index, name, base_model, released_at, size_bytes, preview_url, is_in_library, should_ignore)
- Adds should_ignore_model column to model_update_status table
This ensures existing databases are upgraded gracefully while preserving user data.
2025-10-25 16:05:39 +08:00
Will Miao
d9a6db3359
feat: optimize model update checking with bulk operations
...
- Refactor update filter logic to use bulk update checks when available
- Add annotation method to attach update flags to response items
- Improve performance by reducing API calls for update status checks
- Maintain backward compatibility with fallback to individual checks
- Handle edge cases and logging for failed update status resolutions
2025-10-25 15:31:33 +08:00
Will Miao
58cafdb713
feat: add model version management endpoints
...
- Add set_version_update_ignore endpoint to toggle ignore status for specific versions
- Add get_model_versions endpoint to retrieve version details with optional refresh
- Update serialization to include version-specific data and preview overrides
- Modify database schema to support version-level ignore tracking
- Improve error handling for rate limiting and missing models
These changes enable granular control over version updates and provide better visibility into model version status.
2025-10-25 14:54:23 +08:00
pixelpaws
0594e278b6
Merge pull request #592 from willmiao/codex/update-preview-download-logic-for-nsfw-settings
...
feat(preview): respect blur mature content setting
2025-10-25 06:49:51 +08:00
pixelpaws
807425f12a
feat(preview): respect blur mature content setting
2025-10-25 06:43:03 +08:00
pixelpaws
aa4b1ccc25
Update FUNDING.yml
2025-10-24 22:23:32 +08:00
pixelpaws
58255ec28b
Update FUNDING.yml
2025-10-24 22:12:36 +08:00
pixelpaws
d62b84693d
Update FUNDING.yml
2025-10-24 22:10:33 +08:00
Will Miao
df75c7e68d
feat: enhance Lora modal recipes section with new header and card components
...
- Add comprehensive recipes header with title, description, and view-all button
- Implement recipe card grid layout with responsive design
- Add recipe cards featuring titles, metadata badges, and copy functionality
- Include theme-aware styling for both light and dark modes
- Improve visual hierarchy and user interaction with hover states and transitions
2025-10-24 20:27:59 +08:00
pixelpaws
c5c7fdf54f
Merge pull request #591 from willmiao/codex/investigate-share-button-network-error
...
Fix recipe share filename sanitization
2025-10-24 15:22:04 +08:00
pixelpaws
49e0deeff3
fix(recipes): sanitize shared recipe filenames
2025-10-24 15:17:12 +08:00
pixelpaws
0c20701bef
Merge pull request #589 from willmiao/codex/fix-download-stalling-issues
...
Fix stalled downloads by adding stall detection and reconnect logic
2025-10-23 17:40:31 +08:00
pixelpaws
faa26651dd
fix(download): recover stalled transfers automatically
2025-10-23 17:25:38 +08:00
pixelpaws
2eae8a7729
Merge pull request #587 from willmiao/codex/evaluate-file-validation-improvements-for-lora-manager
...
Ensure downloader rejects empty or truncated files
2025-10-23 12:17:13 +08:00
pixelpaws
dde2b2a960
fix(downloader): enforce file size integrity checks
2025-10-23 11:55:39 +08:00
pixelpaws
4a9089d3dd
Merge pull request #586 from willmiao/codex/analyze-and-propose-fix-for-header-value-error
...
fix: sanitize aiohttp header limit overrides
2025-10-23 11:23:08 +08:00
pixelpaws
3244a5f1a1
fix(lora-manager): sanitize header limit overrides
2025-10-23 11:13:31 +08:00
Will Miao
449c1e9d10
feat(i18n): add new UI text for model management features
...
Add localization strings for new model management functionality:
- Copy checkpoint and embedding name actions
- Send checkpoint and embedding to ComfyUI workflow
- Error messages for missing model paths and workflow compatibility
- Node selection validation messages
These additions support upcoming features for better model handling and workflow integration.
2025-10-23 11:11:13 +08:00
Will Miao
d0aa916683
feat(node-registry): add support to send checkpoint/diffusion model to workflow
...
- Add capabilities parsing and validation for node registration
- Implement widget_names extraction from capabilities with type safety
- Add supports_lora boolean conversion in capabilities
- Include comfy_class fallback to node_type when missing
- Add new update_node_widget API endpoint for bulk widget updates
- Improve error handling and input validation for widget updates
- Remove unused parameters from node selector event setup function
These changes improve node metadata handling and enable dynamic widget management capabilities.
2025-10-23 10:44:48 +08:00
pixelpaws
13433f8cd2
Merge pull request #585 from willmiao/codex/fix-model_type-not-updating-for-checkpoints
...
fix: apply adjust_cached_entry during model reconciliation
2025-10-23 08:33:33 +08:00
pixelpaws
8d336320c0
fix(scanner): apply metadata adjustments during reconciliation
2025-10-23 07:34:35 +08:00
pixelpaws
d945c58d51
Merge pull request #583 from willmiao/codex/analyze-zstd-content-encoding-error
...
fix: disable compression in default downloader headers
2025-10-22 10:21:17 +08:00
pixelpaws
acaf122346
fix(downloader): request identity encoding by default
2025-10-22 10:17:39 +08:00
pixelpaws
713759b411
Merge pull request #582 from willmiao/codex/fix-model-type-adjustment-in-scanner
...
Fix checkpoint model type when hydrating persisted cache
2025-10-21 22:59:55 +08:00
pixelpaws
c5175bb870
fix(checkpoints): preserve model type on persisted load
2025-10-21 22:55:00 +08:00
pixelpaws
e63ef8d031
Merge pull request #581 from willmiao/codex/fix-typeerror-in-autocomplete.js
...
fix: clean up autocomplete event handlers
2025-10-21 19:33:02 +08:00
pixelpaws
e043537241
fix(autocomplete): detach listeners when dropdown removed
2025-10-21 19:28:22 +08:00
pixelpaws
c38a06937d
Merge pull request #578 from willmiao/codex/propose-solutions-for-missing-model_name, fixes #429
...
fix: guard model cache against missing metadata fields
2025-10-18 21:33:00 +08:00
pixelpaws
1a34403b0e
fix(model-cache): avoid mutating raw entries without fields
2025-10-18 21:30:49 +08:00
pixelpaws
e4d58d0f60
fix(cache): harden metadata defaults
2025-10-18 21:19:09 +08:00
pixelpaws
4e4ea85cc3
Merge pull request #577 from willmiao/codex/add-sanitize_folder_name-utility-method, #552
...
fix: sanitize path template folder names
2025-10-18 16:48:43 +08:00
pixelpaws
f7a856349a
fix(utils): sanitize path template folder names
2025-10-18 16:20:47 +08:00
pixelpaws
52bf93e430
Merge pull request #574 from willmiao/codex/add-model-name-display-setting
...
feat: respect model name display preference in model cache
2025-10-16 09:21:19 +08:00
pixelpaws
00fade756c
fix(settings): dispatch name display updates on original loop
2025-10-16 09:02:35 +08:00
pixelpaws
3c0feb23ba
feat(model-cache): respect model name display preference
2025-10-16 07:01:04 +08:00
pixelpaws
bbdc1bba87
Merge pull request #573 from willmiao/codex/add-batch-model-version-retrieval
...
feat: batch model update refresh using Civitai bulk API
2025-10-15 20:55:53 +08:00
pixelpaws
21a1bc1a01
feat(metadata): batch refresh model versions
2025-10-15 20:47:30 +08:00
pixelpaws
5a6ff444b9
Merge pull request #572 from willmiao/codex/design-ui-for-model-update-notifications
...
refactor: tighten civitai update endpoints
2025-10-15 16:01:20 +08:00
pixelpaws
3bb240d3c1
fix(updates): avoid caching failed civitai lookups
2025-10-15 16:00:23 +08:00
pixelpaws
ee0d241c75
refactor(routes): limit update endpoints to essentials
2025-10-15 15:37:35 +08:00
pixelpaws
52e671638b
feat(example-images): add stop control for download panel
2025-10-15 08:46:03 +08:00
pixelpaws
8c037465ba
Merge pull request #564 from willmiao/codex/design-apis-for-pause-and-resume-download
...
test: add coverage for download pause and resume controls
2025-10-13 21:39:47 +08:00
pixelpaws
055c1ca0d4
test(downloads): cover pause and resume flows
2025-10-13 21:30:23 +08:00
pixelpaws
5e441d9c4f
Merge pull request #563 from willmiao/codex/add-download-speed-info-to-progress
...
feat(downloads): expose throughput metrics in progress APIs
2025-10-13 18:11:32 +08:00
pixelpaws
eb76468280
feat(downloads): expose throughput metrics in progress APIs
2025-10-13 14:39:31 +08:00
pixelpaws
97141b01e1
Merge pull request #562 from willmiao/incremental-cache, see #561
...
feat(model-scanner): add metadata tracking and improve cache management
2025-10-12 17:09:19 +08:00
pixelpaws
181f0b5626
Merge pull request #560 from willmiao/codex/analyze-coverage-for-backend-tests
...
test: add standalone bootstrap and model factory coverage
2025-10-11 22:48:35 +08:00
pixelpaws
480e5d966f
test: add standalone bootstrap and model factory coverage
2025-10-11 22:42:24 +08:00
pixelpaws
8ea369db47
Merge pull request #559 from willmiao/codex/add-info-level-logging-in-fetch_and_update_model
...
feat: log metadata channel on metadata fetch
2025-10-11 20:37:08 +08:00
pixelpaws
84d10b1f3b
feat(metadata): log metadata channel on fetch
2025-10-11 20:07:01 +08:00
pixelpaws
7be1a2bd65
Merge pull request #557 from willmiao/civarc-api-support
...
CivArchive API support
2025-10-11 18:10:06 +08:00
pixelpaws
87842385c6
Merge pull request #558 from willmiao/codex/design-custom-priority-tags-format
...
feat: add customizable priority tags
2025-10-11 17:46:13 +08:00
pixelpaws
6120922204
chore(priority-tags): add newline terminator
2025-10-11 17:38:20 +08:00
pixelpaws
1aa81c803b
Merge pull request #551 from willmiao/codex/refactor-model-metadata-saving-logic
...
fix: hydrate cached metadata before persisting updates
2025-10-10 08:56:12 +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
pixelpaws
5dcf0a1e48
Merge pull request #545 from willmiao/codex/evaluate-sqlite-cache-indexing-necessity
...
feat: index cached models by version id
2025-10-09 13:54:46 +08:00
pixelpaws
cf357b57fc
feat(scanner): index cached models by version id
2025-10-09 13:50:44 +08:00
pixelpaws
4e1773833f
Merge pull request #544 from willmiao/codex/add-endpoint-to-fetch-civitai-user-models
...
Add endpoint to fetch Civitai user models
2025-10-09 11:56:57 +08:00
pixelpaws
8cf762ffd3
feat(misc): add civitai user model lookup
2025-10-09 11:49:41 +08:00
pixelpaws
d997eaa429
Merge pull request #543 from willmiao/codex/refactor-get_model_version-logic-and-add-tests, fixes #540
...
fix: improve Civitai model version retrieval
2025-10-09 11:07:33 +08:00
pixelpaws
8e51f0f19f
fix(civitai): improve model version retrieval
2025-10-09 10:56:25 +08:00
pixelpaws
f0e246b4ac
Merge pull request #542 from willmiao/codex/investigate-backend-tests-modifying-settings.json
...
Refactor settings manager to lazy singleton
2025-10-08 16:02:11 +08:00
pixelpaws
a232997a79
fix(utils): respect metadata sync overrides
2025-10-08 15:52:15 +08:00
pixelpaws
08a449db99
fix(metadata): refresh metadata sync settings
2025-10-08 10:38:05 +08:00
pixelpaws
0c023c9888
fix(settings): lazily resolve module aliases
2025-10-08 10:10:23 +08:00
pixelpaws
0ad92d00b3
fix(settings): restore legacy settings aliases
2025-10-08 09:54:36 +08:00
pixelpaws
a726cbea1e
fix(routes): pass resolved settings to metadata sync
2025-10-08 09:32:57 +08:00
pixelpaws
c53fa8692b
refactor(settings): lazily initialize manager
2025-10-08 08:56:57 +08:00
pixelpaws
cf375c7c86
Merge pull request #537 from willmiao/codex/implement-video-lazy-loading-with-queue
...
fix: throttle model card video lazy loading
2025-10-06 08:07:24 +08:00
pixelpaws
5e53d76f44
fix(model-card): throttle preview video loading
2025-10-06 07:45:51 +08:00
pixelpaws
c8cc584049
Merge pull request #536 from willmiao/codex/add-unit-tests-for-config-saving-paths
...
Add regression tests for Config save path handling
2025-10-05 22:24:57 +08:00
pixelpaws
2cdd269bba
Merge pull request #535 from willmiao/codex/add-tests-for-migration-utility-functions
...
test: cover example images migration flows
2025-10-05 22:24:42 +08:00
pixelpaws
d2d97ae5bb
Merge pull request #534 from willmiao/codex/add-tests-for-cache-middleware
...
test: add cache control middleware coverage
2025-10-05 22:24:26 +08:00
pixelpaws
d08d77c555
Merge pull request #533 from willmiao/codex/add-async-test-module-for-lifecycle
...
test: add LoRA manager lifecycle coverage
2025-10-05 22:24:12 +08:00
pixelpaws
92f8d2139a
Merge pull request #532 from willmiao/codex/create-tests-for-statsroutes
...
test: add coverage for stats routes endpoints
2025-10-05 22:23:59 +08:00
pixelpaws
50f2c2dfe6
test(config): cover save path migration flows
2025-10-05 22:19:36 +08:00
pixelpaws
3539c453d3
test(utils): cover example images migrations
2025-10-05 22:19:29 +08:00
pixelpaws
1631122f95
test(middleware): add cache control coverage
2025-10-05 22:19:20 +08:00
pixelpaws
8fcb979544
test(routes): cover lora manager lifecycle
2025-10-05 22:19:10 +08:00
pixelpaws
8a5af0b7f3
test(routes): add stats routes coverage
2025-10-05 22:18:59 +08:00
pixelpaws
1150267765
Merge pull request #531 from willmiao/codex/-activelibrary
...
fix(locales): translate library selection strings
2025-10-05 21:04:10 +08:00
pixelpaws
5c1252548d
fix(locales): translate library selection strings
2025-10-05 21:03:21 +08:00
pixelpaws
d0800510db
Merge pull request #529 from willmiao/codex/update-file-url-formatting-methods
...
fix: route recipe previews through preview API
2025-10-05 15:53:26 +08:00
pixelpaws
f8ba551cc4
fix(recipes): use preview endpoint for recipe images
2025-10-05 15:49:18 +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
f2f354e478
Merge pull request #528 from willmiao/codex/add-bulk-action-set-content-rating, fixes #428
...
Add bulk content rating update action
2025-10-05 15:19:19 +08:00
pixelpaws
b195d4569c
test(usage-stats): allow metadata registry monkeypatch
2025-10-05 15:13:20 +08:00
pixelpaws
3b77fed72d
feat(bulk): add bulk content rating action
2025-10-05 15:09:43 +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
1da0434454
Merge pull request #526 from willmiao/codex/add-tests-for-utility-functions
...
test: add coverage for utility helpers
2025-10-05 15:03:20 +08:00
pixelpaws
cf2fe40612
Merge pull request #527 from willmiao/codex/add-unit-tests-for-metadata-components
...
Add metadata collector unit tests and fixtures
2025-10-05 15:03:04 +08:00
pixelpaws
8f46433ff7
Merge pull request #523 from willmiao/codex/add-tests-for-settingsmanager-migration
...
Add tests for settings migrations and service registry lazy loading
2025-10-05 15:02:44 +08:00
pixelpaws
f3be3ae269
Merge pull request #522 from willmiao/codex/add-tests-for-example-images-pipeline
...
test: add example images route and utility coverage
2025-10-05 15:02:07 +08:00
pixelpaws
cfec5447d3
test(metadata): add collector coverage
2025-10-05 14:44:17 +08:00
pixelpaws
2d36b461cf
test(utils): add coverage for helper utilities
2025-10-05 14:43:21 +08:00
pixelpaws
5e23e4b13d
test(metadata): cover sync service and scanner reconciliation
2025-10-05 14:42:13 +08:00