Transok v0.5.2
高效的局域网文件分享工具 / An efficient LAN file-sharing tool
🇨🇳 更新内容
✨ 新功能
- 文件夹分享:可将整个文件夹加入分享清单(在「上传」菜单中选择文件夹,或直接拖入)。被分享方可在浏览器中逐层进入子目录浏览、逐个下载文件,或将当前目录整体打包为 zip 下载。
- 内容动态更新:文件夹内容在被分享方每次浏览时实时读取,随磁盘上的增删改自动反映,无需重新分享。
- 在文件管理器中打开:主界面的文件夹分享项可一键在系统文件管理器(Finder / 资源管理器 / 文件)中打开。
- 下载页图片缩略图:下载页对图片类文件自动显示缩略图预览,并支持按类型(全部 / 文件夹 / 文件 / 文本)筛选。
🔒 安全
- 文件夹内的浏览与下载均通过「分享项 ID + 相对路径」寻址,经路径规范化与符号链接解析后校验是否越出分享根,严防路径穿越与软链逃逸。
🐛 修复
- 修复列表项淡入动画结束后的闪烁。
- 修复窄屏操作区拥挤、下载按钮图标不显示的问题。
- 修复分享清单筛选时右上角计数不同步的问题。
🇬🇧 What's New
✨ Features
- Folder sharing: add a whole folder to the share list (pick it from the Upload menu or drag it in). Recipients can browse into subfolders, download individual files, or grab the current directory as a zip.
- Live contents: folder contents are read live on each visit, so changes on disk are reflected automatically — no need to re-share.
- Reveal in file manager: open a shared folder in the system file manager (Finder / Explorer / Files) in one click.
- Image thumbnails on the download page: image files now show thumbnail previews, with filtering by type (All / Folders / Files / Text).
🔒 Security
- Folder browsing/downloads are addressed by share-item id + relative path, normalized and symlink-resolved against the share root to prevent path traversal and symlink escape.
🐛 Fixes
- Fix list-item flicker after the fade-in animation finishes.
- Fix cramped toolbar and missing download-button icon on narrow screens.
- Fix the header item count not following the active share-list filter.
Full Changelog: v0.5.1...v0.5.2