|
b82bcd5e57
|
[Optimize] Core 修复 PluginDependencyJsonSerializer 代码规范上的错误(单行字符不超过 120 字符);
[Optimize] PluginDependencyJsonSerializer 修复代码规范上的问题(单行字符不超过 120 字符);
|
2020-11-08 20:30:54 +08:00 |
|
|
311afd431b
|
[Add] Framework-API 为 MessageSender 添加 getPlatform 方法以更好的标识一个 Sender, 并且补充 Javadoc;
[Add] MessageSender 添加 'getPlatform()' 方法以获取识别 Sender 的其中一个要素, 补充类文档;
|
2020-11-08 18:39:30 +08:00 |
|
|
f01d1ac8fd
|
[Change] Core 为 DefaultFrameworkDescriptor 添加 @SuppressWarnings 注解以忽略不必要的警告信息;
[Change] DefaultFrameworkDescriptor 添加 @SuppressWarnings 注解以忽略不必要的警告信息;
|
2020-11-07 16:24:44 +08:00 |
|
|
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 |
|
|
1eee7d19c6
|
[Change] CacheStore-Redis 修复 RedisConnectionPool 为所有 Factory 共用而导致多实例情况下会出现连接错误的问题;
[Change] RedisConnectionPool 将该类从静态方法类转变为实例类;
[Change] RedisCacheStore, RedisMapCacheStore, RedisSingleCacheStore 引入 RedisConnectionPool 实例以进行具体操作;
[Change] RedisMapCacheStoreTest, RedisSingleCacheStoreTest 调整 CacheStore 实例的获取, 不再自行创建具体实现, 转为通过 Factory 创建实例;
[Change] RedisCacheStoreFactory 单独创建一个 RedisConnectionPool 以提供给通过 Factory 自身创建的 CacheStore 实现;
|
2020-11-06 20:08:46 +08:00 |
|
|
dd7ac015f9
|
[Fix] Core 修复 FrameworkManager 中未适配 FrameworkFactory 更改导致的编译失败问题;
[Fix] FrameworkManager 适配 FrameworkFactory 的更改;
|
2020-11-05 13:38:50 +08:00 |
|
|
d92873c1f5
|
[Fix][Document] Event 修复 SupportedCancel 中 javadoc 内容的错误;
[Fix][Document] SupportedCancel 修复文档上的细节错误;
|
2020-11-05 13:32:18 +08:00 |
|
|
79c12a8799
|
[Add] Event 为 Cancelable 添加 'cancel()' 方法;
[Add] Cancelable 添加 'cancel()' 方法以触发取消操作;
|
2020-11-05 00:59:03 +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 |
|
|
4a2337afd7
|
[Change] CacheStore-local, CacheStore-redis 适配 CacheStore-API 模块的更改;
[Change] LocalCacheStoreFactory 适配更改;
[Change] RedisCacheStoreFactory 适配更改, 增加 Redis 配置文件相关逻辑;
[Change] RedisConnectionPool 增加 Redis 连接配置功能;
|
2020-11-05 00:55:40 +08:00 |
|
|
b7d712da21
|
[Add][Change] Common 更改 CacheStoreBuilder 为实例模式, 为 CacheStoreFactory 添加 initial 方法;
[Add] CacheStoreFactory 添加 'initial(File)' 方法供缓存组件进行初始化;
[Change] CacheStoreBuilder 将 CacheStoreBuilder 从静态类更改为实例类, 增加对 CacheStoreFactory 的初始化;
[Change] CacheStoreBuilderTest 适配 CacheStoreBuilder 的更改;
|
2020-11-05 00:53:32 +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 |
|
|
0d80d21144
|
[Delete] Framework-Mirai 移除在 Mirai 新版本不再需要的依赖项;
[Delete] net.mamoe:mirai-japt 移除该依赖项;
|
2020-10-25 08:40:12 +08:00 |
|
|
469c8050eb
|
[Add] Framework-API 增加 Readme(半成品 :P);
[Add] Readme.md 添加一个尚未完成的 Readme;
|
2020-10-24 16:08:38 +08:00 |
|
|
0af0647153
|
[Change] Project 将贡献指南中 'Commit Message' 章节升级为二级标题;
[Change] CONTRIBUTING.md 将 'Commit Message' 章节标题升级为二级标题;
|
2020-10-24 15:51:39 +08:00 |
|
|
ee4681cfe3
|
[Fix] Project 修复贡献指南中的一些细节错误;
[Fix] CONTRIBUTING.md 修复了一个换行错误,然后调整了一下格式;
|
2020-10-24 15:45:28 +08:00 |
|
|
21f5373231
|
[Update] Project 更新贡献指南的依赖相关说明;
[Update] CONTRIBUTING.md 增加依赖相关部分, 调整其他内容的细节;
|
2020-10-24 15:40:03 +08:00 |
|
|
c94f3d83e7
|
[Optimize] Common 整理代码;
[Optimize] CacheStoreBuilder 整理代码格式;
|
2020-10-23 20:05:01 +08:00 |
|
|
3a918fe3ee
|
[Document][Deprecated] Framework-API 考虑弃用并移除 MessageSource 中的 unknown 类型;
[Document][Deprecated] MessageSource 对 UNKNOWN 标注弃用标识, 考虑对其移除;
|
2020-10-18 22:26:47 +08:00 |
|
|
1ac7507868
|
[Update] Project 再更新一点点贡献者指南;
[Update] .github/CONTRIBUTING.md 稍微标注一下相关词汇;
|
2020-10-18 22:21:12 +08:00 |
|
|
26887d9d63
|
[Update] Project 又更新一点点贡献指南(依然是未完成状态);
|
2020-10-18 22:14:31 +08:00 |
|
|
e2c6aca34c
|
[Change] CacheStore-Local 调整 AutoCleanTimer 初始化细节, 将 AutoCleanTimer 对 Cleanable 的强引用改为弱引用;
[Change] AutoCleanTimer 简化 static 代码块内容, 移除 debug 相关代码(目前用不上);
[Change] AutoCleanTimer 对 Cleanable 的强引用改为弱引用, 以防止 CacheStore 无法被回收导致内存泄漏;
|
2020-10-18 14:34:01 +08:00 |
|
|
11327a368f
|
[Add] Framework-API 补充提交一个工具类;
[Add] CollectionUtils 添加集合工具类;
|
2020-10-17 22:50:31 +08:00 |
|
|
0b6f537354
|
[Add][Fix] Framework-API 补充提交两个异常类;
[Add] NoSuchSenderException, UploadImageException 添加两个与 MessageSender 相关的异常类;
|
2020-10-17 22:45:50 +08:00 |
|
|
551c2097be
|
[Change] Framework-API 调整 Framework 在初始化失败后的行为;
[Change] Framework 在初始化失败后抛出异常中断构造;
|
2020-10-17 12:02:02 +08:00 |
|
|
9e4a66ca70
|
[Change] CacheStore-local 更改组件名;
[Change] LocalCacheStoreFactory 更改组件名('local' -> 'local-memory');
|
2020-10-17 12:01:07 +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 |
|
|
ea3c596d6e
|
[Add] Framework-API 添加消息发送器(或者说, 消息发送者对象);
[Add] MessageSender, MessageSenderFactory 添加 Sender 和对应工厂类;
[Add] MessageSource 添加消息源类型枚举类;
|
2020-10-16 09:57:22 +08:00 |
|
|
c8ef160f3a
|
[Add][Change] Framework-API 调整 BotCode 接口, 单独抽出转换相关方法到转换器接口中, 添加一个 BotCode 抽象类;
[Add] BotCodeConverter 添加 BotCode 转换类(后续可能就不需要分化 BotCode 实现了?);
[Change] BotCode 抽出 BotCode 转换相关代码到 BotCodeConverter;
[Add] AbstractBotCode 添加一个实现了相关细节的 BotCode 抽象类;
|
2020-10-16 09:54:23 +08:00 |
|
|
f1df151c89
|
[Fix] Project 升级 JUnit 4 版本号以修复潜在的漏洞;
[Fix] junit:junit 升级版本以修复潜在的漏洞(GHSA-269G-PWP5-87PP; CVE-2020-15250) (4.13 -> 4.13.1);
|
2020-10-14 18:57:26 +08:00 |
|
|
9d220d1066
|
[Add] Framework-API 添加一个初定的 ResourceBundle 工厂接口, 以允许框架指定 ResourceBundle;
[Add] ResourceBundleFactory 添加初定的 ResourceBundle 工厂接口;
|
2020-10-11 03:58:16 +08:00 |
|
|
f57871f020
|
[Fix] CacheStore-API 修复 FactoryPriority 可以被实例化的问题;
[Fix] FactoryPriority 添加私有构造方法以阻止实例化;
|
2020-10-09 00:46:27 +08:00 |
|
|
1cf4c9e47b
|
[Add][Document] Framework-Mirai 添加 Readme 文档;
[Add] README.md 添加一份尚未完成的 Readme 文档;
|
2020-10-09 00:38:56 +08:00 |
|
|
bcf09b6af7
|
[Update][Document] CacheStore-API 更新 Readme, 补充文档内容;
[Update] README.md 增加一些细节内容;
|
2020-10-09 00:37:20 +08:00 |
|
|
17808c8d8f
|
[Change] Framework-API 为 Framework 增加对 Descriptor 的检查;
[Change] Framework 构造函数增加对 Descriptor 的检查;
|
2020-10-09 00:35:25 +08:00 |
|
|
c4c452cf84
|
[Update] Framework-Mirai 跟进 Mirai 框架的更新;
[Update] net.mamoe:mirai-core, net.mamoe:mirai-core-qqandroid 更新依赖项版本(1.2.2 -> 1.3.2);
|
2020-10-07 16:49:59 +08:00 |
|
|
7744e0e82e
|
[Change] Framework-API, Core 将 PluginManager 相关迁移至 Core 模块;
[Change] * 从 Framework-API 迁移至 Core 模块;
|
2020-10-07 16:48:13 +08:00 |
|
|
2bea395cf7
|
[Add] Pixiv 添加一组与 Pixiv 登录会话相关的类;
[Add] PixivLogin, PixivLoginException 初版的登录器接口;
[Add] PixivSession, BasicPixivSession Pixiv 帐号登录会话抽象类和一个默认基本实现;
[Add] ObjectInputStreamLogin 通过反序列化 CacheStore 进行登录的登录器;
|
2020-10-07 14:14:16 +08:00 |
|
|
52d015a4ba
|
[Add] Framework-API 添加 framework.json 解析功能单元测试;
[Add] JsonFrameworkDescriptorSerializerTest 将 Gson 配置从 JsonFrameworkDescriptorFinder 抽离进行单独测试;
[Add] test-framework.json 一个完整的测试用框架配置文件;
|
2020-10-07 09:11:25 +08:00 |
|
|
48d51b9da5
|
[Add] Framework-API 补充三个异常类;
[Add] BuildBotCodeException, InvalidBotCodeException, UnsupportedBotCodeException 添加三种与功能码相关的异常类;
|
2020-10-07 08:47:33 +08:00 |
|
|
8dfaa97040
|
[Add] Framework-API 添加基于 PF4J 的框架API初版;
[Add] Framework, FrameworkDescriptor, FrameworkManager 添加框架相关类;
[Add] AuthorJsonSerializer, BotCodeDescriptorJsonSerializer, PlatformJsonSerializer, PluginDependencyJsonSerializer 添加一组辅助解析 FrameworkDescriptor 的 Json 序列化工具类;
[Add] Author, BotCodeDescriptor, Platform 添加与框架相关的信息类;
[Add] BotCode 添加机器人功能码接口, 以抽象化各框架实现的功能码;
[Add] DefaultFrameworkDescriptor 添加 FrameworkDescriptor 的默认实现(应该不会再改的了);
[Add] JsonFrameworkDescriptorFinder 添加自定义的 Json 框架元数据查找解析器;
[Add] FrameworkFactory 添加用于构造框架对象的工厂类;
[Add] org.pf4j:pf4j 添加 PF4J 作为 Framework-API 的插件框架;
[Add] com.google.code.gson:gson 添加 Gson 作为框架元数据的解析工具;
|
2020-10-07 00:17:29 +08:00 |
|
|
0841924b13
|
[Add] Exec 添加一个预期(?)的启动模块;
[Add] ApplicationMain 程序主入口, 负责初始化项目运行环境和启动项目;
[Add] log4j2.xml 使用上一版日志配置, 后续会有调整;
[Add] cgj_setting.json 初始配置文件, 需等 Core 模块完成后才会具体编写;
|
2020-10-06 10:33: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 |
|
|
097c4a035c
|
[Update] CacheStore-local, CacheStore-redis 适配 CacheStore-api 的更改;
[Update] LocalCacheStoreFactory 根据 CacheStore-local 中实现的特性, 设置 Factory 注解中 source 参数;
[Update] RedisCacheStoreFactory 根据 CacheStore-redis 中实现的特性, 设置 Factory 注解中 source 参数;
|
2020-10-01 01:02:02 +08:00 |
|
|
75f19e5d21
|
[Add] CacheStore-api 增加对缓存存储源类型的标注, 以协助 Core 按需选择缓存容器;
[Add] CacheStoreSource 增加缓存存储源类型枚举类, 暂时添加目前已涉及的类型;
[Update] Factory 增加 CacheStoreSource 项目(因为 CacheStoreSource 是没有更改需要的;
|
2020-10-01 00:58:40 +08:00 |
|
|
1643891166
|
[Change] CacheStore-redis 调整内部类 RedisConnectionPool 的访问修饰符;
[Change] RedisConnectionPool 调整访问修饰符(public -> default);
|
2020-09-29 10:11:11 +08:00 |
|
|
1c634af225
|
[Add][Document] CacheStore-API 更新 Javadoc 并添加初版 Readme.md;
[Add] README.md 增加子模块的 Readme;
[Document] CollectionCacheStore 更新 Javadoc;
|
2020-09-29 10:10:01 +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 |
|