NapCatQQ/packages/napcat-webui-backend/src/api
手瓜一十雪 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
..
Auth.ts Add Passkey (WebAuthn) authentication support 2025-11-22 16:00:32 +08:00
BackupConfig.ts Use memory-based zip import/export and multer 2026-02-01 10:12:29 +08:00
BaseInfo.ts Support passing JWT secret key on worker restart 2026-01-18 11:13:08 +08:00
Debug.ts Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
File.ts Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
Log.ts Refactor interfaces and decouple backend dependencies 2025-11-16 10:58:30 +08:00
Mirror.ts Add mirror management and selection UI 2026-01-29 17:11:59 +08:00
OB11Config.ts Refactor interfaces and decouple backend dependencies 2025-11-16 10:58:30 +08:00
Plugin.ts Add plugin WebUI extension page and API routing support 2026-01-30 12:48:24 +08:00
PluginStore.ts Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00
Process.ts Remove explicit status code from sendError calls 2026-01-17 15:10:21 +08:00
Proxy.ts Update import paths to use direct module references 2025-11-13 18:56:51 +08:00
QQLogin.ts feat: 优化离线重连机制,支持通过前端实现重新登录 2026-01-17 15:38:24 +08:00
Status.ts Refactor interfaces and decouple backend dependencies 2025-11-16 10:58:30 +08:00
UpdateNapCat.ts Silence update log; change update UI colors 2026-01-31 15:15:01 +08:00
WebUIConfig.ts Add SSL certificate management to WebUI config 2026-01-30 14:28:47 +08:00