Commit Graph

69 Commits (34ca95ec518dfe3842c07af98518885e1789549c)

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 9fed8fa256 Interface adjustments 2026-02-01 16:02:28 +08:00
zanllp 1d9e65f835 feat: add EXIF metadata display support 2026-01-29 23:49:49 +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 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
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 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 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
wuqinchuan 6c2c5e3120 fix(short-video): prevent scroll jank on mobile views and persist sound toggle state 2025-05-25 22:47:44 +08:00
zanllp 77fd0ffe66 fix 2024-11-07 23:58:23 +08:00
zanllp f85740088c Add support for categorizing and displaying custom tags alphabetically by first letter 2024-11-07 23:11:29 +08:00
zanllp 12a7cd4f0e Add support for displaying the full path 2024-10-17 21:43:24 +08:00
zanllp 9718d545f6 Add support for custom tag colors 2024-09-28 20:23:14 +08:00
zanllp 3f9eea6696 feat: Add quick entry for custom tags in more places 2024-09-07 17:09:06 +08:00
zanllp e04d04d1c7 Enhance parser compatibility 2024-09-01 01:24:56 +08:00
zanllp d945da6672 Update help information and add option to control comma display in generated information 2024-08-07 06:01:30 +08:00
zanllp 1e2925df01 Optimize styles, fix BREAK issue, and add option to control auto-refresh 2024-07-27 11:59:01 +08:00
zanllp 94b27b5a74 Add 'Move To', 'Copy To', 'Copy File Path', and 'Open File Location in New Tab' to context menu 2024-07-01 07:05:09 +08:00
zanllp 9aa62b48e7 Removed the restriction on deleting the first file in fullscreen preview, fixed potential issues with exiting via ESC, and added support for exiting by double-clicking an image. 2024-06-29 10:06:28 +08:00
zanllp 5cfe763fe6 Fix and update readme 2024-06-27 18:32:28 +08:00
zanllp 24a9bf5168 Add workaround for unclickable exit button in always-on modeAdd workaround for unclickable exit button in always-on mode 2024-06-26 12:44:38 +08:00
zanllp 3a9f984090 fix 2024-06-26 09:25:47 +08:00
zanllp 472e6d78bc Revert "Merge pull request #672 from zanllp/revert-671-feature/experimental-side-by-side-layout"
This reverts commit d5bd60cac3, reversing
changes made to d1af404fb7.
2024-06-26 09:25:41 +08:00
zanllp 730719be56
Revert "Add experimental side-by-side layout for fullscreen image browsing" 2024-06-26 08:54:26 +08:00
zanllp 4c2c975bf7 Add experimental side-by-side layout for fullscreen image browsing 2024-06-26 08:34:39 +08:00
zanllp 95caa16858 Improve user interaction and experience 2024-06-24 07:12:31 +08:00
zanllp 331f9eb497 Fixed multiple errors across the application 2024-06-23 07:00:47 +08:00
zanllp eaed17b2cf Add full screen view button to floating panel 2024-06-15 01:35:15 +08:00
zanllp 9edd750ec0 feat: Add support for NovelAI 2024-06-01 08:48:43 +08:00
zanllp 89991e0853 Resolve parsing issue causing errors 2024-04-20 01:20:26 +08:00
zanllp 9da31ae9e8 fix repeat params 2024-04-15 22:34:31 +08:00
zanllp bb4837881b Add support for adding aliases to paths 2024-04-13 03:57:49 +08:00
zanllp 1f4876ee92 fix some issues 2024-04-09 10:25:44 +08:00
zanllp 6646af77ef feat: Added support for Fooocus 2024-03-27 20:40:58 +08:00
Florian Geiselhart 8cd54cdf2a fix injection vuln 2024-02-29 19:54:22 +01:00
zanllp c85cbcd397 Adjust display in dark mode and add manual control support for dark mode. 2024-01-24 01:45:54 +08:00
zanllp 0113756841 Add source text tab and adjust interface 2024-01-23 02:58:43 +08:00
zanllp 29c94404d7 feat(fe): Updated UI and fixed several bugs 2024-01-22 02:43:42 +08:00
Florian Geiselhart af5a8a5b0c structured generation info in context menu 2024-01-16 17:23:10 +01:00
zanllp 3e38642781 Support removing unused tags by rebuilding image index 2023-10-01 19:20:49 +08:00
zanllp 81963d890b update style 2023-09-10 08:33:46 +08:00
zanllp 843dcecad9 Improve display and usability 2023-09-10 08:30:41 +08:00
zanllp 335c37b561 Enhance tag management for images, add more tips 2023-08-31 04:56:35 +08:00
zanllp 43cad8c71d tag-interaction-visAdd visual improvements to tag interactionual 2023-07-30 08:43:51 +08:00
zanllp b2e5ebeea2 Added various convenient operations and fixed several bugs. 2023-07-30 04:04:27 +08:00
zanllp 26e9e2a353 add missing files 2023-07-26 15:18:26 +08:00
zanllp 3692b2e6c3 Add batch download feature, support collecting selected images from other pages for download and archiving 2023-07-22 11:41:00 +08:00
zanllp f4a84b1356 Adjust CSS styles to optimize visual area and prevent double scrollbar 2023-07-21 02:50:27 +08:00
zanllp b6a8e7b157 adjust style 2023-07-19 19:49:55 +08:00