|
ce31b92b25
|
[Update] Core 完善 JsonFrameworkDescriptorSerializerTest 单元测试;
[Add] badAuthor-InvalidField-framework.json, badAuthor-MissingField-framework.json, badAuthor-NonObject-framework.json 添加 author 属性错误解析数据;
[Add] badBotCode-NonObject-framework.json 添加 botCode 属性错误解析数据;
[Add] badPlatform-MissingField-Identify-framework.json, badPlatform-MissingField-Name-framework.json, badPlatform-NonObject-framework.json 添加 platform 属性错误解析数据;
[Add] badPluginDependency-NonPrimitive-framework.json, badPluginDependency-NonString-framework.json 添加 pluginDependency 属性错误解析数据;
[Add] JsonFrameworkDescriptorSerializerTest 添加多个异常情况的测试项;
[Add] test-framework.json 添加软错误(不影响解析过程)数据以检查软错误情况;
|
2020-11-07 16:23:31 +08:00 |
|
|
cc1ed81adc
|
[Add] Core 添加一份 framework.json 完整示例文件;
[Add] simple-framework.json 添加一份 framework.json 完整示例文件;
|
2020-11-07 15:55:42 +08:00 |
|
|
dd7ac015f9
|
[Fix] Core 修复 FrameworkManager 中未适配 FrameworkFactory 更改导致的编译失败问题;
[Fix] FrameworkManager 适配 FrameworkFactory 的更改;
|
2020-11-05 13:38:50 +08:00 |
|
|
2875426f72
|
[Add][Change] Framework-API, Core 添加 FrameworkContext 用于向 Framework 传递与 Bot 有关的相关对象;
[Add] FrameworkContext, DefaultFrameworkContext 添加 FrameworkContext 和一个默认实现;
[Change] Framework, FrameworkFactory 调整代码以支持传递 FrameworkContext;
|
2020-11-05 00:58:07 +08:00 |
|
|
235c7452b8
|
[Add] Project, Event, Core, Framework-API 增加 Event 模块;
[Add] EventExecutor, EventObject, EventHandler 添加基本的事件类;
[Add] AbstractEventObject 添加完成了 EventObject 所需方法的抽象类;
[Add] EventHandlerRegistry 添加事件处理注册器接口, 分离与事件处理注册的部分;
[Add] Core/pom.xml, Event/pom.xml, Framework-API/pom.xml, Project/pom.xml 添加 Event 模块并在所需模块中引入;
[Add] Cancelable, SupportedCancel 添加与事件取消有关的接口;
[Add] EventUtils 添加与事件处理有关的工具类;
[Add] EventUtilsTest, TestEvent, StandardHandler, IllegalHandler 添加针对 EventUtils 的完整单元测试;
|
2020-11-04 22:50:46 +08:00 |
|
|
78b234237f
|
[Add][Move][Change] Project, Common, Core 添加 Common 模块, 将 CacheStoreBuilder 转移到 Common 模块中;
[Add] net.lamgc:ContentGrabbingJi-Common 添加 Common 模块作为共用组件共享的模块;
[Move] CacheStoreBuilder, CacheStoreBuilderTest, FactoryInfo, NoSuchFactoryException 移动 Cache 相关类到 Common 模块中;
[Change] Core:pom.xml 添加 Common 模块的依赖, 调整测试项依赖;
|
2020-10-17 11:59:29 +08:00 |
|
|
7744e0e82e
|
[Change] Framework-API, Core 将 PluginManager 相关迁移至 Core 模块;
[Change] * 从 Framework-API 迁移至 Core 模块;
|
2020-10-07 16:48:13 +08:00 |
|
|
c27d072e68
|
[Fix][Update] CacheStore-redis, Core 修复缓存组件的逻辑问题, 调整 Core 中对于 CacheStoreBuilder 的测试用例;
[Fix] CacheStoreBuilder 修复 Factory.canGetCacheStore 返回 false 被无视的问题;
[Fix] RedisConnectionPool 修复因变量未及时更新导致的逻辑异常;
[Update] CacheStoreBuilderTest 调整测试用例以更具体的检查获取的缓存实现类与预期是否相同;
|
2020-10-06 10:28:45 +08:00 |
|
|
b017599eae
|
[Update] Core 增加 CacheStore 存储源过滤;
[Add] FactoryInfo 增加 source 属性;
[Add] CacheStoreBuilder 增加对存储源的指定;
[Add] CacheStoreBuilderTest 调整测试用例以对存储源过滤进行测试(但该测试依然是不完善的, 有待改进);
|
2020-10-02 10:11:56 +08:00 |
|
|
7d7085f8c5
|
[Update] Core, Pixiv 更新 Gson 版本号;
[Update] Core - com.google.code.gson:gson 更新版本号(2.8.5 -> 2.8.6);
[Update] Pixiv - com.google.code.gson:gson 更新版本号(2.8.5 -> 2.8.6);
|
2020-09-28 23:12:01 +08:00 |
|
|
7fcef96b0a
|
[Add][Change] Core 增加 Converter 并增加对 FactoryName 不允许重复的限制;
[Add] GsonJsonObjectConverter, GsonJsonArrayConverter 增加对 Gson 中 JsonArray, JsonObject 的转换;
[Change] CacheStoreBuilder, FactoryInfo 增加对 FactoryName 的不重复限制, 增加对 FactoryInfo 的 hashCode, equals 方法实现(以 FactoryName 字段为主);
[Add] com.google.code.gson:gson:2.8.5 增加对 Gson 的依赖(解析数据, 后续可能会转移);
|
2020-09-28 23:02:50 +08:00 |
|
|
4812eec2d7
|
[Change] Core 修复代码规范上的问题;
[Change] CacheStoreBuilder 调整 loadFactory 中 ServiceLoader 类型变量的命名(FACTORY_LOADER -> factoryLoader);
|
2020-09-23 13:51:25 +08:00 |
|
|
3e591e8c26
|
[Add] Core 添加内部 CacheStoreBuilder;
[Add] CacheStoreBuilder 添加 Builder 以统一使用所有 Factory 创建 CacheStore;
[Add] FactoryInfo Factory 注解的信息实体类;
[Add] NoSuchFactoryException 当无可用 Factory 时的自定义异常;
[Add] CacheStoreBuilderTest 尚不完善的单元测试类, 仅测试有效情况, 因 SPI 机制原因, 不方便编写多个情况的测试用例;
|
2020-09-23 08:00:11 +08:00 |
|
|
96f9baf5bc
|
[Add] Core 在找到更好的方法前, 先通过间接依赖两个缓存实现来提供给 Core 进行缓存相关测试;
[Add] net.lamgc:ContentGrabbingJi-CacheStore-local 添加 local 缓存实现依赖项(仅 test);
[Add] net.lamgc:ContentGrabbingJi-CacheStore-redis 添加 redis 缓存实现依赖项(仅 test);
|
2020-09-12 03:17:48 +08:00 |
|
|
74904cdfdb
|
[Add] 为 Core 模块添加 CacheStore-API 模块;
[Add] net.lamgc:ContentGrabbingJi-CacheStore-api 添加模块依赖项;
|
2020-09-03 14:30:21 +08:00 |
|
|
2e78dd5931
|
[Add] 初始化组成模块;
|
2020-09-03 13:46:16 +08:00 |
|