Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update workflow #2542

Closed
wants to merge 75 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
6819c45
remove guild related content
Linwenxuan04 Apr 17, 2024
7d524a7
remove qsign related content
Linwenxuan04 Apr 17, 2024
54d7c05
remove guild feed related content
Linwenxuan04 Apr 17, 2024
f47cd4b
rebase to lagrange
Linwenxuan04 Apr 17, 2024
6e511da
rebase to lagrange
Redmomn Apr 17, 2024
2d5bfc6
fix: some cqcode
Redmomn Apr 23, 2024
726b561
fix: client.uin
Redmomn Apr 23, 2024
7d7639d
fix: api.go converter.go
Redmomn Apr 24, 2024
b58d17e
fix: move binary package from MiraiGo
Redmomn Apr 28, 2024
9862860
fix: move binary package from MiraiGo
Redmomn Apr 28, 2024
31f4806
update LagrangeGo version && fix some binary pkt
Redmomn Jun 17, 2024
f297e54
fix: ojbk
Redmomn Jun 20, 2024
d272d10
update
Redmomn Jun 27, 2024
022406f
Feat/NewQRCodeImpl
DarkRRb Jun 27, 2024
bd0fa9c
refactor: 使用lagrangego的binary库
Redmomn Jun 28, 2024
beda86d
feat: update protocol version,支持接收戳一戳
Redmomn Jul 16, 2024
b5486fe
chore: 修复过时的linter配置
Redmomn Jul 17, 2024
66d913d
chore: 更新各个action的版本
Redmomn Jul 17, 2024
47e64df
refactor: 优化登录流程
Redmomn Jul 17, 2024
2941176
refactor: 删除不必要的配置项
Redmomn Jul 17, 2024
4b42bc3
update: update LagrangeGo to 203a7c
Redmomn Jul 17, 2024
c5d8e93
update: 支持更多的api和event
Redmomn Jul 24, 2024
beb6914
update: update LagrangeGo to e0989512caeb
Redmomn Jul 25, 2024
9732ce3
fix: 修复语音发不出去的bug
Redmomn Jul 25, 2024
a71444d
feat: 支持处理好友申请
Redmomn Aug 18, 2024
fca88ba
fix: 改动一些小细节,更新lgrgo
Redmomn Aug 19, 2024
68b069f
fix: 修复语音无法播放以及私聊无法发送
Redmomn Aug 25, 2024
926cd87
feat: 支持发送短视频,删除部分多余代码
Redmomn Aug 29, 2024
62c65a4
feat: 补一个check media
Redmomn Aug 29, 2024
6c64ded
update: 升级lgrgo版本,完善视频封面
Redmomn Aug 29, 2024
8ca8f05
update README
Redmomn Sep 1, 2024
603ddaa
update: 升级LagrangeGo版本
pk5ls20 Sep 11, 2024
99bec8d
fix: 无法发送语音
Redmomn Sep 11, 2024
23f18a0
fix: 添加群文件操作和一些细节部分
Redmomn Oct 4, 2024
1d79458
feat: 群荣誉信息
Redmomn Oct 5, 2024
03e1b07
feat: 获取和设置群精华消息
Redmomn Oct 5, 2024
f0e72f9
feat: 群公告相关
Redmomn Oct 5, 2024
cd6954d
feat: 获取合并转发消息
Redmomn Oct 5, 2024
8fe525c
feat: 发送合并转发和撤回私聊
Redmomn Oct 5, 2024
c573513
feat: 添加部分事件,增加获取群成员信息项
Redmomn Oct 5, 2024
676998c
fix: 上游更新
Redmomn Oct 5, 2024
5aceb79
fix:重复创建设备信息 (#5)
Azusa-Yuan Oct 6, 2024
70a49f9
fix:at处理不完善 (#6)
Azusa-Yuan Oct 6, 2024
6427ee2
lint: make lint happy
Redmomn Oct 6, 2024
81b4bf8
fix: 更新上游,优化获取群系统消息
Redmomn Oct 6, 2024
dc49256
chore: action增加写权限
Redmomn Oct 6, 2024
8899038
fix: 完善api
Redmomn Oct 7, 2024
b844665
fix: api.CQSetGroupAdmin (#7)
icarus-ai Oct 8, 2024
bec496c
fix: 修复某些情况下无法解析语音的问题?
Redmomn Oct 10, 2024
426f8c1
fix: 缺失的module/api (#11)
RF-Tar-Railt Nov 7, 2024
a5efbab
fix: 修复无法使用url发送图片
Redmomn Nov 8, 2024
7738611
fix: 修复无法使用url发送图片
Redmomn Nov 8, 2024
a518cc9
update: update LagrangeGo
Redmomn Nov 9, 2024
3a8f94c
refactor: 优化文件判断逻辑
Redmomn Nov 9, 2024
17033c6
update LagrangeGo -> v0.1.1
Redmomn Nov 9, 2024
5aca41c
chore: 更新goreleaser配置文件
Redmomn Nov 9, 2024
e6906e1
chore: make lint happy
Linwenxuan04 Nov 11, 2024
00220b5
chore: make lint happy #2
Linwenxuan04 Nov 11, 2024
faa0c02
fix: 获取转发消息记录
Redmomn Nov 10, 2024
28a74bc
feat: 支持密码登录(x)
Redmomn Nov 12, 2024
5e208ed
chore: update lint
Redmomn Nov 12, 2024
78467f6
make lint happy
Redmomn Nov 12, 2024
be805fd
update api
Redmomn Nov 12, 2024
cf86eab
fix: 视频和图片缓存
Redmomn Nov 14, 2024
7ab0de5
fix: login.SubmitCaptcha & fmt & update (#14)
icarus-ai Nov 15, 2024
0edb2a7
feat: 临时会话消息
Redmomn Nov 14, 2024
f1950e2
fix: 视频缓存
Redmomn Nov 14, 2024
e7ea3f0
update README
Redmomn Nov 15, 2024
c70e33e
feat: ocr,获取at次数,群打卡,设置群头像
Redmomn Nov 26, 2024
f9217aa
feat: 补充陌生人信息
Redmomn Nov 27, 2024
b2b98cc
feat: 支持更多的api
Redmomn Nov 28, 2024
acf7701
feat: statistics
Redmomn Nov 28, 2024
7fdb04c
chore: update linter settings
Redmomn Nov 28, 2024
7727819
feat: 临时会话和新增好友事件
Redmomn Nov 28, 2024
3a3cebb
chore: update workflow
Redmomn Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update: 升级lgrgo版本,完善视频封面
  • Loading branch information
Redmomn committed Nov 12, 2024
commit 6c64ded108ab0f18dc2bc60fa8da9388e610f24a
14 changes: 8 additions & 6 deletions coolq/cqcode.go
Original file line number Diff line number Diff line change
@@ -1037,12 +1037,14 @@ func (bot *CQBot) readImageCache(b []byte, sourceType message.SourceType) (messa
func (bot *CQBot) readVideoCache(b []byte) message.IMessageElement {
r := binary.NewReader(b)
return &message.ShortVideoElement{ // todo 检查缓存是否有效
Md5: r.ReadBytes(16),
ThumbMd5: r.ReadBytes(16),
Size: r.ReadU32(),
ThumbSize: r.ReadU32(),
Name: r.ReadStringWithLength("u32", true),
Uuid: r.ReadBytes(r.Len()),
Md5: r.ReadBytes(16),
Size: r.ReadU32(),
Thumb: &message.VideoThumb{
Md5: r.ReadBytes(16),
Size: r.ReadU32(),
},
Name: r.ReadStringWithLength("u32", true),
Uuid: r.ReadBytes(r.Len()),
}
}

4 changes: 2 additions & 2 deletions coolq/event.go
Original file line number Diff line number Diff line change
@@ -572,9 +572,9 @@ func (bot *CQBot) checkMedia(e []message.IMessageElement, sourceID int64) {
case *message.ShortVideoElement:
data := binary.NewWriterF(func(w *binary.Builder) {
w.Write(i.Md5)
w.Write(i.ThumbMd5)
w.Write(i.Thumb.Md5)
w.WriteU32(i.Size)
w.WriteU32(i.ThumbSize)
w.WriteU32(i.Thumb.Size)
w.WritePacketString(i.Name, "u32", true)
w.Write(i.Uuid)
})
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ go 1.20

require (
github.com/FloatTech/sqlite v1.6.3
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829010317-08c3e5126856
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829120425-ba9282a7f7de
github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7
github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ github.com/FloatTech/sqlite v1.6.3 h1:MQkqBNlkPuCoKQQgoNLuTL/2Ci3tBTFAnVYBdD0Wy4
github.com/FloatTech/sqlite v1.6.3/go.mod h1:zFbHzRfB+CJ+VidfjuVbrcin3DAz283F7hF1hIeHzpY=
github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1 h1:g4pTnDJUW4VbJ9NvoRfUvdjDrHz/6QhfN/LoIIpICbo=
github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs=
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829010317-08c3e5126856 h1:/Cu9PVv85qFRQ7i6rleLogDt0odh78bnlt2JoT5HJYs=
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829010317-08c3e5126856/go.mod h1:qK/l75YuMYdJWfPcxPhfjybJdXD4kzMFvcbKlvdAoa0=
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829120425-ba9282a7f7de h1:CHSQMwurtk5oQG27krJL4NBlGAFqYIDXQIiapnqhlbw=
github.com/LagrangeDev/LagrangeGo v0.0.0-20240829120425-ba9282a7f7de/go.mod h1:qK/l75YuMYdJWfPcxPhfjybJdXD4kzMFvcbKlvdAoa0=
github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a h1:aU1703IHxupjzipvhu16qYKLMR03e+8WuNR+JMsKfGU=
github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a/go.mod h1:OZqLNXdYJHmx7aqq/T6wAdFEdoGm5nmIfC4kU7M8P8o=
github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d h1:/Xuj3fIiMY2ls1TwvPKmaqQrtJsPY+c9s+0lOScVHd8=