NapCatQQ/packages/napcat-webui-backend/src
手瓜一十雪 02dfac23b9 Use memory-based zip import/export and multer
Replace disk-based zip handling with in-memory streaming to avoid temp files: remove unzipper/@types(unzipper) deps from package.json; update BackupConfig to stream-export configs with compressing.zip.Stream and to import by extracting uploaded zip buffer via compressing.zip.UncompressStream into in-memory Buffers. Backup of existing config is kept in-memory instead of copying to tmp, and imported files are written with path normalization checks. Router changed to use multer.memoryStorage() for uploads (remove dynamic tmp/disk upload logic and uploadSizeLimit usage). Also remove uploadSizeLimit from config schema.
2026-02-01 10:12:29 +08:00
..
api Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
assets Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
const refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
helper Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
middleware Add plugin WebUI extension page and API routing support 2026-01-30 12:48:24 +08:00
onebot Reapply "Add image download proxy support to OneBot" 2026-01-29 20:40:19 +08:00
router Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
terminal Refactor interfaces and decouple backend dependencies 2025-11-16 10:58:30 +08:00
types Refactor plugin store types and update category logic 2026-01-27 21:47:44 +08:00
uploader Refactor type annotations and router initialization 2026-01-22 17:35:54 +08:00
utils feat: 所有的类型检查 2025-11-15 12:57:19 +08:00