Jie Zheng
bb11e403cb
移除OnlineUserService中kickOutForUsername的@Async注解
...
close https://github.com/elunez/eladmin-mp/issues/43
2024-12-09 09:04:16 +08:00
Zheng Jie
0494f6ad17
feat: quartz 分布式支持,默认单机运行,如果需要支持分布式可以查看 application-quartz.yml 注释
2024-08-09 20:03:02 +08:00
Zheng Jie
3b6b514ada
修复token续期不生效问题
...
close https://github.com/elunez/eladmin/issues/832
2024-01-02 14:38:34 +08:00
Zheng Jie
2a879115bc
修复退出登录,提出用户,前端401死循环问题
...
close https://github.com/elunez/eladmin/issues/817
2023-10-08 14:54:34 +08:00
Zheng Jie
61c7131343
update SwaggerConfig.java
...
close https://github.com/elunez/eladmin/issues/807
2023-07-12 16:21:10 +08:00
Zheng Jie
00f7f25062
代码优化,避免【菜单、部门】移动节点时出现PID数据环形问题
...
close https://github.com/elunez/eladmin/issues/803
2023-07-07 17:49:10 +08:00
Zheng Jie
484785c222
代码优化,避免【菜单、部门】移动节点时出现PID数据环形问题
...
close https://github.com/elunez/eladmin/issues/803
2023-07-07 17:34:57 +08:00
Zheng Jie
0f3578c9be
升级依赖,统一使用fastjson进行Json操作
2023-07-06 22:19:17 +08:00
Zheng Jie
8cb96509a0
统一使用fastjson进行Json操作
2023-07-06 20:42:05 +08:00
Zheng Jie
e0777d8681
新增重置用户密码功能
2023-07-06 14:24:37 +08:00
Zheng Jie
39d480938d
v2.7 版本发布
2023-07-05 14:00:29 +08:00
Zheng Jie
c8b2cbc082
启用Gzip压缩
2023-07-05 11:55:51 +08:00
Zheng Jie
7dfe9d3148
代码优化,去除遗留的jackson代码
2023-07-05 11:36:37 +08:00
Zheng Jie
cf3655adf4
用户登录优化,踢出用户性能优化,在线用户查询性能优化
...
close https://github.com/elunez/eladmin/issues/802
2023-07-04 22:30:30 +08:00
Zheng Jie
4f31a0ade8
修复角色机构权限bug: https://github.com/elunez/eladmin/issues/801
2023-07-04 16:54:59 +08:00
Zheng Jie
47345037f6
代码优化
2023-07-04 16:43:40 +08:00
Zheng Jie
17820dec63
代码优化
2023-07-04 16:33:52 +08:00
Zheng Jie
5b9213f25f
代码优化
2023-06-30 14:12:55 +08:00
Jover
a74cf51c0a
feat: 增加分页实体 APage,使 Swagger 可显示接口的响应示例 ( #800 )
...
* feat: 增加分页实体 APage,使 Swagger 可显示接口的响应示例
1. 增加类 APage,并重构 PageUtils
2. 调整 UserController 的 `查询用户` 接口的返回值类型
* refactor: rename APage -> PageResult
2023-06-30 13:43:45 +08:00
Zheng Jie
4a6e6953df
代码结构优化
2023-06-27 10:07:44 +08:00
Zheng Jie
20f550d527
代码结构优化
2023-06-27 09:55:39 +08:00
Zheng Jie
d14835a4b8
启用响应内容压缩
2023-06-13 17:34:24 +08:00
Zheng Jie
6c5e7061fe
代码优化
2023-06-11 21:27:51 +08:00
Zheng Jie
a1a00154ad
代码优化
2023-06-08 16:05:51 +08:00
Zheng Jie
21b30b1bb8
代码优化,自定义线程池优化
2023-06-08 15:56:12 +08:00
bearBoy80
a330519f6a
优化tomcat配置relaxedQueryChars方式,采用TomcatConnectorCustomizer来实现 ( #764 )
...
* Create RelaxedQueryCharsConnectorCustomizer
* delete tomcat relaxedQueryChars code
* 优化tomcat配置relaxedQueryChars方式
2022-10-24 18:03:17 +08:00
kdjj2006
e0af08ebdd
优化部分badsmell:包括空指针风险以及多次使用变量的提取 ( #772 )
...
* 获取验证码逻辑,无需加锁,不涉及线程安全问题,提高效率
* 自定义生成策略时,Map容量设置不准确,会导致无必要的扩容
* 优化badsmell:包括空指针以及多次使用变量的提取
* 修改优化部分badsmeall
2022-10-24 18:00:30 +08:00
Zheng Jie
5cfa96e127
update domain
2022-08-02 13:48:48 +08:00
kdjj2006
40177c6c8d
获取验证码逻辑,无需加锁,不涉及线程安全问题,提高效率 ( #755 )
2022-07-12 21:15:41 +08:00
Zheng Jie
255a3254ce
[代码完善](master): 代码优化
...
close https://github.com/elunez/eladmin/issues/752
2022-07-04 11:44:54 +08:00
xiaoyong
64a3ff7b26
Issues635 ( #751 )
...
* issues/635
* issues/635
Co-authored-by: asdc <asdc>
2022-07-03 22:25:49 +08:00
Zheng Jie
20f2c6362e
[代码完善](master): 代码优化
2022-06-14 16:32:03 +08:00
Zheng Jie
b7b721b13b
[代码完善](master): 代码优化
2022-06-12 15:55:15 +08:00
Zheng Jie
2dc528a103
[Bug修复](master): 修复定时任务管理存在SQL注入漏洞问题
...
由于定时任务未对Bean进行过滤,导致攻击者可以从SpringContextHolder获得控制jdbcTemplate类,并使用getDeclaredMethod调用jdbcTemplate的queryForMap函数,从而执行任意sql命令。
修复后定时任务的 Bean 需要使用 @Service 注解定义。
2022-06-10 19:56:28 +08:00
Zheng Jie
22c3864dee
[新增功能](luoqiz-master): 记录登录日志
2022-06-07 18:21:52 +08:00
Zheng Jie
5959c3fc62
[新增功能](luoqiz-master): Merge branch 'master' of https://github.com/luoqiz/eladmin
...
升级spring boot版本到2.6.4、升级部分依赖包版本
https://github.com/elunez/eladmin/pull/735
2022-05-31 18:29:17 +08:00
Aborn Jiang
68608b28e3
Column use `` for reserved key ( #743 )
...
* fix weird prefixes keys when use RedisUtils.scan
* Column use `` for reserved key
ref: https://stackoverflow.com/questions/2224503/how-to-map-an-entity-field-whose-name-is-a-reserved-word-in-jpa
2022-05-31 17:57:37 +08:00
Zheng Jie
d4ae410929
update
2022-05-26 16:53:28 +08:00
Zheng Jie
10a1641298
update
2022-05-26 16:23:30 +08:00
Zheng Jie
78b7d21ddc
[新增功能](master): 用户登录缓存改为存储到 Redis
2022-05-26 15:39:59 +08:00
Zheng Jie
d78e1decb3
新增 AuthorityDto 类,避免 GrantedAuthority 序列化报错问题
2022-05-24 16:34:47 +08:00
Zheng Jie
e37d485b4b
update
2022-05-20 13:26:42 +08:00
luoqiangzheng@hz-cpp.com
837f23080b
升级依赖包
2022-03-14 15:05:25 +08:00
Zheng Jie
b9aca9366d
启动时可选记录pid
2022-03-07 14:12:58 +08:00
YJRY
e06ec08400
[代码优化]枚举值调整为统一大写;枚举的find方法优化 ( #730 )
...
Co-authored-by: xuqi <xuqi@zed.com>
2022-03-04 09:52:37 +08:00
TikiWong
c9614bd77c
笔误
2022-01-27 14:29:59 +08:00
TikiWong
6941b984be
[代码优化] 添加支持配置的可回收用户缓存
2022-01-27 14:18:41 +08:00
Zheng Jie
c75b52e15b
代码优化,修改Controller中方法,避免名称重复
...
命名重复会打印如下日志,不介意的可以不修改:
s.d.s.w.s.ApiListingReferenceScanner: Generating unique operation named
2021-12-26 16:42:56 +08:00
Zheng Jie
db1a20a83c
定时任务优化,默认不打印SQL日志
2021-12-24 21:01:49 +08:00
Dawei-Simayi
70a3d7550b
HashMap的容量一定是2的整数幂 ( #711 )
2021-12-23 15:55:40 +08:00
Zheng Jie
0ebbd66acb
代码优化
2021-12-10 16:18:42 +08:00
Zheng Jie
d9d50d3594
代码优化
2021-12-04 14:43:52 +08:00
Zheng Jie
b267258776
代码优化
2021-11-23 15:49:05 +08:00
dante
931ecb3ba7
Fix cache by future ( #652 )
...
* 利用future回调避免并发调用时有多个线程同时去数据库查询,导致消耗额外资源。经过测试在8个线程并发查询时性能提升
* 修复缓存测试时懒加载报错问题
* 调整格式
2021-11-23 15:33:59 +08:00
Zheng Jie
7b91c4405c
使用 mica-ip2region 解析IP地址信息
2021-11-22 10:40:18 +08:00
Zheng Jie
08f6c58211
close https://github.com/elunez/eladmin/issues/692
2021-11-16 21:15:52 +08:00
Emil-Zhang
38262e06b2
修复手动清除子任务id后导致运行定时任务报错 ( #671 )
2021-09-01 16:31:31 +08:00
yuyu1025
6c75df558e
Update MenuServiceImpl.java ( #656 )
...
防止isQuery为空时自动拆箱出现NullPointerException
2021-07-19 14:21:07 +08:00
Elune
3637ae0240
!24 修复yml配置ddl-auto配置不生效
...
Merge pull request !24 from 李恒/master
2021-07-19 06:15:58 +00:00
李恒
7ec5b8791b
修复Jpa ddl-auto配置不生效bug
2021-06-12 00:53:26 +08:00
Zheng Jie
48dff86111
[Bug修复](master): update DictServiceImpl.java
...
close https://github.com/elunez/eladmin/issues/612
2021-06-07 15:41:21 +08:00
Zheng Jie
4b845b748f
[Bug修复](master): update ExecutionJob.java
...
close https://github.com/elunez/eladmin/issues/620
2021-06-07 15:10:09 +08:00
Zheng Jie
10dcf6e11b
[Bug修复](master): 头像上传验证图片格式,限制图片大小
...
close https://github.com/elunez/eladmin/issues/642
2021-06-07 15:05:54 +08:00
Zheng Jie
923142bbb2
[Bug修复](master): 修复部门递归问题
...
close https://github.com/elunez/eladmin/issues/643
2021-06-07 14:47:33 +08:00
Tsln
19214fd592
更新 JNA 版本,适配 Apple M1 芯片 ( #631 )
2021-04-27 14:29:13 +08:00
ice_cola
3b802fd770
fix:A custom permission role does not refresh the DataScope cache after adding subdepartments to a department ( #608 )
2021-03-14 12:46:37 +08:00
Zheng Jie
8c6571f1c8
[代码优化](v2.6):update
2021-03-05 11:58:16 +08:00
Zheng Jie
4e58afd567
Merge branch 'master' of https://github.com/elunez/eladmin
2021-03-05 11:29:44 +08:00
Zheng Jie
cd85594e48
[代码优化](v2.6):代码优化
2021-03-05 11:26:08 +08:00
Tsln
a49bd6d127
修复算术类型验证码在 Java 15+ 的兼容问题 ( #607 )
...
(cherry picked from commit cdbc3a8faaf5958489758608329aa70095b37bb3)
2021-03-04 21:53:37 +08:00
Zheng Jie
01d1aa9721
[代码优化](v2.6):加入第三方系统获取Token的方式
...
close https://github.com/elunez/eladmin/issues/585
2021-03-03 17:40:22 +08:00
Zheng Jie
88dc69fdfe
[代码优化](v2.6):update logback.xml
2021-03-02 21:42:16 +08:00
Zheng Jie
d8a458cafa
[代码优化](v2.6):update UserController
2021-03-02 21:39:40 +08:00
lWoHvYe
8bb800c68e
Spring Boot版本升级2.2.10,解决in 查询传null时报错。调整Swagger中token设置方式 ( #595 )
...
* Spring Boot版本调整为2.2.10。在此前的版本,若in 查询传入null,会报错。相关sql 为in ()。在2.2版本修复了此问题,相关sql改为 in (null)。鉴于此,建议进行升级。
* Spring Boot依赖升级后,Sort的设置方式调整。由 new Sort()改为 Sort.by()
* 调整接口文档Swagger中,token的设置方式,由每个接口单独设置,改为设置统一的token,日常测试更加方便
2021-03-01 19:07:56 +08:00
zhengjie
c968eb36ef
[代码优化](v2.6):修正配置文件[login-code: height]拼写错误
2021-02-03 09:47:02 +08:00
zhengjie
e4e318aa4e
[代码优化](v2.6):druid 配置优化
2021-02-01 20:51:16 +08:00
zhengjie
8fd14d4ea1
Merge branch 'master' of github.com:elunez/eladmin
2021-02-01 20:50:51 +08:00
皆非
0b83ca0646
fix findByDeptRoleId sql in UserRepository when delete dept cache ( #572 )
2021-01-31 14:15:21 +08:00
zhengjie
fdf82d2479
[代码优化](v2.6):定时任务告警邮箱优化,邮箱为空不调用发送逻辑
2021-01-29 15:04:37 +08:00
皆非
9fc0524901
[代码优化](v2.6): 完善CacheKey中的变量命名以及调用 ( #568 )
...
* correct variable name of String DATA_USER in CacheKey.java
* complete other CacheKey name
* add job CacheKey
2021-01-17 14:43:45 +08:00
zhengjie
a90bfac2cf
[代码优化](v2.6):禁用用户后踢出用户Bug修复
...
close https://github.com/elunez/eladmin/issues/551
2020-12-24 16:45:08 +08:00
zhengjie
1556f13379
[代码优化](v2.6):使用 fastJson 防止 Long 精度丢失
2020-12-22 20:03:50 +08:00
zhengjie
2a3e4cd9bc
[代码优化](v2.6):缓存优化
2020-12-21 13:31:31 +08:00
zhengjie
81dd91f573
[代码优化](v2.6):由于系统现在默认使用 fastjson 序列化,导致了 @JsonIgnore 失效,现使用 @JSONField(serialize = false) 替换
...
close https://github.com/elunez/eladmin/issues/548
2020-12-21 08:42:43 +08:00
zhengjie
9883854211
[代码优化](v2.6):代码生成优化
2020-12-19 17:59:16 +08:00
RuoYi
43d1a63577
支持三级菜单自动配置组件&缓存数据
2020-12-16 21:48:40 +08:00
zhengjie
e1aadae494
[代码优化](v2.6):bug fix
...
close https://github.com/elunez/eladmin/issues/544
2020-12-13 18:50:04 +08:00
zhengjie
35b821d7a2
[代码优化](v2.6):bug fix
...
close https://github.com/elunez/eladmin/issues/540
2020-12-13 18:43:56 +08:00
zhengjie
a97fb6ba79
[代码优化](v2.6):序列化优化
2020-12-13 14:35:16 +08:00
zhengjie
cbaa49fbdf
[代码优化](v2.6):序列化优化,Excel 导出优化
2020-12-13 12:19:35 +08:00
zhengjie
112c7b3e4d
[代码优化](v2.6):update
2020-12-12 23:04:39 +08:00
zhengjie
264b3cb79d
[代码优化](v2.6):bug修复,代码优化,日期格式化后返回
...
close https://github.com/elunez/eladmin/issues/514
2020-12-12 21:25:56 +08:00
zhengjie
a60661ed1c
[代码优化](v2.6):bug修复,代码优化,日期格式化后返回
...
close https://github.com/elunez/eladmin/issues/514
2020-12-12 21:25:44 +08:00
zhengjie
eb3519036f
[代码优化](v2.6):bug fix
...
close https://github.com/elunez/eladmin/issues/504
2020-12-12 21:05:42 +08:00
ZhengJie
0a7c5be1da
[代码优化](v2.6):修复服务监控磁盘统计不准确的问题,修复本机IP获取不准确的问题
...
close https://github.com/elunez/eladmin/issues/527
2020-11-22 20:21:28 +08:00
ZhengJie
d752b3d9cc
[代码优化](v2.6):修复服务监控磁盘统计不准确的问题,修复本机IP获取不准确的问题
...
close https://github.com/elunez/eladmin/issues/527
2020-11-22 20:14:13 +08:00
ZhengJie
2807dc0824
[代码优化](v2.6):优化权限过多导致Token过长的问题,现修改角色权限立即生效,无需退出重新登录
...
close https://github.com/elunez/eladmin/issues/476
2020-11-17 22:48:20 +08:00
ZhengJie
9591cf3e53
[代码优化](v2.6):服务监控兼容Mac Os Big Sur,交换空间查询优化
2020-11-16 19:21:28 +08:00
ZhengJie
f413aea2df
[代码优化](v2.6):修复修改角色菜单缓存问题
2020-11-15 19:56:22 +08:00
SnailClimb
5e95ae5bf1
[代码完善]移除无用包 ( #522 )
2020-11-15 19:42:01 +08:00