Commit Graph

30 Commits (a4e503f21493fa77274c2fa9d1f8863eb82bfdd4)

Author SHA1 Message Date
zanllp 41ad78f6b3 feat(metadata): add editable generation information and EXIF caching
- Add prompt editor modal with support for editing positive/negative prompts
- Add key-value editor for custom metadata fields (string and JSON modes)
- Cache EXIF data in database for faster retrieval
- Track manually edited prompts with exif_edited flag
- Add validation for required fields and unique key constraints
- Add full internationalization support (EN, ZH-Hans, ZH-Hant, DE)
- Update changelog with new features and screenshot
- Clean up gitignore to use wildcard for video files
2026-03-15 01:22:11 +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 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 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
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
Ancions-dot 1b28c1aed8 determine image resolution using Pillow 2025-05-07 04:08:18 +02:00
zanllp 83b4c65757 Implement a basic plugin mechanism 2024-07-03 11:13:34 +08:00
zanllp db775d0666 Add support for StableSwarmUI 2024-06-13 18:41:05 +08:00
zanllp f1f59dee74 fixed loc 2024-06-10 11:14:23 +08:00
zanllp 37d89503c7 feat: Expand tag generation support 2024-06-02 03:23:10 +08:00
zanllp c80afce4a9 Improve performance of adding tags 2024-05-17 23:11:27 +08:00
zanllp 5c8ca65904 Align metadata generated by various parsers 2024-03-27 21:03:59 +08:00
zanllp 6646af77ef feat: Added support for Fooocus 2024-03-27 20:40:58 +08:00
zanllp 78e80288f6 fix: import error 2024-03-27 00:56:04 +08:00
zanllp 25cafe4323 refactor: rename 2024-03-27 00:21:30 +08:00
zanllp 199c8ba13b Merge branch 'dev-vendor' of https://github.com/zanllp/sd-webui-infinite-image-browsing into dev-vendor 2024-03-26 23:33:35 +08:00
wuqinchuan 6ab8c9630a temp save 2024-03-26 23:20:54 +08:00
zanllp 0f739ae155 Add support for video streaming, video thumbnail generation, video search functionality, and video tagging 2024-03-22 06:29:48 +08:00
wuqinchuan e15f930015 temp save 2024-02-17 23:22:33 +08:00
zanllp c537ebfd09 Implemented enhancements for robustness 2024-01-03 02:05:41 +08:00
zanllp 43ac6466a7 Added support for searching within a specified folder.
Removed the requirement for exact matching during searches.
2023-11-15 01:08:28 +08:00
zanllp 2d789a6e91 feat: Ignore existing image tag when saving 2023-11-12 03:02:04 +08:00
zanllp 3e38642781 Support removing unused tags by rebuilding image index 2023-10-01 19:20:49 +08:00
Chubbly b0c2d9384f
Update update_image_data.py to check for webui geninfo in ComfyUI images 2023-08-22 11:56:25 +12:00
zanllp 3329a16b73 Add preliminary support for searching images generated by ComfyUI 2023-07-28 21:47:31 +08:00
zanllp 276c2e53bd Add server-side support for Lyco 2023-07-17 21:29:27 +08:00
zanllp 36e781677d feat: Support loading prompts from separate txt files, Correct i18n typos and improve translations 2023-06-28 05:13:20 +08:00
zanllp 78a6fb3904 Resolved module conflict 2023-06-03 16:29:46 +08:00