Commit Graph

10 Commits

Author SHA1 Message Date
admin 3863c9d480 fix: 修复所有 golangci-lint 错误
- goimports: 修复 3 个文件的导入顺序
- ineffassign: 移除无效的变量初始化
- staticcheck SA9003: 修复空分支问题
2026-04-20 09:35:56 +08:00
admin 5563d0d430 fix: 修复 staticcheck 和优化前端构建
- 修复所有 Yoda 条件错误 (ST1017)
- 修复 error 格式错误 (ST1005)
- 修复不必要的 blank identifier (QF1001)
- 移除 tsc 重复编译,减少内存使用
- monaco-editor 改为动态导入
2026-04-20 08:26:42 +08:00
admin 5a5c652264 fix: 修复 golangci-lint gosimple/ineffassign/staticcheck 错误 2026-04-20 04:48:25 +08:00
admin 1685aa4428 fix: fix staticcheck errors - errors.Is parameter order and deprecated ioutil 2026-04-19 23:43:33 +08:00
admin 0a62c7078b fix: prevent double encryption when viewing password and saving 2026-04-19 21:49:04 +08:00
admin 153ff82322 fix: password not saved correctly when editing asset 2026-04-19 21:37:04 +08:00
admin c0a293cc8d fix: remove unused DatabaseSQLLogService 2026-04-19 17:45:13 +08:00
admin 1f7c491048 feat: 完善日志审计功能
- 实现文件系统日志(FilesystemLog)记录文件管理器操作
- 实现操作日志(OperationLog)记录用户操作行为
- 实现数据库SQL日志(DatabaseSQLLog)模型和API
- 实现SSH会话命令记录(SessionCommand)含命令输出和风险等级
- 添加IP提取服务支持X-Real-IP和X-Forwarded-For
- 添加日志自动清理功能
- 修复ProFormSwitch required验证问题
- 修复设置页面默认值问题
- 修复文件上传错误检测逻辑
- 修复资产树key前缀问题
- 添加VNC/RDP设置默认值
- 修复文件管理标题翻译
2026-04-19 06:57:42 +08:00
admin 3c217ab039 feat: 添加数据库资产、命令拦截器、授权资产等功能,修复GitHub Actions工作流 2026-04-18 07:44:18 +08:00
admin 6e2e2f9387 fix: 修复关闭SSH终端标签页时会话状态未更新的问题 2026-04-18 02:35:38 +08:00