Commit Graph

284 Commits (4287c2c8492f3e9d0998446da7b6c5db80d16959)

Author SHA1 Message Date
zanllp 78e80288f6 fix: import error 2024-03-27 00:56:04 +08:00
zanllp d2ee4405a9 fix typo 2024-03-27 00:31:59 +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 36cba6abe8 Implemented enhancements for security and message feedback 2024-03-25 11:13:16 +08:00
zanllp 6a67ed1d0f Improve overall system security 2024-03-25 10:36:45 +08:00
zanllp be2a060782 fix 2024-03-22 23:24:00 +08:00
zanllp 9088388530 feat: Implement automatic database file backup mechanism 2024-03-22 23:13:26 +08:00
zanllp 2f67601ac6 add log 2024-03-22 09:54:21 +08:00
zanllp a7f755d012 feat: add missing video type 2024-03-22 07:06:50 +08:00
zanllp f4663298e6 refactor: remove useless comment 2024-03-22 06:45:33 +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
zanllp b6c03bd819 fix 2024-03-21 10:58:34 +08:00
zanllp a0f89801ab Added support for opening files with the system default application and saving selected file information as JSON 2024-03-21 10:48:34 +08:00
xBei 99bd530dbf
fix:在windows系统下第一次加载(驱动器)缓慢的问题 2024-03-18 11:22:15 +08:00
zanllp 217d76a704 Fix tag error 2024-03-15 05:03:08 +08:00
zanllp e543c58ffb support subpath 2024-03-15 04:13:18 +08:00
zanllp 6d181ef8ba Add more isolation mechanisms and export functions for easier use as a library 2024-03-12 21:33:27 +08:00
zanllp c5c21167c2 fix: fix open config file error 2024-03-10 05:18:51 +08:00
Florian Geiselhart 09eea0a7f8 add batch api geninfo endpoint 2024-02-29 16:49:59 +01:00
zanllp 27674fe46a Fix: Replace seq function with custom implementation to avoid dependency errors 2024-02-18 22:59:25 +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 b9332d3525 Add support for fuzzy search within specified scope 2023-11-26 02:58:05 +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 9634d9f20d Implemented support for batch tag addition and removal 2023-10-29 18:06:52 +08:00
zanllp 3feff6a1de Fix issue with incorrect folder input in rebuild image index 2023-10-06 21:43:34 +08:00
zanllp d2627094d9 Fix issue with incorrect folder input in rebuild image index 2023-10-06 20:51:08 +08:00
zanllp 3e38642781 Support removing unused tags by rebuilding image index 2023-10-01 19:20:49 +08:00
zanllp 8b5225dd22 fix remove extra path error 2023-09-29 00:17:18 +08:00
zanllp b7c87624b6 Expand regular expression matching to support a wider range 2023-09-24 07:55:07 +08:00
zanllp 5495f791be Add support for using regular expressions in fuzzy search 2023-09-23 10:50:34 +08:00
zanllp ac7c37658f Fix issue with inability to remove preset folders added to ExtraPath 2023-09-13 11:12:35 +08:00
zanllp dfb78508a7 Remove unnecessary logger 2023-09-13 03:36:11 +08:00
zanllp 6e08d64d0e Refactor interaction for improved user experience and fix download bugs 2023-09-12 05:00:48 +08:00
zanllp 945ef9b251 Added support for custom walk mode folder path 2023-09-10 07:31:05 +08:00
zanllp d46ddcd893 fix 2023-09-06 12:24:58 +08:00
zanllp 3c3c1fa19a add missing type annotation 2023-09-01 22:38:56 +08:00
zanllp bc6c3ef205 Change image search to use pagination based on cursor instead of fixed maximum of 500 images. 2023-09-01 03:16:57 +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
Chubbly 2609cdce94
Check if comfyui img has webui gen info 2023-08-21 20:34:51 +12:00
Chubbly c377ce62ac
Add webui gen info parsing in comfyui
The custom node https://github.com/giriss/comfy-image-saver embeds gen info in the webui format into a parameters EXIF field. This adds the ability to read that info in comfyui images.
2023-08-21 20:33:05 +12:00
zanllp ed2a1654e3 Added error handling to return empty string when parsing comfyui images fails, enabled skipping confirmation when deleting a single file, and added support for opening in new tab with corresponding dark mode. 2023-08-09 21:40:07 +08:00
zanllp 977815a2b2 Require secret key configuration when enabling gradio auth 2023-08-05 06:30:37 +08:00
zanllp 7c880dc0c7 Fix the incorrect behavior of allowed paths 2023-08-03 18:07:00 +08:00
zanllp e455c0b184 Improve compatibility for viewing images generated by ComfyUI 2023-08-02 00:52:53 +08:00
Corey Ryan Hanson 254b5d5e94
Allows loop to detect instances of KSampler (Advanced)
Instead of checking for an exact match, KSampler and KSampler (Advanced) start with the same characters so the str.startswith method would be an efficient way to check for both.
2023-07-31 00:26:57 -04:00
zanllp 28ee176cbc Fix issue with ComfyUI Ksampler key not always being 3 and TabPane closing exception when it's the first and active tab 2023-07-31 09:51:45 +08:00
zanllp 9abda84d39 Fix issue with adding tags for relative paths in walk mode 2023-07-30 06:13:50 +08:00
zanllp b2e5ebeea2 Added various convenient operations and fixed several bugs. 2023-07-30 04:04:27 +08:00
zanllp 3329a16b73 Add preliminary support for searching images generated by ComfyUI 2023-07-28 21:47:31 +08:00
zanllp a878470170 Improved walk mode functionality and fixed numerous bugs 2023-07-27 16:15:11 +08:00
zanllp ebffe8f089 Fix cache expiration issue when checking path trustworthiness 2023-07-24 00:09:14 +08:00
zanllp 7d49900dc4
Revert "Revert" 2023-07-23 23:26:45 +08:00
zanllp 323cdaa866 Revert "Merge pull request #334 from zanllp/feature/access-control"
This reverts commit bb2e512b48, reversing
changes made to 478409dee8.
2023-07-23 21:11:43 +08:00
zanllp 1c302d161e Revert "Merge pull request #338 from zanllp/fix-path-check"
This reverts commit f79d931d22, reversing
changes made to a28fc74282.
2023-07-23 21:11:20 +08:00
zanllp eb26cb92a8 fix path check 2023-07-23 20:40:02 +08:00
zanllp a0814fc500 Add support for specialized access control paths and permissions 2023-07-23 03:08:06 +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 1c4479a394 Improved custom tag display for better user experience. 2023-07-19 19:07:43 +08:00
zanllp c5aa41dcbf Add browser-side support for Lyco 2023-07-17 22:39:52 +08:00
zanllp 276c2e53bd Add server-side support for Lyco 2023-07-17 21:29:27 +08:00
zanllp 47c757af4d Adjust timeout for sending to other tabs to 3 seconds 2023-07-17 13:28:30 +08:00
zanllp f10a177907 Added new feature: copying files and creating folders. 2023-07-16 15:54:43 +08:00
zanllp 195b701ccf Hide unnecessary features based on server type 2023-07-12 05:20:38 +08:00
zanllp 40d9e310b1 Add image comparison feature with region limitation and auto creation of folder in information panel, and include it in the list of startup options. 2023-07-09 05:55:31 +08:00
zanllp 1c75e81be4 Add desktop app version built with Tauri 2023-07-07 10:35:30 +08:00
zanllp aa4a737422 Add binary build using Tauri framework 2023-07-05 13:59:39 +08:00
zanllp d50c359c43 Fix path check to handle cross-drive exceptions 2023-06-28 14:23:48 +08:00
zanllp 7a8e198eaa Fix the abnormal behavior of is_path_under_parents. 2023-06-28 13:56:57 +08:00
zanllp 09f37c5c86 Add option to use relative paths based on sd_webui_config file path 2023-06-28 08:39:26 +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
WSH032 5f201bea70 Python API For Standlone
为独立运行的脚本添加python调用接口
更方便的在jupyter中使用
2023-06-22 06:59:50 +08:00
zanllp d07eaa6ba4 Fix issue with opening local file browser on macOS 2023-06-21 02:02:53 +08:00
zanllp 2e2e301a20 Add support for passing extra paths through CLI 2023-06-18 05:06:57 +08:00
zanllp 0a8b050bc1 fix 2023-06-10 18:45:32 +08:00
zanllp 5f98c26b86 Add access control to ensure data security 2023-06-10 18:28:03 +08:00
Chris OBryan 67a1eeea7b Speed up directory listing on Windows
10x speed up on Windows machines by using scandir to
get file stats in a single call.
2023-06-07 23:31:13 -05:00
zanllp 166e3d898d fix setup not working on after webui reload 2023-06-05 00:32:19 +08:00
zanllp 78a6fb3904 Resolved module conflict 2023-06-03 16:29:46 +08:00
zanllp 64fd688cda Enhanced UI/UX interaction 2023-05-31 22:32:40 +08:00
zanllp 2de7af488d Add separator to context menu and enable searching on Enter key press in fuzzy search. 2023-05-27 12:37:00 +08:00
zanllp b63a2264ce Add support for configuring server language through .env file 2023-05-27 03:33:55 +08:00
zanllp 7e65738b21 Add support for authentication 2023-05-24 03:11:09 +08:00
zanllp 7f9c8a45e9 Fix issue with Quick Move's folders being deleted externally 2023-05-22 21:35:22 +08:00
zanllp 417de98e23 fix 2023-05-21 22:51:02 +08:00
zanllp 53fd451c32 feat: Add support for collapsing tag list 2023-05-21 19:28:58 +08:00
zanllp 96bc62466f Changed file retrieval method to use path parameter 2023-05-21 17:51:41 +08:00
zanllp db0a3ed04b Add feature to add current folder to scan path and open local folder in default browser 2023-05-21 01:12:13 +08:00
zanllp 69ddc92083 Improved cache performance and fixed potential inconsistencies. 2023-05-18 23:31:36 +08:00
zanllp e563d69290 Introduce new caching mechanism, no longer require unique file paths 2023-05-18 01:13:51 +08:00
zanllp 50b6dea340 Add file consistency check after search completion 2023-05-17 02:51:44 +08:00
zanllp 02141dd1cf Add fuzzy search as an assist for tag search 2023-05-16 23:52:04 +08:00
zanllp 69de1aeb43 Add support for advanced search in image search, similar to Google 2023-05-14 07:44:05 +08:00
zanllp 6bd98a2e92 Add auto-refresh with tree view and index check when returning to extensions 2023-05-12 01:57:03 +08:00
zanllp 6ad84cd123
Fix database lock error that occurs after refreshing the page 2023-05-11 20:34:05 +08:00
zanllp 204a9ecf2a Enhanced Lora syntax support to include additional variations 2023-05-10 01:59:47 +08:00
zanllp 3c489bd42f Shorten "send to" timeout to 12 seconds 2023-05-09 00:17:07 +08:00
zanllp d75eae2ec6 Lowered "send to" timeout and continued execution even if timed out. 2023-05-08 22:20:53 +08:00
zanllp a58971fd99 Add creation date to FileNodeInfo and use it as default sorting option 2023-05-07 15:56:04 +08:00
zanllp 585f03aa08 Fix issue with subpath validation due to inconsistent formatting 2023-05-05 22:33:13 +08:00
zanllp 71d79c9e23 Add more error checks and support for image index update in standalone operation 2023-05-04 23:28:02 +08:00
zanllp 5ef09be155 Delay index generation message until toggle tag is triggered 2023-05-03 23:19:23 +08:00
zanllp 8eaff565cc Restrict index generation to folders under sd-webui only,Remove unused code 2023-05-03 21:10:22 +08:00
zanllp d2775be397 Fix potential bug in vue-virtual-scroller
Proactively check if source file is a file for API method
2023-05-03 03:52:25 +08:00
zanllp e015f61428 Handle SQL execution errors and potential refresh issue 2023-05-02 15:53:14 +08:00
zanllp 427a62e0e8 Replace path module with custom implementation and remove unnecessary code 2023-05-02 04:26:44 +08:00
zanllp 46a6982e5d remove useless code 2023-05-01 08:50:52 +08:00
zanllp 897c579192 feat: Add support for custom tag selection and toggling 2023-05-01 08:48:06 +08:00
zanllp eb1dd6208b Add post-processing zoom for generated tags, generate records for images without exif data, and remove Lora from the quick move. 2023-05-01 03:07:34 +08:00
zanllp 32577c4e3d Update tag table with UNIQUE constraint on name and type to prevent duplicate tags with same name across different types 2023-04-29 06:20:37 +08:00
zanllp 70c319b80a Add support for custom tags and "like" tag, and enable adding custom tags via right-click menu 2023-04-29 05:26:50 +08:00
zanllp 5bbca1c073 Refactor cache generation logic 2023-04-28 21:29:50 +08:00
zanllp 9edb42710d Improved Lora data extraction process
Enhanced internationalization support
Beautified the user interface.
2023-04-28 01:05:35 +08:00
zanllp 7f346da73d Optimized SQL query for improved performance
Fixed dark mode display issues
Added support for internationalization of tag categories
2023-04-27 23:43:09 +08:00
zanllp 77791fc89f Merge branch 'main' of github.com:zanllp/stable-diffusion-webui-baidu-netdisk 2023-04-26 20:08:49 +08:00
zanllp def8dafa30 fix typo 2023-04-26 20:08:44 +08:00
zanllp f72a3271e7 Ignoring generated tag via EXIF failed. 2023-04-26 19:55:29 +08:00
zanllp e635084cbe support send selected img to saved dir and toggle selected。 fix refresh,auto update index 2023-04-26 01:33:54 +08:00
zanllp febe02326f standalone support 2023-04-25 19:56:28 +08:00
zanllp 4fc9e89c60 默认只显示图片和文件夹,删除图片是同时删除索引,完善i18n等 2023-04-25 01:52:41 +08:00
zanllp 21668a1dfe 百度云独立出去 2023-04-23 22:13:31 +08:00
zanllp f9867e5a64
Update tool.py 2023-04-23 19:32:25 +08:00
zanllp 2f679b3a5e
Merge pull request #31 from zanllp/feat/tag-search
Supports search images using prompt, Lora, and model .Remove unnecessary "baidu netdisk"
2023-04-22 20:08:23 +08:00
zanllp 50716ba997 support tags-translate, search result open in right 2023-04-22 18:44:20 +08:00
zanllp 916bf448dd img table record more info, tagSearch show res img 2023-04-22 03:52:25 +08:00
Wojtek Kowaluk d88a23d53b fix AttributeError: 'NoneType' object has no attribute 'startswith' 2023-04-21 16:27:51 +02:00
zanllp 7ccba25997 Add tag multiple choice view , fix save duplicated 2023-04-21 03:09:52 +08:00
zanllp 7a599d249d 优化差分,跳过不变的文件,文件夹,增加tag页 2023-04-21 00:29:53 +08:00
zanllp a2bcf52fb5 新增tag,image数据库相关,prefix bd -> iib 2023-04-19 23:49:42 +08:00
zanllp 70d85fd72c 1 2023-04-19 23:47:45 +08:00
zanllp 41579ab3c0 支持在移动端使用长按代替右键,支持sd-webui的query dark,修复删除错误 2023-04-16 14:03:18 +08:00
zanllp f1de9f8400 支持文件夹在右边打开,在新tab打开 2023-04-15 20:14:36 +08:00
zanllp ba6b38d6a6 i18n支持 2023-04-15 05:50:11 +08:00
zanllp 3bcdc4e539 更细粒度控制发送图片的触发时间,兼容py3.8 2023-04-13 02:18:03 +08:00
zanllp 2e0d0865c0 更快的发送图像速度 2023-04-12 20:44:10 +08:00
zanllp f2f14e65e6 支持移动文件 2023-04-10 00:03:25 +08:00
zanllp 67f3a38618 支持删除 2023-04-09 22:10:37 +08:00
zanllp 53c41a9b3b 去百度云 2023-04-08 15:14:16 +08:00
zanllp c456d1c337 增强跨平台兼容性的安全性 2023-04-07 20:23:31 +08:00
Qiu 190fcb831e
调整缓存路径,解决Windows上File Not Found的问题
调整缓存路径,解决Windows上File Not Found的问题
2023-04-07 16:36:10 +08:00
zanllp 2f2e1d2942 调整缓存策略,修复独立允许时的几个小问题 2023-04-06 23:23:08 +08:00
zanllp 77a0d70570 fix 百度云fullpath错误,自动上传不能点击关闭 2023-04-05 21:35:12 +08:00
zanllp 7dabb90df1 增加全局设置页,增加百度云登录 2023-04-05 17:23:41 +08:00
zanllp e7cc311253 允许在新页面打开时使用 2023-04-05 16:24:52 +08:00
zanllp d24ec9e1d1 文件拆分,支持walk模式 2023-04-04 23:34:03 +08:00
zanllp 5ca4fada9d 不再强制要求安装百度云依赖,只有等需要时才提示 2023-04-04 00:05:39 +08:00