Commit Graph
72 Commits
Author SHA1 Message Date
手瓜一十雪 ec2af3120c Refactor FFmpeg file conversion logic and API
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / build-docker (push) Canceled after 0s
Unified file conversion in FFmpegAddonAdapter to use decodeAudioToFmt for all formats, updated FFmpeg interface and service to support new conversion method, and added adapter name checks in GetRecord and DownloadFileRecordStream for optimized conversion flow. Updated native addon binaries to support these changes.
2025-11-08 12:22:51 +08:00
时瑾 06f6a542f5 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
手瓜一十雪 890d032794 Add streaming file upload and download actions
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / build-docker (push) Canceled after 0s
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
手瓜一十雪 cd8698b157 fix 2025-04-19 11:03:03 +08:00
手瓜一十雪 d3a27ad701 Revert "fix:coerce"
This reverts commit dd895d7c17.
2025-04-19 10:58:56 +08:00
手瓜一十雪 2a4589e268 Revert "fix: checker"
This reverts commit 941978b578.
2025-04-19 10:58:46 +08:00
手瓜一十雪 80a34c82b9 Revert "fix: zod boolean强制转换"
This reverts commit 17ef3231df.
2025-04-19 10:58:39 +08:00
手瓜一十雪 30a75bc581 Revert "fix"
This reverts commit 54e6d5c3f2.
2025-04-19 10:57:32 +08:00
手瓜一十雪 7b365367f7 Revert "fix"
This reverts commit 41dccd98a9.
2025-04-19 10:57:28 +08:00
手瓜一十雪 41dccd98a9 fix 2025-04-17 09:54:12 +08:00
手瓜一十雪 54e6d5c3f2 fix 2025-04-17 09:52:03 +08:00
手瓜一十雪 17ef3231df fix: zod boolean强制转换 2025-04-17 09:38:38 +08:00
手瓜一十雪 941978b578 fix: checker
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-04-15 12:34:33 +08:00
手瓜一十雪 dd895d7c17 fix:coerce
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-04-15 12:25:37 +08:00
手瓜一十雪 2147c4ffee 迁移类型校验到zod 2025-04-13 20:05:11 +08:00
手瓜一十雪 fca2e3c51a style: remove debug 2025-02-18 16:52:30 +08:00
手瓜一十雪 95ea761b2d feat: get_private_file_url 2025-02-18 16:51:51 +08:00
手瓜一十雪 15854c605b style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪 ac193cc94a style: lint 2025-02-02 20:17:28 +08:00
手瓜一十雪 844abad0d0 fix: 彻底完成迁移 2025-01-26 20:42:05 +08:00
手瓜一十雪 d278e9d8bc feat: ffmpeg 2025-01-26 16:26:21 +08:00
手瓜一十雪 ec0c2e8c33 refactor: 大部分文件处理部分 2025-01-13 20:30:08 +08:00
手瓜一十雪 1bb6dce239 refactor: type-check (#586)
* refactor: type-check

* fix: default

* refactor: type-check
2024-12-01 12:41:51 +08:00
手瓜一十雪 e898915d01 rename: 使用@搜寻 2024-11-21 11:16:25 +08:00
手瓜一十雪 9ffaab178a refactor: Action 2024-11-19 12:49:51 +08:00
pk5ls20 98c65c4923 refactor: packet x1 2024-11-12 04:02:19 +08:00
Nepenthe ce8760a39a 修复<get_record>接口 (#478)
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-10-30 21:09:32 +08:00
手瓜一十雪 052d17a46f fix: getfile 2024-10-22 10:15:16 +08:00
huankong233 1aa1f4c212 优化 getFile 处理逻辑 2024-10-22 09:48:55 +08:00
手瓜一十雪 dacfefe644 style: lint 2024-10-21 10:17:31 +08:00
pk5ls20 7a4a255a89 refactor: simplify the PacketClient availability check process & add action nc_get_packet_status 2024-10-19 04:41:32 +08:00
pk5ls20 83bced82b1 feat: add action get_group_file_url 2024-10-19 04:14:01 +08:00
手瓜一十雪 f9e44820c1 style: 标准化 2024-10-15 09:20:54 +08:00
手瓜一十雪 964874bdad fix: 临时会话上报问题 2024-10-15 08:58:28 +08:00
手瓜一十雪 27081ae599 fix #391 2024-10-14 22:04:02 +08:00
手瓜一十雪 c635da7ebb style: lint 2024-09-08 10:10:47 +08:00
手瓜一十雪 a5ce424a40 release: 2.2.36
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-09-01 18:44:23 +08:00
手瓜一十雪 2981799803 fix: file api 2024-09-01 14:11:28 +08:00
手瓜一十雪 00f8e1c0da Revert "fix: fileId"
This reverts commit ae009f98c1.
2024-09-01 13:41:19 +08:00
手瓜一十雪 e9482e2ec4 Revert "fix: encode fileId"
This reverts commit 9bff327377.
2024-09-01 13:41:14 +08:00
手瓜一十雪 9bff327377 fix: encode fileId 2024-09-01 12:17:42 +08:00
手瓜一十雪 ae009f98c1 fix: fileId 2024-09-01 12:17:17 +08:00
Wesley F. Young b5deb198de refactor: inline all NTQQXxxApi uses 2024-08-31 16:00:03 +08:00
Wesley F. Young 92f8eaaac9 fix: get file by msgId and elemId 2024-08-31 10:34:19 +08:00
Wesley F. Young f5e7288fe5 fix: report encoded msgId+elemId in upload event 2024-08-30 20:47:48 +08:00
Seijo Cecilia 5b5d5b41f5 build: snapshot-fix-get-file 2024-08-30 15:47:18 +08:00
Seijo Cecilia 23d613321e Revert "fix: arg3 no longer needed for downloadFileForModelId"
This reverts commit e1e4d038d9.
2024-08-30 15:41:50 +08:00
Wesley F. Young f1f1ac582d chore: optimize imports 2024-08-30 11:45:58 +08:00
Wesley F. Young 54a7cbc3f4 feat: go-cqhttp style group file apis 2024-08-30 11:44:15 +08:00
Wesley F. Young 39477aa6a0 fix: try to fix '搜索名字模式' of GetFile 2024-08-29 22:27:51 +08:00