Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_40682017
kiftd
提交
409d9c04
kiftd
项目概览
weixin_40682017
/
kiftd
与 Fork 源项目一致
Fork自
青阳龙野 / kiftd
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
kiftd
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
409d9c04
编写于
3月 12, 2019
作者:
青阳龙野
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update to v1.0.16
上级
3f810511
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
40 addition
and
14 deletion
+40
-14
README.md
README.md
+6
-4
kiftd-1.0.16-RELEASE.jar
kiftd-1.0.16-RELEASE.jar
+0
-0
kiftd说明文档.pdf
kiftd说明文档.pdf
+0
-0
webContext/home.html
webContext/home.html
+1
-1
webContext/js/home.js
webContext/js/home.js
+18
-0
webContext/js/home.min.js
webContext/js/home.min.js
+2
-2
webContext/pdfview/web/viewer.html
webContext/pdfview/web/viewer.html
+13
-7
未找到文件。
README.md
浏览文件 @
409d9c04
...
...
@@ -34,7 +34,7 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_
## kiftd有哪些优势?
!
[
mark
](
https://github.com/KOHGYLW/kiftd-showPicture/blob/master/mark_icon.png?raw=true
)
无上传限制——1MB的文档和超过4GB的高清电影资源?均能够随意上传和下载。
!
[
mark
](
https://github.com/KOHGYLW/kiftd-showPicture/blob/master/mark_icon.png?raw=true
)
主流商业网盘特有的高级功能甚至需要收费的功能——文件夹访问权限控制、MP4视频在线影院、MP3音乐在线欣赏、图片文件在线预览、PDF文档在线阅读...kiftd均一一具备,每一份kiftd均是“完全版”。
!
[
mark
](
https://github.com/KOHGYLW/kiftd-showPicture/blob/master/mark_icon.png?raw=true
)
主流商业网盘特有的高级功能甚至需要收费的功能——文件夹访问权限控制、MP4视频在线影院、MP3音乐在线欣赏、图片文件在线预览、
Word &
PDF文档在线阅读...kiftd均一一具备,每一份kiftd均是“完全版”。
!
[
mark
](
https://github.com/KOHGYLW/kiftd-showPicture/blob/master/mark_icon.png?raw=true
)
操作系统全兼容——无论是Windows、Linux还是Unix(包括Mac OS X),均可运行使用。
...
...
@@ -76,10 +76,12 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_
> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
### 新版本v1.0.1
5
### 新版本v1.0.1
6
_本次更新增加了提高可用性的新功能,同时修复了一些已知问题,推荐所有用户升级。_
+
Word文档在线预览——现在,众多用户期待已久的Word文档在线预览功能正式上线,方便办公使用。Word预览功能提供docx格式的在线打开和预览,且该功能无需额外安装任何插件,可免费用于商业用途。注:在线预览展示的格式可能会与官方Word格式有所差异。
+
修正“上传”权限可能导致的越权问题——当用户具备“上传”权限时,可能会恶意上传同名文件并覆盖原文件,从而导致原文件丢失。为避免该漏洞导致的越权现象,现已将其修复为:当用户上传同名文件时,如仅具备“上传”权限,则能选择“跳过”和“保留两者”;如同时具备“删除”权限,可额外选择“覆盖”,从而避免您的文件丢失。
+
TXT文档在线预览——众多用户期待已久的TXT文档在线预览功能正式上线。
+
修正“移动”权限可能导致的越权问题——当用户具备“移动”权限时,可能会恶意移动同名文件并覆盖原文件,从而导致原文件丢失。为避免该漏洞导致的越权现象,现已将其修复为:当用户“粘贴”同名文件时,如仅具备“上传”权限,则能选择“跳过”和“保留两者”;如同时具备“删除”权限,可额外选择“覆盖”,从而避免您的文件丢失。
+
修正“移动”权限无法被授予全局权限的问题——现在,“移动”也可以被正确设定为全局权限了。
+
新增MySQL数据库接入时区设置“mysql.timezone”,以解决用户连接MySQL时时区不一致的问题。该问题可能会导致无法接入MySQL,详情请见说明文档中的相关介绍。
> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
...
...
kiftd-1.0.1
5
-RELEASE.jar
→
kiftd-1.0.1
6
-RELEASE.jar
浏览文件 @
409d9c04
无法预览此类型文件
kiftd说明文档.pdf
浏览文件 @
409d9c04
无法预览此类型文件
webContext/home.html
浏览文件 @
409d9c04
...
...
@@ -591,7 +591,7 @@
全部应用
</p>
<p>
<button
type=
"button"
class=
"btn btn-danger btn-sm"
<button
id=
"movecoverbtn"
type=
"button"
class=
"btn btn-danger btn-sm"
onclick=
"selectFileMoveModel('cover')"
>
覆盖
</button>
<button
type=
"button"
class=
"btn btn-default btn-sm"
onclick=
"selectFileMoveModel('skip')"
>
跳过
</button>
...
...
webContext/js/home.js
浏览文件 @
409d9c04
...
...
@@ -784,6 +784,13 @@ function showFolderTable(folderView) {
+
fi
.
fileId
+
'
"
'
+
"
)' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-eye-open'></span> 预览</button>
"
;
}
else
if
(
getSuffix
(
fi
.
fileName
)
==
"
txt
"
){
fileRow
=
fileRow
+
"
<button onclick='txtView(
"
+
'
"
'
+
fi
.
fileId
+
'
"
'
+
"
)' class='btn btn-link btn-xs'><span class='glyphicon glyphicon-eye-open'></span> 预览</button>
"
;
}
}
if
(
aD
)
{
...
...
@@ -1457,10 +1464,15 @@ function pdfView(filePath) {
window
.
open
(
"
/pdfview/web/viewer.html?file=/fileblocks/
"
+
filePath
);
}
// 预览Docx文档
function
docxView
(
fileId
){
window
.
open
(
"
/pdfview/web/viewer.html?file=/resourceController/getWordView/
"
+
fileId
);
}
function
txtView
(
fileId
){
window
.
open
(
"
/pdfview/web/viewer.html?file=/resourceController/getTxtView/
"
+
fileId
);
}
// 查看图片
function
showPicture
(
fileId
)
{
$
.
ajax
({
...
...
@@ -2033,6 +2045,12 @@ function doMoveFiles(){
}
else
{
$
(
"
#mrepeFileName
"
).
text
(
repeMap
.
repeNodes
[
repeIndex
].
fileName
);
}
var
authList
=
originFolderView
.
authList
;
if
(
checkAuth
(
authList
,
"
D
"
)){
$
(
"
#movecoverbtn
"
).
show
();
}
else
{
$
(
"
#movecoverbtn
"
).
hide
();
}
$
(
"
#selectFileMoveModelAlert
"
).
show
();
}
else
if
(
result
.
startsWith
(
"
CANT_MOVE_TO_INSIDE:
"
)){
$
(
'
#moveFilesMessage
'
).
text
(
"
错误:不能将一个文件夹移动到其自身内部:
"
+
result
.
substring
(
20
));
...
...
webContext/js/home.min.js
浏览文件 @
409d9c04
此差异已折叠。
点击以展开。
webContext/pdfview/web/viewer.html
浏览文件 @
409d9c04
...
...
@@ -45,7 +45,7 @@ See https://github.com/adobe-type-tools/cmap-resources
z-index
:
1000
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
}
.pdf-modal-content
{
display
:
flex
;
flex-flow
:
column
nowrap
;
...
...
@@ -59,7 +59,6 @@ See https://github.com/adobe-type-tools/cmap-resources
-webkit-animation
:
zoom
0.1s
;
animation
:
zoom
0.1s
;
resize
:
both
;
color
:
#545454
;
background
:
#FFFFFF
url(loading.gif)
no-repeat
10px
50%
;
opacity
:
0.7
;
...
...
@@ -71,7 +70,7 @@ See https://github.com/adobe-type-tools/cmap-resources
@-webkit-keyframes
zoom
{
from
{
-webkit-transform
:
scale
(
0
)
-webkit-transform
:
scale
(
0
)
}
to
{
-webkit-transform
:
scale
(
1
)
...
...
@@ -79,8 +78,8 @@ See https://github.com/adobe-type-tools/cmap-resources
}
@keyframes
zoom
{
from
{
transform
:
scale
(
0
)
from
{
transform
:
scale
(
0
)
}
to
{
transform
:
scale
(
1
)
...
...
@@ -91,7 +90,7 @@ See https://github.com/adobe-type-tools/cmap-resources
font-size
:
18px
;
box-sizing
:
border-box
;
text-align
:
center
;
padding
:
2
2
px
;
padding
:
2
3
px
;
}
@media
only
screen
and
(
max-width
:
800px
)
{
...
...
@@ -530,7 +529,9 @@ See https://github.com/adobe-type-tools/cmap-resources
<div
id=
"pdf-modal"
class=
"pdf-modal"
>
<div
class=
"pdf-modal-content"
>
<div
class=
"pdf-modal-body"
>
<p>
正在打开Word文档,请稍候...
</p>
<p>
正在打开
<span
id=
"doc-type-box"
></span>
文档,请稍候...
</p>
</div>
</div>
</div>
...
...
@@ -541,6 +542,11 @@ See https://github.com/adobe-type-tools/cmap-resources
var
url
=
location
.
search
;
if
(
url
.
indexOf
(
"
.block
"
)
<
0
)
{
var
modal
=
document
.
getElementById
(
'
pdf-modal
'
);
if
(
url
.
indexOf
(
"
getWordView
"
)
>=
0
)
{
document
.
getElementById
(
'
doc-type-box
'
).
innerHTML
=
"
Word
"
;
}
else
{
document
.
getElementById
(
'
doc-type-box
'
).
innerHTML
=
"
TXT
"
;
}
modal
.
style
.
display
=
"
block
"
;
var
interval
=
setInterval
(
function
()
{
if
(
PDFViewerApplication
.
pdfDocument
!=
null
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录