Skip to content

Gallery 1.1.7

Choose a tag to compare

@h-void h-void released this 15 Oct 14:35
· 4 commits to master since this release

v1.1.7(2026-10-15)

1.1.7 正式版全面完成了纯 Rust 原生架构演进并退役了遗留 Python 后端,同时打通了文件夹整理、多选/按画师批量解压、跨文件夹拖拽整理与全站中英文即时切换工作流。新增飞牛系统回收站与应用回收站策略自选、命名规则迁移预览与 CAS 显式切换;优化了 7z 解压多线程与单条目预览内存上限,加固了网盘自动入库与全站并发安全,并实现了生产代码零不安全 panic 与全量 crate 静态检查零警告。

主要变化

  • 压缩包批量解压与包内免解压快览:
    • 支持在画廊多选任意压缩包批量解压(「解压所选 (N)」)或一键解压当前画师名下全部压缩包(「解压全部压缩包 (N)」)。
    • 提供独立文件夹模式(默认推荐,防多包图片混杂)、通用解压密码自动尝试与会话记忆、原压缩包自动移入回收站及中途安全停止队列。
    • 统一解压进度与顶部三列扫描进度栏(左侧状态与计数、中间自适应进度条、右侧实时路径及完整悬浮提示)。
    • 包内预览视口扩大至 min(52vh, 460px),支持键盘 ← / → 方向键直接翻页并显示图片序号。
  • 跨文件夹/角色拖拽整理与目录树增强:
    • 网格卡片支持直接拖拽至左侧 #folderTree 目标文件夹一键移动,或拖拽至 #sidebarList 角色行一键赋予标签,配备实时跟随胶囊提示与目标虚线高亮。
    • 侧边栏文件夹树新增父目录折叠/展开箭头、目录名称/拼音快速筛选框,切换目录时自动展开父级并滚动居中。
    • 网格卡片、回收站与维护页「全部作品」列表全面支持 Shift + 点击 连续范围多选。
  • 大图预览(Lightbox)与维护面板体验升级:
    • 修复放大后拖拽平移被浏览器原生拖图劫持、120ms 过渡粘滞及松手误触背景关闭的问题;新增缩放比例重置胶囊(如 250%)、位置序号指示(如 12 / 86)及一键「定位文件夹」跳转按钮。
    • 修复维护面板「移动画师文件夹」4 列网格错位,消除折叠面板展开后的重复标题与缩进偏移;顶部 Tab 动态显示待处理数量角标,修复 organize.js 缺少 syncMaintenanceTabBadges 导入导致的自动刷新异常;切入「文件整理」自动展开工作台。
  • 飞牛系统回收站与策略自选:
    • 接入飞牛 fnOS 原生系统回收站:跨卷自动降级与告警记录、软链接防同名覆盖冲突、空镜像目录清理与 record_only 保底彻底清除机制。
    • 维护页新增「回收策略」自选配置(系统回收站 vs 应用内部回收站),附带优缺点对比卡片;回收站支持网格与表格双视图切换。
    • 开放文件夹删除回收接口 POST /api/folders/delete。
  • 全站原生前端中英文国际化:
    • 引入轻量原生多语言体系,支持中英文即时无刷新切换并持久化至浏览器本地存储,具备参数化动态插值 t(key, params) 能力。
  • 命名规则迁移预览与显式 CAS 版本切换:
    • 引入命名模板迁移预览与显式 CAS 版本切换流程,切换期间与整理/归档操作互斥保护。
  • 7z 解压性能、网盘自动入库与 Pure-Rust 架构闭环:
    • 归档单条目预览增加严格内存上限;7z 静默多线程解压与原子目录就位;全面封堵符号链接穿越。
    • 修复网盘自动入库重试与路径斜杠标准化,统一 has_external_links_sql 判定。
    • 全面退役遗留 Python 后端,生产代码消除外部输入/IO 的 .unwrap() / .expect(),全量 crate 达到 0 Clippy 警告。

安装包

  • 文件:gallery_1.1.7_x86_64.fpk
  • SHA-256:C3AA8E0602B3A6959118E4CF72DD69E7071E9B8FF3846CE146B3B9C3EA8C820F
  • 格式:官方 fnpack 生成的 gzip tar FPK,目标架构 x86_64,服务端口 8899

v1.1.7 (2026-10-15)

v1.1.7 completes the pure-Rust architecture evolution and retires the legacy Python reference backend, while streamlining folder organization, multi-select and per-artist batch archive extraction, drag-and-drop folder/character organization, and instant English/Chinese UI switching. It introduces user-selectable recycle strategy between fnOS system trash and internal app trash, naming rule migration preview with CAS explicit switching, 7z multi-threaded extraction with strict memory bounds on archive single-item preview, hardened netdisk auto-import and concurrency safety, and achieves zero unsafe panics in production code and zero Clippy warnings across all crate targets.

Key Changes

  • Batch Archive Extraction & In-Archive Quick Preview:
    • Multi-select archives in the grid (Extract selected (N)) or extract all archives under the current artist (Extract all archives (N)) with one click.
    • Supports per-archive subfolder creation (default, preventing file mixing), universal password auto-try with session memory, automatic source recycling, and safe mid-queue cancellation.
    • Unifies extraction progress with the top 3-column progress bar (status & count on the left, flexible progress track in the center, live path with full hover tooltip on the right).
    • Expands in-archive image preview viewport to min(52vh, 460px) with ← / → keyboard navigation and image index counter.
  • Drag-and-Drop Organization & Folder Tree Enhancements:
    • Drag selected cards (or a single card) directly onto any folder in #folderTree to move them, or onto any character row in #sidebarList to tag them, with a live floating cursor pill and dashed target highlight.
    • Adds parent-folder expand/collapse chevrons and a quick folder search filter in the sidebar, auto-expanding parent paths and scrolling the active folder into view.
    • Full Shift + Click contiguous range selection across the media grid, recycle bin, and maintenance All Works list.
  • Lightbox & Maintenance Panel Polish:
    • Fixes zoomed image drag-panning by blocking native browser image ghost-dragging, disabling the 120ms transform transition during active pans, and preventing accidental backdrop close on release; adds a clickable zoom reset pill (e.g. 250%), item position counter (12 / 86), and one-click Locate folder jump button.
    • Fixes the 4-column grid alignment of the Move Artist Folder form, eliminates duplicate headers in expanded collapsible sections, adds pending count badges on top maintenance tabs with fixed syncMaintenanceTabBadges import in organize.js, and auto-expands the Folder Organize workbench when entering the Organize tab.
  • fnOS Native System Trash & Selectable Recycle Strategy:
    • Bridges with native fnOS system trash with cross-volume fallback, symlink collision protection, and record_only permanent purge; adds grid/table view toggle in the recycle bin.
  • Full Native Frontend Internationalization (i18n):
    • Instant English/Chinese switching without reload, persisted in localStorage with parameterized t(key, params) interpolation.
  • Archive Status Views & Naming Rule Migration Preview:
    • All / Pending / Archived triage views synced with URL state, in-place character/date entry, one-click current-folder archiving, multi-select bundling, and CAS-guarded naming template migration preview.
  • 7z Performance, Netdisk Auto-Import & Pure-Rust Closure:
    • Strict memory bounds on single-entry archive previews, multi-threaded 7z extraction, unified has_external_links_sql netdisk detection, full retirement of the legacy Python backend, zero unsafe panics on external inputs/IO, and zero Clippy warnings.

Package

  • File: gallery_1.1.7_x86_64.fpk
  • SHA-256: C3AA8E0602B3A6959118E4CF72DD69E7071E9B8FF3846CE146B3B9C3EA8C820F
  • Format: gzip tar FPK generated by the official fnpack tool, architecture x86_64, service port 8899