1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

144 Commits

Author SHA1 Message Date
Mrs4s
85129aa06c
support manual update AppVersion 2023-03-10 21:54:44 +08:00
wdvxdr
fd37850f8c client: default use android pad protocol 2023-02-19 12:27:22 +08:00
wdvxdr
ed15fbca26 client: move device&version into c.transport 2023-02-16 18:40:56 +08:00
wdvxdr
cfd7d92d1f client: remove SystemDeviceInfo [break] 2023-02-14 23:23:09 +08:00
wdvxdr
993ec128a0 all: fix some issue reported by golangci-lint 2023-02-13 15:33:55 +08:00
wdvxdr
e9f4d33002 client: don't use math/rand.Read
This function has been deprecated.
2023-02-10 21:03:21 +08:00
wdvxdr
3fb9f40095
client: fix submit ticket 2022-06-21 15:36:58 +08:00
github-actions[bot]
007f228e10 ci(chore): Fix stylings 2022-05-24 05:31:30 +00:00
synodriver
1288c30775
添加群打卡接口 (看起来是这个包 (#273)
* group sign

* group sign

* rename pb file 0xeb7

* new proto impl
2022-05-24 13:31:07 +08:00
wdvxdr
5b616d65f7
all: adapt new proto2 api 2022-05-24 09:59:58 +08:00
wdvxdr
a9a08dbb3a
client: delete SpecialTitleExpireTime field in GroupMemberInfo 2022-05-23 12:01:38 +08:00
icarus-ai
fc9a403abf
genLongTemplate 非ASCII字符串长度计数错误
一个字切成半个啦😭
2022-05-17 16:08:17 +08:00
wdvxdr
665c6acf02
client: use net/netip
netip包中的数据结构更省内存,而且不需要堆分配
2022-03-22 22:44:37 +08:00
wdvxdr
8b86fe4d9c
client: refactor forward message api 2022-03-21 21:37:12 +08:00
wdvxdr
38990f6e1c
client: use generic version sync.Map 2022-03-20 15:07:54 +08:00
Mrs4s
6d84141b8d
Merge pull request #260 from Mrs4s/typeparam
all: update to go1.18 with generic
2022-03-17 16:57:21 +08:00
千橘 雫霞
dc9ecd65ea
refactor: delete tag 14 in jce of getSSOAddress (#257)
synchronize with source code
2022-03-12 11:55:31 +08:00
wdvxdr
abb3709a18
client: replace LogEvent with Logger 2022-03-01 22:52:22 +08:00
wdvxdr
ef65fd67e6
client: use unpackOIDBPackage 2022-03-01 16:45:01 +08:00
wdvxdr
e287cbfabd
client: clean genForwardTemplate argument 2022-02-23 21:09:08 +08:00
wdvxdr
0e68a1e7b7
client: merge fragmented private message 2022-02-14 16:27:17 +08:00
wdvxdr
d53bf8503e
client/pb: re-generate proto files 2022-02-14 00:51:36 +08:00
wdvxdr
28637c41be
internal/proto: move binary.DynamicProtoMessage to proto.DynamicMessage 2022-02-10 21:56:40 +08:00
wdvxdr
254eef3a5a
internal/oicq: reduce lambda 2021-12-24 14:22:10 +08:00
wdvxdr
3e2b57eab5
internal/network: first version of transport send 2021-12-22 20:13:23 +08:00
wdvxdr
950567e4b7
refactor: move Device&loginSigInfo to internal/auth 2021-12-18 15:36:52 +08:00
wdvxdr
1c29ac7d96
refactor: packets.BuildUniPacket -> c.uniPacket
mostly auto-generated by

```
rf '
ex {
    var c QQClient
    var seq uint16
    var payload []byte
    var command string
    BuildUniPacket(c.Uin, seq, command, 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) -> c.uniPacket(seq, command, payload)
}
'
```
2021-12-17 22:58:41 +08:00
Mrs4s
10bac416ce
Merge pull request #214 from lz1998/protocol
update protocol id
2021-12-17 17:48:30 +08:00
wdvxdr
ff9ef5135c
remove: stash.go
these function seems not useful
2021-12-16 21:47:48 +08:00
Mrs4s
5a59cc656c
feat: dump packet on decoder panic 2021-12-16 15:26:07 +08:00
lizheng.lz1998
59471c51cf update protocol id 2021-12-08 00:48:28 +08:00
源文雨
b27ab903f1
Merge branch 'master' into master 2021-11-26 15:06:02 +08:00
fumiama
13a9d087e7 perf(jce): drop reflect in reader
name                   old time/op    new time/op    delta
JceReader_ReadSlice-8    1.53ms ±90%    0.82ms ±86%  -46.30%  (p=0.017 n=16+16)

name                   old speed      new speed      delta
JceReader_ReadSlice-8   117MB/s ± 3%   228MB/s ± 4%  +94.43%  (p=0.000 n=16+16)

name                   old alloc/op   new alloc/op   delta
JceReader_ReadSlice-8     516kB ±88%     536kB ±85%     ~     (p=0.780 n=16+16)

name                   old allocs/op  new allocs/op  delta
JceReader_ReadSlice-8     25.6k ±88%     26.6k ±85%     ~     (p=0.780 n=16+16)
2021-11-26 15:02:44 +08:00
Mrs4s
797a912b6d
protocol: update protobuf files & save work progress 2021-11-26 09:54:46 +08:00
fumiama
a70e0f20de perf: add 0 alloc func OpenWriterF 2021-11-23 16:21:06 +08:00
wdvxdr
ec4cd4a6f3
style: internal/proto
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
Mrs4s
d7c66bf26a
feat: FetchChannelInfo 2021-11-11 17:51:59 +08:00
Mrs4s
c8b4e19b19
feat: ChannelService.GetUserProfile & pull self guild profile on login 2021-11-06 16:01:34 +08:00
Mrs4s
ddf1e5e371
update ipad protocol to v8.8.35 2021-11-06 00:39:00 +08:00
Mrs4s
18c0d17be5
update android phone protocol to v8.8.38 2021-11-06 00:20:41 +08:00
Mrs4s
6570d10dc4
feat: connection quality test. 2021-10-16 16:12:33 +08:00
wdvxdr
fd9a6657fa
drop dep jsoniter&reflect2.
for smaller binary size.
2021-08-25 16:16:08 +08:00
wdvxdr
cb396f0f56
refactor(message): ForwardMessage don't impl IMessageElement interface
use ForwardMessage to upload and get the ForwardElement.
2021-08-03 15:36:20 +08:00
github-actions[bot]
16d3be0139 ci(chore): Fix stylings 2021-07-17 14:25:43 +00:00
Mrs4s
d6a47cb6c0
feat: customize the device by client. 2021-07-17 22:24:53 +08:00
wdvxdr
7fe0b873c3
fix some issue with golangci-lint. 2021-07-15 21:33:30 +08:00
wdvxdr
8f4a2f6c3a
fix: private message uid 2021-05-31 17:58:34 +08:00
Mrs4s
4846cee0ef
fix: device config load. 2021-05-03 15:11:58 +08:00
Mrs4s
f2530cc66b
feat: qidian protocol support. 2021-05-03 14:43:39 +08:00
wdvxdr
2e64a6913d
zap: reuse some []byte
优化单线程上传内存使用
2021-04-15 21:36:14 +08:00