Commit Graph

17 Commits

Author SHA1 Message Date
admin 1685aa4428 fix: fix staticcheck errors - errors.Is parameter order and deprecated ioutil 2026-04-19 23:43:33 +08:00
admin 35e37a8142 fix: show placeholder password when editing asset 2026-04-19 22:55:21 +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 cc76b49c66 fix: remove unused Md5 function 2026-04-19 18:39:51 +08:00
admin 84811ec52c fix: remove unused DeCryptPassword function 2026-04-19 18:13:55 +08:00
admin c0a293cc8d fix: remove unused DatabaseSQLLogService 2026-04-19 17:45:13 +08:00
admin 6829d77898 fix: remove unused GetName function 2026-04-19 17:16:20 +08:00
admin f8890a5479 fix: remove unused functions RegexpFindSubString, String2int, Utf8ToGbk and unused imports 2026-04-19 16:21:38 +08:00
admin b6aabfb7c4 fix: remove unused function ParseNetReg 2026-04-19 09:56:50 +08:00
admin 5da60cb239 fix: remove unused functions Check, InsertSlice, GetLocalIp 2026-04-19 09:31:10 +08:00
admin fa1a36c45b fix: fix test_ssh.go log function calls 2026-04-19 08:38:15 +08:00
admin 6a800164c4 fix: remove unused init functions and imports 2026-04-19 08:11:51 +08:00
admin b7929d6ae7 fix: 删除未使用的函数修复golangci-lint错误 2026-04-19 07:44:06 +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