feat: 添加新插件支持及多项功能改进

- 新增磁盘加密、打印审计和剪贴板管控插件支持
- 优化水印插件显示效果,支持中文及更多Unicode字符
- 改进硬件资产收集逻辑,更准确获取磁盘和显卡信息
- 增强API错误处理,添加详细日志记录
- 完善前端界面,新增插件管理页面
- 修复多个UI问题,优化页面过渡效果
- 添加环境变量覆盖配置功能
- 实现插件状态管理API
- 更新文档和变更日志
- 添加安装程序脚本支持
This commit is contained in:
iven
2026-04-10 22:21:05 +08:00
parent 3d39f0e426
commit b5333d8c93
101 changed files with 4487 additions and 661 deletions

View File

@@ -103,7 +103,7 @@ onMounted(() => {
user.username = payload.username || 'admin'
user.role = payload.role || 'admin'
}
} catch { /* ignore */ }
} catch (e) { console.error('Failed to decode token for username', e) }
api.get<any>('/health')
.then((data: any) => {
@@ -112,7 +112,7 @@ onMounted(() => {
const bytes = data.db_size_bytes || 0
dbInfo.value = `SQLite (WAL) - ${(bytes / 1024 / 1024).toFixed(2)} MB`
})
.catch(() => { /* ignore */ })
.catch((e) => { console.error('Failed to fetch health status', e) })
})
async function changePassword() {