Ling Bao
eb567d1ffa
Merge pull request #111 from UltiKits/alpha-remove-spring-context
...
Alpha-remove-spring-context
7 months ago
Ling Bao
9b73507245
security: 加强插件管理器类加载安全防护机制
...
- 新增SecurityPolicy类,定义系统级安全策略和黑名单机制
- 新增ClassLoaderUtils类,提供安全的类加载工具方法
- 增强PluginManager.loadPluginMainClass方法的安全验证:
- 添加jar文件安全性验证,包括文件大小和条目数量限制
- 实现类扫描防重复和数量限制,防止DoS攻击
- 集成SecurityPolicy进行类名安全检查
- 改进PluginManager.initializePlugin方法:
- 添加构造器参数安全性验证
- 增强错误处理和日志记录
- 新增ClassLoaderSecurityTest测试类,验证安全机制有效性
- 防护措施包括:
- 危险类黑名单过滤
- 可疑包前缀检测
- 文件结构验证
- 参数类型安全检查
7 months ago
Ling Bao
c4434d07e3
重构: 移除对Spring框架的依赖并实现自定义依赖注入容器
...
- 替换Spring注解(如@Component、@Service、@Configuration等)为自定义注解。
- 实现了SimpleContainer作为轻量级依赖注入容器,替代Spring ApplicationContext。
- 添加了AutowireFactory用于自动装配依赖。
- 实现了ComponentScanner用于扫描和注册组件。
- 添加了BeanDefinition和BeanFactory用于管理Bean元数据和实例化。
- 移除了Spring相关依赖(如spring-context、spring-beans等)。
- 更新了相关类以适配新的依赖注入机制。
- 添加了单元测试和集成测试,验证新容器的功能和兼容性
7 months ago
Ling Bao
a697e1c14e
update: 格式化代码,统一缩进和空格
1 year ago
Ling Bao
cbfa9b480b
Merge pull request #109 from haishen668/alpha
...
2024/7/28 更新 版本6.1.2 添加了参数错误提示功能及权限判断功能
2 years ago
haishen668
aabc1de349
2024/7/28 更新 版本6.1.2 添加了参数错误提示功能及权限判断功能
2 years ago
haishen668
36629534e0
2024/7/28 更新 版本6.1.2 添加了参数错误提示功能及权限判断功能
2 years ago
haishen668
c789f4be00
2024/7/28 更新 版本6.1.2 添加了参数错误提示功能及权限判断功能
2 years ago
Ling Bao
5d92225701
Merge pull request #108 from haishen668/alpha
...
2024/7/27 更新 版本6.1.2 修复了参数不全情况下的数组越界异常
2 years ago
haishen668
0d546c76b9
2024/7/27 更新 版本6.1.2 修复了参数不全情况下的数组越界异常
2 years ago
haishen668
c1aeb7992b
2024/7/27 更新 版本6.1.2 修复了参数不全情况下的数组越界异常
2 years ago
haishen668
8ace06e2cc
2024/7/27 更新 版本6.1.2 修复了参数不全情况下的数组越界异常
2 years ago
haishen668
0517a3f604
2024/7/27 更新 版本6.1.2 修复了参数不全情况下的数组越界异常
2 years ago
Ling Bao
8e3afc7dce
Merge pull request #107 from qianmo2233/alpha
...
2024/07/07 更新 版本6.1.2
2 years ago
qianmo
c59c8cfad0
2024/07/07 更新 版本6.1.2
...
feat: `NotificationService` 添加 Toast 与 ActionBar 发送消息的方法
2 years ago
qianmo
f1620bdd5f
2024/07/07 更新 版本6.1.2
...
feat: `NotificationService` 添加 Toast 与 ActionBar 发送消息的方法
2 years ago
Ling Bao
577a792c68
2024/07/03 更新 版本6.1.1
...
1. 修复了6.1.0插件无法下载依赖的问题
2. 修复了部分报错不可见的问题
2 years ago
Ling Bao
fcc49ea204
Merge branch 'main' into alpha
2 years ago
Ling Bao
2d3673b19f
将nexus-staging-maven-plugin升级到1.7.0
2 years ago
Ling Bao
7998e60e5d
feat: 添加SQLite数据存储方式
...
为UltiTools插件添加了SQLite数据存储方式,以提供更稳定的性能和数据保护。
2 years ago
Ling Bao
4e3052d4b6
feat: Add BukkitLogFactory for plugin logging
...
This commit adds a new class, `BukkitLogFactory`, which extends `LogFactory` from the `cn.hutool.log` package. This class is responsible for creating instances of `BukkitLog` for logging in the plugin. It overrides the `createLog` methods to return instances of `BukkitLog` based on the provided name or class. This change improves the logging functionality in the plugin by providing a custom logger implementation specifically designed for Bukkit.
2 years ago
Ling Bao
bb6a879e6b
chore: Update flush rate for JsonStore
...
Update the flush rate for JsonStore to use the value from the configuration file. If the flush rate is not specified in the configuration, default to 10.
2 years ago
Ling Bao
b7c27721a2
feat: 添加SQLite数据存储方式
...
为UltiTools插件添加了SQLite数据存储方式,以提供更稳定的性能和数据保护。
2 years ago
Ling Bao
546c18e6d7
修复了1.20.6无法加载version的问题
2 years ago
Ling Bao
25fcfbd56d
Update: 1. 修复了paper-remapped文件夹无法加载依赖问题 2. 添加了无法识别核心版本时退回到默认版本
2 years ago
Ling Bao
8709e9a62b
chore: Update project version to 6.1.0 in pom.xml
2 years ago
Ling Bao
1d705f83cd
chore: Clean up project files and update dependencies
2 years ago
Ling Bao
19f744d354
Merge pull request #104 from qianmo2233/main
...
2024/06/12 更新 版本6.1.0
2 years ago
Ling Bao
e1cbab4833
chore: Update .gitignore to ignore .vscode directory
2 years ago
qianmo
d7c6c4db0a
2024/06/12 更新 版本6.1.0
...
将 `Confirm` 相关的某些类移动至 widgets 包内
添加了 `Hologram` 用于全息文字的生成
2 years ago
Ling Bao
43d01fc372
Merge pull request #103 from qianmo2233/main
...
2024/06/05 更新 版本6.1.0
2 years ago
qianmo
5d86f544ae
清理代码
2 years ago
qianmo
26a63f679d
清理代码
2 years ago
qianmo
a7258ebdc6
2024/06/05 更新 版本6.1.0
...
1.(feat) 添加了 `Confirm` 接口,用于快速向玩家发起确认请求。
2.(impr) 为 `OkCancelPage` 添加了自定义按钮文本的方法。
3.(impr) 在 `TempListener` 添加了 `common` 方法,以便更快速地创建监听器。
4.(impr) 在 `SimpleTempListener` 添加了 `filter` 方法,用于过滤不需要处理的事件。
4.(impr) 废弃 `PlayerTempListener` 及相关接口。
2 years ago
Ling Bao
e5676fbde6
Merge pull request #102 from qianmo2233/patch-2
...
Update README.md
2 years ago
QianMo SAMA
6669308572
Update README.md
...
fix some error
2 years ago
Ling Bao
a85a4fe331
Update maven-ci.yml
2 years ago
Ling Bao
216a2ea1ba
Merge pull request #101 from UltiKits/alpha
...
Release 6.0.9
2 years ago
Ling Bao
c7b80d00f9
Update README.md
2 years ago
Ling Bao
3c6a46cd29
Update README.md
2 years ago
wisdommen
2b56e71ba4
UltiTools-API 6.0.9
...
1. 重构命令抽象类
2. 清理代码
3. 修复了无法获取云端插件信息的问题
2 years ago
wisdommen
3001b1abc2
UltiTools-API 6.0.9
...
1. 将模块代码从仓库中分离
2. 修复了初始化语言可能会报错的问题
3. 修复了墨端部分情况下无法加载模块的问题
4. 添加了通知服务
5. 内置了MySQL数据库支持
6. 删除了内置http服务器,换成了websocket连接
2 years ago
Ling Bao
cc26d6d794
Update README.md
2 years ago
wisdommen
5b9a780a0b
2024/01/28更新 API版本6.0.8
...
[MysqlConnector] 1.0.1
1. 适配了UltiTools-API 6.0.8
2 years ago
Ling Bao
386ebfab29
Merge pull request #100 from UltiKits/alpha
...
2024/01/28更新 API版本6.0.8
2 years ago
wisdommen
dba5db6d5e
2024/01/28更新 API版本6.0.8
...
[UltiTools-API] 6.0.8
1. parser添加了保存配置的serializer方法
2. Config部分添加了读取文件夹内所有配置文件的特性
3. 删除了StringListParser
4. 修复了不同系统内文件分隔符的问题
[MysqlConnector]
1. 适配了UltiTools-API 6.0.8
2 years ago
Ling Bao
329d03eebb
Merge pull request #99 from UltiKits/alpha
...
Release 6.0.7
2 years ago
Ling Bao
77d4563a84
Merge pull request #98 from UltiKits/75-ChatPrefix
...
2024/01/27更新 API版本6.0.7
2 years ago
wisdommen
9b31a99b95
2024/01/27更新 API版本6.0.7
...
[UltiTools-API] 6.0.7
1. 添加了Parser特性
2. ConfigEntry注解支持了Parser特性,可自定义数据类型解析器
[BasicFunction] 1.0.6
1. 添加了聊天前缀
2. 添加了@功能
2 years ago
Ling Bao
792f8ed562
Merge pull request #97 from UltiKits/96-connection-rest-issue
...
96 connection rest issue
2 years ago