提交 8b4952bb 编写于 作者: 青阳龙野's avatar 青阳龙野

update to v1.0.27-release

上级 38eb22c7
无法预览此类型文件
......@@ -77,9 +77,26 @@ _注:kift为该功能的开发名称,其实际成果命名为kiftd。_
> 提示:当您更新版本后,请手动清除浏览器的缓存,之后刷新网盘主页以确保数据文件保持最新!否则可能导致新版页面功能无法使用。
### 常规更新v1.0.26
_本次更新为维护性的更新,修复一些已经发现的问题并优化使用体验,推荐所有用户升级。_
+ 优化了账户配置文件的载入和读取机制,确保在多人同时进行诸如修改密码或注册新账户等操作时不会因账户配置文件写入冲突而引发错误。
### 新版本v1.0.27
_本次更新加入了很多备受用户期待的、实用性较强的新功能,进一步增强kiftd的使用体验。推荐所有用户升级体验。_
+ 最大下载速度限制功能现已加入!该功能可以保护您的网络带宽,防止因某一访问者将网络带宽全部占满导致其他访问者无法正常访问的情况发生。设置方法可参阅《kiftd说明文档》中的相关介绍。
+ 新增了主页“公告栏”功能——这一功能在之前被很多用户提出过,现已正式加入。该功能可以帮助您将一些重要的信息或提示显示给所有访问者,从而令管理更加便捷。
+ “自由注册新账户”功能可以为新账户设置默认的小组了。
+ “扩展存储区”的最大数量现已提高到255个,同时还改进了文件系统的扩展存储区存储机制,以便更好地应对大数量、大体积文件存储的需求。
+ 优化文件夹视图加载机制——当需要加载的文件列表数目较多时,系统将会分段加载这些数据从而提高页面的响应速度。
+ 允许您强制关闭服务器的IP地址XFF解析功能,从而避免访问者通过伪造XFF请求头的方式伪造自己的IP地址。
+ 允许您根据自身的实际需求和使用环境选择强制禁用服务器的“打包下载”功能。
+ 允许您根据自身的实际需求和使用环境选择强制禁用服务器的“在线解码”功能。
+ 允许您自行替换“在线解码”功能所使用的ffmpeg引擎文件——当kiftd未找到适合您操作系统的ffmpeg引擎时,您可以自行提供ffmpeg可执行文件,从而确保“在线解码”功能能够正常使用。
+ 为排序功能添加了等待动画效果。当排序量较大且耗时较长时,这能够为用户带来更好的使用体验。
+ 修复了图片预览功能无法正常播放大体积GIF图片的问题。
+ 修复了文件管理功能在导入本地文件夹时可能导致其无法被任何人访问的问题——现在,本地导入的文件夹将与父级文件夹的创建者相同,从而确保其父级文件夹的拥有者能够对新导入的文件夹进行访问及操作。
+ 优化了日志功能中的异常记录机制,增加了对异常堆栈信息的记录,以便开发者和维护人员能够通过日志信息获取到更加详细的异常信息。
+ 修复了“移动”操作在日志记录中“NEW PATH”(目标路径)项记录不正确的问题。
+ 修复了当文件或文件夹名称中含有特殊字符时可能会出现的一些显示问题。
+ 修复了程序主界面与一些Linux系统的图形界面不兼容的问题。
+ 进一步优化了文件系统,增强其稳定性和安全性。
+ 完善了《kiftd说明文档》,新增了关于“设置页面背景图片”和“备份文件系统数据”的相关介绍。
> 需要查看更多版本历史信息?请访问: https://kohgylw.gitee.io/News.html
......@@ -122,4 +139,4 @@ _本次更新为维护性的更新,修复一些已经发现的问题并优化
_作者会每隔1-3周浏览一次邮箱,如未能及时回复请耐心等待。回复或许会迟到,但它不会缺席。_
2018-2019 kohgylw@青阳龙野 作者保留版权
2018-2020 kohgylw@青阳龙野 作者保留版权
......@@ -13,18 +13,35 @@
<select id="queryById" parameterType="java.lang.String"
resultMap="BaseResultMap">
SELECT * FROM FOLDER WHERE folder_id = #{fid,jdbcType=VARCHAR}
SELECT * FROM FOLDER WHERE folder_id =
#{fid,jdbcType=VARCHAR}
</select>
<select id="queryByParentId" parameterType="java.lang.String"
resultMap="BaseResultMap">
SELECT * FROM FOLDER WHERE folder_parent = #{pid,jdbcType=VARCHAR}
SELECT * FROM FOLDER WHERE folder_parent =
#{pid,jdbcType=VARCHAR} LIMIT 0,2147483647
</select>
<select id="countByParentId" parameterType="java.lang.String"
resultType="java.lang.Long">
SELECT COUNT(folder_id) FROM FOLDER WHERE folder_parent =
#{pid,jdbcType=VARCHAR}
</select>
<select id="queryByParentIdSection" parameterType="java.util.Map"
resultMap="BaseResultMap">
SELECT * FROM FOLDER WHERE folder_parent =
#{pid,jdbcType=VARCHAR} LIMIT
#{offset,jdbcType=INTEGER},#{rows,jdbcType=INTEGER}
</select>
<select id="queryByParentIdAndFolderName" parameterType="java.util.Map"
resultMap="BaseResultMap">
SELECT * FROM FOLDER WHERE folder_parent = #{parentId,jdbcType=VARCHAR} AND
folder_name = #{folderName,jdbcType=VARCHAR}
SELECT * FROM FOLDER WHERE folder_parent =
#{parentId,jdbcType=VARCHAR} AND
folder_name =
#{folderName,jdbcType=VARCHAR}
</select>
<insert id="insertNewFolder" parameterType="kohgylw.kiftd.server.model.Folder">
......@@ -33,19 +50,24 @@
</insert>
<delete id="deleteById" parameterType="java.lang.String">
DELETE FROM FOLDER WHERE folder_id=#{folderId,jdbcType=VARCHAR}
DELETE FROM FOLDER WHERE
folder_id=#{folderId,jdbcType=VARCHAR}
</delete>
<update id="updateFolderNameById" parameterType="java.util.Map">
UPDATE FOLDER SET folder_name = #{newName,jdbcType=VARCHAR} WHERE folder_id
= #{folderId,jdbcType=VARCHAR}
UPDATE FOLDER
SET folder_name = #{newName,jdbcType=VARCHAR} WHERE folder_id
=
#{folderId,jdbcType=VARCHAR}
</update>
<update id="updateFolderConstraintById" parameterType="java.util.Map">
UPDATE FOLDER SET folder_constraint = #{newConstraint,jdbcType=INTEGER} WHERE folder_id
UPDATE
FOLDER SET folder_constraint = #{newConstraint,jdbcType=INTEGER} WHERE
folder_id
= #{folderId,jdbcType=VARCHAR}
</update>
<update id="moveById" parameterType="java.util.Map">
UPDATE FOLDER SET
folder_parent = #{locationpath,jdbcType=VARCHAR} WHERE folder_id =
......
......@@ -16,6 +16,19 @@
<select id="queryByParentFolderId" parameterType="java.lang.String"
resultMap="BaseResultMap">
SELECT * FROM FILE WHERE file_parent_folder =
#{pfid,jdbcType=VARCHAR} LIMIT 0,2147483647
</select>
<select id="queryByParentFolderIdSection" parameterType="java.util.Map"
resultMap="BaseResultMap">
SELECT * FROM FILE WHERE file_parent_folder =
#{pfid,jdbcType=VARCHAR} LIMIT
#{offset,jdbcType=INTEGER},#{rows,jdbcType=INTEGER}
</select>
<select id="countByParentFolderId" parameterType="java.lang.String"
resultType="java.lang.Long">
SELECT COUNT(file_id) FROM FILE WHERE file_parent_folder =
#{pfid,jdbcType=VARCHAR}
</select>
......@@ -57,10 +70,6 @@
#{fileId,jdbcType=VARCHAR}
</update>
<select id="queryAll" resultMap="BaseResultMap">
SELECT * FROM FILE
</select>
<select id="queryByPath" parameterType="java.lang.String"
resultMap="BaseResultMap">
SELECT * FROM FILE WHERE file_path =
......@@ -72,7 +81,7 @@
SELECT * FROM FILE WHERE file_parent_folder in (SELECT
file_parent_folder
FROM FILE WHERE file_id =
#{fileId,jdbcType=VARCHAR})
#{fileId,jdbcType=VARCHAR}) LIMIT 0,2147483647
</select>
<update id="moveById" parameterType="java.util.Map">
......
......@@ -96,6 +96,21 @@ body {
opacity: 0.7;
}
.shownoticebox {
width: 40px;
height: 75px;
position: fixed;
top: 50px;
right: 0px;
}
.shownoticebutton {
width: 100%;
height: 100%;
background-color: #FCFCFC;
color: #104E8B; alpha (Opacity=70);
}
td {
word-break: break-all;
word-wrap: break-all;
......@@ -105,4 +120,14 @@ td {
width: 100%;
max-height: 35px;
cursor: pointer
}
.loadingremaininngbox {
width: 100%;
height: 40px;
position: fixed;
bottom: 0px;
left: 0px;
line-height: 40px;
color: #104E8B; alpha (Opacity=70);
}
\ No newline at end of file
@charset "UTF-8";.titlebox{height:30px;line-height:30px;padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;position:relative;bottom:-7px}.titletext{color:#000;font-size:22px}.graytext{color:#8b8b8b}.subtitle{color:#5cacee;text-align:center}.rightbtn{border-right:10px;float:right;margin-left:10px}.heading{margin-top:-10px;margin-bottom:-10px}.centerText{text-align:center}.uploadstatusbox{color:#9c9c9c;height:48px;overflow:auto}html{height:100%}body{height:100%}.loading{line-height:56px;color:#545454;padding-left:60px;font-size:15px;background:#fff url(loading.gif) no-repeat 10px 50%;opacity:.7;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;filter:alpha(opacity=70)}.wordbreak{word-break:break-all}.filetableheaderstyle{height:40px;float:left;height:100%;margin-top:15px;overflow:hidden}.gobacktopbox{width:100%;height:30px;position:fixed;top:0;left:0}.gobacktopbutton{width:150px;height:35px;background-color:#fcfcfc;color:#104e8b;alpha(Opacity=70);-moz-opacity:.7;opacity:.7}td{word-break:break-all;word-wrap:break-all}.vercodeimg{width:100%;max-height:35px;cursor:pointer}
\ No newline at end of file
@charset "UTF-8";.titlebox{height:30px;line-height:30px;padding-top:5px;padding-bottom:5px;padding-left:10px;padding-right:10px;position:relative;bottom:-7px}.titletext{color:#000;font-size:22px}.graytext{color:#8b8b8b}.subtitle{color:#5cacee;text-align:center}.rightbtn{border-right:10px;float:right;margin-left:10px}.heading{margin-top:-10px;margin-bottom:-10px}.centerText{text-align:center}.uploadstatusbox{color:#9c9c9c;height:48px;overflow:auto}html{height:100%}body{height:100%}.loading{line-height:56px;color:#545454;padding-left:60px;font-size:15px;background:#fff url(loading.gif) no-repeat 10px 50%;opacity:.7;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;filter:alpha(opacity=70)}.wordbreak{word-break:break-all}.filetableheaderstyle{height:40px;float:left;height:100%;margin-top:15px;overflow:hidden}.gobacktopbox{width:100%;height:30px;position:fixed;top:0;left:0}.gobacktopbutton{width:150px;height:35px;background-color:#fcfcfc;color:#104e8b;alpha(Opacity=70);-moz-opacity:.7;opacity:.7}.shownoticebox{width:40px;height:75px;position:fixed;top:50px;right:0}.shownoticebutton{width:100%;height:100%;background-color:#fcfcfc;color:#104e8b;alpha(Opacity=70)}td{word-break:break-all;word-wrap:break-all}.vercodeimg{width:100%;max-height:35px;cursor:pointer}.loadingremaininngbox{width:100%;height:40px;position:fixed;bottom:0;left:0;line-height:40px;color:#104e8b;alpha(Opacity=70)}
\ No newline at end of file
<!doctype html>
<!-- 青阳网络文件传输系统 kiftd v1.0.26-RELEASE -->
<!-- 青阳网络文件传输系统 kiftd v1.0.27-RELEASE -->
<!-- 欢迎访问主界面 -->
<!-- by 青阳龙野(kohgylw@163.com) -->
<html>
......@@ -40,8 +40,9 @@
class="graytext">KIFT</span>
</small>
</em>
</span> <span id="tb" class="rightbtn"></span>
<button class="btn btn-link rightbtn" onclick="refreshFolderView()">
</span> <span id="tb" class="rightbtn hidden-xs"></span>
<button class="btn btn-link rightbtn hidden-xs"
onclick="refreshFolderView()">
刷新 <span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>
</button>
</div>
......@@ -51,7 +52,7 @@
<!-- 信息栏、操作栏与文件列表 -->
<div class="row">
<div class="col-md-12">
<p id="vicetbbox" class="subtitle" style="display: none;">
<p class="subtitle visible-xs-block">
<span id="tb2"></span>
<button class="btn btn-link" onclick="refreshFolderView()">
刷新 <span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>
......@@ -83,13 +84,12 @@
class="caret"></span></a>
<ul class="dropdown-menu" id="parentFolderList"></ul></li>
</ul>
<form id="filetableoptmenusreach"
class="navbar-form navbar-left">
<form class="navbar-form navbar-left hidden-xs">
<div class="form-group">
<input id="sreachKeyWordIn" type="text" class="form-control"
placeholder="请输入文件名...">
</div>
<button type="button" class="btn btn-default"
<button id="searchbtn" type="button" class="btn btn-default"
onclick="doSearchFile()">搜索</button>
</form>
<ul class="nav navbar-nav navbar-right">
......@@ -129,13 +129,14 @@
<tr>
<th onclick="sortbyfn()">文件名<span id="sortByFN"
aria-hidden="true" style="float: right"></span></th>
<th class="hiddenColumn" onclick="sortbycd()">创建日期<span
<th class="hidden-xs" onclick="sortbycd()">创建日期<span
id="sortByCD" aria-hidden="true" style="float: right"></span></th>
<th onclick="sortbyfs()">大小<span id="sortByFS"
aria-hidden="true" style="float: right"></span></th>
<th class="hiddenColumn" onclick="sortbycn()">创建者<span
<th class="hidden-xs" onclick="sortbycn()">创建者<span
id="sortByCN" aria-hidden="true" style="float: right"></span></th>
<th onclick="showOriginFolderView()">操作</th>
<th onclick="showOriginFolderView()">操作<span id="sortByOR"
aria-hidden="true" style="float: right"></span></th>
</tr>
</thead>
<tbody id="foldertable"></tbody>
......@@ -797,16 +798,49 @@
</h4>
</div>
<div class="modal-body">
<textarea id="fileChainTextarea" class="form-control" rows="3" readonly></textarea>
<textarea id="fileChainTextarea" class="form-control" rows="3"
readonly></textarea>
</div>
<div class="modal-footer">
<button id="copyChainBtn" type="button" class="btn btn-info" onclick="copyFileChain()">复制链接</button>
<button id="copyChainBtn" type="button" class="btn btn-info"
onclick="copyFileChain()">复制链接</button>
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
<!-- end 永久资源链接 -->
<!-- 公告信息栏 -->
<div class="modal fade" id="noticeModal" tabindex="-1" role="dialog"
aria-labelledby="noticeModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title" id="noticeModalLabel">公告信息</h4>
</div>
<div class="modal-body" style="overflow: scroll;"
id="noticeModalBody"></div>
<div class="modal-footer">
<label class="text-muted"> <input type="checkbox"
id="dontShowSomeNoticeAt30Day"> 30天内不再显示相同的公告信息
</label>
<button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
<!-- end 公告信息栏 -->
<!-- 显示公告按钮 -->
<div id="shownoticebox" class="shownoticebox text-center hidden">
<button type="button" onclick="showNotice()" class="shownoticebutton">
<span class="glyphicon glyphicon-bookmark" aria-hidden="true"></span><br /><br />
</button>
</div>
<!-- end 显示公告按钮 -->
<!-- 返回顶部按钮(隐藏式) -->
<div id="gobacktotopbox" class="gobacktopbox text-center hidden">
<button type="button" onclick="goBackToTop()" class="gobacktopbutton">
......@@ -814,6 +848,13 @@
</button>
</div>
<!-- end 返回顶部按钮 -->
<!-- 加载余下部分的提示 -->
<div id="loadingremaininngbox"
class="loadingremaininngbox text-center bg-info hidden">
正在加载文件列表:<span id="loadingrate">0%</span>... <span
class="glyphicon glyphicon-hourglass" aria-hidden="true"></span>
</div>
<!-- end 加载余下部分的提示 -->
</body>
<!-- jquery基本框架 -->
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
......
此差异已折叠。
此差异已折叠。
kiftd 使用许可
Copyright © 2018-2019 青阳龙野 <kohgylw@163.com>
Copyright © 2018-2020 青阳龙野 <kohgylw@163.com>
使用、分发或修改kiftd及其程序的源代码均代表您接受如下条款:
1,任何组织或个人均能够自由、无偿地获得kiftd发行版及其源代码的原版拷贝,并对其享有无限制使用的权利——无论是商业性的还是非商业性的。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册