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
皆非
aab6beffc0
refactor:delete param Long deptId of deptService.getDeptChildren ( #525 )
2020-11-15 19:40:24 +08:00
ZhengJie
f56006f68d
[代码优化](v2.6):修复添加actuator依赖后无法启动的Bug
...
close https://github.com/elunez/eladmin/issues/511
2020-11-15 19:31:05 +08:00
皆非
c7e95d9492
[代码修复](v2.6):修复手机号可以重复的bug
2020-11-08 10:19:32 +08:00
皆非
db6d523adb
[代码修复](v2.6):修复禁用无角色用户时报错
2020-11-08 10:17:15 +08:00
ZhengJie
0c6ad747dd
[代码优化](v2.6):角色管理分配菜单,菜单节点选择优化
...
1、选中主菜单,默认选中所有子菜单
2、取消主菜单,默认取消所有子菜单
close https://github.com/elunez/eladmin/issues/449
2020-10-11 23:25:06 +08:00
ZhengJie
718c1460df
Merge branch 'master' of github.com:elunez/eladmin
2020-10-11 15:14:37 +08:00
ZhengJie
4a69bb4a52
[代码优化](v2.6):日志请求参数获取优化,日志优化
2020-10-11 15:09:19 +08:00
皆非
cb11af2a33
fixed:修复配置文件中设置账号单用户登录无效 ( #499 )
...
* refactor:Optimized DeptServiceImpl's deduplication method
* fix:fixed single-login is invalid in application-dev.yml
* fixed prod.yml 's single-login
2020-10-07 19:23:16 +08:00
ChenYuhao
e54dbe0201
修复链接失败会一直重连,并且连接成功之后也不缓存下来 ( #495 )
...
Co-authored-by: chenyh <chenyh.me@gamil.com>
2020-09-28 10:25:22 +08:00
Elune
029a932ff9
!17 配置文件增加环境变量的支持,有环境变量则使用,没有则使用默认
...
Merge pull request !17 from suanyun/master
2020-09-14 10:59:30 +08:00
ZhengJie
babebdee92
🔖 [版本发布](v2.6)
2020-09-13 12:12:49 +08:00
ZhengJie
f3fabb85ca
[代码完善](v2.5): update QueryCriteria.ftl
...
close https://github.com/elunez/eladmin/issues/473
2020-09-06 19:25:28 +08:00
ZhengJie
47a9179988
[代码完善](v2.5): update dict cache
...
close https://github.com/elunez/eladmin/issues/479
2020-09-06 17:32:06 +08:00
ZhengJie
a0a1283970
[代码完善](v2.5): update menu、dept cache
...
close https://github.com/elunez/eladmin/issues/468
2020-09-06 17:19:57 +08:00
ZhengJie
ae171c0223
[代码完善](v2.5): update index.ftl
...
close https://github.com/elunez/eladmin/issues/474
2020-09-05 11:04:27 +08:00
ZhengJie
67f0e6b387
[代码完善] 由于免费图床过于不稳定,影响体验,因此删除图床管理模块。 富文本,markdown 替换为使用本地存储上传图片。如想继续使用,可以直接在其官网管理数据 https://sm.ms/
2020-09-05 10:54:32 +08:00
皆非
9941e0b894
fix bug: 修复算数型验证码生成浮点型结果,导致前端输入整形数据匹配错误 ( #464 )
...
* fix:fixed the capthcha generate 0.0
* fix:fixed all float result from captcha.text() in /auth/code
2020-08-28 16:13:42 +08:00
ZhengJie
698ed7edfe
[代码完善](v2.5): 部门查询优化
2020-08-25 14:59:07 +08:00
ZhengJie
acaf83af02
[代码完善](v2.5): 部门查询优化
2020-08-17 14:28:04 +08:00