Commit Graph
100 Commits
Author SHA1 Message Date
Wesley F. Young f561c2b0fa refactor: rewrite switch with object mapping or if-else 2024-10-05 17:03:02 +08:00
Wesley F. Young d91b55faed update: log group name & sender nickname onto console 2024-10-01 11:01:32 +08:00
Wesley F. Young 4672930037 update: move to recallMsg(V2) 2024-09-07 23:28:35 +08:00
Seijo Cecilia 80facadd67 chore: fix prefer-const 2024-09-07 19:49:54 +08:00
Seijo Cecilia ba097dad23 update: recallMsgV2 2024-09-07 19:49:18 +08:00
Wesley F. Young 5174ff422d update: optimize message logging to console 2024-09-07 01:29:50 +08:00
Wesley F. Young 5c06751c3b fix: reference error 2024-09-07 00:04:35 +08:00
Wesley F. Young 269d0a06fe docs: deprecated features 2024-09-06 01:03:04 +08:00
Wesley F. Young b415c1a6d1 fix: file encoding 2024-09-04 23:26:55 +08:00
Seijo Cecilia 074ac15d0f rollback unlink -> unlinkSync 2024-09-04 15:50:23 +08:00
Seijo Cecilia d36a28fa81 update: normalize log 2024-09-04 15:47:14 +08:00
Wesley F. Young 4a11ebc9b9 Revert "chore: optimize vite.config.ts"
This reverts commit 6a0d592491.
2024-09-04 10:38:10 +08:00
Wesley F. Young d76a1305e7 chore: optimize import 2024-09-04 10:06:09 +08:00
Wesley F. Young 6a0d592491 chore: optimize vite.config.ts 2024-09-04 10:05:24 +08:00
Wesley F. Young 9898c2196d chore: optimize tsconfig.json 2024-09-04 00:29:55 +08:00
Wesley F. Young 41a8dc840f chore: completely comment onRecvSysMsg 2024-09-03 23:54:46 +08:00
Wesley F. Young c3eaae9d88 chore: optimize imports 2024-09-03 23:46:10 +08:00
Wesley F. Young 45603bb78c fix(docs): unexpected spaces 2024-09-03 15:48:08 +08:00
Wesley F. Young 595888128a release: 2.2.30
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-08-31 23:43:01 +08:00
Wesley F. Young f1643ac549 fix: get file way 01 get by msg & seq id 2024-08-31 20:30:42 +08:00
Wesley F. Young b5deb198de refactor: inline all NTQQXxxApi uses 2024-08-31 16:00:03 +08:00
Wesley F. Young 78452cf6a9 chore: clean code for webapi.ts 2024-08-31 14:18:11 +08:00
Wesley F. Young 4b4a784f56 chore: clean code for user.ts 2024-08-31 14:11:22 +08:00
Wesley F. Young 3e53cbcf8f chore: clean code for system.ts 2024-08-31 14:09:25 +08:00
Wesley F. Young f34740f1f0 chore: clean code for group.ts 2024-08-31 14:07:48 +08:00
Wesley F. Young b406bdfc37 chore: clean code for group.ts 2024-08-31 14:02:36 +08:00
Wesley F. Young 03c056702c chore: clean code for friend.ts 2024-08-31 13:53:30 +08:00
Wesley F. Young 9c5f3f1946 chore: clean code for collection.ts 2024-08-31 13:37:22 +08:00
Wesley F. Young b50d7c24e7 refactor: move CacheApi to cache.ts 2024-08-31 13:36:21 +08:00
Wesley F. Young f05cf68945 chore: clean code for file.ts 2024-08-31 13:35:29 +08:00
Wesley F. Young bee9095d6f release: 2.2.28
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-08-31 10:35:33 +08:00
Wesley F. Young 92f8eaaac9 fix: get file by msgId and elemId 2024-08-31 10:34:19 +08:00
Wesley F. Young f5e7288fe5 fix: report encoded msgId+elemId in upload event 2024-08-30 20:47:48 +08:00
Seijo Cecilia 214aa7b6e4 update(workflow): 'build' can only be triggered manually 2024-08-30 16:00:33 +08:00
Seijo Cecilia 5b5d5b41f5 build: snapshot-fix-get-file 2024-08-30 15:47:18 +08:00
Seijo Cecilia 23d613321e Revert "fix: arg3 no longer needed for downloadFileForModelId"
This reverts commit e1e4d038d9.
2024-08-30 15:41:50 +08:00
Wesley F. Young 0b6be0923f release: 2.2.27
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-08-30 12:02:50 +08:00
Wesley F. Young aba748ea13 Merge pull request #323 from LingLambda/main
fix: 规范 setSelfOnlineStatus 接口的参数命名
2024-08-30 11:55:22 +08:00
Wesley F. Young f1f1ac582d chore: optimize imports 2024-08-30 11:45:58 +08:00
Wesley F. Young 54a7cbc3f4 feat: go-cqhttp style group file apis 2024-08-30 11:44:15 +08:00
Wesley F. Young 578f518aaf fix: others invited by others 2024-08-30 10:04:48 +08:00
Wesley F. Young 077ba74b22 fix: missing parameter for file searching 2024-08-30 09:31:18 +08:00
Wesley F. Young 9f53bea02f fix: duplicate type definition 2024-08-29 22:30:19 +08:00
Wesley F. Young 737709f9e7 Merge remote-tracking branch 'origin/main' 2024-08-29 22:27:57 +08:00
Wesley F. Young 39477aa6a0 fix: try to fix '搜索名字模式' of GetFile 2024-08-29 22:27:51 +08:00
Wesley F. Young e1e4d038d9 fix: arg3 no longer needed for downloadFileForModelId 2024-08-29 21:21:45 +08:00
Wesley F. Young d2db4cf887 fix: 有笨蛋塞了 console.log 忘记删掉 2024-08-29 20:58:39 +08:00
Wesley F. Young 53475a6a0e fix: filter emoji un-like by operation 2024-08-29 18:15:52 +08:00
Wesley F. Young b4ec1ad6c0 Merge remote-tracking branch 'origin/main' 2024-08-29 17:10:27 +08:00
Wesley F. Young ef511a729d fix: solve export conflict 2024-08-29 17:10:14 +08:00
Wesley F. Young 275c4ce226 feat: GetGroupIgnoredNotifies 2024-08-29 17:08:36 +08:00
Wesley F. Young f05d0a9727 chore: run eslint 2024-08-29 08:37:10 +08:00
Wesley F. Young 04593e9d9a feat: code style 2024-08-29 00:28:53 +08:00
Wesley F. Young f99c82de4b fix: unexpected return in buddy req parsing 2024-08-28 19:32:07 +08:00
Wesley F. Young 56fa57ea02 refactor: rename createMsg -> createUniqueMsgId to prevent ambiguity 2024-08-28 19:03:19 +08:00
Seijo Cecilia 738eaf9de9 refactor: directory structure of core 2024-08-28 15:29:13 +08:00
Seijo Cecilia c483ccbbbc fix: ob11 config file location 2024-08-28 15:27:38 +08:00
Seijo Cecilia 0d65f846ae refactor: remove helper directory in onebot 2024-08-28 15:09:17 +08:00
Seijo Cecilia f47e75c423 refactor: make methods in event.ts instance methods 2024-08-28 15:02:44 +08:00
Wesley F. Young c008e58fb8 Merge remote-tracking branch 'origin/main' 2024-08-28 13:05:15 +08:00
Wesley F. Young 26e0f17bc5 feat: emoji like event from other to other 2024-08-28 13:05:02 +08:00
Wesley F. Young 6543f28bdb feat: proto files of messages 2024-08-28 13:04:27 +08:00
Wesley F. Young 3a03e455c6 refactor: extract emoji like parsing logic 2024-08-28 10:50:39 +08:00
Seijo Cecilia 3f2dcfbacc (partially) fix: 'throw' of exception caught locally 2024-08-27 15:05:51 +08:00
Seijo Cecilia 030192afeb Merge remote-tracking branch 'origin/main' 2024-08-27 14:00:05 +08:00
Seijo Cecilia c8b6a158f1 chore: optimize imports 2024-08-27 13:59:47 +08:00
Seijo Cecilia 6384b50bae chore: run eslint 2024-08-27 13:35:25 +08:00
Wesley F. Young 05b7a59f8d refactor: move version info into version.ts 2024-08-27 10:30:38 +08:00
Wesley F. Young 17e680f7af refactor: move all utility files to /common 2024-08-27 10:18:31 +08:00
Wesley F. Young 035d256d4e refactor: rename event-legacy -> event (currently in use) 2024-08-27 10:15:46 +08:00
Wesley F. Young 8939adf886 refactor: rename event -> event-v2 (not ready for use) 2024-08-27 10:14:55 +08:00
Wesley F. Young 027ffbffa6 chore: remove redundant eslint-disable 2024-08-27 10:05:23 +08:00
Seijo Cecilia 69380c9c73 Merge remote-tracking branch 'origin/main' 2024-08-26 16:27:43 +08:00
Seijo Cecilia 3d3759137c fix: remove redundant uid in GetStrangerInfo 2024-08-26 16:27:29 +08:00
Seijo Cecilia d1896da171 update: promise executor functions should not be async 2024-08-26 15:40:27 +08:00
Seijo Cecilia 0bc4f6fd96 refactor: enhanced type definition for other methods 2024-08-26 15:37:17 +08:00
Seijo Cecilia b16a429686 chore: reformat code style 2024-08-26 14:58:04 +08:00
Seijo Cecilia fa1d266696 Merge remote-tracking branch 'origin/main' 2024-08-26 14:36:41 +08:00
Seijo Cecilia d5dd2e9551 update: optimize entity factory (formerly converter.ts) 2024-08-26 14:36:10 +08:00
Seijo Cecilia 3f3d9cc6f1 refactor: move calls & clean code 2024-08-26 14:22:08 +08:00
Seijo Cecilia 4f98c0d045 refactor: make quick action apis instance methods 2024-08-26 14:14:49 +08:00
Seijo Cecilia c254441d40 Merge remote-tracking branch 'origin/main' 2024-08-26 14:01:21 +08:00
Seijo Cecilia 7aa0bd9b79 refactor: move all callNormalEvent calls to V2 substitutes 2024-08-26 14:00:48 +08:00
Wesley F. Young 7092894d22 refactor: normalize file names in common/utils 2024-08-26 12:48:45 +08:00
Wesley F. Young af6ac26664 chore: lint & style 2024-08-26 12:44:44 +08:00
Wesley F. Young a22ef67486 fix: type definition for json data 2024-08-26 12:39:32 +08:00
Wesley F. Young 7bb57cd78a fix: use allSettled instead of all when parsing raw message 2024-08-26 12:38:39 +08:00
Wesley F. Young 89b69bbdf8 Merge remote-tracking branch 'origin/main' 2024-08-26 12:02:47 +08:00
Wesley F. Young e21c779d06 refactor: enhanced type definition for callNormalEvent
类型体操,伟大,无需多言!
2024-08-26 12:02:41 +08:00
Wesley F. Young a71eddbed2 fix: reference error 2024-08-26 11:25:37 +08:00
Wesley F. Young bc62feb71b refactor: normalize naming 2024-08-26 10:04:31 +08:00
Wesley F. Young 0bba329999 refactor: make sendMsg(WithOb11UniqueId) an instance method 2024-08-26 09:34:51 +08:00
Wesley F. Young b1a1fdbeee refactor: rename all coreContext -> core 2024-08-26 09:19:50 +08:00
Wesley F. Young 542c5beb1b chore: suppress type check 2024-08-26 09:09:33 +08:00
Seijo Cecilia 670d4108e6 fix: typo 2024-08-25 20:46:20 +08:00
Seijo Cecilia a5c7b88a40 fix: createSendElements reference 2024-08-25 20:46:03 +08:00
Seijo Cecilia e52b2e6d69 fix: createSendElements reference 2024-08-25 20:00:14 +08:00
Seijo Cecilia e4066fb8df refactor: completely remove genMessage.ts 2024-08-25 19:53:20 +08:00
Seijo Cecilia f7a0fb22b4 refactor: make SendMsg a single file again 2024-08-25 19:45:14 +08:00
Seijo Cecilia cad2ae723c refactor: normalize method name 2024-08-25 19:43:41 +08:00