PIGCLOUD
|
ee27036339
|
chore: 统一 PIGX 项目版本为 6.2.0
|
2026-09-22 22:17:22 +08:00 |
|
PIGCLOUD
|
87489ed353
|
chore(deps): align non-AI platform with 6.1.0
|
2026-08-01 11:57:32 +08:00 |
|
PIGCLOUD
|
778e795d9d
|
chore: update version from 6.0.0-SNAPSHOT to 6.0.0 in pom.xml
|
2026-06-01 09:12:29 +08:00 |
|
PIGCLOUD
|
5ad4dfb711
|
refactor(pigx-common-security): 统一验证码校验逻辑并新增短信验证码前置校验
|
2026-05-20 23:24:23 +08:00 |
|
PIGCLOUD
|
e88b2818fd
|
chore(pom): update parent version to 6.0.0-SNAPSHOT and adjust dependencies fix: correct import paths for Spring Boot components and update Jackson configuration
|
2026-05-01 22:20:52 +08:00 |
|
PIGCLOUD
|
98656e4af3
|
chore: upgrade version to 5.12.0 (non-AI modules only)
Cherry-picked from 799188b31, excluding pigx-aigc and AI-related common modules.
|
2026-03-08 15:15:12 +08:00 |
|
PIGCLOUD
|
23287b77ea
|
fix(pigx-common-security): 添加token过期错误提示
- 在messages_en.properties中添加OAuth2ResourceOwnerBaseAuthenticationProvider.tokenExpired错误消息
|
2026-03-08 14:58:21 +08:00 |
|
PIGCLOUD
|
31ad1fbeb8
|
fix(pigx-common-security): 修复用户密码修改时间处理逻辑
- 修改 PigxUserDetailsService 中密码修改时间的处理逻辑
- 当 passwordModifyTime 为 null 时使用 createTime 作为替代值
|
2026-03-08 14:57:45 +08:00 |
|
PIGCLOUD
|
2acdceac2a
|
feat(i18n): set default locale to China for message sources
|
2026-03-08 14:56:04 +08:00 |
|
PIGCLOUD
|
c36ef5fdf5
|
refactor(copyright): 更新版权年份至 2026
- 统一更新所有源文件、LICENSE、pom.xml 等的版权年份至 2026
|
2026-01-03 22:55:26 +08:00 |
|
PIGCLOUD
|
6743d8d7ab
|
feat(version): 升级项目版本至5.11.0
- 更新所有模块的pom.xml中version字段
- 同步更新CLAUDE.md文档中的版本信息
|
2025-12-28 16:33:51 +08:00 |
|
PIGCLOUD
|
f30b32a28a
|
feat(upms): 重构国际化消息和错误码模块化架构
- 移除全局ErrorCodes接口,按模块拆分Auth/Upms/App错误码定义
- 新增模块化i18n消息文件,支持多JAR包扫描加载机制
- 重构MsgUtils支持LocaleContextHolder动态区域解析
- 统一OAuthClientException异常处理支持错误码和描述参数
- 优化企业微信/钉钉同步错误消息国际化支持
|
2025-12-28 11:27:03 +08:00 |
|
PIGCLOUD
|
5123e3f116
|
feat(security): 新增单体一键 CORS跨域配置支持 security.cors.enabled
- 新增PigxBootCorsProperties配置类用于管理CORS跨域参数
- 在AuthorizationServer和ResourceServer中集成CORS配置逻辑
- 支持通过security.cors.enabled开关控制跨域功能
- 提供allowedOriginPatterns等细粒度跨域参数配置
|
2025-11-18 09:39:53 +08:00 |
|
PIGCLOUD
|
a25963323b
|
feat(security): 增强OAuth2 token验证的用户状态检查
- 在PigxCustomOpaqueTokenIntrospector中增加用户账号状态检查逻辑
- 当用户账号被锁定或过期时拒绝访问并抛出InvalidBearerTokenException
- 完善账号异常状态的日志记录和错误处理机制
- 保持原有客户端信息注入功能不变
|
2025-11-18 09:38:55 +08:00 |
|
PIGCLOUD
|
b7c4132765
|
feat(security): 优化Feign token传递逻辑
- 重构PigxOAuthRequestInterceptor的token获取流程
- 优先从Web请求中解析token,失败后从NonWebTokenContextHolder获取
- 增加Objects.nonNull检查确保request不为空
- 优化token传递逻辑,支持消息队列等非Web场景
|
2025-11-18 09:38:04 +08:00 |
|
PIGCLOUD
|
6117c47d7c
|
feat(user): 支持用户多部门关联及主部门切换功能
- 在SysUser实体类中新增deptId字段标识主部门
- 扩展UserDTO支持多部门ID列表传递
- 重构用户部门关联逻辑,支持设置主部门
- 新增获取用户部门列表和切换主部门接口
- 优化部门查询SQL确保主部门排序优先
- 调整用户详情查询逻辑适配多部门场景
|
2025-11-18 09:37:43 +08:00 |
|
冷冷
|
7710baa92a
|
feat(flow): 扩展流程发起人权限验证支持岗位类型
- 在NodeUserTypeEnum中新增POST类型以支持岗位权限验证
- 修改CombinationGroupServiceImpl中的权限验证逻辑,增加对岗位权限的检查
- 调整PigxUser结构以支持多部门、多角色、多岗位的存储
- 更新AssignUserLeaderStrategyImpl以适配用户的多部门信息
- 在SysDeptServiceImpl的getOrgTree方法中增加对岗位类型的支持
- 优化UserVO中集合属性的初始化以避免空指针异常
|
2025-10-17 14:55:50 +08:00 |
|
pigcloud
|
ed6138b566
|
refactor(dependencies): 升级项目版本至5.10.0
- 统一更新所有模块的parent版本号
- 标准化pom.xml文件格式和缩进
- 保持依赖配置和模块结构的一致性
|
2025-10-10 12:53:02 +08:00 |
|
PIGAI
|
38916dda25
|
feat(security): 新增单体架构下内部请求头安全过滤机制
- 添加PigxInnerHeaderRemoveFilter类用于防止前端伪造inner header
- 实现基于IP地址和FROM请求头的访问控制逻辑
- 在AutoConfiguration中注册过滤器配置
- 添加hutool-extra依赖支持IP地址工具类
|
2025-10-09 14:52:27 +08:00 |
|
lengleng
|
79b27b6d7d
|
feat(auth): 增强认证逻辑,支持密码过期校验及定时攻击保护机制
|
2025-10-09 14:48:11 +08:00 |
|
PIG AI
|
8d81533751
|
fix(security): 增强OAuth2 token管理功能, 确保删除操作后清理残留的username关联键
|
2025-07-09 21:18:15 +08:00 |
|
PIG AI
|
c8edf16536
|
feat(security): 重构Redis存储的OAuth2授权服务
- 将PigxRedisOAuth2AuthorizationService迁移至common-security模块
- 使用RedisTemplate替代RedisUtils进行缓存操作
- 增加Jackson序列化支持RouteDefinitionVo
- 优化token存储逻辑与过期时间处理
- 统一授权服务与路由管理的Redis配置
|
2025-07-04 12:07:00 +08:00 |
|
PIG AI
|
c8a8da7497
|
feat(tenant): 新增租户用户管理功能
- 在SysUserPost实体类中添加tenantId字段
- 新增SysTenantUserDTO用于租户用户数据传输
- 在SysTenantController中新增用户租户管理接口
- 实现租户用户的增删改查及分页查询功能
- 优化ValidateCodeFilter中的验证码校验逻辑
- 修复PigxUserDetailsService中空部门列表处理问题
|
2025-07-04 12:01:27 +08:00 |
|
PIG AI
|
d3770993ce
|
refactor(user): update user information retrieval to use UserDTO and improve method documentation
|
2025-07-04 11:58:50 +08:00 |
|
PIG AI
|
3a53fb5677
|
feat(redis): 添加Redis工具类,优化RedisTemplate配置
|
2025-07-04 11:57:22 +08:00 |
|
PIG AI
|
7205251977
|
feat(upms): ❕ 增强多租户支持,支持在线切换租户
- 新增SysTenantUser实体类及Mapper用于租户用户关系管理
- 新增SysUserDept实体类及Mapper实现用户多部门支持
- 重构用户信息查询逻辑,支持跨租户查询
- 优化部门管理,支持多租户下的部门树查询
- 扩展UserInfo DTO增加deptId字段
- 重构Redis授权服务,优化租户信息存储结构
# Conflicts:
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/controller/SysTenantController.java
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/service/SysUserService.java
|
2025-07-04 11:56:14 +08:00 |
|
PIG AI
|
de7e1fb4df
|
feat(pom): 升级项目版本及依赖版本
- 将项目版本从5.8.0升级至5.9.0
- 升级spring-boot版本至3.5.3
- 升级spring-boot-admin版本至3.5.0
- 更新所有子模块的parent版本号
|
2025-06-24 09:00:07 +08:00 |
|
PIG AI
|
78874c1646
|
refactor(pom): 适配 springboot 3.5 & spring cloud 2025
|
2025-06-23 16:19:50 +08:00 |
|
PIG AI
|
560129fc06
|
feat(security): 优化oauth2.0 的自省端点
- 在PigxRemoteRegisteredClientRepository中实现findById方法
- 优化PigxRedisOAuth2AuthorizationService的token处理逻辑
- 修复findByToken方法中tokenType为null时的默认值处理
- 添加根据username清理token的功能扩展
|
2025-06-23 16:15:17 +08:00 |
|
冷冷
|
dc37974c72
|
chore(deps): 更新Spring Boot版本至3.4.5并移除废弃依赖项
- 升级Spring Boot版本从3.4.3到3.4.5
- 移除不再使用的spring-authorization.version属性
- 清理pigx-common-security模块中冗余的版本号配置
|
2025-06-23 16:06:08 +08:00 |
|
冷冷
|
3a8116b5ea
|
chore(pom): update version from 5.7.0 to 5.8.0 across multiple modules
|
2025-03-09 20:47:25 +08:00 |
|
冷冷
|
a00f4f81a4
|
chore(deps): 更新 Spring Security 配置并引入 Lazy 注解 (jdk17-dev)
在 `AuthorizationServerConfiguration` 中移除 `DelegatingAuthenticationConverter` 的重复导入,并调整其位置。在 `PigxResourceServerConfiguration` 中引入 `@Lazy` 注解优化依赖注入,同时将 `PrePostTemplateDefaults` 替换为 `AnnotationTemplateExpressionDefaults`。
|
2025-02-18 19:41:57 +08:00 |
|
冷冷
|
9415d82c28
|
🔖 V5.7.0
|
2024-12-05 12:23:43 +08:00 |
|
冷冷
|
a013b5196a
|
refactor(security): 异常信息使用 messages_zh_CN.properties 国际化文件处理
|
2024-12-01 15:04:50 +08:00 |
|
冷冷
|
8baef653f1
|
upgrade(all): 5.7.0-SNAPSHOT
|
2024-11-27 22:04:25 +08:00 |
|
冷冷
|
d9ed794fc3
|
refactor(app): 优化APP 模块登录用户名不匹配的日志
|
2024-11-24 17:43:30 +08:00 |
|
冷冷
|
17a7351e31
|
fix(app): 【紧急紧急】 APP登录序列化错误导致登录失败
|
2024-08-28 17:39:49 +08:00 |
|
冷冷
|
89dd047167
|
upgrade(version): 5.6.0
|
2024-08-26 23:45:03 +08:00 |
|
冷冷
|
6671a4abf9
|
refactor(缓存): redistemplate / spring cache 使用 Json 序列化
sas 默认的缓存没有修改
|
2024-08-21 14:39:19 +08:00 |
|
冷冷
|
bb5e9cb555
|
upgrade(snapshot): 5.6.0-SNAPSHOT
|
2024-08-16 22:05:47 +08:00 |
|
冷冷
|
3c659c86bd
|
refactor(common): security 增加配置项,如果设置 skipPublicUrl true 如果接口对外设置,即使携带token 也不鉴权
|
2024-08-16 15:28:22 +08:00 |
|
冷冷
|
4747aa1098
|
feat(core security): 适配 spring security 6.3 新增 @HasPermisson 注解
使用 @HasPermisson 替换 @PreAuthority(xxxx),简化接口上的注解
(cherry picked from commit 448e77607fec651d18bde97e3d5cc6734342e51a)
|
2024-08-16 15:27:20 +08:00 |
|
冷冷
|
ba15cf45cc
|
🔒重构bearer token 抽取过程,带token 就鉴权,即使是暴露的端点
(cherry picked from commit ffafe70bef3777664cc87edd1c58436763930ca3)
|
2024-08-16 15:17:26 +08:00 |
|
冷冷
|
e96eaa2179
|
✨ 新增 pigx-common-sensitive 脱敏模块
(cherry picked from commit 39899b1e8ff25ca1ac3708086c1ddb677fb56541)
|
2024-08-16 15:16:26 +08:00 |
|
冷冷
|
aba51bbdb8
|
♻️ 增加 NoToken 注解方便对应 无token feign调用场景
(cherry picked from commit 2d78533a29c9c392f75d76cf202ae1daf8f7c77b)
|
2024-08-16 15:16:20 +08:00 |
|
冷冷
|
835d582b3b
|
✨ 支持根据角色动态脱敏指定数据属性
(cherry picked from commit 51541692ba7ee9ea5cf68f054f33c52133ca1a71)
|
2024-08-16 15:16:06 +08:00 |
|
冷冷
|
05d5e067d6
|
🔖 v5.5
|
2024-05-23 11:36:34 +08:00 |
|
冷冷
|
bbf5614cfc
|
♻️ 优化 OAuth 2.0 登录过程中的异常输出,方便开发过程中调试
|
2024-05-11 12:36:52 +08:00 |
|
冷冷
|
946dcdaf99
|
🗃️ 修改菜单中的错别字,代办 --》 待办
(cherry picked from commit 8218c9fbb4d87cabdfa12df194793db5b4ef43ce)
|
2024-05-10 15:58:50 +08:00 |
|
冷冷
|
179f818e4b
|
✨ 增加 permission.hasScope 判断工具,方便客户端模式使用
(cherry picked from commit 8f0d861d7a6b1d25a71160142f1aac66687ef6c5)
|
2024-05-10 15:58:48 +08:00 |
|