Commit Graph

1200 Commits (930f8158053dc6f17379670380c74d63d43f4a6c)

Author SHA1 Message Date
zanllp 930f815805 fix 2026-02-05 20:36:32 +08:00
zanllp cd8a38692b release 2026-02-03 21:38:38 +08:00
zanllp ba6310086f
Merge pull request #913 from zanllp/feature/updateDocsChangelogReadme
Update changelog and refresh README features.
2026-02-01 21:27:16 +08:00
zanllp d5505e58c0 Update changelog and refresh README features. 2026-02-01 21:25:06 +08:00
zanllp 50ca2ac8db
Merge pull request #912 from zanllp/feature/continueOnErrorForMoveModal
Feature/continue on error for move modal
2026-02-01 20:19:49 +08:00
zanllp 0520224bbc build 2026-02-01 20:18:48 +08:00
zanllp 7a2fcbe77e feat: add continue-on-error for move copy 2026-02-01 19:53:40 +08:00
zanllp ac7c63b84c
Merge pull request #911 from zanllp/feature/dragDropToFolderConfirm
New shortcut support along with other convenience improvements and bug fixes
2026-02-01 16:13:25 +08:00
zanllp 9fed8fa256 Interface adjustments 2026-02-01 16:02:28 +08:00
zanllp 5f5f40cb12 fix: open folders on right correctly 2026-02-01 13:45:07 +08:00
zanllp d3ded68ea0 feat: support drag drop into folders 2026-02-01 13:33:31 +08:00
zanllp edcaa87e18 feat: add preset shortcut guide 2026-02-01 01:38:10 +08:00
zanllp 6fb32f15d5
Merge pull request #910 from zanllp/feature/log
add log
2026-01-30 23:19:30 +08:00
zanllp 1c38d769e9 add log 2026-01-30 23:12:37 +08:00
zanllp 59283c3f8a
Merge pull request #908 from zanllp/feature/exif
: optimize UI styling and CSS
2026-01-30 00:37:47 +08:00
zanllp 214b1c9b67 : optimize UI styling and CSS 2026-01-30 00:36:47 +08:00
zanllp c4502222ab
Merge pull request #907 from zanllp/feature/exif
feat: add EXIF metadata display support
2026-01-29 23:54:06 +08:00
zanllp 1d9e65f835 feat: add EXIF metadata display support 2026-01-29 23:49:49 +08:00
zanllp 695c5d9758
Merge pull request #904 from zanllp/feature/tiktokDeleteSync
sync delete event for tiktok viewer
2026-01-26 01:43:58 +08:00
zanllp 23f2715e75 chore: update dist build 2026-01-26 01:42:54 +08:00
zanllp 9dfdbc0658 fix: sync delete event for tiktok viewer 2026-01-26 01:41:47 +08:00
zanllp 00c75866db
Merge pull request #902 from zanllp/feature/tiktokPanelBackdrop
feat: update tiktok info panel and dist
2026-01-25 20:12:24 +08:00
zanllp bb7482f17c feat: update tiktok info panel and dist 2026-01-25 20:09:55 +08:00
zanllp 3dc994b9e9
Merge pull request #901 from zanllp/feature/tiktokInfoPanelSync
feat: refine TikTok info panel and preview return
2026-01-25 19:48:33 +08:00
zanllp a3190fc9b1 chore: update dist build assets 2026-01-25 19:35:40 +08:00
zanllp 1c04b7a321 feat: refine TikTok info panel and preview return 2026-01-25 19:10:52 +08:00
zanllp f2b1e4952a
Merge pull request #900 from zanllp/feature/videoStreamRangeFix
fix: 修复视频流 Range 解析并提升大文件吞吐
2026-01-24 19:31:17 +08:00
wuqinchuan e6fcd1afab fix: 修复视频流 Range 解析并提升大文件吞吐
- 支持 bytes=-N 尾部 Range 请求,避免大 mp4 卡顿
- 调整分块大小并在结束时清理文件句柄
2026-01-24 18:04:28 +08:00
zanllp 587b505a5a
Merge pull request #899 from zanllp/pref/tag
fix: add null checks for Tag.get_or_create calls
2026-01-23 00:26:50 +08:00
zanllp 5add6f0de6 fix: add null checks for Tag.get_or_create calls
- Tag.get_or_create now returns None for invalid tag names instead of creating error tags
- Add null checks before using tag.id in all callers
- Adjust tag validation: non-Chinese tags now limited to 8 words or 40 characters
2026-01-23 00:17:53 +08:00
zanllp cd1793b248 Revert "refactor: Handle invalid tag names gracefully"
This reverts commit e1dad21286.
2026-01-22 22:43:58 +08:00
zanllp e1dad21286 refactor: Handle invalid tag names gracefully
- Change Tag.get_or_create to return None for invalid tag names
- Add None checks at all call sites to prevent AttributeError
- Protects against invalid Chinese names (>16 chars) and other language names (>8 words)
- Ensures system stability when encountering problematic tag data
2026-01-22 22:41:28 +08:00
zanllp 323b2485e6
Merge pull request #898 from zanllp/feat/tag-validation-and-cleanup
include hyphen in LoRA tag model name matching & improve performance
2026-01-22 02:18:23 +08:00
zanllp bc6eb3c6dc perf: Optimize Tag.get_all for large datasets
Important performance optimization for handling large tag datasets:

- When total tags > 8192, limit 'pos' type tags to top 4096 by count
- Return all non-pos tags without limitation
- Significantly reduces memory usage and load time for large databases
- Maintains functionality while improving performance with massive tag counts
2026-01-22 01:44:11 +08:00
zanllp 40b8361ed0 feat: Add tag name validation and cleanup
- Add tag name validation in Tag.get_or_create method
- Chinese names: max 16 characters
- Other languages: max 8 words
- Return error tags with uppercase English names when validation fails
- Ensure error tags are created through get_or_create to maintain database consistency
- Clean up database: removed 487,938 non-custom tags, keeping only 12 custom tags
2026-01-22 01:29:53 +08:00
zanllp 4f4d766b73 fix: include hyphen in LoRA tag model name matching 2026-01-21 23:28:20 +08:00
zanllp 5daba8b2b9
Merge pull request #895 from zanllp/feature/comfyui-extract-all-prompts
Feature/comfyui extract all prompts
2026-01-18 16:38:52 +08:00
zanllp 0b26b115ab feat: add option to extract all ComfyUI prompts at once
- Add IIB_COMFYUI_EXTRACT_ALL_PROMPTS environment variable
- When enabled, extract all CLIPTextEncode prompts instead of following KSampler chain
- Note: All prompts will be merged into positive prompt field
2026-01-18 16:37:40 +08:00
zanllp a952a9f9d7 feat: add option to extract all ComfyUI prompts at once
- Add IIB_COMFYUI_EXTRACT_ALL_PROMPTS environment variable
- When enabled, extract all CLIPTextEncode prompts instead of following KSampler chain
- Note: All prompts will be merged into positive prompt field
2026-01-18 16:37:10 +08:00
zanllp 0cd1fdb8a3
Merge pull request #894 from zanllp/dev-20260118
Update: cache banner and type declarations
2026-01-18 14:24:25 +08:00
zanllp d0e916f920 Update: cache banner and type declarations 2026-01-18 14:20:06 +08:00
zanllp 1a5ceea746
Merge pull request #890 from zanllp/feature/tag-relationship-graph
Add tag relationship graph visualization for topic clusters
2026-01-18 01:38:46 +08:00
zanllp 7b2af32b10 feat: enhance topic search with keyword limit, irregular layout, and cache banner
- Add keyword count limit (default 600) for Tag layer to improve performance
- Implement irregular node layout with random perturbations
- Add layer spacing based on adjacent layer widths for consistent gaps
- Add cache result banner with collapse/expand functionality
- Add streaming response utility for LLM API calls
- Update i18n translations for new cache banner texts
- Optimize tag graph: increase max tags to 500, add level-2 tiered requirements
- Fix keyword deduplication and null handling in tag graph
2026-01-18 01:29:25 +08:00
zanllp 0c1998bdb0 Improve keyword consistency in topic clustering
- Add get_all_keywords_frequency method to TopicTitleCache
- Initialize keyword frequency from historical cached cluster keywords
- Prioritize top 100 high-frequency keywords when generating new keywords
- Update LLM prompt to prefer existing keywords from frequency list
- Reduce duplicate/similar keyword generation across clusters
- Add streaming support for tag_graph LLM requests
- Increase LLM timeout and retry limits for better reliability
2026-01-12 00:56:03 +08:00
wuqinchuan 6c16bd0d82 perf: optimize tag graph response and surface LLM failures 2026-01-11 20:42:14 +08:00
wuqinchuan 3771de5834 feat: enhance tag relation graph filtering, fullscreen, and i18n 2026-01-11 18:33:17 +08:00
wuqinchuan 59bef3915e feat: 优化query搜索并加入tag图(去掉max抽象层与d3依赖) 2026-01-11 00:56:58 +08:00
wuqinchuan 67cbda36d1 fix: Add echarts dependency and update build
- Install echarts@6.0.0 for graph visualization
- Update TagRelationGraph.vue to use echarts instead of custom canvas
- Build completed successfully
2026-01-11 00:53:38 +08:00
wuqinchuan c2c0c69fbc feat: Add tag relationship graph visualization for topic clusters
Features:
- Tag-based relationship graph using force-directed layout
- Hybrid weight calculation (frequency + TF-IDF)
- Automatic community detection using Louvain algorithm
- Interactive visualization with ECharts
- Support for Tag and Cluster nodes
- Click to search images by tag
- Top-N filtering to avoid visual clutter

Backend:
- New API endpoint: POST /db/cluster_tag_graph
- Tag weight calculation with configurable alpha
- Category inference (character/style/scene/object)
- Community detection (requires networkx, optional)

Frontend:
- New component: TagRelationGraph.vue
- Switch between Cluster Cards and Tag Graph views
- Interactive graph with drag/zoom/pan
- Node details panel with search functionality
- Stats panel showing tags/clusters/images count

Documentation:
- Added TAG_GRAPH_README.md with usage guide

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-11 00:53:38 +08:00
zanllp 53caa7de69
Merge pull request #888 from zanllp/updates/rebuild-assets
Rebuild vue dist assets & fix download
2026-01-10 23:17:30 +08:00