Commit Graph

20 Commits

Author SHA1 Message Date
cf0e326b0c feat: 实现题目服务基础架构
- 创建题目服务模块 aioj-backend-question-service
- 实现 Question、TestCase、QuestionSubmit 实体类
- 实现 RESTful 风格的 Controller 接口
- 添加完善的 Swagger 注解和校验
- 配置 Nacos 服务发现和 Redis 缓存
- 实现分页查询和条件过滤功能

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-21 22:47:36 +08:00
61fb847ac1 ai + blog 2026-01-20 17:20:03 +08:00
c9e9a1a4c7 chore: 更新IDE配置和网关过滤器
- 更新IDEA配置文件(dataSources, db-forest, encodings)
- 更新网关AuthGlobalFilter
- 添加uploads目录

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-12 02:02:59 +08:00
a4575cebd4 refactor: 重构安全架构,提取通用安全模块到common-security
- 将JwtAuthenticationFilter、JwtUtil、JwtProperties从auth服务移至common-security模块
- 新增common-security通用安全模块,提供JWT认证、权限验证等核心安全功能
- 重命名SecurityConfiguration为AuthSecurityConfiguration,使用common-security的filter
- 新增JacksonConfiguration配置类,统一JSON序列化配置
- 新增头像更新功能AvatarUpdateRequestDTO
- 移除冗余的UserLoginResponseDTO类
- 更新各服务模块的依赖配置以引入common-security模块
- 新增README.md项目说明文档

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-12 01:54:21 +08:00
2e2697140c feat :AIOJ 后端模块并更新项目结构
- 引入了新模块:gateway、judge service、question service、user service 和 UPMS。
- 在 gateway 和 user service 模块中创建了 package-info.java 文件用于文档说明。
- 更新了 pom.xml 文件以反映新的模块结构和依赖关系。
- 在 UserController 中实现了基本的用户资料管理端点。
- 为每个新模块添加了扁平化 POM 文件以有效管理依赖。
- 增强了项目属性,以实现更好的版本管理和模块间一致性。
2026-01-10 14:46:36 +08:00
47a468096d feat: 实现邮箱验证码和邮箱绑定功能
- 添加邮件发送服务实现(EmailService/EmailServiceImpl)
- 新增发送验证码、绑定邮箱、解绑邮箱接口
- 用户实体新增邮箱相关字段(userEmail/userEmailVerified)
- 添加邮件配置和JavaMailSender Bean
- 放行邮箱验证码接口(/v1/user/email/send-code)
- 新增ContextHolderUtils工具类用于获取当前用户上下文
- 完善Swagger文档注解

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-09 23:53:19 +08:00
fc72acf490 feat: 更新配置文件和代码,优化Swagger文档和负载均衡支持 2026-01-08 01:15:56 +08:00
d32970ded7 chore: 更新开发环境配置
- 添加git命令自动批准到Claude Code设置
- 更新IDEA数据库连接配置
- 添加agents目录

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-07 20:34:04 +08:00
d353735d1b 实现oauth2 2025-12-14 17:47:08 +08:00
d04440f0b1 fix: 避免gateway不需要其错误处理而导致报错的问题 2025-12-14 15:17:51 +08:00
63d0528af4 fix: 修复网关启动找不到服务的问题,修复jwt问题,修复自动导入失败问题。 2025-12-14 15:02:24 +08:00
4912e48922 fix: 确保项目可以启动 2025-12-12 23:50:55 +08:00
c61ee69561 fix: 修复日志功能 2025-12-08 22:51:51 +08:00
lirui
6f7963a73b feat:依赖修复,完善core和mybatis还有log模块,log模块待完成 2025-11-25 17:06:50 +08:00
lirui
d89960f51c feat: 添加代码格式化 2025-11-25 13:53:29 +08:00
7a3d3a06ba fix: 重新设计依赖,添加多个模块 2025-11-24 23:42:00 +08:00
c03876e29e refactor: 拆分出认证服务 2025-11-20 22:43:05 +08:00
9b28ef0a37 feat: 引入spring security和oauth2库还有jwt库,实现基本的注册功能和登录功能 2025-11-19 23:12:35 +08:00
74acfc208a feat: 添加网关 2025-11-15 23:42:41 +08:00
66aa55d5c3 项目初始化 2025-11-12 23:02:53 +08:00