|
637ea46b9a
|
[Fix] MiraiMessageEvent 修复群消息事件错误设置私聊Sender的问题;
|
2020-06-01 21:02:46 +08:00 |
|
|
f5140a7a1e
|
[Change] SpringCQMessageSenderFactory 尝试通过ThreadLocal获取当前处理的CoolQ对象, 目前EventExecutor暂不支持, 仅预留;
[Change] CQPluginMain 调整'processMessage'方法修饰符, 补充Javadoc;
|
2020-06-01 20:15:59 +08:00 |
|
|
0fafddc715
|
[Change] AdultContentDetector, PixivURL 整理代码, 补充Javadoc;
|
2020-06-01 16:12:33 +08:00 |
|
|
4c03a0f7d9
|
[Change] HotDataCacheStore 调整'supportedList'的条件, HotDataCacheStore将支持使用ListCacheStore;
[Change] AutoSender 将AutoSender的messageSender增加final属性;
|
2020-06-01 16:01:17 +08:00 |
|
|
ee02072b2d
|
[Deprecated] PixivURL 将旧版Search接口设为弃用;
|
2020-06-01 15:58:54 +08:00 |
|
|
3f6c87da3c
|
[Add] MiraiMain 增加对临时消息的支持;
[Change] MiraiMessageEvent 调整消息对象转换的方式, 通过静态方法转换Mirai的MessageEvent;
|
2020-06-01 15:55:31 +08:00 |
|
|
5a81604d94
|
[Change] BotCommandProcess 调整'色图'命令处理方法的命名;
|
2020-05-26 14:31:12 +08:00 |
|
|
fe8bf16d3a
|
[Clean] RandomRankingArtworksSender 清理无用导入;
[Change] AutoCleanTimer 统一LoggerName名称;
|
2020-05-25 20:23:14 +08:00 |
|
|
99c66babec
|
[Add] BotEventHandler 增加对'Sender.sendMessage(String)'返回值的处理;
|
2020-05-25 09:45:09 +08:00 |
|
|
cb8b01fd74
|
Merge branch 'master' of github.com:LamGC/ContentGrabbingJi
|
2020-05-25 09:25:49 +08:00 |
|
|
1f48b3ffdc
|
[Change] MessageSender, MessageEvent 允许'senderMessage(String)'抛出异常;
[Change] RandomRankingArtworksSender 调整异常捕获日志输出;
[Change] MiraiMessageEvent, MiraiMessageSender, SpringCQMessageEvent 适配更改;
|
2020-05-25 09:21:46 +08:00 |
|
|
68feed8d3c
|
Merge remote-tracking branch 'origin/master'
|
2020-05-22 23:09:39 +08:00 |
|
|
a3376e96ee
|
[Add] BotCommandProcess, BotEventHandler, PixivDownload 对作品Id不存在的情况做出反应(而不是作为内部异常反馈);
|
2020-05-22 20:39:49 +08:00 |
|
|
33d18cef6b
|
Merge remote-tracking branch 'origin/master'
|
2020-05-22 20:34:32 +08:00 |
|
|
7aa00ff98b
|
[Fix] BotCommandProcess 修复ImageStore不允许使用软链接的问题;
|
2020-05-22 20:34:15 +08:00 |
|
|
e956e36584
|
[Fix] RankingUpdateTimer 修复首次执行时间计算错误的问题;
|
2020-05-22 20:23:46 +08:00 |
|
|
8e27221457
|
[Change] BufferMessageEvent 调整成员变量修饰符, 补充新的构造方法'<init>(int, int, String)';
|
2020-05-22 08:49:48 +08:00 |
|
|
a5fca68ef5
|
[Change] MessageEventExcutionDebugger 在配置文件无法转换的情况下不再忽略'NumberFormatException'异常;
|
2020-05-20 15:31:43 +08:00 |
|
|
461cd246d8
|
[Add] BotCommandProcess 新增'色图'功能以随机从排行榜中获取一张图片;
[Add] BufferMessageEvent 增加用于获取Sender发送内容的Event实现;
[Change] BotEventHandler Handler现在允许命令处理方法不返回消息(返回'null');
|
2020-05-20 09:55:50 +08:00 |
|
|
f040f130d7
|
[Update] Main, AutoArtworksSender, ImageCacheStore, PixivAccessProxyServer, PagesQualityParser 整理代码问题, 删除无用类;
|
2020-05-20 09:05:50 +08:00 |
|
|
1f402fbbac
|
[Change] LocalHashCacheStore 实现'Cleanable'接口, 增加'<init>(int, int, boolean)'构造函数以允许自动清理
[Update] LocalHashCacheStore 补充Javadoc内容;
[Update] .gitignore 补充并整理忽略项;
|
2020-05-20 08:56:27 +08:00 |
|
|
f7f3c3beaf
|
[Fix] BotCommandProcess 修复help命令中帮助信息的错误;
|
2020-05-17 19:38:17 +08:00 |
|
|
d993e9d719
|
[Add] MiraiMessageSender 增加对默认表情的支持;
|
2020-05-12 15:25:29 +08:00 |
|
|
60e91987d1
|
Merge branch 'mirai'
|
2020-05-12 15:14:58 +08:00 |
|
|
65392fc2fe
|
[Fix] net.mamoe:mirai-core, net.mamoe:mirai-core-qqandroid 更新Mirai-Core版本号以修复VerifyError问题(1.0-RC2 -> 1.0-RC2-1);
[Fix] MiraiMessageSender 调整日志输出, 以修复日志打印处理后消息顺序混乱的问题;
|
2020-05-12 15:14:28 +08:00 |
|
|
d38934a0f4
|
[Change] RankingUpdateTimer 调整时间补齐的阀值(12:00 -> 11:30);
[Add] documents/interfaces/* 整理部分Pixiv接口的文档;
|
2020-05-12 15:03:08 +08:00 |
|
|
7943357d96
|
[Fix] MiraiMain 修复未登录时异常退出, 抛出NPE的问题;
|
2020-05-11 12:16:35 +08:00 |
|
|
a170ff040b
|
[Update] net.mamoe:mirai-core, net.mamoe:mirai-core-qqandroid 更新依赖项版本(0.39.4 -> 1.0-RC2);
[Update] MiraiMain, MiraiMessageEvent 适配mirai新版本;
[Change] MiraiMessageSenderFactory 增加参数检查并优化过程;
[Change] MiraiMain 显性指定Mirai所用协议为'BotConfiguration.MiraiProtocol.ANDROID_PAD';
|
2020-05-11 11:36:37 +08:00 |
|
|
cb2ebfdb73
|
[Change] MessageEvent 对消息内容删除首尾空格以提高用户体验性;
|
2020-05-09 23:13:53 +08:00 |
|
|
66b22c543a
|
[Fix] SettingProperties 修复了配置文件无法创建, 导致无法保存配置的问题;
[Fix] Main 修复了潜在的文件创建失败的问题;
|
2020-05-09 22:54:32 +08:00 |
|
|
597aac4e95
|
[Fix] BotCommandProcess 修复部分指令无法使用群组配置的问题;
|
2020-05-09 22:35:21 +08:00 |
|
|
c06b8717c3
|
[Add] CacheStoreUtils 增加用于缓存库的工具类;
[Update] BotCommandProcess 补充注释, 优化"info"命令输出内容的格式;
|
2020-05-09 22:19:29 +08:00 |
|
|
40057c3683
|
[Fix] Issue #1 修复了ImageCache对重复缓存请求的策略(忽略并返回)导致的后续处理发生NPE的问题;
[Update] ImageCache 更新了ImageCache, 将该部分单独分离到 ImageCacheStore;
[Update] BotCommandProcess 适配新的ImageCache, 调整内容检查的时机以减少不必要的API访问;
|
2020-05-09 18:16:16 +08:00 |
|
|
4beb4d78fb
|
[Fix] BotCommandProcess 修复Search命令格式不正确的问题;
|
2020-05-09 12:52:15 +08:00 |
|
|
d9edaa681f
|
[Add] BotAdminCommandProcess 为 addPushGroup 增加参数检查;
|
2020-05-09 10:10:48 +08:00 |
|
|
7b52abde60
|
[Change] BotCommandProcess 增加Search命令的反馈内容(可能必须要QQ支持长文本才能使用);
|
2020-05-08 23:31:24 +08:00 |
|
|
2cb4fe1dbc
|
[Fix] SettingProperties 修复无法设置全局配置项的问题;
|
2020-05-08 12:23:43 +08:00 |
|
|
5830327dad
|
[Add] BotEventHandler 增加禁言记录, 防止应用因过多的在禁言状态反馈导致被封号;
[Update] MiraiMain 适配禁言记录功能;
|
2020-05-07 19:46:54 +08:00 |
|
|
cbd10ff281
|
[Fix] Issue #4 修复因Mirai API变动导致应用无法从消息获取ImageId的问题;
|
2020-05-07 18:24:09 +08:00 |
|
|
84b8006f89
|
[Change] RankingUpdateTimer 将定时更新时间调整为"+8 11:30", 并增加日期指定;
|
2020-05-07 15:21:05 +08:00 |
|
|
d32d891ad7
|
[Update] BotCommandProcess 补充Javadoc内容;
[Add] BotCommandProcess 在Ranking命令增加force参数以允许强制查询预计不在排行榜范围的日期;
|
2020-05-07 11:29:31 +08:00 |
|
|
aabd35ce71
|
[Add] AutoCleanTimer, Cleanable 增加缓存库自动清理;
[Update] HotDataCacheStore 增加对自动清理的支持;
[Change] RedisPoolCacheStore 将Redis缓存库抽象类设为default(原public);
[Change] MiraiMessageSender, BotCommandProcess 适配HotDataCacheStore的修改;
[Change] BotCommandProcess 调整ranking命令的输出格式;
|
2020-05-07 10:26:11 +08:00 |
|
|
cb42aadb15
|
[Fix] SettingProperties 修复在初次设置群组配置时未创建该群组所属Properties导致NPE的问题;
[Update] BotAdminCommandProcess 更新日志内容及命令返回信息;
[Change] BotCommandProcess 调整配置项key格式;
|
2020-05-06 10:55:32 +08:00 |
|
|
b969bb29b2
|
Merge branch 'master' into add-MultiProperties
|
2020-05-06 10:18:00 +08:00 |
|
|
edade24883
|
[Change] Issue #2 调整Logger Name以统一Logger Name格式;
|
2020-05-06 09:34:28 +08:00 |
|
|
34f57404ca
|
[Update] 重构Setting Properties, 使其支持分群配置;
|
2020-05-06 00:57:48 +08:00 |
|
|
99b6e14ff7
|
[Change] RandomIntervalSendTimer 调整日志输出内容;
|
2020-05-05 17:09:45 +08:00 |
|
|
49a33d4078
|
[Add] MessageEventExecutionDebugger 添加对消息处理的调试器Enum;
[Add] BotEventHandler 添加对 MessageEventExecutionDebugger 的支持;
[Add] VirtualLoadMessageEvent 增加 toVirtualLoadMessageEvent(MessageEvent) 方法;
|
2020-05-05 01:27:10 +08:00 |
|
|
cd1d2316ee
|
[Add] BotEventHandler 添加executeMessageEvent(MessageEvent)方法;
[Change] BotEventHandler 将BotEventHandler.executor设为private;
[Change] MiraiMain, CQPluginMain, RankingUpdateTimer 适配BotEventHandler的调整
|
2020-05-04 23:06:07 +08:00 |
|
|
cf08353ed9
|
[Change] BotEventHandler 调整事件处理线程池的线程数(min: 4, Max: 32);
|
2020-05-04 22:52:47 +08:00 |
|
|
bef6a684b9
|
[Change] BotEventHandler 调整事件处理线程池的线程数;
|
2020-05-04 22:46:06 +08:00 |
|
|
40c5284be2
|
[Change] Dockerfile.sample 调整构建指令顺序以充分利用构建缓存;
[Fix] Main 修复SystemProperties设置null抛出NPE的问题;
|
2020-05-04 17:07:39 +08:00 |
|
|
fe213deecb
|
[Change] Main 调整参数的接收形式;
[Fix] Dockerfile.sample 修复Java应用无法接收stop命令发送信号的问题;
[Change] RankingUpdateTimer 调整更新投递形式, 将同步更新调整为异步更新;
[Change] BotEventHandler 实装TimeLimitThreadPoolExecutor;
|
2020-05-04 02:07:46 +08:00 |
|
|
f279d99fda
|
[Add] TimeLimitThreadPoolExecutor 增加一个带有执行时间限制的线程池及对应单元测试类;
|
2020-05-04 02:04:59 +08:00 |
|
|
a09aef5be2
|
[Delete] 删除已完成或已经没有存在意义的TODO;
|
2020-05-02 10:40:11 +08:00 |
|
|
84b544cea9
|
[Change] Main 调整日志输出级别, 补充日志输出内容;
[Change] Dockerfile.sample 调整镜像内应用运行路径;
|
2020-05-01 22:28:15 +08:00 |
|
|
2f492f5b03
|
[Add] log4j2.xml, log4j2-test.xml 添加允许指定日志存储目录的功能(sys:cgj.logsPath);
|
2020-05-01 13:19:08 +08:00 |
|
|
15af939c3f
|
[Fix] PixivDownload 修复因排行榜总量的不确定导致排行榜获取异常的问题;
[Change] BotEventHandler 调整事件处理完成后的日志输出形式;
|
2020-04-30 19:08:34 +08:00 |
|
|
a28cb142b4
|
[Change] 调整数据存储的路径设置及存储目录参数名;
|
2020-04-30 17:51:57 +08:00 |
|
|
fba6d3532c
|
[Delete] 删除不再使用的类和方法;
[Update] 优化Javadoc并设置编译注解, 优化代码;
[Change] 调整部分日志的输出级别;
[Change] RedisPoolCacheStore clear方法将根据返回信息确定是否清空成功;
[Change] Dockerfile.sample 调整镜像构建步骤;
|
2020-04-30 02:23:31 +08:00 |
|
|
0075446412
|
[Fix] MiraiMessageSender 修复因BotCode-Image中flashImage参数不存在导致NPE的问题;
|
2020-04-30 01:54:27 +08:00 |
|
|
7f83b16118
|
[Add] Main 添加日志输出内容;
|
2020-04-29 23:44:38 +08:00 |
|
|
22a113ef38
|
[Change] 调整CGJ包结构, 将机器人平台相关类单独存放在framework包内;
|
2020-04-28 23:15:55 +08:00 |
|
|
6824b12e8f
|
[Add] MiraiMessageSender 增加对闪照的支持;
|
2020-04-28 10:57:17 +08:00 |
|
|
1c556c5b94
|
[Update] MiraiMessageSender 对已上传的图片所属ImageId设置10天有效期;
|
2020-04-28 00:32:40 +08:00 |
|
|
dbc9f4c90b
|
[Fix] BotCommandProcess 修复了通过缓存获取排行榜时排行榜从第2名开始读取的bug;
[Update] MiraiMain, MiraiMessageSender, MiraiMessageEvent 更新Mirai框架(0.32.0 -> 0.39.4)并适配框架新版本的变动;
|
2020-04-28 00:19:24 +08:00 |
|
|
d3c1975722
|
[Fix] PixivURL 修复由于智障修复导致的bug;
|
2020-04-27 23:26:22 +08:00 |
|
|
ca479ef1af
|
[Change] log4j2.xml 调整SYSTEM_OUT控制台输出配置;
|
2020-04-27 14:06:33 +08:00 |
|
|
c2c49d2355
|
[Add] PixivDownload 增加对排行榜获取失败抛出异常的信息;
[Fix] PixivURL.RankingContentType 修复isSupportedMode判断错误的问题;
[Fix] RankingUpdateTimer 调整每日更新时间(12:10 -> 12:30)以尝试修复排行榜更新时机过早的问题;
|
2020-04-27 12:32:25 +08:00 |
|
|
22e74e8cd5
|
[Add] PixivIllustType 增加了对IllustInfo的解析;
|
2020-04-26 15:53:39 +08:00 |
|
|
d549c5674d
|
[Update] BotCommandProcess 补充Javadoc;
[Change] PixivUgoiraBuilder 调整日志输出级别;
|
2020-04-26 15:45:23 +08:00 |
|
|
c6952de84c
|
[Add] log4j2-test.xml 增加测试运行时的日志配置文件;
[Add] pom.xml 设置package goal的文件排除项, 将测试运行所使用的日志配置文件(log4j2-test.xml)排除;
|
2020-04-25 17:07:13 +08:00 |
|
|
410d6c0828
|
[Add] BotAdminCommandProcess, PixivDownload 增加日志输出内容;
[Change] RandomIntervalSendTimer 对AutoSender增加异常捕获以减少对其他Timer执行的影响;
|
2020-04-25 17:02:01 +08:00 |
|
|
aaa1bc932b
|
[Add] RandomRankingArtworksSender 增加参数;
[Add] BotAdminCommandProcess 增加更多可自定义的参数项, 增加json配置项常量;
|
2020-04-25 02:29:38 +08:00 |
|
|
a1e54e70d9
|
[Change] PixivURL 调整RankingContentType.ALL名称(ALL -> TYPE_ALL);
[Add] PixivDownload 增加调试日志信息;
[Fix] RandomIntervalSendTimer 修复cancel方法无法停止定时器的问题;
|
2020-04-24 23:54:26 +08:00 |
|
|
16522155e1
|
[Add] 通过增加参数信息来为命令方法提供来源群和来源QQ;
|
2020-04-24 23:52:05 +08:00 |
|
|
5f796f7da0
|
[Update] BotCommandProcess 更新帮助信息, 补充Javadoc, 调整命令名;
[Change] RandomIntervalSendTimer 将下一执行时间从分钟调整为具体时间;
[Change] MessageEvent toString方法调整为输出具体实现类名而不是"MessageEvent";
|
2020-04-24 10:45:03 +08:00 |
|
|
5a52dd9208
|
[Add] 初步添加成人内容检测器, 尚未使用;
|
2020-04-24 01:42:47 +08:00 |
|
|
b53aafa81b
|
[Fix] RandomRankingArtworksSender 修复排行榜选取错误的问题;
[Add] RandomRankingArtworksSender 增加对rankingStart, rankingStop的范围选取检查;
[Update] RandomRankingArtworksSender 更新Javadoc;
|
2020-04-24 01:41:53 +08:00 |
|
|
0eadefa74f
|
[Add] BotAdminCommandProcess 完善作品报告管理功能;
[Add] BotCommandProcess 对Report增加报告时间;
|
2020-04-24 01:24:03 +08:00 |
|
|
4afa414725
|
[Add] CacheStore 增加keys, remove方法;
[Update] HotDataCacheStore, LocalHashCacheStore, RedisPoolCacheStore 适配CacheStore的更改;
|
2020-04-24 01:23:11 +08:00 |
|
|
0f202cb076
|
[Update] RedisPoolCacheStore 优化代码;
|
2020-04-24 00:42:41 +08:00 |
|
|
1f3d99ac10
|
[Add] BotCommandProcess 增加作品报告功能, 以允许用户主动报告不当作品;
[Update] 适配报告功能;
|
2020-04-24 00:34:50 +08:00 |
|
|
d33f4028d1
|
[Fix] BotEventHandler 修复无命令帮助信息无法发送的问题(前缀识别失效);
|
2020-04-24 00:33:51 +08:00 |
|
|
4020bbfea8
|
[Change] BotAdminCommandProcess 调整方法名, 增加提示信息;
|
2020-04-23 23:18:41 +08:00 |
|
|
19605a9401
|
[Add] BotEventHandler 增加启动预处理方法;
[Add] BotAdminCommandProcess 增加推送功能相关管理命令;
[Change] RandomIntervalSendTimer 调整Timer管理过程;
[Change] BotCommandProcess ranking方法对参数错误的处理调整为返回错误信息;
[Fix] RankingUpdateTimer 修复参数错误的问题;
|
2020-04-23 16:23:06 +08:00 |
|
|
73ae9a268b
|
[Add] MessageSenderBuilder, MessageSenderFactory 增加用于创建MessageSender而又与平台无关的Builder, 初步增加对应Factory;
|
2020-04-21 22:43:24 +08:00 |
|
|
620c3785ad
|
[Change] MessageSender 调整包路径;
|
2020-04-21 22:33:20 +08:00 |
|
|
2df5513727
|
[Change] BotEventHandler 修改命令前缀以防止错误的触发;
|
2020-04-20 01:35:02 +08:00 |
|
|
8798633c2c
|
[Fix] BotCommandProcess 修复排行榜数据选取错误的问题;
|
2020-04-20 01:33:30 +08:00 |
|
|
9dfc20a525
|
[Add] AutoSender 增加自动发送器接口;
[Add] RandomIntervalSendTimer 增加随机延迟自动发送器;
[Add] RecommendArtworksSender 增加随机排行榜作品发送器;
[Change] PixivDownload 重新开发 getRanking 方法;
|
2020-04-20 01:32:11 +08:00 |
|
|
dd88f2acab
|
[Update] MiraiMessageSender 增加新构造器, 补充Javadoc;
|
2020-04-19 23:58:33 +08:00 |
|
|
36460e4c34
|
[Add] MiraiMain 增加正常关闭过程;
|
2020-04-19 13:03:10 +08:00 |
|
|
084be3970a
|
[Change] 将各MessageEvent的消息发送部分分离成单独的MessageSender, 将MessageEvent依赖于对应的MessageSender;
|
2020-04-19 12:23:02 +08:00 |
|
|
11005b0f6c
|
[Add] BotCode 增加 getCodePattern 方法以允许其他类获取BotCode所使用的正则匹配表达式;
|
2020-04-19 12:20:58 +08:00 |
|
|
970be847a0
|
[Change] RankingUpdateTimer 调整更新时间(12:30 -> 12:10);
[Change] RankingUpdateTimer 调整日志级别, 补充日志输出信息;
|
2020-04-19 12:16:03 +08:00 |
|
|
09fa1bd2e8
|
[Add] MessageSource 将MiraiMessageEvent的MessageSource分离成独立的类;
[Change] SpringCQMessageEvent, MiraiMessageEvent 适配新的更改;
|
2020-04-19 01:34:45 +08:00 |
|
|
ae27141fea
|
[Add] MessageSender 增加消息发送器接口;
[Change] MessageEvent 实现 MessageSender 接口;
|
2020-04-19 01:00:52 +08:00 |
|
|
b328def8f9
|
[Change] BotCommandProcess 将isNoSafe方法公开;
[Change] MiraiMessageEvent 将UploadImage方法公开;
[Add] MiraiMessageEvent 增加MessageSource枚举类;
|
2020-04-19 00:31:24 +08:00 |
|
|
dbfed874c0
|
[Add] VirtualLoadMessageEvent 增加假负载消息事件, 该事件在消息发送上将没有操作, 纯属执行命令;
[Change] RankingUpdateTimer 调整排行榜更新方式, 利用假负载消息触发一次完全执行;
|
2020-04-18 01:15:04 +08:00 |
|