mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
* feat(webui): 新增配置全量备份与恢复功能。
* chore: Remove dependencies "archiver"
* feat(webui): 增加上传文件大小限制配置并优化上传处理
* 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.
* Revert "chore: Remove dependencies "archiver""
This reverts commit
|
||
|---|---|---|
| .. | ||
| napcat-adapter | ||
| napcat-common | ||
| napcat-core | ||
| napcat-develop | ||
| napcat-framework | ||
| napcat-image-size | ||
| napcat-napi-loader | ||
| napcat-native | ||
| napcat-onebot | ||
| napcat-plugin-builtin | ||
| napcat-protobuf | ||
| napcat-protocol | ||
| napcat-pty | ||
| napcat-qrcode | ||
| napcat-schema | ||
| napcat-shell | ||
| napcat-shell-loader | ||
| napcat-test | ||
| napcat-types | ||
| napcat-universal | ||
| napcat-vite | ||
| napcat-webui-backend | ||
| napcat-webui-frontend | ||