Commit Graph

1145 Commits (b304396ecc59de03fda061bf34a6265676532d21)

Author SHA1 Message Date
zanllp b304396ecc
Merge pull request #882 from zanllp/refactor-install-script
Refactor install script: simplify package installation logic and impr…
2026-01-05 06:52:40 +08:00
zanllp 04862034c9 Refactor install script: simplify package installation logic and improve error handling 2026-01-05 06:42:21 +08:00
zanllp c30b117b90
Merge pull request #879 from zanllp/fix/improve-download-files
Fix downloadFiles function: remove hardcoded URL, improve multiple do…
2026-01-04 23:56:07 +08:00
zanllp 000da5ad69 Fix downloadFiles function: remove hardcoded URL, improve multiple downloads handling, add error handling 2026-01-04 23:46:25 +08:00
zanllp a6f20762d8
Merge pull request #878 from zanllp/fix/remove-hardcoded-path
Remove hardcoded test path from generate_image_cache function
2026-01-04 23:22:18 +08:00
zanllp 3127b5aa65 fix 2026-01-04 23:21:40 +08:00
zanllp 26dfc573c9 Remove hardcoded test path from generate_image_cache function 2026-01-04 23:20:02 +08:00
zanllp a834959f22
Merge pull request #876 from zanllp/fix/numpy-version-requirement
fix: Set numpy version requirement to >=1.10.0 and add runtime versio…
2026-01-04 22:21:37 +08:00
zanllp bfb55d4857 fix: Set numpy version requirement to >=1.10.0 and add runtime version info
- Set numpy to >=1.10.0,<3.0.0 (minimum for np.stack function, compatible with Python 3.11 and below)
- Python 3.12 users will automatically get numpy 1.26.0+ due to compatibility
- Add runtime version info for requests, numpy, hnswlib in /version endpoint
2026-01-04 22:20:01 +08:00
zanllp ea18b886ca
Merge pull request #874 from zanllp/fix/lock-package-versions
fix: Lock major versions for requests, numpy, hnswlib and add runtime…
2026-01-04 01:27:50 +08:00
zanllp a7e6109f17 fix: Lock major versions for requests, numpy, hnswlib and add runtime version info
- Lock requests to >=2.0.0,<3.0.0 (current: 2.32.5)
- Lock numpy to >=2.0.0,<3.0.0 (current: 2.4.0)
- Lock hnswlib to >=0.0.0,<1.0.0 (current: 0.8.0)
- Add runtime version info for requests, numpy, hnswlib in /version endpoint
2026-01-04 01:27:01 +08:00
zanllp 3ef90cface
Merge pull request #870 from zanllp/feature/topicSearch
feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)
2026-01-04 01:17:38 +08:00
zanllp 810944edf6 rebuild 2026-01-04 01:15:10 +08:00
zanllp 61faff2658 fix: Remove duplicate icons from Topic Search guide i18n texts
- Remove emoji icons (鉁?and 馃殌) from i18n translation strings
- Icons are already displayed in the Vue template, preventing duplication
- Update all language files: EN, ZH-Hans, ZH-Hant, DE
2026-01-04 01:06:30 +08:00
zanllp 0291f3c681 feat: Add AI tag analysis feature and improve authentication handling
- Add AI-powered tag analysis feature in full-screen context menu
  - Analyze prompts using AI to suggest matching custom tags
  - Add loading state with spinner during analysis
  - Filter out already-added tags to avoid duplicates
  - Support i18n for all user-facing messages (EN/ZH-Hans/ZH-Hant/DE)
  - Keep system prompts in English for consistency

- Improve authentication error handling
  - Add special marker for secret verification 401 errors
  - Only trigger password modal for secret verification failures
  - Prevent password modal from showing on other 401 errors

- Enhance Topic Search guide
  - Add two advantage points highlighting semantic similarity grouping
  - Add natural language semantic search capabilities
  - Support i18n for new guide content
2026-01-04 00:29:03 +08:00
wuqinchuan 96655d89c4 feat: show cached topics by default and fix topic deletion/capping 2026-01-03 23:50:27 +08:00
wuqinchuan 4d3617671d tune: reduce over-merging in topic clustering defaults 2026-01-03 23:49:36 +08:00
wuqinchuan 67c93dd9f3 fix: retry on network/API errors in LLM title generation 2026-01-03 23:49:36 +08:00
wuqinchuan 3a6b155db5 refactor: parse title JSON from text with retries 2026-01-03 23:49:36 +08:00
wuqinchuan cfa589c68f feat: improve topic search UX and dependency gating 2026-01-03 23:49:36 +08:00
wuqinchuan 3ba8997626 chore: require numpy/hnswlib for topic clustering 2026-01-03 23:47:16 +08:00
wuqinchuan 25190f7307 refactor: drop legacy synchronous cluster endpoint 2026-01-03 23:47:16 +08:00
wuqinchuan 4287c2c849 fix: update file index before topic clustering refresh 2026-01-03 23:47:16 +08:00
wuqinchuan c22ac83bde perf: accelerate clustering with ANN (hnswlib) 2026-01-03 23:47:16 +08:00
wuqinchuan efcb500c53 feat: cache embedding failures and persist cluster results 2026-01-03 23:47:16 +08:00
wuqinchuan 2edf9e52d7 feat: async clustering job with progress UI 2026-01-03 23:47:16 +08:00
wuqinchuan e522d8e878 fix: make topic embedding non-blocking and cap embedding input length 2026-01-03 23:47:16 +08:00
wuqinchuan 101a30afb4 Revert "Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)""
This reverts commit dd5663dd89.
2026-01-03 23:47:16 +08:00
zanllp daa77b9f51
Merge pull request #872 from rlabusiness/fix-auth-modal
Fix duplicate auth prompt and mask password input using a proper password field
2026-01-03 15:36:47 +08:00
zanllp ca35b2c956 rebuild 2026-01-03 15:35:22 +08:00
rlabusiness 988bb811ae Fix duplicate auth prompt and mask password input using a proper password field 2026-01-01 17:59:03 +00:00
wuqinchuan dd5663dd89 Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)"
This reverts commit d7e2b2f9fc.
2025-12-28 23:16:31 +08:00
wuqinchuan d7e2b2f9fc feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval) 2025-12-28 23:10:13 +08:00
zanllp 2a1edbab1f
Merge pull request #865 from zanllp/releases/1.5.1
fix: Fixed the issue of video cover generation failure & release
2025-12-19 21:59:06 +08:00
zanllp 89bd778182 fix 2025-12-19 01:29:32 +08:00
zanllp 858453238e feat: fix 2025-12-19 00:43:15 +08:00
zanllp 62461f97e2 fix: Fixed the issue of video cover generation failure & release 2025-12-18 23:50:59 +08:00
zanllp 16a614b7fc docs: update changelog with missing features since 2024-11 2025-12-15 03:12:50 +08:00
zanllp ae800d6cbc feat: update style 2025-12-15 01:22:10 +08:00
zanllp 3fbded3a63
Merge pull request #861 from zanllp/feature/audio-support
feat: add audio file playback support and improve TikTok view
2025-12-15 01:06:00 +08:00
zanllp 4cb3966cd2 feat: style update 2025-12-15 00:59:32 +08:00
zanllp da0082516c feat: add audio file playback support and improve TikTok view
- Add audio file recognition in backend (tool.py) and frontend (file.ts)
- Support audio formats: mp3, wav, ogg, flac, m4a, aac, wma
- Add audio player in TikTok view with starfield background animation
- Add audio modal similar to video modal
- Update file type filter to multi-select checkboxes (image/video/audio)
- Add filename display in TikTok view with Douyin-style bottom gradient
- Add long press to hide/show controls in TikTok view
- Fix audio resource cleanup when closing TikTok view
- Add Audio media type tag in database indexing
- Add i18n translations for audio related strings
2025-12-15 00:22:23 +08:00
zanllp ce3a3ccb9a
Merge pull request #856 from zanllp/releases/1.5.0
release
2025-12-02 21:02:57 +08:00
zanllp 292d10072a release 2025-12-02 20:17:09 +08:00
zanllp 41ae0fb75a
Merge pull request #854 from zanllp/optimize-random-images
feat: optimize random images, improve ComfyUI detection and prompt di…
2025-11-30 21:04:39 +08:00
zanllp e5413e41f1 feat: optimize random images, improve ComfyUI detection and prompt display
Backend optimizations:
- Refactor get_random_images() using SQLite ORDER BY RANDOM()
- Simplify from 60+ lines to ~20 lines with better performance
- Remove complex multi-cycle index calculations
- Maintain file existence check and auto-cleanup

ComfyUI support:
- Add fallback to 'parameters' field in PNG metadata
- Improve detection for ComfyUI-generated images

Frontend improvements:
- Smart prompt display: auto-detect tag vs natural language format
- Add getTextLength() with Chinese character weight (1 char = 3 letters)
- Refactor isTagStylePrompt() with clear rules:
  * Any tag length > 50  natural language format
  * Average tag length > 30  natural language format
- Natural language prompts shown as paragraphs
- Tag-style prompts shown as badges
- Better support for Chinese/English mixed content

Build:
- Update frontend asset references
2025-11-30 20:50:13 +08:00
zanllp 09b180e6f3
Merge pull request #852 from zanllp/feat/auto-tagging
feat: implement auto-tagging
2025-11-30 19:05:09 +08:00
zanllp d8ed522996 feat: implement auto-tagging feature with custom tag rules
- Add AutoTagMatcher singleton class for automatic tag application
- Support filtering by multiple fields (prompt, model, sampler, etc.)
- Add frontend UI for managing auto-tag rules in global settings
- Support AND logic for multiple conditions within a rule
- Integrate with image indexing process
- Add natural language vs tag-style prompt detection and rendering
- Include rule descriptions and usage guidance in UI
- Auto-reload rules when updated via API
2025-11-30 19:00:24 +08:00
zanllp 2e560e9486
Merge pull request #850 from zanllp/feature/support-webm
support webm
2025-11-10 22:24:15 +08:00
zanllp 0184e7b1a6 support webm 2025-11-10 22:08:24 +08:00