Commit Graph

8459 Commits

Author SHA1 Message Date
Him188
30b3472460
[build] Fix macOS CI, use pre-installed OpenSSL 2023-04-15 14:58:57 +01:00
Him188
5297beeaec
[build] Fix .editorconfig for new IJ 2023-04-15 14:58:57 +01:00
cssxsh
71e9de3608
[core] 支持获取群公告图片 URL (#2619)
* fix: announcement protocol

* add: api dump
2023-04-13 11:57:04 +01:00
cssxsh
50d37c484a
[core] Fix group active protocol (#2610) 2023-04-05 11:06:16 +01:00
Karlatemp
0a60c5147e
[build] Use project lazy instead of global lazy 2023-04-05 13:10:47 +08:00
Him188
460275fc0f
[core] Allow using helper to use TxCaptchaHelper in CLI LoginSolver 2023-04-04 21:15:27 +01:00
Him188
8b84bd0aa3
[core] Add 'file://' to file paths in logs in LoginSolver 2023-04-04 21:08:31 +01:00
Him188
c29fe9d244
[core] Remove useless limitation on QR query, fix QR login for overseas users 2023-04-04 21:08:31 +01:00
Karlatemp
ecbb9b2672
[core/logging] Drop control characters in message log 2023-04-04 17:02:25 +08:00
Him188
bddee1fd20
[idea] Update to IDEA 2023.1, plugin version 231-2.15.0-182-1
close #2606
2023-04-01 18:26:17 +01:00
Karlatemp
893fb3e9f6
[core] Make MessageSource.kind a member not extension 2023-03-29 22:53:11 +08:00
Karlatemp
9c77c22b32
[core] Mock private message source implementation 2023-03-29 22:53:10 +08:00
Karlatemp
89fa2f7ffb
[core] Fix private message source target 2023-03-29 22:53:09 +08:00
Karlatemp
b8321870aa
[core] Code style & comments update 2023-03-29 22:53:07 +08:00
Karlatemp
8d9c820a92
[core] Fix group roaming message fetching 2023-03-29 22:53:06 +08:00
Karlatemp
275d9f8f6e
[core] Fix replying unavailable member's message 2023-03-29 22:53:05 +08:00
Karlatemp
07164cc79b
[core] Fix group roaming message fetching 2023-03-29 22:53:04 +08:00
Karlatemp
8c5a22a14e
[core] Try to fix rand id fetching 2023-03-29 22:53:02 +08:00
Karlatemp
00486e7900
[core] Add internal message when failed to transform internal message to facade message 2023-03-29 22:53:01 +08:00
Karlatemp
ec5870e0b3
[core] Get group incoming message source raw data directly 2023-03-29 22:53:00 +08:00
Karlatemp
fe14600018
[core] Private quote reply decode 2023-03-29 22:52:59 +08:00
Karlatemp
648997b545
[core] Fix offline message source ids 2023-03-29 22:52:59 +08:00
Karlatemp
1169d7cf57
[core] Fix quote replying; Fix message source time 2023-03-29 22:52:58 +08:00
Eritque arcus
1a8af784dc
[mock] fix mockHonorMember (#2473)
* fix mirai-core-mock honorMember

* add comments

* manually fetch honor data

* update implement

* remove deprecated

* chore: update test cases

* improve style
2023-03-29 15:29:54 +01:00
Karlatemp
e2d7332ac0
[core] Add QRCodeLoginListener.onCompleted 2023-03-27 00:55:54 +08:00
微莹·纤绫
434ef0cc39
Tlv writer (#2569)
* [core] TlvMapWriter

* [core] bind tlv writing with writer

* [core] Add checking to avoid wrong nest writing

* [core] Drop Int.invoke

* [core] Merge with dev

* [core] Update style
2023-03-26 23:51:03 +08:00
Eritque arcus
48db1a022f
[Mock] Support image isUploaded (#2582)
* finish image mock isUploaded

* typo

* move MockService register

* update implement

* chore: format

* suppress remove redundant qualifier name

* format
2023-03-25 14:46:58 +00:00
sandtechnology
0f1bddcb24
[core] Fix token not saving after refresh token (#2590) 2023-03-25 14:08:20 +00:00
slarkerino
3b8534468d
docs: 新增Abp.Mirai C#库 (#2594)
Abp.Mirai 库是针对于mirai-api-http进行了二次封装的模块,与 ABP vNext 框架深度集成。开发人员如果是基于 ABP vNext 框架开发项目,集成本模块以后,可以快速实现同mirai-api-http的对接
2023-03-25 14:06:55 +00:00
cssxsh
b37fe6c2ed
update: protocol ANDROID_WATCH 2.0.8 (#2592) 2023-03-24 19:10:13 +00:00
NoMathExpectation
cb603adbfc
[console] 支持使用 json 保存与读取 PluginDataPluginConfig (#2498)
* Supports PluginData store with json format.

* Reformat code.
2023-03-22 15:36:54 +00:00
sandtechnology
baf9ee4bf7
[core] Add missed refresh token logic for OnlinePush.SidTicketExpired (#2584) 2023-03-22 03:01:43 +00:00
Him188
4238d00407
[build] Set Kotlin compiler back to 1.8.10
(Mistake by dca39f9b60)
2023-03-21 23:12:21 +00:00
Him188
b9ee2a8931
[core] Commonize BotConfiguration, simplify MPP hierarchy: (#2583)
* [core] Commonize BotConfiguration, simplify MPP hierarchy:

Move platform specific API to `AbstractBotConfiguration`

* Updates docs for AbstractBotConfiguration

* Add @since for AbstractBotConfiguration

* Mark AbstractBotConfiguration as not stable for inheritance
2023-03-21 23:06:27 +00:00
Him188
dca39f9b60
[build] Resolve compiler warnings in buildSrc 2023-03-21 20:52:07 +00:00
Him188
c74e9d2858
[build] Make mirai-core AbstractTest public, and add dependsOnCoreJvmTest in buildSrc 2023-03-21 18:12:04 +00:00
Him188
77132eee41
[build] Use snapshot version from build index 2023-03-21 16:29:33 +00:00
Him188
e3891c0388
[build] Map illegal chars in branch names for snapshot versions 2023-03-21 15:19:21 +00:00
sandtechnology
7e20883a08
[core] Fix OnlinePush.SidTicketExpired logic (#2563)
* Fix OnlinePush.SidTicketExpired logic

* Add missed responseCommandName
2023-03-21 15:00:26 +00:00
米可绫夏
fe649726f3
[docs] 完善了用户文档部分的内容 (#2541)
* 对 README 做了一丢丢改动

把用户和开发者部分的索引分开以便用户区分
调整了一点点细节

* 完善用户手册

补充了简单易懂的安装教程

* 规范 README 文档语法

* Apply suggestions from code review

Co-authored-by: Yurinann <1713574450@qq.com>
Co-authored-by: Him188 <Him188@mamoe.net>

* 规范了用户手册的文档内容

* 订正了一个空格错误

* 订正一个语法错误

* Update docs/UserManual.md

---------

Co-authored-by: Yurinann <1713574450@qq.com>
Co-authored-by: Him188 <Him188@mamoe.net>
2023-03-21 14:57:36 +00:00
cssxsh
f4fa2cabf4
[core] feat: essence message setting (#2314)
* feat: remove essence message

* feat: Essences

* add: share and remove

* fix: impl

* fix: arguments

* feat: image url to image

* add: doc

* fix: doc

* Copyright: 2023

* remove: method removeEssenceMessage

* feat: lazy load source

* add: no parse

* add: sendAndExpect try

* fix: remove throw

* fix: parse IMAGE_MD5_REGEX
2023-03-21 14:53:23 +00:00
cssxsh
c016b822e7
[core] 修复群公告查询已阅读人员列表只能获取前 50 个的问题 (#2530) 2023-03-21 14:45:42 +00:00
sandtechnology
28b1032acd
[core] Handle rare case on packet pipeline (#2450)
* Handle rare case on packet pipeline
Fix #2449, should help #1603

* Fix and improve tips and improve the readability of code

* Improve wording of tips

Co-authored-by: Him188 <Him188@mamoe.net>

* Change d2Key error type to PROTOCOL_UPDATED

* Reformat code

---------

Co-authored-by: Him188 <Him188@mamoe.net>
2023-03-21 14:43:48 +00:00
Him188
403380514a
[core] 更新 MiraiProtocol 注释, 注明 ANDROID_WATCH 不支持戳一戳, 删除 ANDROID_PAD 的错误注释 (#2572) 2023-03-21 14:01:46 +00:00
7aGiven
c0dbb59e99
[docs] 在文档注释手表协议不支持戳一戳事件 (#2572) 2023-03-21 14:00:29 +00:00
NoMathExpectation
64f80949ac
Fixed message sending ignoring modifies via MessagePreSendEvent. (#2525) 2023-03-21 13:10:47 +00:00
Him188
50a24582a7
[build] Run snapshot publishing jobs only in mamoe/mirai. Fix #2580 2023-03-19 16:27:51 +00:00
Him188
9b86d3be8f
[build] Encode URL parts to escape HTML chars for build-index 2023-03-19 15:03:23 +00:00
Him188
43b5e710ef
[mock] Fix mockUploadAudio always throws ISE, part of #2548 2023-03-19 12:28:35 +00:00
Him188
db3a0ad24a
[mock] Filter files for MockAbsoluteFolder.resolveFiles, part of #2548 2023-03-19 12:24:06 +00:00