Skip to content

Commit

Permalink
update to v1.0.32-release
Browse files Browse the repository at this point in the history
  • Loading branch information
KOHGYLW committed May 17, 2020
1 parent 317b6bb commit 9d104a2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_

> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
### 常规更新v1.0.31
### 常规更新v1.0.32
_本次更新为维护性的更新,修复一些已经发现的问题并优化使用体验,推荐所有用户升级。_
+ 进一步完善了文件上传机制,使其能够正确识别一些含有Unix特殊字符的文件名。
+ 进一步完善了账户登录认证机制,使其能够正确识别某些含有特殊字符账户名。
+ 其他一些细节优化。
+ 修复了当文件名中含有空格时,Firefox浏览器无法以正确的文件名进行下载的问题。
+ 进一步完善了文件系统。


> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
Expand Down
Binary file not shown.
Binary file modified kiftd说明文档.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion webContext/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<!-- 青阳网络文件传输系统 kiftd v1.0.31-RELEASE -->
<!-- 青阳网络文件传输系统 kiftd v1.0.32-RELEASE -->
<!-- 欢迎访问主界面 -->
<!-- by 青阳龙野(kohgylw@163.com) -->
<html>
Expand Down
17 changes: 11 additions & 6 deletions webContext/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"'
+ fi.fileId
+ '","'
+ fi.fileName
+ replaceAllQuotationMarks(fi.fileName)
+ '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-cloud-download'></span> 下载</button>";
// 对于各种特殊格式文件提供的预览和播放功能
Expand Down Expand Up @@ -1101,7 +1101,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"'
+ fi.fileId
+ '","'
+ fi.fileName
+ replaceAllQuotationMarks(fi.fileName)
+ '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>";
}
Expand All @@ -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>";
}
Expand All @@ -1133,7 +1133,7 @@ function createFileRow(fi, aL, aD, aR, aO) {
+ '"'
+ fi.fileId
+ '","'
+ fi.fileName
+ replaceAllQuotationMarks(fi.fileName)
+ '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-link'></span> 链接</button>";
}
Expand Down Expand Up @@ -1169,7 +1169,7 @@ function createNewFolderRow(f, aD, aR, aO) {
+ '"'
+ f.folderId
+ '","'
+ f.folderName
+ replaceAllQuotationMarks(f.folderName)
+ '"'
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-remove'></span> 删除</button>";
}
Expand All @@ -1179,7 +1179,7 @@ function createNewFolderRow(f, aD, aR, aO) {
+ '"'
+ f.folderId
+ '","'
+ f.folderName
+ replaceAllQuotationMarks(f.folderName)
+ '",'
+ f.folderConstraint
+ ")' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-wrench'></span> 编辑</button>";
Expand Down Expand Up @@ -3815,4 +3815,9 @@ function updateTheFolderInfo() {
$("#fim_statistics").text(
"共包含 " + folderView.folderList.length + " 个文件夹, "
+ folderView.fileList.length + " 个文件。");
}

// 替换所有引号,将其进一步转义,主要用于传递带引号的文件名
function replaceAllQuotationMarks(txt) {
return txt.replace(/\"/g, "\\\"");
}
6 changes: 3 additions & 3 deletions webContext/js/home.min.js

Large diffs are not rendered by default.

0 comments on commit 9d104a2

Please sign in to comment.