Skip to content

Commit df88d7c

Browse files
committed
1.52.02 release
1 parent d701629 commit df88d7c

File tree

19 files changed

+33
-17
lines changed

19 files changed

+33
-17
lines changed

app/sdks/archiveLib/bin/data.bin

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

config/setting.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@
285285

286286
'treeOpen' => 'my,myFav,myGroup,rootGroup,recentDoc,fileType,fileTag,driver',//树目录开启功能;
287287
'groupListChild' => '1',//罗列子部门; 0=不罗列;1=全部罗列;2=仅树目录罗列;
288-
'wallpageDesktop' => "1,2,3,4,5,6,7,8,9,10,11,12,13",
289-
'wallpageLogin' => "2,3,6,8,9,11,12",
288+
'wallpageDesktop' => "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17",
289+
'wallpageLogin' => "2,3,6,8,9,11,12,16,17",
290290
'emailType' => "0", // 邮件方式
291291
'email' => "", // 自定义邮箱服务器配置信息
292292

plugins/webdav/app.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ public function regist(){
2020
public function echoJs(){
2121
$config = $this->getConfig();
2222
$allow = $this->isOpen() && $this->authCheck();
23+
24+
// windows PC客户端自动挂载webdav;关闭后不自动挂载;
25+
$systemAutoMount = $config['systemAutoMount'] === '0' ? false:true;
26+
if(!$allow){$systemAutoMount = false;}
2327
$assign = array(
2428
"{{isAllow}}" => intval($allow),
29+
'{{systemAutoMount}}'=> intval($systemAutoMount),
2530
"{{pathAllow}}" => $config['pathAllow'],
2631
"{{webdavName}}" => $this->webdavName(),
2732
);

plugins/webdav/i18n/en.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
'webdav.user.morePath' => "More Path",
1313
'webdav.config.logTitle' => "Request log",
1414
'webdav.config.logDesc' => "WebDAV request log",
15+
'webdav.config.systemAutoMount' => "Client auto mount",
16+
'webdav.config.systemAutoMountDesc' => "PC client is opened, webdav is automatically mounted",
1517

1618
'webdav.tips.https' => "<b>https:</b> HTTPS is recommended, encrypted transmission is more secure; (the default limit for windows mount WebDAV must be HTTPS, which can be removed)",
1719
'webdav.tips.upload' => "<b>Upload and download restrictions:</b> The maximum file upload support depends on the upload limit and timeout of the server,It can be set according to your own needs; recommended upload file size limit: 500MB; timeout 3600; <a href='https://doc.kodcloud.com/#/others/options' target='_blank'>Learn more</a>",

plugins/webdav/i18n/zh-CN.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
'webdav.user.morePath' => "挂载更多位置",
1313
'webdav.config.logTitle' => "执行日志",
1414
'webdav.config.logDesc' => "WebDAV执行请求日志",
15+
'webdav.config.systemAutoMount' => "客户端自动挂载",
16+
'webdav.config.systemAutoMountDesc' => "PC客户端打开时,自动挂载webdav",
1517

1618
'webdav.tips.https' => "<b>https:</b> 推荐使用https, 加密传输更安全; (windows挂载webdav默认限制必须https,可以去除限制)",
1719
'webdav.tips.upload' => "<b>上传下载限制:</b> 支持上传最大文件取决于服务器上传限制及超时时间,

plugins/webdav/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id":"webdav",
33
"name":"{{LNG['webdav.meta.name']}}",
44
"title":"{{LNG['webdav.meta.title']}}",
5-
"version":"1.67",
5+
"version":"1.68",
66
"source":{
77
"className":" font-icon ri-hard-drive-fill-2 bg-yellow-6",
88
"icon":""
@@ -17,7 +17,7 @@
1717
"configItem":{
1818
"formStyle":{
1919
"tabs":{
20-
"{{LNG['webdav.config.tab1']}}":"pluginAuthOpen,webdavName,isOpen,pluginAuth,pathAllow,sep001,echoLog,detail,detailConnect",
20+
"{{LNG['webdav.config.tab1']}}":"pluginAuthOpen,webdavName,isOpen,pluginAuth,pathAllow,sep001,echoLog,systemAutoMount,detail,detailConnect",
2121
"{{LNG['webdav.config.tab2']}}":"mountWebdav,mountDetail,kodboxUpload,kodboxDownload",
2222
}
2323
},
@@ -36,7 +36,7 @@
3636
"value":0,
3737
"display":"{{LNG['webdav.config.isOpen']}}",
3838
"desc":"{{LNG['webdav.config.isOpenDesc']}}",
39-
"switchItem":{"1":"pluginAuth,detailAddress,pathAllow,detailConnect"}
39+
"switchItem":{"1":"pluginAuth,detailAddress,pathAllow,detailConnect,systemAutoMount,echoLog"}
4040
},
4141
"pluginAuth":{
4242
"type":"userSelect",
@@ -55,6 +55,12 @@
5555
},
5656
"desc":"{{LNG['webdav.config.pathAllowDesc']}}",
5757
},
58+
"systemAutoMount":{
59+
"type":"switch",
60+
"value":"1",
61+
"display":"{{LNG['webdav.config.systemAutoMount']}}",
62+
"desc":"{{LNG['webdav.config.systemAutoMountDesc']}}"
63+
},
5864
"sep001":"<hr/>",
5965
"echoLog":{
6066
"type":"switch",

plugins/webdav/static/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ kodReady.push(function () {
22
G.webdavOption = {
33
host: G.kod.APP_HOST+'index.php/dav/',
44
allow: parseInt("{{isAllow}}"),
5+
systemAutoMount: parseInt("{{systemAutoMount}}"),
56
pathAllow: '{{pathAllow}}'
67
};
78

static/app/dist/api.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/app/dist/lib.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/app/dist/main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)