LamGC
|
4fef222754
|
Merge pull request #46 from LamGC/dependabot/maven/ContentGrabbingJi-framework-api/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-framework-api
|
2022-06-06 23:31:38 +08:00 |
|
LamGC
|
3971143d9b
|
Merge pull request #44 from LamGC/dependabot/maven/ContentGrabbingJi-pixiv/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-pixiv
|
2022-06-06 23:31:23 +08:00 |
|
LamGC
|
66b2bbd3fd
|
Merge pull request #45 from LamGC/dependabot/maven/ContentGrabbingJi-core/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-core
|
2022-05-31 18:04:30 +08:00 |
|
LamGC
|
2c3817172c
|
Merge pull request #47 from LamGC/dependabot/maven/ContentGrabbingJi-CacheStore-redis/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-CacheStore-redis
|
2022-05-31 18:03:54 +08:00 |
|
LamGC
|
7fd5c5bfc5
|
[Fix][Update] Pixiv 更新 HttpClient 依赖项的版本以修复该依赖项的一个漏洞;
[Update] org.apache.httpcomponents:httpclient 更新版本以修复 CVE-2020-13956 漏洞(4.5.12 -> 4.5.13);
|
2021-06-20 14:33:53 +08:00 |
|
LamGC
|
544c56281a
|
[Fix][Update] Framework-TelegramBots 更新 HttpClient 依赖项的版本以修复该依赖项的一个漏洞;
[Update] org.apache.httpcomponents:httpclient 更新版本以修复 CVE-2020-13956 漏洞(4.5.12 -> 4.5.13);
|
2021-06-20 14:29:23 +08:00 |
|
LamGC
|
e47a745a87
|
[Add] Project, Template-Velocity, Core-Function 添加新的模块;
[Add] Template-Velocity 尝试将 Velocity 作为官方支持的模板组件;
[Add] Core-Function 将 Function 相关功能从 Core 中抽离, 以尝试降低耦合性;
|
2021-04-09 12:56:54 +08:00 |
|
LamGC
|
ed46aa9481
|
[Update] Project 更新 Guava 版本, 以避免临时文件访问权限漏洞;
[Update] com.google.guava:guava 更新版本(29.0-jre -> 30.0-jre) 以修复临时文件访问权漏洞;
|
2021-04-09 12:50:43 +08:00 |
|
LamGC
|
4492287632
|
[Document] Framework-API 补充 content 文档;
[Document] AbstractMessageEvent 补充 content 文档;
|
2021-03-14 19:36:28 +08:00 |
|
LamGC
|
b7f9343ca9
|
[Change] Project 暂时停用 Codecov 测试覆盖率报告插件;
[Change] .github/workflows/maven-test.yml 停用 Codecov 插件;
------
Description:
Codecov 还有一些问题需要解决, 就目前项目情况来说暂时还没有过高的代码覆盖测试要求, 故暂时停用 Codecov.
|
2021-03-12 16:50:45 +08:00 |
|
LamGC
|
dc86f99d60
|
[Move] Framework-API, Common 将 Platform 与 MessageSource 移入公共模块;
[Move] Platform 移入公共组件模块;
[Move] MessageSource 移入公共组件模块;
|
2021-03-12 16:45:01 +08:00 |
|
LamGC
|
30b6392ce2
|
[Add] Framework-API 为 NotFoundSenderException 异常添加新的构造器(早知道就一步到位了 :O);
[Add] NotFoundSenderException 添加新的构造器;
|
2021-03-01 09:14:13 +08:00 |
|
LamGC
|
e494412344
|
[Change] Framework-API 添加 Bot UUID 作为在多账户框架组件中识别单个 Bot 账户的标识;
[Change] SenderFactory 添加 'getBotUUID' 方法用于获取 Factory 相关联的 Bot 账户;
|
2021-03-01 09:12:09 +08:00 |
|
LamGC
|
22ec7c6741
|
[Add] Framework-API 增加内置标准化 Platform Enum, 添加标准化平台信息文档;
[Add] Platform.Standard 添加私有内置的标准化 Platform 枚举类(已添加部分平台信息);
[Add] Framework-API/StandardPlatform.md 添加标准化平台信息文档(用于参考或者直接使用, 帮助统一平台信息);
|
2021-03-01 09:08:48 +08:00 |
|
LamGC
|
c39c239d2d
|
[Rename] Function-API(Command-API), Function-Pixiv(Command-Pixiv) 重命名模块;
[Rename] Command-API -> Function-API;
[Rename] Command-Pixiv -> Function-Pixiv;
[Change] Project/pom.xml 适配更改;
[Change] Core/pom.xml 适配更改;
|
2021-03-01 09:05:07 +08:00 |
|
LamGC
|
756df33442
|
[Change] Framework-API 调整 NoFoundSenderException 类名, 并添加可提供消息的构造器;
[Change] NoFoundSenderException -> NotFoundSenderException 更改类名;
[Change] NotFoundSenderException 添加可提供消息的构造器;
[Change] SenderFactory 适配更改;
|
2021-02-21 20:40:16 +08:00 |
|
LamGC
|
f945b52fa4
|
[Change] Framework-API 调整 Framework 内存储 PluginWrapper 的方式, 以防 Plugin 内的 wrapper 遭到更改;
[Change] Framework 添加 _wrapper 字段, 用于保存 PluginWrapper 并防止 Plugin 内的 wrapper 遭到更改(但是依然没办法防止 'getWrapper()' 返回错误的 PluginWrapper);
|
2021-02-21 20:31:47 +08:00 |
|
LamGC
|
68f13a38c1
|
[Add] Framework-API 添加提供给应用内部(或命令扩展)用于主动获取对应平台 Sender 的扩展接口;
[Add] SenderFactory 添加用于主动获取 Sender 的扩展接口;
[Add] NoFoundSenderException 添加相关异常;
|
2021-02-21 20:29:33 +08:00 |
|
LamGC
|
711c80175e
|
[Move] Core, Event-API(Event), Framework-API, Template-API(Template) 更改模块名以规范命名;
[Move] :Event-API 更改模块名(原 'Event');
[Move] :Template-API 更改模块名(原 'Template');
[Change] Project/pom.xml 适配更改;
[Change] :Core, :Framework-API 适配更改;
|
2021-02-13 13:09:16 +08:00 |
|
LamGC
|
612956b594
|
[Delete] Core, Framework-API 移除 BotCode 的 'getPlatform' 方法;
[Delete] BotCode 移除目前尚未使用的 'getPlatform' 方法, 该方法在开发 BotCode 具体实现时带来了一些麻烦;
[Delete] BasicBotCode, BasicBotCodeTest, AbstractBotCode, AbstractBotCodeTest, MessageChainTest 适配修改;
|
2021-02-03 12:13:32 +08:00 |
|
LamGC
|
672be33866
|
[Optimize] Core 修正一个代码上的细节, 以减少强转隐患;
[Optimize] FrameworkFactory 调整 'constructor' 的类型, 以减少强转类型错误的隐患;
|
2021-01-25 19:34:14 +08:00 |
|
LamGC
|
f0053f3957
|
[Change] Project 修复贡献准则的细节错误, 调整联系邮箱的形式;
[Change] CODE_OF_CONDUCT.md 修复语法错误, 调整联系邮箱的形式;
|
2021-01-18 12:37:57 +08:00 |
|
LamGC
|
f414802c63
|
[Add] CacheStore-Redis 添加指定前缀键名删除脚本, 以提供带有原子性的 RedisCacheStore.clear 操作;
[Add] RemoveKeysByPrefix.lua 添加用于实现 RedisCacheStore.clear 操作的脚本;
|
2021-01-16 01:43:00 +08:00 |
|
LamGC
|
c956c1b3d2
|
[Change] Common 补充一个漏网之鱼;
[Change] LocalFactory 适配更改(Commit: a090abc9);
|
2021-01-16 01:32:41 +08:00 |
|
LamGC
|
92175377c4
|
[Add][Change][Fix] CacheStore-Redis 完善整体单元测试项, 修复单元测试不够严谨的问题;
[Add] RedisTestUtils 增加 Redis 测试工具类;
[Add] RedisUtilsTest 增加针对 RedisUtils 的单元测试类;
[Add] SimpleRedisCacheStore, RedisCacheStoreTest 将 RedisCacheStore 的测试项从 RedisSingleCacheStore 单元测试中分离;
[Change] RedisCacheStore 分离 'getKeyString(CacheKey)' 方法的具体实现到 RedisUtils;
[Change] RedisSingleCacheStore 调整构造器参数检查过程, 排除空标识或 null 参数;
[Change] RedisSingleCacheStoreTest 重写 RedisSingleCacheStore 单元测试类, 使其更加严谨;
[Change] RedisMapCacheStore 优化 'clearMap()' 方法执行过程, 清除不可能分支, 调整构造器参数检查过程, 排除空标识或 null 参数;
[Change] RedisMapCacheStoreTest 优化测试项, 使其更加严谨;
[Change] RedisListCacheStore 优化文档内容, 清除不可能分支;
[Change] RedisListCacheStoreTest 补充断言消息;
[Fix] RedisCacheStore 修复了 'keySet()' 方法中返回的 key 不正确的问题;
|
2021-01-16 01:26:31 +08:00 |
|
LamGC
|
997b942a27
|
[Change] CacheStore-Redis 调整通配符常量的引用;
[Change] RedisUtils 调整 'CACHE_KEY_ALL' 的通配符为 'KEY_PATTERN_ALL';
|
2021-01-15 20:20:02 +08:00 |
|
LamGC
|
48404fc0fc
|
[Change] CacheStore-Redis 使用 Json 代替 Properties 作为 Redis 连接配置的存储格式;
[Add] RedisConnectionProperties 添加 Redis 连接配置对象;
[Change] RedisConnectionPool 调整 JedisPool 配置读取来源的类型(URL -> RedisConnectionProperties);
[Change] RedisCacheStoreFactory 更改 Redis 连接配置的读取形式;
[Add] RedisUtils 添加 'PROPERTIES_FILE_NAME' 常量;
[Add] com.google.code.gson:gson 添加 Gson 依赖项, 以转换 Json 为 RedisConnectionProperties 对象;
|
2021-01-15 20:18:20 +08:00 |
|
LamGC
|
a090abc9a4
|
[Change] CacheStore-API, CacheStore-Local, CacheStore-Redis 调整 MapCacheStore.putAll 方法参数;
[Change] MapCacheStore 调整 'putAll' 方法的泛型, 以兼容类型的子类;
[Change] HashMapCacheStore, RedisMapCacheStore 适配更改;
|
2021-01-12 06:39:48 +08:00 |
|
LamGC
|
edb709fb0d
|
[Update] CacheStore-Redis 在构建配置中将 lua 脚本纳入编译资源;
[Update] CacheStore-Redis/pom.xml 将 lua 源码文件夹纳入资源一部分;
|
2021-01-11 16:45:30 +08:00 |
|
LamGC
|
8108379f96
|
[Change] CacheStore-Redis 迁移工具方法到 RedisUtils;
[Change] RedisCacheStore, RedisUtils 迁移 'getKeyString(CacheKey)' 方法的具体实现到 RedisUtils (方法: 'toRedisCacheKey(String, CacheKey)');
[Add] RedisUtils 添加 CACHE_KEY_ALL 以构建对 CacheStore 所有 Key 的匹配规则;
|
2021-01-11 16:44:22 +08:00 |
|
LamGC
|
a6fc04c07e
|
[Fix] CacheStore-Redis 修复 RedisCacheStore 部分操作对于作用 Key 的范围不明确的问题;
[Fix] RedisCacheStore 修复 'clear()', 'keySet()' 和 'size()' 方法影响到不属于 CacheStore 的问题;
[Update] RedisSingleCacheStoreTest 完善测试项;
|
2021-01-11 16:42:06 +08:00 |
|
LamGC
|
2bdfbeb72d
|
[Fix] CacheStore-Redis 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题, 完善测试项;
[Fix] RedisMapCacheStore 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题;
[Update] RedisMapCacheStoreTest 调整测试用前缀, 完善 'putAll' 对空 Map 参数在不同情况下的测试;
|
2021-01-11 16:38:59 +08:00 |
|
LamGC
|
8d9debeb1b
|
[Add] CacheStore-Redis 添加 List 组件;
[Add] RedisListCacheStore 添加完整的 List 组件;
[Add] RedisListCacheStoreTest 完整单元测试类;
[Update] RedisCacheStoreFactory 添加对 List 组件的提供;
|
2021-01-11 16:38:30 +08:00 |
|
LamGC
|
752cf907d6
|
[Add] RedisConnectionPool 添加对 Lua 脚本的支持;
[Add] LuaScript 添加 Lua 脚本声明定义类;
[Add] RedisConnectionPool 添加对 Lua 脚本加载管理和执行的功能;
|
2021-01-11 16:37:50 +08:00 |
|
LamGC
|
f1e76092a0
|
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本中对无效项判断的错误;
[Fix] RemoveElementByIndex.lua 修复范围溢出, 不存在键检查失效的问题;
|
2021-01-11 16:24:55 +08:00 |
|
LamGC
|
e270c6cb1d
|
[Add] Project, Framework-OneBot 添加 OneBot 框架组件子模块;
[Add] Project/pom.xml 添加子模块;
[Add] Framework-OneBot/pom.xml 添加子模块;
[Add] Framework-OneBot/Readme.md 添加模块说明;
|
2021-01-09 16:39:59 +08:00 |
|
LamGC
|
6ad1d3a947
|
[Change] Project 调整用词;
[Change] README.md 调整用词;
|
2021-01-03 11:47:43 +08:00 |
|
LamGC
|
074e71014a
|
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本返回值不统一的问题;
[Fix] RemoveElementByIndex.lua 修复失败返回值不统一的问题;
|
2021-01-03 11:28:52 +08:00 |
|
LamGC
|
1c298c11ec
|
[Fix] Project 修复 Readme 中不符合规范的格式, 修正开发计划格式;
[Fix] README.md 修复 Readme 中不符合规范的格式, 修正开发计划格式;
|
2021-01-02 23:03:33 +08:00 |
|
LamGC
|
72ff066f5c
|
[Add] CacheStore-Redis 添加两个 Lua 操作脚本;
[Add] CheckElementContains.lua 添加用于检查 List 中是否含有某元素的脚本;
[Add] RemoveElementByIndex.lua 添加用于通过指定索引删除元素的脚本;
|
2021-01-02 22:50:34 +08:00 |
|
LamGC
|
b9141f9f96
|
[Update] Project 补充 Readme 中对本项目版权(开源协议)的描述, 调整 AGPLv3 协议声明的相关细节(补充 URL);
[Update] README.md 补充 Readme 中对本项目版权(开源协议)的描述, 调整 AGPLv3 协议声明的相关细节(补充 URL);
|
2021-01-02 17:53:15 +08:00 |
|
LamGC
|
37689f7253
|
[Update][Fix] CacheStore-Redis 增加测试细节, 修复 RedisMap 中 'putAll()' 方法非空检查失败导致发生异常的问题;
[Update] RedisMapCacheStoreTest 增加对 'putAll()' 参数传递空 Map 的测试;
[Fix] RedisMapCacheStore 修复因条件错误导致未能准确排除空 Map 的问题;
|
2021-01-02 12:30:56 +08:00 |
|
LamGC
|
75458dd999
|
[Fix] Project 修复 Readme 中的版权声明;
[Fix] README.md 修复版权声明(AGPLv3-or-later -> AGPLv3-Only);
|
2021-01-01 18:51:11 +08:00 |
|
LamGC
|
0968c5c6af
|
[Update][Fix] ALL 修正版权信息, 更新年份;
[Update] * 更新年份;
[Fix] * 由 AGPLv3-Later 更新为 AGPLv3-Only;
2021, 新年快乐! (新的一年继续努力吧! :D)
|
2021-01-01 18:26:20 +08:00 |
|
LamGC
|
de3c3941f3
|
[Add] Event 添加 Readme 文档;
[Add] Readme.md 添加子模块 Readme 文档, 待完善;
|
2021-01-01 17:51:13 +08:00 |
|
LamGC
|
87e6dbb9e7
|
[Add] CacheStore-Local 添加单元测试以完善模块单元测试覆盖;
[Add] LocalCacheStoreFactoryTest 添加针对 LocalCacheStoreFactory 的单元测试类;
[Add] HashSetCacheStoreTest 添加针对 HashSetCacheStore 的单元测试类;
|
2021-01-01 12:30:06 +08:00 |
|
LamGC
|
18107db418
|
[Optimize] CacheStore-Local 修复代码规范错误;
[Optimize] CopyOnWriteArrayListCacheStore 整理格式;
|
2021-01-01 11:49:47 +08:00 |
|
LamGC
|
280c5b22ac
|
[Rename] CacheStore-Local 更改测试类以符合规范(?);
[Rename] ListCacheStoreTest -> CopyOnWriteArrayListCacheStoreTest;
|
2021-01-01 11:47:14 +08:00 |
|
LamGC
|
33c2cbf1ce
|
[Change] Framework-API 调整 MessageSender, 移除 'getMessageIdentify()' 方法, 调整图片相关方法;
[Change] MessageSender 移除 'getMessageIdentify()' 方法, 更改 'getImageUrl(String)' 方法的返回值(String -> URL), 为 'getImageAsInputStream' 添加默认方法;
|
2021-01-01 10:18:14 +08:00 |
|
LamGC
|
f1e248a702
|
[Change][Document] Core 修正 ThreadPoolEventExecutor 文档错误, 添加对 Cancelable 事件的操作细节;
[Change] ThreadPoolEventExecutor 适配 HandlerRegistry 更改;
[Change] ThreadPoolEventExecutor 对内部类 'ExecuteRunnable' 添加对 Cancelable 事件的更多处理;
[Document] ThreadPoolEventExecutor 修正文档错误;
|
2021-01-01 10:16:09 +08:00 |
|
LamGC
|
82759225b3
|
[Change][Document] Framework-API 调整 Framework 的部分文档内容, 更改相关细节;
[Document] Framework 修正 '<init>(PluginWrapper, File, FrameworkContext)' 和 'getDataFolder()' 方法的文档细节错误;
[Change] Framework 更改 'getDataFolder()' 方法在数据目录创建失败时所输出的日志内容;
[Change] Framework 更改 'getDescriptor()' 所抛出的异常类型;
|
2021-01-01 10:13:34 +08:00 |
|
LamGC
|
10b36e5f80
|
[Change] Core 为 FrameworkManager 添加对 'validatePluginDescriptor' 的具体实现, 以对 FrameworkDescriptor 进行检查;
[Change] FrameworkManager 覆盖 'validatePluginDescriptor' 方法, 补充对 FrameworkDescriptor 的检查;
|
2021-01-01 10:07:32 +08:00 |
|
LamGC
|
a5f85227f2
|
[Change] Core, Event 调整文档和访问权, 添加默认值;
[Change] DefaultFrameworkContext 调整访问权;
[Change] DefaultFrameworkDescriptor 添加忽略的编译警告, 为 'version' 字段添加默认值;
[Change] EventHandler 调整注解文档;
|
2021-01-01 10:05:53 +08:00 |
|
LamGC
|
5246df6b50
|
[Change] CacheStore-Local 删除不可能条件;
[Change] HashCacheStore 删除不可能条件(Hashtable 在 put 中已经进行了 Null 检查);
|
2021-01-01 10:03:26 +08:00 |
|
LamGC
|
70cf231842
|
[Change][Document] Event 补充文档并添加默认方法;
[Document] Cancelable 补充文档;
[Change] Cancelable 为 'observableCancel()' 和 'registerCancelObserver(Observer)' 添加默认方法;
|
2021-01-01 09:58:40 +08:00 |
|
LamGC
|
8b2f882070
|
[Delete] Framework-API 正式删除 MessageSource 中的 'UNKNOWN' 消息源类型;
[Delete] MessageSource 删除 'UNKNOWN' 类型;
|
2021-01-01 09:56:45 +08:00 |
|
LamGC
|
8c12f17329
|
[Rename] Event, Core 调整类名;
[Rename] DefaultEventHandlerRegistry -> DefaultHandlerRegistry;
[Rename] EventHandlerRegistry -> HandlerRegistry;
|
2021-01-01 09:54:57 +08:00 |
|
LamGC
|
1d8148f4c7
|
[Add][Update] CacheStore-API 添加新的测试, 并完善其他测试;
[Add] GetCacheStoreExceptionTest 添加针对 GetCacheStoreExceptionTest 的测试项;
[Update] HashSingleCacheStoreTest 完善单元测试项;
|
2021-01-01 09:45:19 +08:00 |
|
LamGC
|
10fffca8b2
|
[Fix] CacheStore-Local 修复 AutoCleanTimer 因逻辑错误未能及时轮询清理 Cleanable 的问题;
[Fix] AutoCleanTimer 调整 'run()' 方法, 修复轮询执行错误并改善无效 Cleanable Reference 的清除方式;
Bug Description: 当发现 Reference 的指向为 null 时, 在收集了该对象后将会直接 return 导致后续轮询结束.
|
2021-01-01 09:29:51 +08:00 |
|
LamGC
|
afd09968ac
|
[Add] CacheStore-Local 为 AutoCleanTimer 添加单元测试;
[Add] AutoCleanTimer 添加针对 AutoCleanTimer 的单元测试类;
|
2021-01-01 09:29:23 +08:00 |
|
LamGC
|
ed8e4701e8
|
[Update] Project 更新 Readme, 添加开发计划(暂定?);
[Update] README.md 添加开发计划说明;
|
2020-12-23 23:22:07 +08:00 |
|
LamGC
|
129ff21734
|
[Add] Project, Framework-Telegram, Template 添加模块;
[Add] Project/pom.xml 添加新的子模块;
[Add] Framework-Telegram 正式添加对 Telegram 的官方平台支持;
[Add] Template 将消息模板相关功能由 Core 分离为单独的模块;
|
2020-12-23 23:14:48 +08:00 |
|
LamGC
|
50761a6e4f
|
[Update] Project 更新 .gitignore 文件, 添加对测试目录的忽略, 补充 logs 文件夹匹配规则;
[Update] .gitignore 添加 'test' 文件夹的匹配规则, 补充 'logs' 文件夹的匹配规则;
|
2020-12-23 23:11:50 +08:00 |
|
LamGC
|
98ca3a1e09
|
[Update] Project 更新 .gitignore 文件, 以补充某些文件夹的规则;
[Update] .gitignore 更改对 logs 文件夹的匹配规则, 以屏蔽子模块文件夹中的 logs 文件夹;
|
2020-12-20 22:32:56 +08:00 |
|
LamGC
|
4c384cc991
|
[Add][Update][Document] Framework-API, Project 更新Readme文档内容;
[Update] Project/README.md 更新一些贡献内容, 修正文档问题;
[Update] Framework-API/Readme.md 补充框架生命周期内容;
[Add] Framework-API/Quick-Start.md 添加尚未完成的快速开始教程文档, 计划在 3.0.0 正式版发布时完成;
|
2020-12-19 14:08:27 +08:00 |
|
LamGC
|
2ea0c08149
|
[Add] Framework-API 添加 BotCodeFunction 用于描述 BotCode;
[Add] BotCodeFunction 添加用于描述 BotCode 的功能描述接口;
[Add] StandardBotCodeFunction, CustomBotCodeFunction 添加一个受到 ContentGrabbingJi 内部支持的 Function Enum, 和一个可用于创建平台特有, 或补充功能用的 Function 自定义实现;
[Change] AbstractBotCode, AbstractBotCodeTest 适配修改;
[Change] BotCode 适配修改;
[Change] BasicBotCode, BasicBotCodeTest 适配修改;
[Change] MessageChainTest 适配修改;
|
2020-12-18 20:06:43 +08:00 |
|
LamGC
|
5ef90a1756
|
[Fix] Framework-API 修复 Framework 内多个自带方法可以被覆写的问题;
[Fix] Framework 对内置的, 非覆写方法添加 final 关键字以阻止覆写;
|
2020-11-28 18:01:59 +08:00 |
|
LamGC
|
eaec7166b4
|
[Add][Document] Framework-API 为 Framework 提供获取包内资源的方法, 补充 'getContext()' 方法的文档;
[Add] Framework 添加 'getFrameworkResourceAsStream' 方法以获取 Jar 内资源;
[Document] Framework 补充 'getContext()' 方法的文档;
|
2020-11-28 11:31:31 +08:00 |
|
LamGC
|
7d0124418f
|
[Change] Core 调整 Context 内部对象的传递方式;
[Add] CloneableFrameworkContext 添加可克隆 Context 抽象类;
[Change] DefaultFrameworkContext 更改实现为继承 CloneableFrameworkContext 以允许克隆 Context;
[Change] FrameworkManager, FrameworkFactory 更改 Context 内部对象的传递方式, 改用 CloneableFrameworkContext 进行传递;
|
2020-11-28 11:29:31 +08:00 |
|
LamGC
|
67510aa305
|
[Add] Framework-API 添加消息事件抽象类;
[Add] AbstractMessageEvent 初步添加一个消息事件类, 后续可能有变动;
|
2020-11-27 12:39:16 +08:00 |
|
LamGC
|
3e34b3605b
|
[Add] Core 初步添加 Event 模块的具体实现和对 Message 的 Handler;
[Add] ThreadPoolEventExecutor, DefaultEventHandlerRegistry 添加基于线程池的事件执行器和事件处理注册器;
[Add] MessageEventHandler 添加一个尚未完成的 MessageEvent 处理类;
|
2020-11-26 23:48:27 +08:00 |
|
LamGC
|
a9b693a0a5
|
[Change] Framework-API 在 MessageSender 中的 'uploadImage(File)' 增加对文件存在与否的检查;
[Change] MessageSender 增加文件存在与否的检查;
|
2020-11-26 23:44:50 +08:00 |
|
LamGC
|
a4ff698716
|
[Change] Framework-API 为 MessageChain 实现 Iterable 接口;
[Change] MessageChain 实现 Iterable 接口用于更便捷的处理 Message;
|
2020-11-26 23:43:38 +08:00 |
|
LamGC
|
62a46d9348
|
[Add] Framework-API 为 BotCode 添加 'hasProperty(String)' 方法以用于检查某参数是否存在;
[Add] BotCode 添加 'hasProperty(String)' 方法以用于检查某参数是否存在;
[Change] AbstractBotCode 添加新方法的实现;
|
2020-11-26 23:41:40 +08:00 |
|
LamGC
|
c7d0ccb3ef
|
[Document] Framework-API 为 Framework 补充文档;
[Document] Framework 补充构造方法的参数文档;
|
2020-11-26 21:41:13 +08:00 |
|
LamGC
|
536e03cc32
|
[Document] Core 为 JarFrameworkLoader 补充文档内容;
[Document] JarFrameworkLoader 补充类文档内容;
|
2020-11-24 12:33:59 +08:00 |
|
LamGC
|
039a686f90
|
[Change] Core 为 FrameworkManager 内的 DevelopmentPluginLoader 补充对类加载策略的设置;
[Change] FrameworkManager 为 DevelopmentPluginLoader 重写 'createPluginClassLoader' 方法, 以提供 ClassLoadingStrategy 策略;
|
2020-11-22 20:19:27 +08:00 |
|
LamGC
|
cd5c813b70
|
[Add] Project 添加对 Codecov 的配置文件, 禁用 Codecov 的 Github Checks 功能;
[Add] codecov.yaml 添加配置文件, 并禁用 Github Checks(目前处于未完成版, 尚不需要过于严格的覆盖率保证);
|
2020-11-22 12:07:12 +08:00 |
|
LamGC
|
7ee649296b
|
[Add] Core 添加针对 JarFrameworkLoader 的完整单元测试;
[Add] JarFrameworkLoaderTest 添加完整单元测试类;
|
2020-11-22 11:12:54 +08:00 |
|
LamGC
|
a5669e88e4
|
[Update][Dependency] Framework-API 更新 Pf4j 版本;
[Update] org.pf4j:pf4j 更新依赖项版本(3.4.1 -> 3.5.0);
|
2020-11-22 11:00:00 +08:00 |
|
LamGC
|
b0041d7d9d
|
[Fix][Add][Dependency] Framework-Mirai 修复框架描述文件的规范错误, 添加 package 打包插件;
[Fix] framework.json 修复描述文件对必须版本要求(requiresVersion)的规范错误;
[Add][Dependency] Framework-Mirai/pom.xml 添加 maven-assembly-plugin 插件以打包所需依赖项(模块是单独的, 并非与其他模块一起打包);
|
2020-11-22 10:58:45 +08:00 |
|
LamGC
|
82c97cc924
|
[Change] Core 调整 pf4j 在测试时的日志阀值, 以解决其话痨的问题;
[Change] log4j2-test.xml 调整 Pf4j 的日志最低阀值为 DEBUG;
|
2020-11-22 10:55:33 +08:00 |
|
LamGC
|
a4340ab575
|
[Fix] Core, Framework-API 将 Framework 中 'initial()' 的调用转移到 FrameworkFactory 中, 以解决类初始化问题;
[Change] Framework 移除 'initial()' 的调用, 以修复类初始化过程中的一些隐式问题(如因父类尚未初始化完成, 导致子类成员变量尚未初始化, 出现 NPE 的问题);
[Change] FrameworkFactory 将 Framework 的初始化转移到此, 以修复类初始化过程中的一些隐式问题(如上);
|
2020-11-22 10:36:47 +08:00 |
|
LamGC
|
02bbab8e6d
|
[Fix] Core 修复因 PluginClassLoader 默认类加载策略错误导致类重复加载;
[Add] JarFrameworkLoader 添加一个调整了类加载策略的 Loader 构造器;
[Fix] FrameworkManager 注册 JarFrameworkLoader 以解决类加载策略错误导致的类重复加载问题;
|
2020-11-22 10:32:49 +08:00 |
|
LamGC
|
3f353cbfa3
|
[Update][Dependency] Framework-Mirai 更新 mirai 版本号;
[Update][Dependency] net.mamoe:mirai-core, net.mamoe:mirai-core-qqandroid 更新依赖项版本(1.3.2 -> 1.3.3);
|
2020-11-21 22:03:31 +08:00 |
|
LamGC
|
ba2ced9a1e
|
[Add][Change] Framework-API 将 Message 正式代替 String 作为消息内容对象, 为 Framework 添加方便获取 Platform 对象的方法;
[Add] Framework 添加 `getPlatform` 方法以便捷得获取 Platform 对象;
[Change] MessageSender 使用 Message 代替 String 作为消息内容对象;
|
2020-11-21 22:01:57 +08:00 |
|
LamGC
|
561dd58611
|
[Optimize] CacheStore-API, Framework-API, Event, Common 补充多个单元测试类的文档注释;
[Optimize] CacheKeyTest, CollectionUtilsTest, EventUtilsTest, FactoryInfoTest 在类文档添加测试所针对的类;
|
2020-11-21 11:06:22 +08:00 |
|
LamGC
|
04153749e0
|
[Add] CacheStore-API 添加针对 StringToStringConverterTest 的单元测试类;
[Add] StringToStringConverterTest 添加完整单元测试类(最简单的测试类);
|
2020-11-21 10:44:18 +08:00 |
|
LamGC
|
736f861e01
|
[Update] Framework-API 在 MessageChainTest 补充测试项;
[Update] MessageChainTest 补充 'plusMessageTest' 测试项;
|
2020-11-21 10:28:11 +08:00 |
|
LamGC
|
f173bde1a2
|
[Add] Framework-Mirai 添加 mirai 框架的 framework.json;
[Add] framework.json 添加框架描述文件;
|
2020-11-21 10:19:07 +08:00 |
|
LamGC
|
dc1abdbdac
|
[Add] Framework-API, Core 添加多个单元测试类;
[Add] AbstractBotCodeTest, BasicBotCodeTest, CollectionUtilsTest, MessageChainTest 添加多个针对相应类的完整单元测试类;
|
2020-11-21 10:14:55 +08:00 |
|
LamGC
|
12b8b41ac3
|
[Update] Framework-API 完善 MessageChain, 添加多个消息链操作方法;
[Update] MessageChain 添加多个操作方法, 补充参数检查;
|
2020-11-21 10:13:38 +08:00 |
|
LamGC
|
1bbaf1f164
|
[Fix] Core 修复 BasicBotCode 中 'contentToString()' 格式错误的问题;
[Fix] BasicBotCode 修复 'contentToString()' 尾部缺少方括号的问题;
|
2020-11-21 09:15:27 +08:00 |
|
LamGC
|
2520c79c50
|
[Change] Framework-API 调整 AbstractBotCode 中 'toString()' 的实现细节, 添加参数检查;
[Change] AbstractBotCode 调整 'toString()', 整理实现细节并修复格式错误, 在构造方法中添加对 functionName 的非空检查, 补充对 functionProperties 的非空判断条件, 补充文档;
|
2020-11-21 09:13:17 +08:00 |
|
LamGC
|
320858c4d0
|
[Change] Framework-API 为 CharSequenceMessage 构造中添加非空检查, 添加完整的对应单元测试类;
[Change] CharSequenceMessage 添加对 content 为 null 的检查, 调整文档;
[Change] CharSequenceMessageTest 添加针对 CharSequenceMessage 的完整单元测试类;
|
2020-11-20 23:16:14 +08:00 |
|
LamGC
|
7fb4f6d3df
|
[Add] Framework-API 添加针对 Message 中默认实现方法的单元测试类;
[Add] MessageTest 添加针对默认实现方法的单元测试类;
|
2020-11-20 23:05:36 +08:00 |
|
LamGC
|
1fd1f2cf26
|
[Change] Framework-API 在 Message 中添加 CharSequence 的三个抽象方法的默认实现;
[Change] Message 添加 CharSequence 中 'length()', 'charAt(int)' 和 'subSequence(int, int)' 的默认实现, 以降低测试复杂度;
[Change] MessageChain, CharSequenceMessage, AbstractBotCode 适配 Message 更改;
|
2020-11-20 23:00:29 +08:00 |
|
LamGC
|
2c20ccb69f
|
[Change] Core 补充 JsonFrameworkDescriptorSerializerTest 测试类的文档(就补了相关测试类);
[Change] JsonFrameworkDescriptorSerializerTest 在类文档中添加了测试相关类;
|
2020-11-20 22:30:57 +08:00 |
|
LamGC
|
b21e6957a5
|
[Add] Framework-API 补充一个字符序列 Message 实现;
[Add] CharSequenceMessage 添加一个单调的实现(用于装 String, StringBuilder 或 StringBuffer 之类的);
|
2020-11-19 22:17:58 +08:00 |
|
LamGC
|
b2fc196830
|
[Add][Change] Framework-API, Core 添加 Message 类型作为消息元素的基类, BotCode 继承 Message, AbstractBotCode 实现 BotCode 的相关方法细节;
[Add] Message, MessageChain 添加 Message 接口作为消息元素的基类, 添加 MessageChain 用于链接消息元素;
[Change] BotCode, AbstractBotCode BotCode 继承 Message 接口以作为消息的一部分, AbstractBotCode 实现部分方法细节;
[Add] BasicBotCode 适配调整, 添加新的构造方法;
|
2020-11-19 22:12:43 +08:00 |
|