Skip to content

Commit d8818c3

Browse files
authored
Merge pull request #143 from dromara/dev
Dev
2 parents b3daacb + 91fecad commit d8818c3

File tree

133 files changed

+1516
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+1516
-934
lines changed

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: '3.3'
22

3-
# latest = 2.5.3
3+
# latest = 2.5.4
44

55
# 支持以下源
66
# lijiahangmax/*

docker/docker-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
source ./project-build.sh "$@"
88

99
# 版本号
10-
version=2.5.3
10+
version=2.5.4
1111
# 是否推送镜像
1212
push_image=false
1313
# 是否构建 latest

docker/project-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
# DockerContext: orion-visor
55

66
# 版本号
7-
version=2.5.3
7+
version=2.5.4
88
# 是否构建 service
99
export build_service=false
1010
# 是否构建 ui

orion-visor-common/src/main/java/org/dromara/visor/common/constant/AppConst.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface AppConst extends OrionConst {
3636
/**
3737
* 同 ${orion.version} 迭代时候需要手动更改
3838
*/
39-
String VERSION = "2.5.3";
39+
String VERSION = "2.5.4";
4040

4141
/**
4242
* 同 ${spring.application.name}

orion-visor-common/src/main/java/org/dromara/visor/common/constant/ConfigKeys.java

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,116 +34,116 @@ public interface ConfigKeys {
3434
/**
3535
* SFTP 文件预览大小
3636
*/
37-
String SFTP_PREVIEW_SIZE = "sftp_previewSize";
37+
String SFTP_PREVIEW_SIZE = "sftp.preview-size";
3838

3939
/**
4040
* SFTP 重复文件备份
4141
*/
42-
String SFTP_UPLOAD_PRESENT_BACKUP = "sftp_uploadPresentBackup";
42+
String SFTP_UPLOAD_PRESENT_BACKUP = "sftp.upload-present-backup";
4343

4444
/**
4545
* SFTP 备份文件名称
4646
*/
47-
String SFTP_UPLOAD_BACKUP_FILE_NAME = "sftp_uploadBackupFileName";
47+
String SFTP_UPLOAD_BACKUP_FILE_NAME = "sftp.upload-backup-file-name";
4848

4949
/**
5050
* 加密公钥
5151
*/
52-
String ENCRYPT_PUBLIC_KEY = "encrypt_publicKey";
52+
String ENCRYPT_PUBLIC_KEY = "encrypt.public-key";
5353

5454
/**
5555
* 加密私钥
5656
*/
57-
String ENCRYPT_PRIVATE_KEY = "encrypt_privateKey";
57+
String ENCRYPT_PRIVATE_KEY = "encrypt.private-key";
5858

5959
/**
6060
* 日志前端显示行数
6161
*/
62-
String LOG_WEB_SCROLL_LINES = "log_webScrollLines";
62+
String LOG_WEB_SCROLL_LINES = "log.web-scroll-lines";
6363

6464
/**
6565
* 日志加载偏移行
6666
*/
67-
String LOG_TRACKER_LOAD_LINES = "log_trackerLoadLines";
67+
String LOG_TRACKER_LOAD_LINES = "log.tracker-load-lines";
6868

6969
/**
7070
* 日志加载间隔毫秒
7171
*/
72-
String LOG_TRACKER_LOAD_INTERVAL = "log_trackerLoadInterval";
72+
String LOG_TRACKER_LOAD_INTERVAL = "log.tracker-load-interval";
7373

7474
/**
7575
* 是否生成详细的执行日志
7676
*/
77-
String LOG_EXEC_DETAIL_LOG = "log_execDetailLog";
77+
String LOG_EXEC_DETAIL_ENABLED = "log.exec-detail.enabled";
7878

7979
/**
80-
* 凭证有效期分
80+
* 凭证有效期 分
8181
*/
82-
String LOGIN_LOGIN_SESSION_TIME = "login_loginSessionTime";
82+
String LOGIN_LOGIN_SESSION_TIME = "login.login-session-time";
8383

8484
/**
8585
* 允许多端登录
8686
*/
87-
String LOGIN_ALLOW_MULTI_DEVICE = "login_allowMultiDevice";
87+
String LOGIN_ALLOW_MULTI_DEVICE = "login.allow-multi-device";
8888

8989
/**
9090
* 允许凭证续签
9191
*/
92-
String LOGIN_ALLOW_REFRESH = "login_allowRefresh";
92+
String LOGIN_ALLOW_REFRESH = "login.allow-refresh";
9393

9494
/**
9595
* 凭证续签最大次数
9696
*/
97-
String LOGIN_MAX_REFRESH_COUNT = "login_maxRefreshCount";
97+
String LOGIN_MAX_REFRESH_COUNT = "login.max-refresh-count";
9898

9999
/**
100100
* 凭证续签间隔分
101101
*/
102-
String LOGIN_REFRESH_INTERVAL = "login_refreshInterval";
102+
String LOGIN_REFRESH_INTERVAL = "login.refresh-interval";
103103

104104
/**
105105
* 登录失败锁定
106106
*/
107-
String LOGIN_LOGIN_FAILED_LOCK = "login_loginFailedLock";
107+
String LOGIN_LOGIN_FAILED_LOCK = "login.login-failed-lock";
108108

109109
/**
110-
* 登录失败锁定阈值分
110+
* 登录失败锁定阈值
111111
*/
112-
String LOGIN_LOGIN_FAILED_LOCK_THRESHOLD = "login_loginFailedLockThreshold";
112+
String LOGIN_LOGIN_FAILED_LOCK_THRESHOLD = "login.login-failed-lock-threshold";
113113

114114
/**
115-
* 登录失败锁定时间分
115+
* 登录失败锁定时间 分
116116
*/
117-
String LOGIN_LOGIN_FAILED_LOCK_TIME = "login_loginFailedLockTime";
117+
String LOGIN_LOGIN_FAILED_LOCK_TIME = "login.login-failed-lock-time";
118118

119119
/**
120120
* 登录失败发信
121121
*/
122-
String LOGIN_LOGIN_FAILED_SEND = "login_loginFailedSend";
122+
String LOGIN_LOGIN_FAILED_SEND = "login.login-failed-send";
123123

124124
/**
125125
* 登录失败发信阈值
126126
*/
127-
String LOGIN_LOGIN_FAILED_SEND_THRESHOLD = "login_loginFailedSendThreshold";
127+
String LOGIN_LOGIN_FAILED_SEND_THRESHOLD = "login.login-failed-send-threshold";
128128

129129
/**
130130
* 是否开启自动清理命令记录
131131
*/
132-
String AUTO_CLEAR_EXEC_LOG_ENABLED = "autoClear_execLogEnabled";
132+
String AUTO_CLEAR_EXEC_LOG_ENABLED = "auto-clear.exec-log.enabled";
133133

134134
/**
135135
* 自动清理命令记录保留天数
136136
*/
137-
String AUTO_CLEAR_EXEC_LOG_KEEP_DAYS = "autoClear_execLogKeepDays";
137+
String AUTO_CLEAR_EXEC_LOG_KEEP_DAYS = "auto-clear.exec-log.keep-days";
138138

139139
/**
140140
* 是否开启自动清理终端连接记录
141141
*/
142-
String AUTO_CLEAR_TERMINAL_LOG_ENABLED = "autoClear_terminalLogEnabled";
142+
String AUTO_CLEAR_TERMINAL_LOG_ENABLED = "auto-clear.terminal-log.enabled";
143143

144144
/**
145145
* 自动清理终端连接记录保留天数
146146
*/
147-
String AUTO_CLEAR_TERMINAL_LOG_KEEP_DAYS = "autoClear_terminalLogKeepDays";
147+
String AUTO_CLEAR_TERMINAL_LOG_KEEP_DAYS = "auto-clear.terminal-log.keep-days";
148148

149149
}

orion-visor-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<url>https://github.com/dromara/orion-visor</url>
1515

1616
<properties>
17-
<revision>2.5.3</revision>
17+
<revision>2.5.4</revision>
1818
<spring.boot.version>2.7.17</spring.boot.version>
1919
<spring.boot.admin.version>2.7.15</spring.boot.admin.version>
2020
<flatten.maven.plugin.version>1.5.0</flatten.maven.plugin.version>
21-
<orion.kit.version>2.0.4</orion.kit.version>
21+
<orion.kit.version>2.0.5</orion.kit.version>
2222
<aspectj.version>1.9.7</aspectj.version>
2323
<lombok.version>1.18.26</lombok.version>
2424
<springdoc.version>1.6.15</springdoc.version>

orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-components-table.vue.vm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
<a-table row-key="id"
9292
#end
9393
ref="tableRef"
94+
class="table-resize"
9495
:loading="loading"
9596
:columns="tableColumns"
9697
#if($vue.enableRowSelection)
@@ -99,6 +100,7 @@
99100
:data="tableRenderData"
100101
:pagination="pagination"
101102
:bordered="false"
103+
:column-resizable="true"
102104
@page-change="(page: number) => fetchTableData(page, pagination.pageSize)"
103105
@page-size-change="(size: number) => fetchTableData(1, size)">
104106
#foreach($field in ${table.fields})

orion-visor-launch/src/main/resources/application-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spring:
1414
port: ${REDIS_PORT:6379}
1515
password: ${REDIS_PASSWORD:Data@123456}
1616
database: ${REDIS_DATABASE:1}
17-
data-version: ${REDIS_DATA_VERSION:1}
17+
data-version: ${REDIS_DATA_VERSION:2}
1818
mock: false
1919
redisson:
2020
threads: 2

orion-visor-launch/src/main/resources/application-prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spring:
2525
port: ${REDIS_PORT:6379}
2626
password: ${REDIS_PASSWORD:Data@123456}
2727
database: ${REDIS_DATABASE:0}
28-
data-version: ${REDIS_DATA_VERSION:1}
28+
data-version: ${REDIS_DATA_VERSION:2}
2929
redisson:
3030
threads: 4
3131
netty-threads: 4

orion-visor-launch/src/test/java/org/dromara/visor/launch/ReplaceVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
*/
4040
public class ReplaceVersion {
4141

42-
private static final String TARGET_VERSION = "2.5.2";
42+
private static final String TARGET_VERSION = "2.5.3";
4343

44-
private static final String REPLACE_VERSION = "2.5.3";
44+
private static final String REPLACE_VERSION = "2.5.4";
4545

4646
private static final String PATH = new File("").getAbsolutePath();
4747

0 commit comments

Comments
 (0)