Seijo Cecilia
|
6ec9d998be
|
(partially) fix: 'throw' of exception caught locally
|
2024-08-27 15:05:51 +08:00 |
|
Seijo Cecilia
|
ab0c67eccc
|
Merge remote-tracking branch 'origin/main'
|
2024-08-27 14:00:05 +08:00 |
|
Seijo Cecilia
|
7247cdcb66
|
chore: optimize imports
|
2024-08-27 13:59:47 +08:00 |
|
Seijo Cecilia
|
f37b46b82b
|
chore: run eslint
|
2024-08-27 13:35:25 +08:00 |
|
Wesley F. Young
|
e85f0835e9
|
refactor: move version info into version.ts
|
2024-08-27 10:30:38 +08:00 |
|
Wesley F. Young
|
e3f6881af9
|
refactor: move all utility files to /common
|
2024-08-27 10:18:31 +08:00 |
|
Wesley F. Young
|
5332254e40
|
refactor: rename event-legacy -> event (currently in use)
|
2024-08-27 10:15:46 +08:00 |
|
Wesley F. Young
|
f9c430fb71
|
refactor: rename event -> event-v2 (not ready for use)
|
2024-08-27 10:14:55 +08:00 |
|
Wesley F. Young
|
4d07a2ceee
|
chore: remove redundant eslint-disable
|
2024-08-27 10:05:23 +08:00 |
|
Seijo Cecilia
|
725f70d2f6
|
Merge remote-tracking branch 'origin/main'
|
2024-08-26 16:27:43 +08:00 |
|
Seijo Cecilia
|
53fe00b740
|
fix: remove redundant uid in GetStrangerInfo
|
2024-08-26 16:27:29 +08:00 |
|
Seijo Cecilia
|
9263fa133f
|
update: promise executor functions should not be async
|
2024-08-26 15:40:27 +08:00 |
|
Seijo Cecilia
|
505a023031
|
refactor: enhanced type definition for other methods
|
2024-08-26 15:37:17 +08:00 |
|
Seijo Cecilia
|
7671174a96
|
chore: reformat code style
|
2024-08-26 14:58:04 +08:00 |
|
Seijo Cecilia
|
3ec0edfc60
|
Merge remote-tracking branch 'origin/main'
|
2024-08-26 14:36:41 +08:00 |
|
Seijo Cecilia
|
9ea5c413d3
|
update: optimize entity factory (formerly converter.ts)
|
2024-08-26 14:36:10 +08:00 |
|
Seijo Cecilia
|
e3e5a1bcdb
|
refactor: move calls & clean code
|
2024-08-26 14:22:08 +08:00 |
|
Seijo Cecilia
|
793071cdf1
|
refactor: make quick action apis instance methods
|
2024-08-26 14:14:49 +08:00 |
|
Seijo Cecilia
|
93c6750f39
|
Merge remote-tracking branch 'origin/main'
|
2024-08-26 14:01:21 +08:00 |
|
Seijo Cecilia
|
632c3aa1f2
|
refactor: move all callNormalEvent calls to V2 substitutes
|
2024-08-26 14:00:48 +08:00 |
|
Wesley F. Young
|
d902be8296
|
refactor: normalize file names in common/utils
|
2024-08-26 12:48:45 +08:00 |
|
Wesley F. Young
|
0fa7b27011
|
chore: lint & style
|
2024-08-26 12:44:44 +08:00 |
|
Wesley F. Young
|
82dc106606
|
fix: type definition for json data
|
2024-08-26 12:39:32 +08:00 |
|
Wesley F. Young
|
05f42bdfeb
|
fix: use allSettled instead of all when parsing raw message
|
2024-08-26 12:38:39 +08:00 |
|
Wesley F. Young
|
fa602f0175
|
Merge remote-tracking branch 'origin/main'
|
2024-08-26 12:02:47 +08:00 |
|
Wesley F. Young
|
f01eb40520
|
refactor: enhanced type definition for callNormalEvent
类型体操,伟大,无需多言!
|
2024-08-26 12:02:41 +08:00 |
|
Wesley F. Young
|
72416f7e17
|
fix: reference error
|
2024-08-26 11:25:37 +08:00 |
|
Wesley F. Young
|
e7f3cd9f84
|
refactor: normalize naming
|
2024-08-26 10:04:31 +08:00 |
|
Wesley F. Young
|
3237ceeb48
|
refactor: make sendMsg(WithOb11UniqueId) an instance method
|
2024-08-26 09:34:51 +08:00 |
|
Wesley F. Young
|
04fb771f42
|
refactor: rename all coreContext -> core
|
2024-08-26 09:19:50 +08:00 |
|
Wesley F. Young
|
a5f9e44ebb
|
chore: suppress type check
|
2024-08-26 09:09:33 +08:00 |
|
Seijo Cecilia
|
f3f51886b5
|
fix: typo
|
2024-08-25 20:46:20 +08:00 |
|
Seijo Cecilia
|
ef2b9527cb
|
fix: createSendElements reference
|
2024-08-25 20:46:03 +08:00 |
|
Seijo Cecilia
|
4ad62bf9be
|
fix: createSendElements reference
|
2024-08-25 20:00:14 +08:00 |
|
Seijo Cecilia
|
d849047c41
|
refactor: completely remove genMessage.ts
|
2024-08-25 19:53:20 +08:00 |
|
Seijo Cecilia
|
295919d8d6
|
refactor: make SendMsg a single file again
|
2024-08-25 19:45:14 +08:00 |
|
Seijo Cecilia
|
a795c6d512
|
refactor: normalize method name
|
2024-08-25 19:43:41 +08:00 |
|
Seijo Cecilia
|
58394074cc
|
fix: sync fixes in handling forwarded nodes
|
2024-08-25 19:43:01 +08:00 |
|
Seijo Cecilia
|
720e768dff
|
Merge branch 'main' into dev/RefactoredMsgParsers
|
2024-08-25 19:40:40 +08:00 |
|
Seijo Cecilia
|
444af84408
|
refactor: ob11 to raw message constructors
|
2024-08-25 19:38:35 +08:00 |
|
Seijo Cecilia
|
b2f03c429d
|
fix: from || to ??
|
2024-08-25 18:20:58 +08:00 |
|
Seijo Cecilia
|
a23c06025a
|
refactor: raw message parsers
|
2024-08-25 17:54:50 +08:00 |
|
Seijo Cecilia
|
5fab8e9815
|
Merge remote-tracking branch 'origin/main'
|
2024-08-25 10:14:42 +08:00 |
|
Seijo Cecilia
|
6992670418
|
refactor: make parseMessage an instance method
|
2024-08-25 10:14:11 +08:00 |
|
Wesley F. Young
|
6a377381aa
|
docs: update version range
|
2024-08-21 09:44:11 +08:00 |
|
Wesley F. Young
|
1b921f1d8e
|
docs: clarify version range
|
2024-08-19 16:17:33 +08:00 |
|
Seijo Cecilia
|
4baef7acce
|
Merge remote-tracking branch 'origin/main'
|
2024-08-14 22:04:38 +08:00 |
|
Seijo Cecilia
|
d567640bed
|
fix: plugin slug
|
2024-08-14 22:04:29 +08:00 |
|
Wesley F. Young
|
1c0084d24e
|
Merge pull request #256 from canxin121/main
typo: OB11InputStatusEvent event_type
|
2024-08-14 21:44:21 +08:00 |
|
Seijo Cecilia
|
31f4284262
|
docs: name, slug and description of plugin manifest
|
2024-08-14 20:11:06 +08:00 |
|
Wesley F. Young
|
d402467ad2
|
fix: no longer require admin when running after initialization
|
2024-08-13 16:09:15 +08:00 |
|
Wesley F. Young
|
50b698a63b
|
docs: copyright
|
2024-08-13 09:06:46 +08:00 |
|
Wesley F. Young
|
b9a3cad2a0
|
docs: plugin description
|
2024-08-13 09:02:50 +08:00 |
|
Wesley F. Young
|
ffb08bb876
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 17:53:45 +08:00 |
|
Wesley F. Young
|
308909be67
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/index.ts
|
2024-08-12 17:53:16 +08:00 |
|
Wesley F. Young
|
bc52b933b1
|
feat: new message logging using raw msg object
|
2024-08-12 17:52:27 +08:00 |
|
Wesley F. Young
|
108855f8d8
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 17:36:10 +08:00 |
|
Wesley F. Young
|
91690806a7
|
docs: add correct comments on fields
|
2024-08-12 17:07:22 +08:00 |
|
Wesley F. Young
|
046ee91d22
|
fix: constructor signature mismatch
|
2024-08-12 16:15:39 +08:00 |
|
Wesley F. Young
|
a12bae8b18
|
fix: make hostname localhost when the configured host is 0.0.0.0
|
2024-08-12 12:33:33 +08:00 |
|
Wesley F. Young
|
8f7de7c8a1
|
fix: hot reload
|
2024-08-12 12:29:40 +08:00 |
|
Wesley F. Young
|
c508fd5b05
|
fix & refactor: pass actions through constructor
|
2024-08-12 12:08:53 +08:00 |
|
Wesley F. Young
|
8fe82e0631
|
refactor: type definition for ActionMap
|
2024-08-12 11:35:17 +08:00 |
|
Wesley F. Young
|
d750e49490
|
feat: logging for hot reload
|
2024-08-12 11:20:48 +08:00 |
|
Wesley F. Young
|
721764cc18
|
feat: hot reload
|
2024-08-12 11:16:15 +08:00 |
|
Wesley F. Young
|
aefe5b0eb5
|
refactor: change method signature in legacy WebUi
|
2024-08-12 10:58:52 +08:00 |
|
Wesley F. Young
|
5dcaf67ef2
|
refactor: move Ob11Adapter to index.ts
|
2024-08-12 10:45:55 +08:00 |
|
Wesley F. Young
|
f24e19ee1d
|
fix: remove redundant sleep
|
2024-08-12 10:43:51 +08:00 |
|
Wesley F. Young
|
e8e4311476
|
docs: 语言中枢,你进化罢
|
2024-08-12 08:30:18 +08:00 |
|
Wesley F. Young
|
a9a035d399
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 08:20:39 +08:00 |
|
Wesley F. Young
|
c7b1a2c02d
|
fix: replace deprecated calls
|
2024-08-12 08:20:11 +08:00 |
|
Wesley F. Young
|
ac66482979
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 02:22:50 +08:00 |
|
Wesley F. Young
|
924ba4457b
|
fix: sleep before loading
|
2024-08-12 02:22:20 +08:00 |
|
Wesley F. Young
|
838f724aac
|
fix: auto retry of active ws
|
2024-08-12 02:12:18 +08:00 |
|
Wesley F. Young
|
19027556bd
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 01:13:36 +08:00 |
|
Wesley F. Young
|
3f078dbb31
|
chore: clean-up
|
2024-08-12 01:13:26 +08:00 |
|
Wesley F. Young
|
fd6c3e2e17
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 01:12:36 +08:00 |
|
Wesley F. Young
|
349ff6a2bb
|
fix: inherit logging level from config
|
2024-08-12 01:12:27 +08:00 |
|
Wesley F. Young
|
bfad79574b
|
fix: use constructor to pass config name
|
2024-08-12 01:08:55 +08:00 |
|
Wesley F. Young
|
c5df4de5dd
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 00:50:23 +08:00 |
|
Wesley F. Young
|
e78ca3f2bb
|
fix & refactor: no longer merge config data and loader; use static imports to represent config struct
|
2024-08-12 00:49:59 +08:00 |
|
Wesley F. Young
|
17aa7f7df8
|
chore: remove TODO since legacy WebUI has been compatible with shell
|
2024-08-12 00:32:10 +08:00 |
|
Wesley F. Young
|
df8c9e0642
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 00:27:40 +08:00 |
|
Wesley F. Young
|
e739fcd92e
|
refactor: move default config json files to inner folders
|
2024-08-12 00:27:14 +08:00 |
|
Wesley F. Young
|
6728c230d6
|
refactor: make ConfigBase abstract
|
2024-08-12 00:26:44 +08:00 |
|
Wesley F. Young
|
86fc7935e5
|
fix: core config name
|
2024-08-12 00:15:51 +08:00 |
|
Wesley F. Young
|
6c610ffaec
|
Merge remote-tracking branch 'origin/main'
|
2024-08-12 00:14:04 +08:00 |
|
Wesley F. Young
|
c6fb9f3bf1
|
chore: suppress type merging error
|
2024-08-12 00:09:05 +08:00 |
|
Wesley F. Young
|
d89ee67fc7
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/network/active-websocket.ts
|
2024-08-11 23:15:37 +08:00 |
|
Wesley F. Young
|
0212f5a14b
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/network/active-websocket.ts
|
2024-08-11 23:15:13 +08:00 |
|
Wesley F. Young
|
1ac8de35c9
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# src/onebot/network/active-websocket.ts
|
2024-08-11 23:13:15 +08:00 |
|
Wesley F. Young
|
85f1223caa
|
feat: implement ActiveHttp.open / close
|
2024-08-11 23:09:59 +08:00 |
|
Wesley F. Young
|
a0a81e70cc
|
feat: complete active websocket
|
2024-08-11 23:09:00 +08:00 |
|
Wesley F. Young
|
fe51c46bb8
|
chore: clean-up
|
2024-08-11 23:08:41 +08:00 |
|
Wesley F. Young
|
f91ab8b550
|
Merge remote-tracking branch 'origin/main'
|
2024-08-11 22:54:40 +08:00 |
|
Wesley F. Young
|
21ac538235
|
chore: fix indentation
|
2024-08-11 22:54:24 +08:00 |
|
Wesley F. Young
|
b71de4b489
|
Merge remote-tracking branch 'origin/main'
# Conflicts:
# .env.production
# README.md
# package.json
# src/common/utils/QQBasicInfo.ts
# src/core/src/apis/group.ts
# src/core/src/apis/msg.ts
# src/core/src/data.ts
# src/core/src/services/NodeIKernelMsgService.ts
# src/onebot/action/types.ts
# src/onebot11/action/extends/CreateCollection.ts
# src/onebot11/action/extends/Debug.ts
# src/onebot11/action/extends/FetchEmojioLike.ts
# src/onebot11/action/extends/GetCollectionList.ts
# src/onebot11/action/extends/GetRobotUinRange.ts
# src/onebot11/action/extends/OCRImage.ts
# src/onebot11/action/extends/SetGroupHeader.ts
# src/onebot11/action/extends/SetLongNick.ts
# src/onebot11/action/extends/SetOnlineStatus.ts
# src/onebot11/action/extends/SetQQAvatar.ts
# src/onebot11/action/extends/TestApi01.ts
# src/onebot11/action/extends/TranslateEnWordToZn.ts
# src/onebot11/action/file/DelGroupFile.ts
# src/onebot11/action/file/GetFile.ts
# src/onebot11/action/go-cqhttp/GetForwardMsg.ts
# src/onebot11/action/go-cqhttp/GetFriendMsgHistory.ts
# src/onebot11/action/go-cqhttp/GetGroupHonorInfo.ts
# src/onebot11/action/go-cqhttp/GetStrangerInfo.ts
# src/onebot11/action/go-cqhttp/SendGroupNotice.ts
# src/onebot11/action/go-cqhttp/UploadGroupFile.ts
# src/onebot11/action/go-cqhttp/UploadPrivareFile.ts
# src/onebot11/action/group/GetGroupEssence.ts
# src/onebot11/action/group/GetGroupList.ts
# src/onebot11/action/group/SetEssenceMsg.ts
# src/onebot11/action/group/SetGroupAddRequest.ts
# src/onebot11/action/group/SetGroupBan.ts
# src/onebot11/action/group/SetGroupKick.ts
# src/onebot11/action/index.ts
# src/onebot11/action/msg/DeleteMsg.ts
# src/onebot11/action/msg/ForwardSingleMsg.ts
# src/onebot11/action/msg/GetMsg.ts
# src/onebot11/action/msg/SendMsg/create-send-elements.ts
# src/onebot11/action/msg/SendMsg/handle-forward-node.ts
# src/onebot11/action/msg/SendMsg/index.ts
# src/onebot11/action/msg/SendPrivateMsg.ts
# src/onebot11/action/msg/SetMsgEmojiLike.ts
# src/onebot11/action/system/GetLoginInfo.ts
# src/onebot11/action/user/GetFriendList.ts
# src/onebot11/action/user/SendLike.ts
# src/onebot11/config.ts
# src/onebot11/constructor.ts
# src/onebot11/event/notice/OB11GroupAdminNoticeEvent.ts
# src/onebot11/event/notice/OB11InputStatusEvent.ts
# src/onebot11/log.ts
# src/onebot11/main.ts
# src/onebot11/version.ts
# src/webui/ui/NapCat.ts
|
2024-08-11 22:37:16 +08:00 |
|
Wesley F. Young
|
89e777f99e
|
refactor: inline getApiContext()
|
2024-08-11 19:10:42 +08:00 |
|
Wesley F. Young
|
e88c0346f3
|
fix: type
|
2024-08-11 18:41:48 +08:00 |
|
Wesley F. Young
|
d58d06c293
|
fix: add missing catches
|
2024-08-11 18:39:23 +08:00 |
|