Commit Graph

4751 Commits

Author SHA1 Message Date
Him188
162bc9113c Improve message event logs:
- Do not include MessageSource
- Treat MessageSyncEvent as a message sent by others
2021-01-23 03:09:04 +08:00
Him188
e2554f0ea6 Fix message results in internal impl 2021-01-23 02:58:22 +08:00
Him188
76459aca34 Remove ProtoBufWithNullableSupport.kt, use Kotlin's ProtoBuf instead, fix potential serialization problems 2021-01-23 01:29:34 +08:00
Him188
9b38b9a54d Avoid re-broadcasting MessagePostSendEvent for long messages 2021-01-23 00:28:14 +08:00
Him188
d60006376c Rewrite Group sendMessageImpl, improve current Highway impls, for music share #889 #682 and further friend message highway #194, #577 2021-01-23 00:09:35 +08:00
Him188
66ae897f20 Add ForwardMessageBuilder.add(MessageEvent) 2021-01-23 00:07:37 +08:00
Him188
c3ef19bde4 Update api 2021-01-22 13:46:00 +08:00
Him188
5a0b0e494e Fix forward message when wrapped in MessageChain 2021-01-22 13:42:55 +08:00
Him188
8dd3830a71 Fix build 2021-01-22 13:22:32 +08:00
Him188
1963b3768d Improve PlatformSocket:
- Close channels on close
- Interrupitable `connect`
- Cancel `raed` on continuation cancellation
2021-01-22 13:01:40 +08:00
Him188
bdfbe43271 Enable explicitApi for mirai-core, add notes for BotFactoryImpl 2021-01-22 11:25:01 +08:00
Him188
c7c83bcd03 Add BotConfiguration.autoReconnectOnForceOffline, close #835 2021-01-22 11:00:04 +08:00
sandtechnology
209b2b7616
Support decode the join request by member invite (#882)
* Support detect official bot, fix #439

* Fix wrong command name and add missed value

* Adapt to changed invite event

* Internal MessageData

* Fix build

* Fix wording

* Support decode the join request by member invite

* Fix shadow warning

* Fix build

* Adapt to MemberJoinEvent broadcast logic when accepted

* Downgrade blockingBridge version to 1.7.2 for passing build

* Fix binary compatibility

* Reformat code

* Update api

Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:48:10 +08:00
Karlatemp
c77f94cd52
UserProfile query (#866)
* UserProfile query

* zip vReq0x5ebFieldId

* Move UserProfile to `net.mamoe.mirai.data`

* Move `queryProfile` to high-level api

* Add doc

* Update UserProfile.kt

* Make UserProfile experimental

* Convert UserProfile.sex to enum

* Remove debugging code

* Dump apis

Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:47:57 +08:00
Eritque arcus
baa7eae6e7
Update README.md (#883)
https://github.com/project-mirai/awesome-mirai/pull/39#issuecomment-764169252
2021-01-21 15:51:28 +08:00
Him188
1629bbdacd Fix validator 2021-01-21 14:35:44 +08:00
Him188
2568e69c6c Update docs 2021-01-21 14:27:56 +08:00
Him188
8bf5b3f48a Generate api for mirai-core-api 2021-01-21 14:21:27 +08:00
Him188
f1c6677af9 Add binary compatibility validator 2021-01-21 14:20:43 +08:00
Him188
0a23efa113 Rollback blocking bridge version to 1.6.0 to test binary compatibility 2021-01-21 14:15:45 +08:00
Him188
7a9ffd3e8d Add copyright to .idea 2021-01-21 13:08:18 +08:00
Him188
d93627272f Merge devTagPublish.yml into bintray.yml 2021-01-21 11:02:13 +08:00
Him188
246f0aa3dd Bump blockingBridge version to 1.7.3 (with JvmOverloads fix) 2021-01-21 10:10:38 +08:00
Him188
d7b7813b63 2.1.0-dev-1 2021-01-21 10:09:27 +08:00
Him188
988794343b Improve buildscript, fix publication 2021-01-21 10:08:21 +08:00
Him188
aacd3c16e9 Merge remote-tracking branch 'origin/dev' into dev 2021-01-20 19:26:31 +08:00
Him188
6250f93408 Update blocking bridge to 1.7.2 2021-01-20 19:25:32 +08:00
sandtechnology
3a5d707417
Support detect official bot, fix #439 (#810)
* Support detect official bot, fix #439

* Fix wrong command name and add missed value

* Adapt to changed invite event

* Internal MessageData

* Fix build

* Fix wording
2021-01-20 19:20:24 +08:00
Him188
fdb22f1e5f
Merge pull request #876 from Geno1024/patch-2
(typo) Fix a manual index typo
2021-01-19 00:42:01 +08:00
Y. Z. Chen
6a43bebac7
(typo) Fix a manual index typo 2021-01-19 00:28:22 +08:00
Him188
73eb4813e5 Support joinTimestamp and lastSpeakTimestamp, fix #865, fix #394 2021-01-17 19:35:04 +08:00
Him188
4467f69110 Improve member impls 2021-01-17 19:34:40 +08:00
Him188
08badca2af Merge remote-tracking branch 'origin/dev' into dev 2021-01-17 18:44:44 +08:00
Him188
4b1e7be524 Ignore SystemMsgNewGroup subType=3 groupMsgType=5, fix #651 2021-01-17 18:43:54 +08:00
Him188
bb348930d8 Extract login subcommands to simplify WtLogin, add exchange_emp, #833 2021-01-17 18:32:43 +08:00
Karlatemp
cbae09bf4a
JceRequestSBufferBuilder 2021-01-17 17:42:02 +08:00
Him188
3098a7d953 Broadcast FriendAddEvent on acceptNewFriendRequest 2021-01-17 17:18:11 +08:00
Him188
45072c92d3 Broadcast MemberJoinEvent on acceptMemberJoinRequest, fix #641 2021-01-17 17:16:20 +08:00
Him188
42d5a11420 Fix dokka 2021-01-15 20:36:53 +08:00
Him188
884fa6180e
Update doc.yml 2021-01-15 18:17:44 +08:00
Him188
8a745d388c 2.0.0 2021-01-15 17:52:30 +08:00
Him188
27f0c73dc3 Remove deprecated declarations 2021-01-15 17:49:20 +08:00
Karlatemp
57463fddd8
mirai-login-solver-selenium 1.0-dev-14 2021-01-15 00:47:47 +08:00
Karlatemp
a992b61261
Improve MessageChainBuilder 2021-01-14 23:10:43 +08:00
Him188
1e55d15047 Fix potential SvcReqMSFLoginNotify (OtherClient online) decode failure 2021-01-14 18:11:53 +08:00
Him188
3b6b7ad377 Update docs 2021-01-14 18:05:33 +08:00
Him188
b49894a4f1 Merge remote-tracking branch 'origin/dev' into dev 2021-01-14 18:00:25 +08:00
Him188
ac7624dbad Update docs 2021-01-14 17:59:58 +08:00
Him188
10ef21dd91 Simplify internal implementation 2021-01-14 12:38:13 +08:00
Him188
067ab7c765 Replace deprecation calls internally 2021-01-14 12:28:00 +08:00