Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
8a1eebb9
Commit
8a1eebb9
authored
Jun 17, 2021
by
kl
Committed by
kl
Jun 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v3.6.0 版本发布
parent
85e26c6d
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
10 deletions
+25
-10
Dockerfile
Dockerfile
+3
-3
README.md
README.md
+8
-0
pom.xml
office-plugin/pom.xml
+1
-1
pom.xml
pom.xml
+1
-1
pom.xml
server/pom.xml
+1
-1
startup.bat
server/src/main/bin/startup.bat
+2
-2
startup.sh
server/src/main/bin/startup.sh
+1
-1
FileType.java
server/src/main/java/cn/keking/model/FileType.java
+1
-1
index.ftl
server/src/main/resources/web/index.ftl
+7
-0
No files found.
Dockerfile
View file @
8a1eebb9
...
@@ -37,5 +37,5 @@ ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
...
@@ -37,5 +37,5 @@ ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV
PATH $PATH:$JAVA_HOME/bin
ENV
PATH $PATH:$JAVA_HOME/bin
ENV
LANG zh_CN.UTF-8
ENV
LANG zh_CN.UTF-8
ENV
LC_ALL zh_CN.UTF-8
ENV
LC_ALL zh_CN.UTF-8
ENV
KKFILEVIEW_BIN_FOLDER /opt/kkFileView-3.5.1/bin
ENV
KKFILEVIEW_BIN_FOLDER /opt/kkFileView-3.6.0/bin
ENTRYPOINT
["java","-Dfile.encoding=UTF-8","-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider","-Dspring.config.location=/opt/kkFileView-3.5.1/config/application.properties","-jar","/opt/kkFileView-3.5.1/bin/kkFileView-3.5.1.jar"]
ENTRYPOINT
["java","-Dfile.encoding=UTF-8","-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider","-Dspring.config.location=/opt/kkFileView-3.6.0/config/application.properties","-jar","/opt/kkFileView-3.6.0/bin/kkFileView-3.6.0.jar"]
\ No newline at end of file
\ No newline at end of file
README.md
View file @
8a1eebb9
...
@@ -110,6 +110,14 @@ pdf预览模式预览效果如下
...
@@ -110,6 +110,14 @@ pdf预览模式预览效果如下
### 历史更新记录
### 历史更新记录
> 2021年6月17日,v3.6.0 版本发布 :
ofd 类型文件支持版本,本次版本重要功能均由社区开发贡献,感谢 @gaoxingzaq、@zhangxiaoxiao9527 的代码贡献
1.
新增 ofd 类型文件预览支持,ofd 是国产的类似 pdf 格式的文件
2.
新增了 ffmpeg 视频文件转码预览支持,打开转码功能后,理论上支持所有主流视频的预览,如 rm、rmvb、flv 等
3.
美化了 ppt、pptx 类型文件预览效果,比之前版本好看太多
4.
更新了 pdfbox、xstream、common-io 等依赖的版本
> 2021年1月28日 :
> 2021年1月28日 :
2020农历年最后一个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
2020农历年最后一个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
...
...
office-plugin/pom.xml
View file @
8a1eebb9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<parent>
<parent>
<artifactId>
filepreview
</artifactId>
<artifactId>
filepreview
</artifactId>
<groupId>
cn.keking
</groupId>
<groupId>
cn.keking
</groupId>
<version>
3.
5.1
</version>
<version>
3.
6.0
</version>
</parent>
</parent>
<artifactId>
office-plugin
</artifactId>
<artifactId>
office-plugin
</artifactId>
...
...
pom.xml
View file @
8a1eebb9
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<groupId>
cn.keking
</groupId>
<groupId>
cn.keking
</groupId>
<artifactId>
filepreview
</artifactId>
<artifactId>
filepreview
</artifactId>
<version>
3.
5.1
</version>
<version>
3.
6.0
</version>
<properties>
<properties>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
...
...
server/pom.xml
View file @
8a1eebb9
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<parent>
<parent>
<artifactId>
filepreview
</artifactId>
<artifactId>
filepreview
</artifactId>
<groupId>
cn.keking
</groupId>
<groupId>
cn.keking
</groupId>
<version>
3.
5.1
</version>
<version>
3.
6.0
</version>
</parent>
</parent>
<artifactId>
kkFileView
</artifactId>
<artifactId>
kkFileView
</artifactId>
...
...
server/src/main/bin/startup.bat
View file @
8a1eebb9
...
@@ -6,4 +6,4 @@ echo Starting kkFileView...
...
@@ -6,4 +6,4 @@ echo Starting kkFileView...
echo Please check log file in ../log/kkFileView.log for more information
echo Please check log file in ../log/kkFileView.log for more information
echo You can get help in our official homesite: https://kkFileView.keking.cn
echo You can get help in our official homesite: https://kkFileView.keking.cn
echo If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers
echo If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers
java -Dspring.config.location=..\config\application.properties -jar kkFileView-3.5.1.jar -> ..\log\kkFileView.log
java -Dspring.config.location=..\config\application.properties -jar kkFileView-3.6.0.jar -> ..\log\kkFileView.log
\ No newline at end of file
\ No newline at end of file
server/src/main/bin/startup.sh
View file @
8a1eebb9
...
@@ -29,4 +29,4 @@ echo "Starting kkFileView..."
...
@@ -29,4 +29,4 @@ echo "Starting kkFileView..."
echo
"Please execute ./showlog.sh to check log for more information"
echo
"Please execute ./showlog.sh to check log for more information"
echo
"You can get help in our official homesite: https://kkFileView.keking.cn"
echo
"You can get help in our official homesite: https://kkFileView.keking.cn"
echo
"If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers"
echo
"If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers"
nohup
java
-Dfile
.encoding
=
UTF-8
-Dspring
.config.location
=
../config/application.properties
-jar
kkFileView-3.
5.1
.jar
>
../log/kkFileView.log 2>&1 &
nohup
java
-Dfile
.encoding
=
UTF-8
-Dspring
.config.location
=
../config/application.properties
-jar
kkFileView-3.
6.0
.jar
>
../log/kkFileView.log 2>&1 &
server/src/main/java/cn/keking/model/FileType.java
View file @
8a1eebb9
...
@@ -37,7 +37,7 @@ public enum FileType {
...
@@ -37,7 +37,7 @@ public enum FileType {
private
static
final
String
[]
SSIM_TEXT_TYPES
=
ConfigConstants
.
getSimText
();
private
static
final
String
[]
SSIM_TEXT_TYPES
=
ConfigConstants
.
getSimText
();
private
static
final
String
[]
CODES
=
{
"java"
,
"c"
,
"php"
,
"go"
,
"python"
,
"py"
,
"js"
,
"html"
,
"ftl"
,
"css"
,
"lua"
,
"sh"
,
"rb"
,
"yaml"
,
"yml"
,
"json"
,
"h"
,
"cpp"
,
"cs"
,
"aspx"
,
"jsp"
};
private
static
final
String
[]
CODES
=
{
"java"
,
"c"
,
"php"
,
"go"
,
"python"
,
"py"
,
"js"
,
"html"
,
"ftl"
,
"css"
,
"lua"
,
"sh"
,
"rb"
,
"yaml"
,
"yml"
,
"json"
,
"h"
,
"cpp"
,
"cs"
,
"aspx"
,
"jsp"
};
private
static
final
String
[]
MEDIA_TYPES
=
ConfigConstants
.
getMedia
();
private
static
final
String
[]
MEDIA_TYPES
=
ConfigConstants
.
getMedia
();
p
rivate
static
final
String
[]
MEDIA_TYPES_CONVERT
=
ConfigConstants
.
getConvertMedias
();
p
ublic
static
final
String
[]
MEDIA_TYPES_CONVERT
=
ConfigConstants
.
getConvertMedias
();
private
static
final
Map
<
String
,
FileType
>
FILE_TYPE_MAPPER
=
new
HashMap
<>();
private
static
final
Map
<
String
,
FileType
>
FILE_TYPE_MAPPER
=
new
HashMap
<>();
static
{
static
{
...
...
server/src/main/resources/web/index.ftl
View file @
8a1eebb9
...
@@ -79,6 +79,13 @@
...
@@ -79,6 +79,13 @@
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<div>
<div>
2021年6月17日,v3.6.0版本 :
<br>
ofd 类型文件支持版本,本次版本重要功能均由社区开发贡献,感谢 @gaoxingzaq、@zhangxiaoxiao9527 的代码贡献
<br>
1、新增 ofd 类型文件预览支持,ofd 是国产的类似 pdf 格式的文件
<br>
2、新增了 ffmpeg 视频文件转码预览支持,打开转码功能后,理论上支持所有主流视频的预览,如 rm、rmvb、flv 等
<br>
3、美化了 ppt、pptx 类型文件预览效果,比之前版本好看太多
<br>
4、更新了 pdfbox、xstream、common-io 等依赖的版本
<br><br>
2021年1月28日 :
<br>
2021年1月28日 :
<br>
2020农历年最后一个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
<br>
2020农历年最后一个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
<br>
1、引入galimatias,解决不规范文件名导致文件下载异常
<br>
1、引入galimatias,解决不规范文件名导致文件下载异常
<br>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment