|
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 |
|
|
f02b0e9e98
|
[Update] 补充Javadoc, 设置@SuppressWarning注解;
|
2020-04-18 01:13:01 +08:00 |
|
|
260cfe3dd0
|
[Delete] MessageEvent 删除可能会导致兼容性降低的未使用方法;
[Delete] MiraiMessageEvent, SpringCQMessageEvent 适配 MessageEvent 的更改;
|
2020-04-17 18:29:59 +08:00 |
|
|
c1427379c6
|
[Add] StringListRedisCacheStore 增加类型为String的RedisListCacheStore实现;
[Change] BotCommandProcess 更换pagesCache的缓存组件(RedisPoolCacheStore<List<String>> -> StringListRedisCacheStore);
|
2020-04-17 18:25:48 +08:00 |
|
|
f844d150e8
|
[Change] 更改artifactId(CGJ_2 -> ContentGrabbingJi);
|
2020-04-17 17:46:42 +08:00 |
|
|
2ec696b3cd
|
[Change] PreLoadDataComparator Attribute类属性attrName访问权修改(default -> public);
|
2020-04-17 17:46:01 +08:00 |
|
|
c8c6dbe4fd
|
[Update] 优化Logger名称;
[Update] 为 processMessage(MessageEvent) 方法增加 @SuppressWarnings("unused") 注解并补充Javadoc;
|
2020-04-17 17:20:37 +08:00 |
|
|
4dff477ded
|
[Change] log4j2.xml 调整Root Logger最低日志级别(Debug -> Info);
|
2020-04-17 15:54:13 +08:00 |
|
|
0ab5634ce3
|
[Update] MiraiMain 将登录密码形式由明文文本更改为Md5以加强机器人在服务端的安全性;
[Update] pom.xml 版本号升级(1.0-SNAPSHOT -> 2.1.0);
|
2020-04-17 15:52:58 +08:00 |
|
|
3e4b7f1145
|
[Update] BotCommandProcess 对IllustPreLoadData更换缓存组件(JsonRedisCacheStore -> HotDataCacheStore);
[Update] BotCommandProcess 补充Javadoc;
|
2020-04-17 15:19:09 +08:00 |
|
|
ac38e1b5cf
|
[Change] CacheObject, LocalHashCacheStore 合并类;
|
2020-04-16 23:48:59 +08:00 |
|
|
d8d4784c0f
|
[Update] HotDataCacheStore 补充Javadoc细节;
|
2020-04-16 22:49:15 +08:00 |
|
|
99cdfb7598
|
[Change] SpringCQMessageEvent 更新 getImageUrl 具体实现, 首选BotCode中url地址;
[Change] BotEventHandler 调整initial代码;
|
2020-04-16 20:38:04 +08:00 |
|
|
9f58e186d5
|
[Update] SpringCQMessageEvent 适配 getImageUrl 方法;
|
2020-04-16 20:20:29 +08:00 |
|
|
0e182be31c
|
[Add] MessageEvent 增加 getImageUrl 抽象方法, 增加对 toString 方法的重写;
[Update] MessageEvent 补充Javadoc;
[Update] MiraiMessageEvent 适配 getImageUrl 方法;
[Change] MiraiMessageEvent 优化缓存存取过程;
|
2020-04-16 19:55:48 +08:00 |
|
|
006352679a
|
[Change] ImageCacheHandler 将缓存键名从downloadLink更改为fileName;
[Change] PixivUgoiraBuilderTest 暂时设置单元测试忽略以关闭耗时的测试, 加快构建速度;
|
2020-04-16 17:12:24 +08:00 |
|
|
4304cfcef2
|
[Add] URLs 增加一个工具类;
|
2020-04-16 17:10:12 +08:00 |
|
|
5ad2a56ce2
|
[Add] BotCommandProcess 将 getImageById 中用于构造BotCode的代码分离到 getImageToBotCode 方法;
[Add] PreLoadDataComparator 增加新的比较器, 主要用于对Pixiv搜索结果的排序;
[Change] BotCommandProcess 重写 getImageById 方法以提高处理效率;
[Change] BotCommandProcess 将 search 方法对搜索结果的排序抽出到新的Comparator实现类(PreLoadDataComparator);
|
2020-04-16 16:51:25 +08:00 |
|
|
2af3c20a21
|
[Change] PixivDownload 调整日志输出内容和级别;
[Add] PixivDownload 增加 PixivDownload#getRanking(List<JsonObject>, int, int);
|
2020-04-16 11:01:52 +08:00 |
|
|
7468777b1d
|
[Change] Main, PixivUgoiraBuilder 调整日志输出;
|
2020-04-16 10:59:53 +08:00 |
|
|
b720f657d0
|
[Change] 将部分CacheStore对象的类型调整为CacheStore<>以保证DIP, 增加灵活性;
[Change] 将Ranking缓存调整为JsonObjectRedisListCacheStore, 减少不必要的缓存数据查询;
|
2020-04-16 10:59:18 +08:00 |
|
|
c0c9a2d299
|
[Add] 增加Redis List的支持, 可通过List存储缓存项;
[Add] 增加支持JsonObject类型的RedisListCacheStore;
|
2020-04-16 10:53:57 +08:00 |
|
|
66d3d0aa31
|
[Change] 适配PixivURL的修改(#ad1922bc);
[Add] 增加用于通过接口返回数据判别作品类型的PixivIllustType Enum类;
|
2020-04-15 21:54:30 +08:00 |
|
|
450705b540
|
[Add] BotEventHandler 增加对消息的日志记录;
[Delete] BotEventHandler 移除无用代码;
|
2020-04-15 15:13:00 +08:00 |
|
|
a26762d96b
|
[Change] 完成包路径调整;
[Change] 调整部分日志输出级别;
[Add] ranking 方法增加对过早日期的过滤, 以拦截非法请求;
[Change] globalProp 从 CQPluginMain 迁移到 BotCommandProcess;
[Update] 优化缓存失效时的数据存取过程;
[Fix] 修复 search 方法对结果进行likeCount排序遇到特殊JsonObject时抛出异常的问题;
[Update] getRankingInfoByCache 对因接口返回无效导致的空缓存增加浮动有效时间;
[Delete] getRankingInfoByCache 删除无用代码;
|
2020-04-15 15:09:14 +08:00 |
|
|
46b2c1078b
|
[Add] 增加com.squareup:gifencoder依赖项以用于处理Pixiv动图;
[Update] 整理文件内的注释内容;
|
2020-04-15 14:58:43 +08:00 |
|
|
ad1922bc94
|
[Change] 优化 PixivURL#getPixivIllustInfoAPI 方法的参数形式;
[Add] 增加用于获取动图元数据的接口地址;
[Add] 将"ajax/user/{userId}/profile/all"接口加入到PixivURL;
[Add] 重命名"ajax/user/{userId}/profile/top"接口常量名(PIXIV_USER_ILLUST_LIST_URL -> PIXIV_USER_TOP_ILLUST_LIST_URL);
|
2020-04-15 14:57:11 +08:00 |
|
|
428bb1ae16
|
[Add] 增加Pixiv动图下载构建工具类 PixivUgoiraBuilder;
[Add] 增加针对 PixivUgoiraBuilder 的单元测试类;
|
2020-04-15 14:52:46 +08:00 |
|
|
6570889c1e
|
[Add] 增加对 BotCode 的单元测试类;
|
2020-04-15 14:51:46 +08:00 |
|
|
0d1c651ff4
|
[Add] 增加测试下的日志配置文件;
|
2020-04-15 14:51:13 +08:00 |
|
|
8a3c3f10c5
|
[Change] PixivURL 调整常量名;
|
2020-04-14 11:08:05 +08:00 |
|
|
b06702f367
|
[Add] PixivSearchBuilder 增加equals, hashCode, toString方法的覆写;
[Update] PixivSearchBuilderTest 补充测试项;
|
2020-04-14 11:05:53 +08:00 |
|
|
ee1f066ee4
|
[Add] 增加PixivLoginProxyServer的支持;
|
2020-04-14 11:02:49 +08:00 |
|
|
579049b943
|
[Update] HotDataCacheStore 增加对CacheStore新增加方法的兼容;
|
2020-04-14 10:41:13 +08:00 |
|
|
e6c0633a5e
|
[Add] 增加toString方法的覆写, 以提供快速输出对象详情的功能;
|
2020-04-14 10:39:17 +08:00 |
|
|
5a50977be5
|
[Delete] 移除PixivLoginProxyServer类;
[Add] 导入PixivLoginProxyServer依赖库;
|
2020-04-14 10:38:32 +08:00 |
|
|
c9c8db7de9
|
[Add] CacheStore 增加对列表缓存的部分支持;
[Update] LocalHashCacheStore, RedisPoolCacheStore增加对CacheStore新增加方法的兼容;
[Add] RedisPoolCacheStore 增加executeJedisCommand方法以向子类提供覆盖重写重点方法的能力;
|
2020-04-14 10:37:07 +08:00 |
|