Commit Graph

1256 Commits (main)

Author SHA1 Message Date
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
zanllp 2961e4efb6
Merge pull request #840 from zanllp/feature/tiktokUxImprove
feat(ui): improve TikTok viewer UX
2025-08-24 21:11:54 +08:00
zanllp dbf6e34ec0 feat(ui): improve TikTok viewer UX
- Add toggle for navigation buttons in global settings
- Add multi-language support for new settings (en, zh-hans, zh-hant, de)
- Improve video display in TikTok view using fit-content
2025-08-24 21:07:35 +08:00
zanllp 4e8ec92919
Merge pull request #838 from budingkak12/feature/video-tag-i18n-improvements
视频标签搜索与随机排序功能增强
2025-08-23 16:14:06 +08:00
zanllp d928aa4f56 feat: Adjust UI details & build 2025-08-23 16:13:09 +08:00
bupro 198de49e58 feat: Add video tag search and random sort with i18n support
- Added video tag support for enhanced media file handling:
  * Video files can now use tag-based search functionality
  * Added support for reading video generation info from txt files
  * Enhanced EXIF data handling for video media types

- Implemented random sort feature for image grid:
  * Added random sort toggle button with visual indicators (🎲/📅)
  * Supports both random and date-based sorting modes
  * Optimized pagination for random sorting with offset-based cursors

- Complete internationalization support:
  * Added translations for random sort and date sort in all languages
  * Supported languages: zh-hans, en, de, zh-hant
  * Improved UI consistency across language variants

- Backend improvements:
  * Enhanced database queries to support random sorting
  * Added random_sort parameter to API endpoints
  * Improved error handling for video file processing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 00:41:10 +08:00
zanllp fc9acbc181
Merge pull request #833 from zanllp/feature/enhance-random-image-logging
add log
2025-08-04 22:16:51 +08:00
zanllp d78cc773c9 add log 2025-08-04 22:13:58 +08:00
zanllp cff5e4b40a
Merge pull request #828 from zanllp/feature/media-type-filter
feat: Add media type filter support for search functionality
2025-07-13 20:10:52 +08:00
wuqinchuan 4df86dc1e2 feat: Add media type filter support for search functionality 2025-07-13 20:09:36 +08:00
zanllp 6205a6f681
Merge pull request #827 from Hugs288/main
fix the swarm parser
2025-07-07 22:02:47 +08:00
Hugs288 fa29cd7496
fix the swarm parser 2025-07-04 20:03:33 +03:30
zanllp 22d51a4e6f
Merge pull request #823 from zanllp/feat/handle-missing-filetype
add fallback for uninstalled filetype handlers
2025-06-09 00:52:09 +08:00
zanllp 87f261ce72 add fallback for uninstalled filetype handlers 2025-06-09 00:49:12 +08:00
zanllp edb69ea13e
Merge pull request #821 from zanllp/releases/1.3.1
release
2025-06-07 07:20:09 +08:00
zanllp 55375bae16
release 2025-06-07 05:43:43 +08:00
zanllp da2cc56aab
Merge pull request #819 from zanllp/fix/disable-homepage-random-images
fix(homepage): support disable random images feature and fix other is…
2025-06-06 22:24:30 +08:00
wuqinchuan 064859171d fix(homepage): support disable random images feature and fix other issues 2025-06-06 22:22:54 +08:00
zanllp 969f232def
Merge pull request #817 from zanllp/fix/i18n
fix i18n
2025-06-03 16:59:44 +08:00
zanllp c2f67569ed fix i18n 2025-06-03 16:58:55 +08:00
zanllp f7ce68237f
Merge pull request #816 from zanllp/releases/1.3.0
Releases/1.3.0
2025-06-03 16:41:16 +08:00
zanllp b4ba2f951b fix 2025-06-03 16:04:03 +08:00
zanllp c100732a63 fix: fix workflow 2025-06-03 15:22:39 +08:00
zanllp 055471d54f feat: update Actions runner 2025-06-02 21:36:12 +08:00
zanllp 8f64569062 release 2025-06-02 21:32:38 +08:00
zanllp 5c239d5f27
Merge pull request #814 from zanllp/feat/enable-tiktok-view
add toggle to switch between classic and TikTok-style viewers. Enable all past experimental features by default
2025-06-02 21:25:48 +08:00
zanllp 1a4ac9bf65 build 2025-06-02 21:15:36 +08:00
wuqinchuan 3e0c57a5fa infinite loop playback in TikTok view 2025-06-02 21:01:59 +08:00
wuqinchuan fb68d78f39 feat(file-view): add toggle for TikTok-style file display,enable some experimental features by default 2025-06-02 20:46:22 +08:00
zanllp fe986ccaab
Merge pull request #813 from younyokel/main
fix invalid escape sequence warnings in regex expressions
2025-05-29 23:05:59 +08:00
younyokel dde189f99c fix invalid escape sequence warnings in regex expressions 2025-05-28 16:40:56 +05:00
zanllp fefd1dab02
Merge pull request #812 from zanllp/feat/reorder-stackview-actions
refactor(stackview): reorder action bar buttons by priority
2025-05-26 21:28:50 +08:00
zanllp f9dca3a0eb refactor(stackview): reorder action bar buttons by priority 2025-05-26 21:22:49 +08:00
zanllp 88fe9be0eb
Merge pull request #809 from zanllp/feat/improve-styles
build
2025-05-25 23:55:04 +08:00
zanllp f3858cb781 build 2025-05-25 23:54:22 +08:00
zanllp 335215f81c
Merge pull request #808 from zanllp/feat/improve-styles
style(tiktok): adjust visual elements for better consistency
2025-05-25 23:52:29 +08:00
zanllp be855220bf style(tiktok): adjust visual elements for better consistency 2025-05-25 23:52:02 +08:00
zanllp 25d9436f2e
Merge pull request #807 from zanllp/chore/add-missing-deps
chore: add missing dependencies
2025-05-25 23:46:27 +08:00
zanllp 58dca083d3 chore: add missing dependencies 2025-05-25 23:45:56 +08:00
zanllp a14e23924b
Merge pull request #806 from zanllp/feat/add-tiktok-style-view
build
2025-05-25 23:22:55 +08:00