Commit Graph

218 Commits

Author SHA1 Message Date
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
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
dependabot[bot]
f9ac67f7f8
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-framework-api
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 10:04:55 +00:00
dependabot[bot]
6d91638413
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-pixiv
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 10:04:48 +00:00
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
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
dependabot[bot]
2764551e3b
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-CacheStore-redis
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 22:00:19 +00:00
dependabot[bot]
22eb78dae9
Bump gson from 2.8.6 to 2.8.9 in /ContentGrabbingJi-core
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 21:57:03 +00:00
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
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
e47a745a87
[Add] Project, Template-Velocity, Core-Function 添加新的模块;
[Add] Template-Velocity 尝试将 Velocity 作为官方支持的模板组件;
[Add] Core-Function 将 Function 相关功能从 Core 中抽离, 以尝试降低耦合性;
2021-04-09 12:56:54 +08:00
ed46aa9481
[Update] Project 更新 Guava 版本, 以避免临时文件访问权限漏洞;
[Update] com.google.guava:guava 更新版本(29.0-jre -> 30.0-jre) 以修复临时文件访问权漏洞;
2021-04-09 12:50:43 +08:00
4492287632
[Document] Framework-API 补充 content 文档;
[Document] AbstractMessageEvent 补充 content 文档;
2021-03-14 19:36:28 +08:00
b7f9343ca9
[Change] Project 暂时停用 Codecov 测试覆盖率报告插件;
[Change] .github/workflows/maven-test.yml 停用 Codecov 插件;

------
Description:
Codecov 还有一些问题需要解决, 就目前项目情况来说暂时还没有过高的代码覆盖测试要求, 故暂时停用 Codecov.
2021-03-12 16:50:45 +08:00
dc86f99d60
[Move] Framework-API, Common 将 Platform 与 MessageSource 移入公共模块;
[Move] Platform 移入公共组件模块;
[Move] MessageSource 移入公共组件模块;
2021-03-12 16:45:01 +08:00
30b6392ce2
[Add] Framework-API 为 NotFoundSenderException 异常添加新的构造器(早知道就一步到位了 :O);
[Add] NotFoundSenderException 添加新的构造器;
2021-03-01 09:14:13 +08:00
e494412344
[Change] Framework-API 添加 Bot UUID 作为在多账户框架组件中识别单个 Bot 账户的标识;
[Change] SenderFactory 添加 'getBotUUID' 方法用于获取 Factory 相关联的 Bot 账户;
2021-03-01 09:12:09 +08:00
22ec7c6741
[Add] Framework-API 增加内置标准化 Platform Enum, 添加标准化平台信息文档;
[Add] Platform.Standard 添加私有内置的标准化 Platform 枚举类(已添加部分平台信息);
[Add] Framework-API/StandardPlatform.md 添加标准化平台信息文档(用于参考或者直接使用, 帮助统一平台信息);
2021-03-01 09:08:48 +08:00
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
756df33442
[Change] Framework-API 调整 NoFoundSenderException 类名, 并添加可提供消息的构造器;
[Change] NoFoundSenderException -> NotFoundSenderException 更改类名;
[Change] NotFoundSenderException 添加可提供消息的构造器;
[Change] SenderFactory 适配更改;
2021-02-21 20:40:16 +08:00
f945b52fa4
[Change] Framework-API 调整 Framework 内存储 PluginWrapper 的方式, 以防 Plugin 内的 wrapper 遭到更改;
[Change] Framework 添加 _wrapper 字段, 用于保存 PluginWrapper 并防止 Plugin 内的 wrapper 遭到更改(但是依然没办法防止 'getWrapper()' 返回错误的 PluginWrapper);
2021-02-21 20:31:47 +08:00
68f13a38c1
[Add] Framework-API 添加提供给应用内部(或命令扩展)用于主动获取对应平台 Sender 的扩展接口;
[Add] SenderFactory 添加用于主动获取 Sender 的扩展接口;
[Add] NoFoundSenderException 添加相关异常;
2021-02-21 20:29:33 +08:00
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
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
672be33866
[Optimize] Core 修正一个代码上的细节, 以减少强转隐患;
[Optimize] FrameworkFactory 调整 'constructor' 的类型, 以减少强转类型错误的隐患;
2021-01-25 19:34:14 +08:00
f0053f3957
[Change] Project 修复贡献准则的细节错误, 调整联系邮箱的形式;
[Change] CODE_OF_CONDUCT.md 修复语法错误, 调整联系邮箱的形式;
2021-01-18 12:37:57 +08:00
f414802c63
[Add] CacheStore-Redis 添加指定前缀键名删除脚本, 以提供带有原子性的 RedisCacheStore.clear 操作;
[Add] RemoveKeysByPrefix.lua 添加用于实现 RedisCacheStore.clear 操作的脚本;
2021-01-16 01:43:00 +08:00
c956c1b3d2
[Change] Common 补充一个漏网之鱼;
[Change] LocalFactory 适配更改(Commit: a090abc9);
2021-01-16 01:32:41 +08:00
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
997b942a27
[Change] CacheStore-Redis 调整通配符常量的引用;
[Change] RedisUtils 调整 'CACHE_KEY_ALL' 的通配符为 'KEY_PATTERN_ALL';
2021-01-15 20:20:02 +08:00
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
a090abc9a4
[Change] CacheStore-API, CacheStore-Local, CacheStore-Redis 调整 MapCacheStore.putAll 方法参数;
[Change] MapCacheStore 调整 'putAll' 方法的泛型, 以兼容类型的子类;
[Change] HashMapCacheStore, RedisMapCacheStore 适配更改;
2021-01-12 06:39:48 +08:00
edb709fb0d
[Update] CacheStore-Redis 在构建配置中将 lua 脚本纳入编译资源;
[Update] CacheStore-Redis/pom.xml 将 lua 源码文件夹纳入资源一部分;
2021-01-11 16:45:30 +08:00
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
a6fc04c07e
[Fix] CacheStore-Redis 修复 RedisCacheStore 部分操作对于作用 Key 的范围不明确的问题;
[Fix] RedisCacheStore 修复 'clear()', 'keySet()' 和 'size()' 方法影响到不属于 CacheStore 的问题;
[Update] RedisSingleCacheStoreTest 完善测试项;
2021-01-11 16:42:06 +08:00
2bdfbeb72d
[Fix] CacheStore-Redis 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题, 完善测试项;
[Fix] RedisMapCacheStore 修复 'putAll' 因 Map 为空且检查疏漏导致抛出异常的问题;
[Update] RedisMapCacheStoreTest 调整测试用前缀, 完善 'putAll' 对空 Map 参数在不同情况下的测试;
2021-01-11 16:38:59 +08:00
8d9debeb1b
[Add] CacheStore-Redis 添加 List 组件;
[Add] RedisListCacheStore 添加完整的 List 组件;
[Add] RedisListCacheStoreTest 完整单元测试类;
[Update] RedisCacheStoreFactory 添加对 List 组件的提供;
2021-01-11 16:38:30 +08:00
752cf907d6
[Add] RedisConnectionPool 添加对 Lua 脚本的支持;
[Add] LuaScript 添加 Lua 脚本声明定义类;
[Add] RedisConnectionPool 添加对 Lua 脚本加载管理和执行的功能;
2021-01-11 16:37:50 +08:00
f1e76092a0
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本中对无效项判断的错误;
[Fix] RemoveElementByIndex.lua 修复范围溢出, 不存在键检查失效的问题;
2021-01-11 16:24:55 +08:00
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
6ad1d3a947
[Change] Project 调整用词;
[Change] README.md 调整用词;
2021-01-03 11:47:43 +08:00
074e71014a
[Fix] CacheStore-Redis 修复 RemoveElementByIndex 脚本返回值不统一的问题;
[Fix] RemoveElementByIndex.lua 修复失败返回值不统一的问题;
2021-01-03 11:28:52 +08:00
1c298c11ec
[Fix] Project 修复 Readme 中不符合规范的格式, 修正开发计划格式;
[Fix] README.md 修复 Readme 中不符合规范的格式, 修正开发计划格式;
2021-01-02 23:03:33 +08:00
72ff066f5c
[Add] CacheStore-Redis 添加两个 Lua 操作脚本;
[Add] CheckElementContains.lua 添加用于检查 List 中是否含有某元素的脚本;
[Add] RemoveElementByIndex.lua 添加用于通过指定索引删除元素的脚本;
2021-01-02 22:50:34 +08:00
b9141f9f96
[Update] Project 补充 Readme 中对本项目版权(开源协议)的描述, 调整 AGPLv3 协议声明的相关细节(补充 URL);
[Update] README.md 补充 Readme 中对本项目版权(开源协议)的描述, 调整 AGPLv3 协议声明的相关细节(补充 URL);
2021-01-02 17:53:15 +08:00
37689f7253
[Update][Fix] CacheStore-Redis 增加测试细节, 修复 RedisMap 中 'putAll()' 方法非空检查失败导致发生异常的问题;
[Update] RedisMapCacheStoreTest 增加对 'putAll()' 参数传递空 Map 的测试;
[Fix] RedisMapCacheStore 修复因条件错误导致未能准确排除空 Map 的问题;
2021-01-02 12:30:56 +08:00
75458dd999
[Fix] Project 修复 Readme 中的版权声明;
[Fix] README.md 修复版权声明(AGPLv3-or-later -> AGPLv3-Only);
2021-01-01 18:51:11 +08:00
0968c5c6af
[Update][Fix] ALL 修正版权信息, 更新年份;
[Update] * 更新年份;
[Fix] * 由 AGPLv3-Later 更新为 AGPLv3-Only;

2021, 新年快乐! (新的一年继续努力吧! :D)
2021-01-01 18:26:20 +08:00
de3c3941f3
[Add] Event 添加 Readme 文档;
[Add] Readme.md 添加子模块 Readme 文档, 待完善;
2021-01-01 17:51:13 +08:00
87e6dbb9e7
[Add] CacheStore-Local 添加单元测试以完善模块单元测试覆盖;
[Add] LocalCacheStoreFactoryTest 添加针对 LocalCacheStoreFactory 的单元测试类;
[Add] HashSetCacheStoreTest 添加针对 HashSetCacheStore 的单元测试类;
2021-01-01 12:30:06 +08:00