Commit Graph

4452 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
1703722719 Initial plan 2025-10-02 01:10:22 +00:00
手瓜一十雪
6cfe8ab88b fix: #1260 2025-09-29 16:39:37 +08:00
手瓜一十雪
3155c2fd10 Update README with new features in v4.8.115+
Added a section describing new features in version v4.8.115+, including Stream API support and recommendations to use string types for message_id, user_id, and group_id. Also explained the benefits of these changes for Docker, cross-device, large file transfers, and better compatibility with languages lacking large integer support.
2025-09-21 13:29:35 +08:00
手瓜一十雪
a513ba89cc Update DeepWiki badge formatting in README
Reformatted the DeepWiki badge section in the README to match the table style used for other community links.
2025-09-20 16:45:27 +08:00
手瓜一十雪
c8e9c3938c Add DeepWiki badge to README
Added a DeepWiki badge with a link to the project's DeepWiki page for increased visibility and resource access.
2025-09-20 16:44:57 +08:00
Mlikiowa
7f1bda1cb5 release: v4.8.116 2025-09-20 08:20:05 +00:00
手瓜一十雪
44cdd4dd16 Add file_retention parameter to upload test
Introduces the 'file_retention' field with a value of 30,000 to the upload test payload in OneBotUploadTester. This may be used to specify file retention duration in milliseconds.
2025-09-20 16:19:39 +08:00
手瓜一十雪
4b65d624ed Add file retention option to UploadFileStream
Introduces a 'file_retention' parameter to control how long uploaded files are retained before automatic deletion. If set, files are deleted after the specified duration; otherwise, they are not automatically removed. This helps manage temporary file storage and cleanup.
2025-09-20 16:13:25 +08:00
Mlikiowa
6a0e919511 release: v4.8.115 2025-09-20 07:57:47 +00:00
手瓜一十雪
a7deaf8530 Refactor event handling to use async/await across adapters
Updated all network adapters' onEvent methods to be asynchronous and return Promises, ensuring consistent async event emission and handling. Adjusted related methods and event emission logic to properly await asynchronous operations, improving reliability for streaming, plugin, HTTP, and WebSocket event flows. Also improved error handling and messaging in stream and WebSocket actions.
2025-09-20 15:55:37 +08:00
手瓜一十雪
b154c2257d Fix useStream variable scope in HTTP server adapter
Moved the declaration of useStream inside the action check to prevent referencing it when action is undefined.
2025-09-20 15:23:37 +08:00
手瓜一十雪
44f6c79a24 feat: 标准化 2025-09-20 15:20:43 +08:00
手瓜一十雪
1135089071 Add Readme for stream API actions
Introduces a Readme.txt file in the stream action directory, providing an overview and usage notes for stream-related API functions such as file upload, download, and cleanup.
2025-09-16 23:33:48 +08:00
Mlikiowa
276a1728c2 release: v4.8.114 2025-09-16 15:24:25 +00: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
837951602
597763d09e 找不到类型时显式报错 (#1256) 2025-09-16 17:19:59 +08:00
MliKiowa
e6c7b21ad3 Fix link for QQ Group#2 in README
Updated the link for QQ Group#2 in the README.
2025-09-13 17:23:21 +08:00
MliKiowa
8c194076d1 Fix QQ Group links in README.md 2025-09-13 17:22:53 +08:00
MliKiowa
563ff3e125 Revise README for clarity and additional resources
Updated README with links to documentation and community guidelines.
2025-09-13 17:20:07 +08:00
Mlikiowa
f8c9b23134 release: v4.8.113 2025-09-13 05:51:02 +00:00
手瓜一十雪
19ae17d041 Update default host and token length in config
Changed the default host to '0.0.0.0' and increased the default token length from 8 to 12 characters in WebUiConfigSchema. Also removed unused getDefaultHost import and made minor formatting adjustments.
2025-09-13 13:49:18 +08:00
Mlikiowa
6455c24bbc release: v4.8.112 2025-09-12 14:15:08 +00:00
时瑾
4fbfae8d30 fix: 更新默认主机地址获取逻辑,支持Docker环境 2025-09-12 21:56:12 +08:00
Mlikiowa
e625d164be release: v4.8.111 2025-09-12 11:19:26 +00:00
时瑾
c28733f150 fix: 移除 defaultToken 字段,彻底移除硬编码的默认密码,采用全随机密码 2025-09-12 18:50:21 +08:00
时瑾
f069843c43 fix(dos): 修复红红的ci 2025-09-12 15:36:30 +08:00
Mlikiowa
959a175109 release: v4.8.110 2025-09-11 05:15:29 +00:00
时瑾
76e82279d4 refactor: 将默认密码相关逻辑重构为后端处理 (#1247)
* refactor: 将默认密码相关逻辑重构为后端处理

* refactor: 日志路由进行脱敏,生成随机密码使用node:crypto.randomBytes

* feat: 更新密码功能增强,添加新密码强度验证和旧密码检查

* feat: 给文件管理添加WebUI配置文件的脱敏处理和验证逻辑

* refactor: 优化网络显示卡片按钮样式和行为,调整按钮属性以提升用户体验

* feat: 增强路径处理逻辑,添加安全验证以防止路径遍历攻击

* feat: 增强文件路径处理逻辑,添加安全验证以防止路径遍历攻击,并优化查询参数提取

* feat: CodeQL不认可 受不了
2025-09-11 13:13:00 +08:00
手瓜一十雪
07b10089db upate: package 2025-09-08 16:16:38 +08:00
Mlikiowa
17b75fe71e release: v4.8.109 2025-09-08 08:11:05 +00:00
手瓜一十雪
d28ba233ae fix: 多层解析 2025-09-08 16:05:10 +08:00
手瓜一十雪
5f72ca05fe Add qq-chat-exporter to recommended tools
Included qq-chat-exporter, a NapCat-based message export tool, in the list of recommended related projects in the README.
2025-09-07 15:20:17 +08:00
Mlikiowa
d09f318e2a release: v4.8.108 2025-09-07 05:57:27 +00:00
手瓜一十雪
512cf2bed7 Update Telegram link in About page
Changed the Telegram href in the About page from MelodicMoonlight to napcatqq to reflect the correct contact or channel.
2025-09-07 13:54:44 +08:00
Mlikiowa
5c8ea3e276 release: v4.8.107 2025-09-07 05:48:15 +00:00
手瓜一十雪
80bfae13df Update Telegram link in README
Changed the Telegram badge and link from MelodicMoonlight to napcatqq for accuracy.
2025-09-07 13:47:23 +08:00
手瓜一十雪
d0c2cb4af6 Log WebUI panel URL on server start
Adds logging of the WebUI user panel URL with localhost address when the server starts. Also adjusts QQ login callback invocation in OneBot adapter for improved login flow.
2025-09-07 13:29:37 +08:00
手瓜一十雪
ff33fb9efb Add WebUI token update and callback handling
Introduces callback mechanisms for WebUI token changes and QQ login status updates. The WebUI token is now updated and communicated via a callback after login, and related runtime and type definitions are extended to support these features. Also sets a static default token value in the config schema.
2025-09-06 18:15:35 +08:00
手瓜一十雪
78cd5eab19 Comment out documentation links in README
The section containing links to documentation and Telegram has been commented out in the README.md. This may be for temporary removal or future revision.
2025-09-06 13:13:14 +08:00
Mlikiowa
a4207d297c release: v4.8.106 2025-09-06 03:53:33 +00:00
手瓜一十雪
700cd02b1a feat: 支持禁用webui 速率配置 禁用外网访问 禁用webui 2025-09-06 11:53:04 +08:00
手瓜一十雪
f0a607f724 feat: 进一步提高密码安全性 2025-09-06 11:42:12 +08:00
手瓜一十雪
16817807b8 feat: 禁止默认密码 2025-09-06 11:41:06 +08:00
手瓜一十雪
a3c7fd17c5 feat: 安全性提升 2025-09-06 11:32:09 +08:00
手瓜一十雪
53a83b9b60 feat: 安全性提升 2025-09-06 11:23:09 +08:00
手瓜一十雪
a0ef738bcf feat: 安全性提升 2025-09-06 10:49:29 +08:00
手瓜一十雪
2daebf1afe Add README for example plugin
Introduces installation instructions for the example plugin, detailing how to place the build output in the appropriate plugins directory.
2025-09-02 22:54:44 +08:00
手瓜一十雪
75b616568a Update import paths and remove plugin tsconfig
Changed import paths in example-plugin to use alias '@' instead of relative paths. Deleted the example-plugin/tsconfig.json file, likely consolidating TypeScript configuration or relying on a root config.
2025-09-02 22:48:01 +08:00
手瓜一十雪
036e2a0cfd Declare config property in OB11PluginMangerAdapter
Adds an explicit declaration for the 'config' property in the OB11PluginMangerAdapter class to improve type safety and clarity.
2025-09-02 22:42:09 +08:00
Mlikiowa
9490c39a62 release: v4.8.105 2025-09-02 14:33:33 +00:00