mirror of https://gitee.com/zhang_1334717033/kiftd
parent
eaf74ae6c5
commit
dbb335ca09
|
|
@ -77,11 +77,10 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_
|
||||||
|
|
||||||
> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
|
> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
|
||||||
|
|
||||||
### 常规更新v1.0.34
|
### 常规更新v1.0.35
|
||||||
_本次更新为维护性的更新,修复一些已经发现的问题并优化使用体验,推荐所有用户升级。_
|
_本次更新为维护性的更新,修复一些已经发现的问题并优化使用体验,推荐所有用户升级。_
|
||||||
+ 进一步完善了文件系统——修复了当上传的文件夹中含有特殊字符且上传路径中存在重名文件夹时,选择“保留两者”会中断上传操作的问题。
|
+ 修复了当用户执行批量上传操作时,中途切换所在的文件夹可能会导致上传路径发生改变的问题。
|
||||||
+ 修复了一个存在于“上传文件夹”功能的非法命名漏洞。
|
+ 升级了内置的MySQL数据库驱动的版本。
|
||||||
+ 其他一些细节优化。
|
|
||||||
|
|
||||||
|
|
||||||
> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
|
> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
|
||||||
|
|
|
||||||
Binary file not shown.
BIN
kiftd说明文档.pdf
BIN
kiftd说明文档.pdf
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!-- 青阳网络文件传输系统 kiftd v1.0.34-RELEASE -->
|
<!-- 青阳网络文件传输系统 kiftd v1.0.35-RELEASE -->
|
||||||
<!-- 欢迎访问主界面 -->
|
<!-- 欢迎访问主界面 -->
|
||||||
<!-- by 青阳龙野(kohgylw@163.com) -->
|
<!-- by 青阳龙野(kohgylw@163.com) -->
|
||||||
<html>
|
<html>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ var constraintLevel;// 当前文件夹限制等级
|
||||||
var account;// 用户账户
|
var account;// 用户账户
|
||||||
var isUpLoading = false;// 是否正在执行上传操作
|
var isUpLoading = false;// 是否正在执行上传操作
|
||||||
var isImporting = false;// 是否正在执行上传文件夹操作
|
var isImporting = false;// 是否正在执行上传文件夹操作
|
||||||
|
var uploadTargetFolder;// 执行上传操作时的目标文件夹(单独保存以避免用户切换文件夹)
|
||||||
var isChangingPassword = false;// 是否正在执行修改密码操作
|
var isChangingPassword = false;// 是否正在执行修改密码操作
|
||||||
var importFolderName;// 上传文件夹时保存文件夹名称
|
var importFolderName;// 上传文件夹时保存文件夹名称
|
||||||
var xhr;// 文件或文件夹上传请求对象
|
var xhr;// 文件或文件夹上传请求对象
|
||||||
|
|
@ -1489,13 +1490,14 @@ function checkUploadFile() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var namelist = JSON.stringify(filenames);
|
var namelist = JSON.stringify(filenames);
|
||||||
|
uploadTargetFolder = locationpath;// 记录上传目标
|
||||||
|
|
||||||
$
|
$
|
||||||
.ajax({
|
.ajax({
|
||||||
type : "POST",
|
type : "POST",
|
||||||
dataType : "text",
|
dataType : "text",
|
||||||
data : {
|
data : {
|
||||||
folderId : locationpath,
|
folderId : uploadTargetFolder,
|
||||||
namelist : namelist,
|
namelist : namelist,
|
||||||
maxSize : maxSize,
|
maxSize : maxSize,
|
||||||
maxFileIndex : maxFileIndex
|
maxFileIndex : maxFileIndex
|
||||||
|
|
@ -1605,7 +1607,7 @@ function doupload(count) {
|
||||||
var fd = new FormData();// 用于封装文件数据的对象
|
var fd = new FormData();// 用于封装文件数据的对象
|
||||||
fd.append("file", uploadfile);// 将文件对象添加到FormData对象中,字段名为uploadfile
|
fd.append("file", uploadfile);// 将文件对象添加到FormData对象中,字段名为uploadfile
|
||||||
fd.append("fname", fname);
|
fd.append("fname", fname);
|
||||||
fd.append("folderId", locationpath);
|
fd.append("folderId", uploadTargetFolder);
|
||||||
if (repeModelList != null && repeModelList[fname] != null) {
|
if (repeModelList != null && repeModelList[fname] != null) {
|
||||||
if (repeModelList[fname] == 'skip') {
|
if (repeModelList[fname] == 'skip') {
|
||||||
$("#uls_" + count).text("[已完成]");
|
$("#uls_" + count).text("[已完成]");
|
||||||
|
|
@ -3126,6 +3128,7 @@ function checkImportFolder() {
|
||||||
maxFileIndex = i;
|
maxFileIndex = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
uploadTargetFolder = locationpath;// 记录上传目标
|
||||||
// 发送合法性检查请求
|
// 发送合法性检查请求
|
||||||
$
|
$
|
||||||
.ajax({
|
.ajax({
|
||||||
|
|
@ -3135,7 +3138,7 @@ function checkImportFolder() {
|
||||||
data : {
|
data : {
|
||||||
folderName : importFolderName,
|
folderName : importFolderName,
|
||||||
maxSize : maxSize,
|
maxSize : maxSize,
|
||||||
folderId : locationpath
|
folderId : uploadTargetFolder
|
||||||
},
|
},
|
||||||
success : function(result) {
|
success : function(result) {
|
||||||
var resJson = eval("(" + result + ")");
|
var resJson = eval("(" + result + ")");
|
||||||
|
|
@ -3216,7 +3219,7 @@ function importAndCover() {
|
||||||
url : 'homeController/deleteFolderByName.ajax',
|
url : 'homeController/deleteFolderByName.ajax',
|
||||||
type : 'POST',
|
type : 'POST',
|
||||||
data : {
|
data : {
|
||||||
parentId : locationpath,
|
parentId : uploadTargetFolder,
|
||||||
folderName : importFolderName
|
folderName : importFolderName
|
||||||
},
|
},
|
||||||
dataType : 'text',
|
dataType : 'text',
|
||||||
|
|
@ -3242,7 +3245,7 @@ function importAndBoth() {
|
||||||
url : 'homeController/createNewFolderByName.ajax',
|
url : 'homeController/createNewFolderByName.ajax',
|
||||||
type : 'POST',
|
type : 'POST',
|
||||||
data : {
|
data : {
|
||||||
parentId : locationpath,
|
parentId : uploadTargetFolder,
|
||||||
folderName : importFolderName,
|
folderName : importFolderName,
|
||||||
folderConstraint : fc
|
folderConstraint : fc
|
||||||
},
|
},
|
||||||
|
|
@ -3283,7 +3286,7 @@ function iteratorImport(i, newFolderName) {
|
||||||
var fd = new FormData();// 用于封装文件数据的对象
|
var fd = new FormData();// 用于封装文件数据的对象
|
||||||
|
|
||||||
fd.append("file", uploadfile);// 将文件对象添加到FormData对象中,字段名为uploadfile
|
fd.append("file", uploadfile);// 将文件对象添加到FormData对象中,字段名为uploadfile
|
||||||
fd.append("folderId", locationpath);
|
fd.append("folderId", uploadTargetFolder);
|
||||||
fd.append("folderConstraint", fc);
|
fd.append("folderConstraint", fc);
|
||||||
fd.append("originalFileName", fname);
|
fd.append("originalFileName", fname);
|
||||||
if (!!newFolderName) {
|
if (!!newFolderName) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue