16 Commits
Author SHA1 Message Date
DoroandCopilot App c9e8d2209a ci: add source release workflow (#1)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-30 02:29:49 +00:00
ReSerendipity be75f1c14e docs: 修订 README 说明 2026-09-28 06:35:35 +00:00
ReSerendipity 9fd3c3da1b security(narrow): confine folder_path to input/, log_folder to user/, output_folder to output/
- _confine_to_base now uses dedicated base dirs (input/user/output) instead of ComfyUI root
- _strip_legacy_prefix keeps old input/... user/... output/... values working
- add tooltips to the three path widgets
- update defaults and README path-constraint section (v2.1.2)
- verified with test_path_confine.py (21/21) and test_smoke_narrowed.py
2026-09-02 09:16:58 +00:00
ReSerendipity 02cf3ccbd4 docs: update README for path confinement and English UI
Reflects the security and localization changes from 98a61ad.

- folder_path / log_folder / output_folder must now reside inside the
  ComfyUI root: drop the "absolute path allowed anywhere" wording and
  replace the out-of-tree example (C:/prompts/SFW) with an in-root path.
- Node display name is now "Batch Prompt Loader": remove the outdated note
  claiming a Chinese display name, and fix the canvas search hint.
- Add a path-constraint notice under Installation explaining that escaped
  or out-of-root paths are rejected.
2026-09-02 08:51:47 +00:00
ReSerendipity e1791e322e security: confine user-supplied paths to ComfyUI root; localize node UI to English
Addresses maintainer review feedback on Comfy-Org/ComfyUI-Manager#3183.

Path traversal:
- Add _confine_to_base(), which resolves the real path (following symlinks)
  and verifies it stays inside the ComfyUI root directory. Applied to
  folder_path, log_folder and output_folder.
- Previously an absolute path was trusted verbatim and relative paths could
  escape via '..', allowing a graph to read arbitrary files and to write or
  delete .json files anywhere the server could reach.
- Log clearing now only removes JSON files previously written by this node
  (validated by the 'prompt_file' key) instead of every .json in the folder.

UI localization:
- Node display name and all widget labels are now English.
2026-09-02 08:46:18 +00:00
ReSerendipity 8e15cad4fc feat(v2.1): 实现外置日志记录功能 - 自动跳过已处理的提示词文件 2026-08-25 15:12:46 +00:00
ReSerendipity 82c0587858 完善文档:添加中英对照表和快速使用指南 2026-08-23 15:34:23 +00:00
ReSerendipity 284837c2d5 完整汉化所有参数标签 2026-08-23 15:28:49 +00:00
ReSerendipity 132ddc6c4b 汉化节点显示名称:批量提示词加载器 2026-08-23 15:25:42 +00:00
ReSerendipity 2c71982efc Revert: Remove broken Chinese labels to fix UNKNOWN parameter issue 2026-08-23 15:23:28 +00:00
ReSerendipity 362f9badd9 汉化节点参数名称 (中文用户友好) 2026-08-23 15:19:30 +00:00
ReSerendipity d00406411a v2.0: Add wildcard filter, skip-exists, metadata output, enhanced errors, preview 2026-08-23 15:11:27 +00:00
ReSerendipity 3b5b09bf98 Update README: document recursive and reverse_order switches 2026-08-22 12:09:00 +00:00
ReSerendipity 86127e4851 Add recursive and reverse_order switches for file scanning 2026-08-22 12:07:08 +00:00
ReSerendipity 9b209ff310 Add recursive folder scanning; remove unused web upload code 2026-08-21 12:03:46 +00:00
ReSerendipity 52fdf7553b Initial commit: BatchPromptLoader ComfyUI custom node - load and encode prompts from TXT files with fixed/increment/decrement/random modes 2026-08-21 11:57:11 +00:00