Commit Graph
71 Commits
Author SHA1 Message Date
时瑾 2185a884b4 refactor: 优化eslint配置,提升代码质量 (#1341)
* feat: 统一并标准化eslint

* lint: napcat.webui

* lint: napcat.webui

* lint: napcat.core

* build: fix

* lint: napcat.webui

* refactor: 重构eslint

* Update README.md
2025-11-03 16:30:45 +08:00
手瓜一十雪 fe878687ee Add streaming file upload and download actions
Introduces new OneBot actions for streaming file upload and download, including chunked file transfer with memory/disk management and SHA256 verification. Adds CleanStreamTempFile, DownloadFileStream, UploadFileStream, and TestStreamDownload actions, updates action routing and network adapters to support streaming via HTTP and WebSocket, and provides Python test scripts for concurrent upload testing.
2025-09-16 23:24:00 +08:00
手瓜一十雪 f315ab15e6 fix 2025-04-19 11:03:03 +08:00
手瓜一十雪 b2bd48cf49 Revert "fix:coerce"
This reverts commit b190c21ef8.
2025-04-19 10:58:56 +08:00
手瓜一十雪 981e510963 Revert "fix: checker"
This reverts commit 875b20ea9e.
2025-04-19 10:58:46 +08:00
手瓜一十雪 e77d8f93ba Revert "fix: zod boolean强制转换"
This reverts commit db37def059.
2025-04-19 10:58:39 +08:00
手瓜一十雪 9cc1ef5b31 Revert "fix"
This reverts commit a2d11a7d7d.
2025-04-19 10:57:32 +08:00
手瓜一十雪 ac5df6946c Revert "fix"
This reverts commit f3fa3bd25b.
2025-04-19 10:57:28 +08:00
手瓜一十雪 f3fa3bd25b fix 2025-04-17 09:54:12 +08:00
手瓜一十雪 a2d11a7d7d fix 2025-04-17 09:52:03 +08:00
手瓜一十雪 db37def059 fix: zod boolean强制转换 2025-04-17 09:38:38 +08:00
手瓜一十雪 875b20ea9e fix: checker 2025-04-15 12:34:33 +08:00
手瓜一十雪 b190c21ef8 fix:coerce 2025-04-15 12:25:37 +08:00
手瓜一十雪 8a116d2d7b 迁移类型校验到zod 2025-04-13 20:05:11 +08:00
手瓜一十雪 711f01ab82 style: remove debug 2025-02-18 16:52:30 +08:00
手瓜一十雪 07d687daba feat: get_private_file_url 2025-02-18 16:51:51 +08:00
手瓜一十雪 70945cf2d8 style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪 76501bae34 style: lint 2025-02-02 20:17:28 +08:00
手瓜一十雪 519a9cb34c fix: 彻底完成迁移 2025-01-26 20:42:05 +08:00
手瓜一十雪 0afbfffd1d feat: ffmpeg 2025-01-26 16:26:21 +08:00
手瓜一十雪 a81cdb824e refactor: 大部分文件处理部分 2025-01-13 20:30:08 +08:00
手瓜一十雪 fb3370ccf9 refactor: type-check (#586)
* refactor: type-check

* fix: default

* refactor: type-check
2024-12-01 12:41:51 +08:00
手瓜一十雪 3254f3fea0 rename: 使用@搜寻 2024-11-21 11:16:25 +08:00
手瓜一十雪 fa6a8816f8 refactor: Action 2024-11-19 12:49:51 +08:00
pk5ls20 7fd94a03b7 refactor: packet x1 2024-11-12 04:02:19 +08:00
Nepenthe 52a6a9e435 修复<get_record>接口 (#478) 2024-10-30 21:09:32 +08:00
手瓜一十雪 0f2f7bff37 fix: getfile 2024-10-22 10:15:16 +08:00
huankong233 05dcb3ab0b 优化 getFile 处理逻辑 2024-10-22 09:48:55 +08:00
手瓜一十雪 fbc407e4f4 style: lint 2024-10-21 10:17:31 +08:00
pk5ls20 4eaeedc2d1 refactor: simplify the PacketClient availability check process & add action nc_get_packet_status 2024-10-19 04:41:32 +08:00
pk5ls20 bdc44251ee feat: add action get_group_file_url 2024-10-19 04:14:01 +08:00
手瓜一十雪 270514a50c style: 标准化 2024-10-15 09:20:54 +08:00
手瓜一十雪 a9201826a6 fix: 临时会话上报问题 2024-10-15 08:58:28 +08:00
手瓜一十雪 20a222ca76 fix #391 2024-10-14 22:04:02 +08:00
手瓜一十雪 7ec5d4238e style: lint 2024-09-08 10:10:47 +08:00
手瓜一十雪 4fc4df3d2e release: 2.2.36 2024-09-01 18:44:23 +08:00
手瓜一十雪 ed31534c00 fix: file api 2024-09-01 14:11:28 +08:00
手瓜一十雪 8d9aba117d Revert "fix: fileId"
This reverts commit 43cbc86860.
2024-09-01 13:41:19 +08:00
手瓜一十雪 f4c8b94b3f Revert "fix: encode fileId"
This reverts commit 578a5f93c9.
2024-09-01 13:41:14 +08:00
手瓜一十雪 578a5f93c9 fix: encode fileId 2024-09-01 12:17:42 +08:00
手瓜一十雪 43cbc86860 fix: fileId 2024-09-01 12:17:17 +08:00
Wesley F. Young 3afd4f29ff refactor: inline all NTQQXxxApi uses 2024-08-31 16:00:03 +08:00
Wesley F. Young 4f27074f22 fix: get file by msgId and elemId 2024-08-31 10:34:19 +08:00
Wesley F. Young be6bb404cd fix: report encoded msgId+elemId in upload event 2024-08-30 20:47:48 +08:00
Seijo Cecilia 2d2bad8dea build: snapshot-fix-get-file 2024-08-30 15:47:18 +08:00
Seijo Cecilia 7f7f0d9750 Revert "fix: arg3 no longer needed for downloadFileForModelId"
This reverts commit 9328e9c987.
2024-08-30 15:41:50 +08:00
Wesley F. Young 6427e021f1 chore: optimize imports 2024-08-30 11:45:58 +08:00
Wesley F. Young 3fad015469 feat: go-cqhttp style group file apis 2024-08-30 11:44:15 +08:00
Wesley F. Young e15b98895b fix: try to fix '搜索名字模式' of GetFile 2024-08-29 22:27:51 +08:00
Wesley F. Young 9328e9c987 fix: arg3 no longer needed for downloadFileForModelId 2024-08-29 21:21:45 +08:00