Commit Graph

255 Commits

Author SHA1 Message Date
Clansty 61a1eb24f3
fix: 转发转发的消息有时候会报错 2022-03-10 22:19:22 +08:00
Clansty bb8f4fc660
fix: 消息记录被识别成私聊 2022-03-08 23:26:31 +08:00
Clansty 321e867d81
perf: 优化导入的设计 2022-03-08 23:22:15 +08:00
Clansty 8771bd9490
fix: Telegram.client 的访问级别 2022-03-08 21:17:24 +08:00
Clansty 5b0e6279a8
perf: 完善导入引擎 2022-03-08 21:13:46 +08:00
Clansty 7477979bd1
fix: event.prevParticipant 为 null 时报错 2022-03-08 14:53:17 +08:00
Clansty 15a45eb85f
fix: TG 群组删除时解除关联 2022-03-08 14:46:56 +08:00
Clansty ef39dad652
feat: TG 群组删除时解除关联 2022-03-08 14:38:40 +08:00
Clansty f297d8ec4d
feat: 个人模式可以选择关联现有群组 2022-03-08 14:12:22 +08:00
Clansty 79d0cfad5e
perf: 优化转换工具 2022-03-08 14:00:34 +08:00
Clansty 8890eb2300
feat: 将消息转换为 whatsapp 格式 2022-03-08 13:18:34 +08:00
Clansty ca13bafb96
fix: 在 QQ 撤回消息时 pair 为 undefined 2022-03-07 21:34:46 +08:00
Clansty c9af8ecc20
perf: rename branch to `raincandy` 2022-03-07 21:25:34 +08:00
Clansty 0f1e2bb05a
perf: 发送关联成功消息到群 2022-03-07 21:16:44 +08:00
Clansty bfa3e47fec
fix: 群里有多个机器人时同时响应绑定请求 2022-03-07 21:15:16 +08:00
Clansty 3c7f261e70
fix: 群组模式不应该响应好友消息 2022-03-07 21:04:53 +08:00
Clansty c44cec4aa0
fix: 数据库 unique 约束 2022-03-07 20:58:56 +08:00
Clansty 570e67eb12
feat: 从零号实例创建新的实例 2022-03-07 20:50:05 +08:00
Clansty 3240b7fe9c
fix: allowWebp 考虑视频 2022-03-07 19:48:22 +08:00
Clansty f656f033de
fix: 回复时 message empty 2022-03-07 19:47:22 +08:00
Clansty f3631ac4fc
refactor: 使用 instanceId 标识 message 2022-03-07 19:42:41 +08:00
Clansty 86b54276d5
perf: 调整名称 2022-03-07 18:14:45 +08:00
Clansty c909dcca44
refactor: forwardPairs 跟随 instance 实例化 2022-03-07 18:05:22 +08:00
Clansty 315a2cd544
refactor: 使用实例管理 Controller 生命周期,并将配置存储在数据库。实例可并行运行 2022-03-07 16:36:36 +08:00
Clansty 415cba38f5
fix: 重复撤回 2022-03-07 15:35:15 +08:00
Clansty cab4ad23e9
perf: 密码以 md5 存储 2022-03-07 15:15:29 +08:00
Clansty 07d428dfad
feat: 转发的消息记录保存到 cloudflare worker 2022-03-07 14:14:57 +08:00
Clansty 7ec20fc173
feat: 接收 TG 原生撤回 2022-03-06 23:32:31 +08:00
Clansty 801b8b814f
feat: 可以在 QQ 中撤回消息了 2022-03-06 21:07:08 +08:00
Clansty 6d671fe7ad
fix: 防止 webp 作为贴纸发送时丢失发送者信息 2022-03-06 20:33:49 +08:00
Clansty e09d6d4f49
refactor: 将与编码相关到文件移动到 encoding 2022-03-06 20:26:48 +08:00
Clansty c29cd9eefd
refactor: 将与消息删除相关的代码移动到 DeleteMessageController 2022-03-06 20:24:19 +08:00
Clansty 1ba49b6029
perf: 减少 session 显错 2022-03-06 19:59:28 +08:00
Clansty f5602f81b7
fix: migrateAllChats 时无法获取 entities 2022-03-05 21:19:25 +08:00
Clansty b3a90c19a6
perf: 可以删除 yarn cache 来减少镜像大小 2022-03-05 21:10:09 +08:00
Clansty b9bf2a12ba
fix: 优化 docker 部署 2022-03-05 21:04:34 +08:00
Clansty b6b9cda114
perf: 优化 docker 部署 2022-03-05 20:57:54 +08:00
Clansty e6ffd253a5
feat: 批量转换超级群组 2022-03-05 20:50:35 +08:00
Clansty 7f3cb6e4f0
perf: 现有群升级为超级群后自动配置权限或者提示 2022-03-05 20:23:52 +08:00
Clansty 5d498f1a59
perf: 方法添加对超级群的支持,新的关联默认创建超级群
(不然升级的时候以及撤回消息都会有问题
2022-03-05 20:08:55 +08:00
Clansty 729d5f7357
fix: 群也可以是 Api.Channel 2022-03-05 18:05:32 +08:00
Clansty 81be36d50a
feat: 可以通过 /rm 撤回消息了 2022-03-05 17:58:07 +08:00
Clansty 5f5b76d670
feat: 可以编辑消息了 2022-03-05 15:26:37 +08:00
Clansty ee09de38bf
perf: 提高 Telegram 的 LogLevel 以及传递正式 Message 对象给 EditMessageHandler 2022-03-05 15:26:25 +08:00
Clansty 80473dde21
fix: ForwardController 中可能的 UnhandledException 2022-03-05 12:27:49 +08:00
Clansty d3e266d80f
perf: no need to run prisma generate again 2022-03-04 20:02:53 +08:00
Clansty 4a55797bad
fix: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#cache-backend-api 2022-03-04 19:59:13 +08:00
Clansty 109346f77f
fix: 硬编码 repo 名称来确保小写 2022-03-04 19:48:00 +08:00
Clansty 4a3c46393c
perf: 构建时拉取老镜像以获取缓存 2022-03-04 19:44:11 +08:00
Clansty b9af098233
feat: 闪照 2022-03-04 18:50:11 +08:00