update to v1.0.32-release

master
kohgylw@163.com 2020-05-17 19:45:47 +08:00
parent 317b6bb50a
commit 9d104a2de9
6 changed files with 18 additions and 14 deletions

View File

@ -77,11 +77,10 @@ _注kift为该功能的开发名称其实际成果命名为kiftd。_
> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。 > 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
### 常规更新v1.0.31 ### 常规更新v1.0.32
_本次更新为维护性的更新修复一些已经发现的问题并优化使用体验推荐所有用户升级。_ _本次更新为维护性的更新修复一些已经发现的问题并优化使用体验推荐所有用户升级。_
+ 进一步完善了文件上传机制使其能够正确识别一些含有Unix特殊字符的文件名。 + 修复了当文件名中含有空格时Firefox浏览器无法以正确的文件名进行下载的问题。
+ 进一步完善了账户登录认证机制,使其能够正确识别某些含有特殊字符账户名。 + 进一步完善了文件系统。
+ 其他一些细节优化。
> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html > 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html

Binary file not shown.

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<!-- 青阳网络文件传输系统 kiftd v1.0.31-RELEASE --> <!-- 青阳网络文件传输系统 kiftd v1.0.32-RELEASE -->
<!-- 欢迎访问主界面 --> <!-- 欢迎访问主界面 -->
<!-- by 青阳龙野kohgylw@163.com --> <!-- by 青阳龙野kohgylw@163.com -->
<html> <html>

View File

@ -1007,7 +1007,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"' + '"'
+ fi.fileId + fi.fileId
+ '","' + '","'
+ fi.fileName + replaceAllQuotationMarks(fi.fileName)
+ '"' + '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-cloud-download'></span> 下载</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-cloud-download'></span> 下载</button>";
// 对于各种特殊格式文件提供的预览和播放功能 // 对于各种特殊格式文件提供的预览和播放功能
@ -1101,7 +1101,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"' + '"'
+ fi.fileId + fi.fileId
+ '","' + '","'
+ fi.fileName + replaceAllQuotationMarks(fi.fileName)
+ '"' + '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>";
} }
@ -1113,7 +1113,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"' + '"'
+ "," + ","
+ '"' + '"'
+ fi.fileName + replaceAllQuotationMarks(fi.fileName)
+ '"' + '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-wrench'></span> 重命名</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-wrench'></span> 重命名</button>";
} }
@ -1133,7 +1133,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"' + '"'
+ fi.fileId + fi.fileId
+ '","' + '","'
+ fi.fileName + replaceAllQuotationMarks(fi.fileName)
+ '"' + '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-link'></span> 链接</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-link'></span> 链接</button>";
} }
@ -1169,7 +1169,7 @@ function createNewFolderRow(f, aD, aR, aO) {
+ '"' + '"'
+ f.folderId + f.folderId
+ '","' + '","'
+ f.folderName + replaceAllQuotationMarks(f.folderName)
+ '"' + '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>";
} }
@ -1179,7 +1179,7 @@ function createNewFolderRow(f, aD, aR, aO) {
+ '"' + '"'
+ f.folderId + f.folderId
+ '","' + '","'
+ f.folderName + replaceAllQuotationMarks(f.folderName)
+ '",' + '",'
+ f.folderConstraint + f.folderConstraint
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-wrench'></span> 编辑</button>"; + ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-wrench'></span> 编辑</button>";
@ -3816,3 +3816,8 @@ function updateTheFolderInfo() {
"共包含 " + folderView.folderList.length + " 个文件夹, " "共包含 " + folderView.folderList.length + " 个文件夹, "
+ folderView.fileList.length + " 个文件。"); + folderView.fileList.length + " 个文件。");
} }
// 替换所有引号,将其进一步转义,主要用于传递带引号的文件名
function replaceAllQuotationMarks(txt) {
return txt.replace(/\"/g, "\\\"");
}

File diff suppressed because one or more lines are too long