Zhenyi Wang
|
3e4917f0a1
|
refactor: 重构 wechatpadpro 授权码生成并增强安全性
- 将 generate_auth_key 方法中的授权码提取逻辑重构为新的辅助方法 _extract_auth_key ,以提高代码的可读性和可测试性。
- 在访问 data.get('authKeys') 之前添加 isinstance(data, dict) 检查,以防止潜在的 AttributeError 。
- 移除了 auth_key 的明文日志记录,以避免敏感信息泄露。
- 在生成新密钥之前,将 self.auth_key 初始化为 None ,以避免在失败时保留旧值。
|
2025-07-06 16:34:55 +08:00 |
|
Zhenyi Wang
|
1674653a42
|
fix(wechatpadpro): 修复授权码提取逻辑以兼容新旧接口格式
新接口返回多了一层authKeys字段,同时兼容二者
|
2025-07-06 16:18:31 +08:00 |
|
Soulter
|
51b015a629
|
Merge pull request #1830 from zhx8702/feat-wechat-tts-mp3towav
feat: wechatpadpro 触发tts时 添加对mp3格式音频支持
|
2025-06-25 22:46:10 +08:00 |
|
Soulter
|
2c47abea95
|
fix: 修复 WeChatPadPro 下,开启了会话隔离后,无法发送群聊消息的问题
fixes: #1766
|
2025-06-16 23:36:11 +08:00 |
|
Soulter
|
85aa28d724
|
perf: print traceback
|
2025-06-16 23:27:29 +08:00 |
|
Soulter
|
53a3736b04
|
fix: 修复可能的类型错误
fixes: #1778
|
2025-06-16 23:26:22 +08:00 |
|
Soulter
|
86ba3c230e
|
perf: 弱化 WeChatPadPro 的 WS 连接提示
fixes: #1779
|
2025-06-16 23:21:53 +08:00 |
|
Soulter
|
8d21126bd6
|
fix: 修复 WeChatPadPro 会话隔离模式下,会话 ID 显示为自身ID 的问题
|
2025-06-16 23:18:45 +08:00 |
|
Soulter
|
74ded91976
|
fix: 修复 WeChatPadPro 过期后无法正常的重新登录的问题。
|
2025-06-16 23:07:10 +08:00 |
|
zhx
|
ccb95f803c
|
feat: wechatpadpro 发送tts时 添加对mp3格式音频支持
|
2025-06-16 10:05:21 +08:00 |
|
Seayon
|
19022d67f8
|
Merge branch 'master' into fix-wechat-at-message-parsing
# Conflicts:
# astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py
|
2025-06-09 09:30:09 +08:00 |
|
Seayon
|
a9dbff756b
|
✨ feat(wechatpadpro): 增强群聊消息中的@消息处理逻辑
添加对群聊消息中@机器人场景的精确识别和处理,提升了消息解析的准确性。
支持多种@格式的检测,包括 msg_source 和 push_content 的判断。
|
2025-06-06 16:53:31 +08:00 |
|
zhx
|
0d5825bda9
|
feat: wechatpadpro 添加语音接收和发送的适配
|
2025-06-06 10:30:06 +08:00 |
|
zhx
|
60ca1efbda
|
feat: 添加wechatpadpro 消息类型47 49的适配
|
2025-06-04 14:36:16 +08:00 |
|
Soulter
|
c3ef57cc32
|
Merge pull request #1588 from Zhenyi-Wang/feat/extend-wechatpadpro-for-timetask
feat: wechatpadpro对接获取联系人信息的2个接口
|
2025-05-23 17:02:54 +08:00 |
|
Soulter
|
7bb4ca5a14
|
perf: code quality
|
2025-05-23 17:01:57 +08:00 |
|
MiSeya
|
205180387a
|
Fix:修复了WeChatPadPro在重新登录时为新设备的问题,延长初始化Auth_Key有效期至365天
|
2025-05-19 21:12:09 +08:00 |
|
Zhenyi Wang
|
f7458572ed
|
feat: wechatpadpro对接获取联系人信息接口
|
2025-05-17 15:31:12 +08:00 |
|
Soulter
|
cb02dfe1a4
|
perf: 优化超时时间
|
2025-05-16 20:00:14 +08:00 |
|
Soulter
|
b50739e1af
|
perf: 优化登录超时时间
|
2025-05-16 19:33:37 +08:00 |
|
Soulter
|
b29d14e600
|
perf: 优化适配器终止流程
|
2025-05-16 17:29:33 +08:00 |
|
Soulter
|
86e51c5cd1
|
perf: 改进 wechatpadpro 超时重连
|
2025-05-16 17:22:10 +08:00 |
|
Soulter
|
cb8267be3f
|
feat: wechatpadpro 支持图片接收
|
2025-05-16 17:18:42 +08:00 |
|
xiamuceer
|
bd91fd2c38
|
Merge branch 'master' of https://github.com/xiamuceer-j/AstrBot
|
2025-05-16 17:17:51 +08:00 |
|
xiamuceer
|
c3fec15f11
|
update: 添加ws超时重连机制,避免过长时间收不到消息
|
2025-05-16 17:00:06 +08:00 |
|
Soulter
|
0545653494
|
feat: 支持轮询消息
|
2025-05-16 16:54:49 +08:00 |
|
Soulter
|
db2989bdb4
|
perf: guess private message username
|
2025-05-16 15:42:33 +08:00 |
|
xiamuceer
|
587bd00a19
|
update: 新增send_by_session方法,接受处理来自AstrBot核心的消息
|
2025-05-16 14:30:05 +08:00 |
|
Soulter
|
960ff438e8
|
🎈perf: 旧消息丢弃
|
2025-05-16 13:26:45 +08:00 |
|
Raven95676
|
98e7ea85d3
|
fix: 正确导入WeChatPadProAdapter
|
2025-05-16 12:39:14 +08:00 |
|
xiamuceer
|
2549e44710
|
fix: 移除错误引用
|
2025-05-16 12:26:54 +08:00 |
|
xiamuceer
|
4d32b563ca
|
fix: 对auth_key授权码进行脱敏处理
|
2025-05-16 12:08:49 +08:00 |
|
xiamuceer
|
3a4b732977
|
fix: 修复@消息适配,并写明适配器
|
2025-05-16 11:52:54 +08:00 |
|
夏目侧耳
|
500909a28e
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py
Co-authored-by: 鸦羽 <Raven95676@gmail.com>
|
2025-05-16 11:47:52 +08:00 |
|
Raven95676
|
991dfeb2f2
|
style: format code, disable redundant logs
|
2025-05-16 09:28:15 +08:00 |
|
夏目侧耳
|
26482fc2d3
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-15 20:59:53 +08:00 |
|
夏目侧耳
|
e0ce6d9688
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-15 20:57:22 +08:00 |
|
xiamuceer
|
946595216a
|
优化wechapadpro代码结构
|
2025-05-15 20:43:33 +08:00 |
|
夏目侧耳
|
6ea5b7581f
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-15 19:12:42 +08:00 |
|
夏目侧耳
|
f70b8f0c10
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-15 19:09:56 +08:00 |
|
夏目侧耳
|
1593bcb537
|
Update astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-15 17:50:29 +08:00 |
|
xiamuceer
|
bf7fc02c8d
|
适配一个个人微信适配器——wechatpadpro
|
2025-05-15 17:26:31 +08:00 |
|