Commit Graph

13 Commits

Author SHA1 Message Date
TsMask
11e884174c feat: 定时导出文件路径统一前缀,导出无分页检查 2025-09-18 11:10:24 +08:00
TsMask
fa8da36b90 style: 认证源结构体命名 2025-08-12 10:36:57 +08:00
TsMask
72e04a140d feat: 客户端oauth2认证模块 2025-08-12 10:35:18 +08:00
TsMask
9e57c145d1 feat: 新增第三方登录认证和管理 2025-08-12 10:12:46 +08:00
TsMask
33b95a6e30 fix:: 请求响应码用常量 2025-06-07 16:32:04 +08:00
TsMask
88da71b9d5 style: 目录变更系统配置和引导初始化 2025-05-29 15:27:00 +08:00
TsMask
2a0f0c46ca fix: 首次引导tokan未记录 2025-04-27 18:44:48 +08:00
TsMask
80d612c56c Refactor error handling in system and trace controllers
- Updated error response codes for various validation errors from 400 to 422 to better reflect the nature of the errors.
- Changed error messages for empty parameters (e.g., userId, menuId, roleId) to use a consistent error code format.
- Improved error handling in the IPerf, Ping, and WS controllers to provide more informative error messages.
- Ensured that all controllers return appropriate error messages when binding JSON or query parameters fails.
2025-04-27 16:38:19 +08:00
TsMask
56991a0b49 feat: Implement Oauth2 login log service and repository
- Added Oauth2LogLoginService for managing user authorization logs.
- Implemented methods for inserting logs, cleaning logs, and exporting log data.
- Created a new file for Oauth2 login log service.

refactor: Remove unused open_api module

- Deleted the open_api.go file as it was not utilized in the project.

fix: Update error codes in SysProfileController

- Changed error codes for binding errors and user authentication errors to more descriptive values.

fix: Update cache handling in SysConfig and SysDictType services

- Modified Redis set operations to include expiration time for cached values.

refactor: Update middleware authorization checks

- Replaced PreAuthorize middleware with AuthorizeUser across multiple routes in system and tool modules for consistency.

chore: Clean up trace and ws modules

- Updated middleware authorization in trace and ws modules to use AuthorizeUser.
2025-04-27 11:07:34 +08:00
TsMask
e30069603d feat: 配置控制首次登录密码修改 2025-04-18 17:09:30 +08:00
TsMask
afbb1e6ef4 fix: 超管账号跳过强制改密码 2025-04-01 20:40:09 +08:00
TsMask
36aa32dc94 feat: 密码强度校验/密码过期时间功能 2025-03-31 15:18:17 +08:00
TsMask
5040a5ae40 perf: 通用模块分出认证模块 2025-03-19 11:32:57 +08:00