Commit Graph

26 Commits

Author SHA1 Message Date
8b8ef7e744 [Change] Issue #12 调整框架启动机器人应用的方式, 增加一个用于机器人应用内部共享数据的类;
[Fix] BotEventHandler, ImageCacheStore 增加ShutdownHook用于关闭线程池, 解决线程池阻塞关闭过程的问题;
[Change] BotEventHandler 调整'match(String)'方法;
[Change] BotAdminCommandProcess 调整'savePushList()'方法对文件创建失败的行为;
2020-06-04 11:19:18 +08:00
69da2b02ac [Fix #11] 修复在图片缓存失效的情况下, 'getImageToBotCode'依然会尝试从缓存获取图片File对象导致NPE;
[Change] BotCommandProcess 调整字符串拼接形式, 统一错误提示语的格式;
2020-06-04 09:29:53 +08:00
ef70ac77cb [Update] HotDataCacheStore, Cleanable 更新Javadoc; 2020-06-03 17:03:54 +08:00
2bfb78304c [Change] HotDataCacheStore, RandomIntervalSendTimer 支持浮动时间参数为0; 2020-06-03 14:50:45 +08:00
4c03a0f7d9 [Change] HotDataCacheStore 调整'supportedList'的条件, HotDataCacheStore将支持使用ListCacheStore;
[Change] AutoSender 将AutoSender的messageSender增加final属性;
2020-06-01 16:01:17 +08:00
fe8bf16d3a [Clean] RandomRankingArtworksSender 清理无用导入;
[Change] AutoCleanTimer 统一LoggerName名称;
2020-05-25 20:23:14 +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
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
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
edade24883 [Change] Issue #2 调整Logger Name以统一Logger Name格式; 2020-05-06 09:34:28 +08:00
fba6d3532c [Delete] 删除不再使用的类和方法;
[Update] 优化Javadoc并设置编译注解, 优化代码;
[Change] 调整部分日志的输出级别;
[Change] RedisPoolCacheStore clear方法将根据返回信息确定是否清空成功;
[Change] Dockerfile.sample 调整镜像构建步骤;
2020-04-30 02:23:31 +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
f02b0e9e98 [Update] 补充Javadoc, 设置@SuppressWarning注解; 2020-04-18 01:13:01 +08:00
c1427379c6 [Add] StringListRedisCacheStore 增加类型为String的RedisListCacheStore实现;
[Change] BotCommandProcess 更换pagesCache的缓存组件(RedisPoolCacheStore<List<String>> -> StringListRedisCacheStore);
2020-04-17 18:25:48 +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
006352679a [Change] ImageCacheHandler 将缓存键名从downloadLink更改为fileName;
[Change] PixivUgoiraBuilderTest 暂时设置单元测试忽略以关闭耗时的测试, 加快构建速度;
2020-04-16 17:12:24 +08:00
c0c9a2d299 [Add] 增加Redis List的支持, 可通过List存储缓存项;
[Add] 增加支持JsonObject类型的RedisListCacheStore;
2020-04-16 10:53:57 +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
c9c8db7de9 [Add] CacheStore 增加对列表缓存的部分支持;
[Update] LocalHashCacheStore, RedisPoolCacheStore增加对CacheStore新增加方法的兼容;
[Add] RedisPoolCacheStore 增加executeJedisCommand方法以向子类提供覆盖重写重点方法的能力;
2020-04-14 10:37:07 +08:00
a0efc3c0af [Add] 增加新的缓存库类(HotDataCacheStore, StringRedisCacheStore);
[Add] CacheStore 增加update(String, T, long)方法, 该方法将以Unix时间戳设置过期时间;
[Update] LocalHashCacheStore, RedisPoolCacheStore 适配CacheStore新方法;
[Delete] 删除 RedisCacheStore 类;
2020-04-11 12:13:55 +08:00
8375b81b17 [Change] 调整包路径;
[Add] RedisPoolCacheStore, JsonRedisCacheStore 增加可提供JedisPool对象的构造方法, 以实现Redis连接池共用;
2020-04-10 22:00:38 +08:00