Skip to content

Commit

Permalink
v3.6.0 版本发布
Browse files Browse the repository at this point in the history
  • Loading branch information
klboke committed Jun 17, 2021
1 parent 85e26c6 commit 8a1eebb
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH $PATH:$JAVA_HOME/bin
ENV LANG zh_CN.UTF-8
ENV LC_ALL zh_CN.UTF-8
ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-3.5.1/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"]
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.6.0/config/application.properties","-jar","/opt/kkFileView-3.6.0/bin/kkFileView-3.6.0.jar"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ pdf预览模式预览效果如下

### 历史更新记录

> 2021617日,v3.6.0 版本发布 :

ofd 类型文件支持版本,本次版本重要功能均由社区开发贡献,感谢 @gaoxingzaq@zhangxiaoxiao9527 的代码贡献
1. 新增 ofd 类型文件预览支持,ofd 是国产的类似 pdf 格式的文件
2. 新增了 ffmpeg 视频文件转码预览支持,打开转码功能后,理论上支持所有主流视频的预览,如 rmrmvbflv
3. 美化了 pptpptx 类型文件预览效果,比之前版本好看太多
4. 更新了 pdfboxxstreamcommon-io 等依赖的版本

> 2021128日 :

2020农历年最后个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
Expand Down
2 changes: 1 addition & 1 deletion office-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>filepreview</artifactId>
<groupId>cn.keking</groupId>
<version>3.5.1</version>
<version>3.6.0</version>
</parent>

<artifactId>office-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cn.keking</groupId>
<artifactId>filepreview</artifactId>
<version>3.5.1</version>
<version>3.6.0</version>

<properties>
<java.version>1.8</java.version>
Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>filepreview</artifactId>
<groupId>cn.keking</groupId>
<version>3.5.1</version>
<version>3.6.0</version>
</parent>

<artifactId>kkFileView</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/bin/startup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ echo Starting kkFileView...
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 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
2 changes: 1 addition & 1 deletion server/src/main/bin/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ echo "Starting kkFileView..."
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 "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 &
2 changes: 1 addition & 1 deletion server/src/main/java/cn/keking/model/FileType.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public enum FileType {
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[] MEDIA_TYPES = ConfigConstants.getMedia();
private static final String[] MEDIA_TYPES_CONVERT = ConfigConstants.getConvertMedias();
public static final String[] MEDIA_TYPES_CONVERT = ConfigConstants.getConvertMedias();
private static final Map<String, FileType> FILE_TYPE_MAPPER = new HashMap<>();

static {
Expand Down
7 changes: 7 additions & 0 deletions server/src/main/resources/web/index.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@
</div>
<div class="panel-body">
<div>
2021617日,v3.6.0版本 :<br>
ofd 类型文件支持版本,本次版本重要功能均由社区开发贡献,感谢 @gaoxingzaq@zhangxiaoxiao9527 的代码贡献<br>
1、新增 ofd 类型文件预览支持,ofd 是国产的类似 pdf 格式的文件<br>
2、新增了 ffmpeg 视频文件转码预览支持,打开转码功能后,理论上支持所有主流视频的预览,如 rmrmvbflv 等<br>
3、美化了 pptpptx 类型文件预览效果,比之前版本好看太多<br>
4、更新了 pdfboxxstreamcommon-io 等依赖的版本<br><br>

2021128日 :<br>
2020农历年最后个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年<br>
1、引入galimatias,解决不规范文件名导致文件下载异常<br>
Expand Down

0 comments on commit 8a1eebb

Please sign in to comment.