1 Star 0 Fork 187

Jackey870 / QJ_FileCenter

forked from 企捷科技 / QJ_FileCenter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Lotus云盘

Lotus云盘的前身是专门为外部系统提供文件上传,下载,在线浏览等服务的一个组件,最新的2.0版本在这个组件基础上集成了原有协同平台的云盘功能,目前已经变成一个可以独立部署并且可以为其它系统提供文件管理服务的系统,比较适合面向个人、团队或小型组织来搭建属于自己的网盘。

更新内容

2019-12-24 版本说明(V2.2),主要是添加了视频得转码播放及音频播放功能

  1. 集成了ffmpeg.exe组件,在后台进行视频转码,保证上传视频能够在线播放
  2. 添加了音乐播放功能,支持MP3格式文件播放
  3. 修复密码重置有问题得Bug
  4. 修复文件共享无法看见得问题
  5. 新增/document/viedo/{zyid}接口,用来实现分片传输视频文件,否则无法实现拖动播放
  6. 完善若干细节
说明:ffmpeg.exe转码对机器性能要求很高...转码得时间大约等同于视频时间,机器越好转的越快,qt-faststart.exe用来实现边下边播功能,不然就只能等视频下载完才能播放,

2019-10-07 版本说明(V2.1),主要是添加了第三方系统的支持以及移动端页面

  1. 更换了更加强大的图片浏览插件以及视频查看的插件,功能更加完善及美观
  2. 添加了第三方系统集成的机制,第三方网站可以通过Iframe的方式集成Lotus云盘,集成方式见官网教程
  3. 添加移动端页面,系统用户端支持在手机端访问,手机访问自适应移动端

2019-09-18 版本说明(V2.0),主要是在原有的功能上集成了简单的云盘功能

  1. 后台管理端添加了用户管理功能,用户分为两组,管理员(可以进入管理端),普通用户(只能查查看企业空间,个人空间,用户共享三个模块)
  2. 增加了系统配置功能,可以在后台配置端口,IP以及文件存放路径功能
  3. 集成了WebUpload上传组件(拖拽上传,文件夹上传,断点续传,秒传,粘贴等等)
  4. 完善了文件夹及文件的分享功能,支持外部分享,和内部分享
  5. 支持文件的压缩与解压功能,支持打包下载,支持预览zip包内容功能
  6. 支持WORD,PPT,PDF格式的在线预览功能
  7. 支持视频在线播放

后期升级计划

  • 支持手机端web功能
  • 支持更多文件的预览功能,比如txt,音频文件,视频文件之类的
  • 更全面的后台管理功能
  • 文件的备份,移动
  • 文件服务器的操作日志
  • 多帐号管理,帐号安全控制
  • 更丰富的API
  • 全局搜索功能(最好也能搜索文件内容)
  • 提升组件的性能

演示环境

点击此处进入演示环境 演示账号:yhy,密码:abc123

点击此处下载安装包

版权说明

  • 本框架遵循GPL开源协议,企业单位如商用请联系作者授权
  • 有问题请尽量在群里或者码云上提问,QQ讨论群:538014542
  • 二次开发后的系统只允许内部使用,不得进行出租、出售。

系统主要截图

主页 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明 输入图片说明

为什么会开发这玩意...

当然是为了方便,最开始的时候是打算按照常用的方式把所有上传的文件都放到UPLOAD目录下的,这样做会面临不少问题

  • 文件不好管理----上传的文件就往UPLOAD目录里扔,就没有下文了,后期管理起来只能通过Windows的资源管理器来管理了,这种方式简单的系统应付起来还行,稍微复杂点就有点力不从心了
  • 方式不够漂亮----文件存储和WEB程序都在一起,感觉有改善的空间
  • 影响WEB效率----当下载和上传操作较多时可能会影响web执行的效率,如果能把WEB服务和文件服务分开就好了
  • 不太方便扩展----或者说扩展起来比较费事,比方说做断点续传,秒传,做文件预览,等等
  • 重复工作太多----每次开发一个新系统,上传这块都要全部搞一遍,感觉太费劲,以后还很难再继续升级 只要系统涉及到频繁的文件上传下载可能就都会面临这些个个问题,既然这样,为什么不把这一块单独拎出来开发成一个服务呢,于是就有了这个QJ_FileCenter组件。

先说优点

一:部署方便:

已经打包成exe文件,装完即用,非常方便

二:使用方便:使用方式包含以下2种:

  • 单独部署,作为个人或小型企业网盘使用

  • 作为服务组件供其它系统使用 上传方式非常简单,系统目前支持两种方式上传,一种是集成了百度的WebUpload插件,通过一段JS即可调用上传组件上传,就是下面这个玩意,【同时也支持普通的post上传文件】。

三:功能强大:

1.WebUpload多强大,看下面官网这张图就明白了,什么拖拽上传,文件夹上传,断点续传,秒传,粘贴,分片什么的完全不在话下,你自己搞这些,还能比它搞的更好吗?反正我是不行 输入图片说明 2.目前已经支持PDF,WORD,PPT格式的文件预览功能,后续会继续支持其它格式的文件预览功能

3.支持文件的压缩与解压功能,支持打包下载,支持预览zip包内容功能

5.目前提供了一部分基础的API,供用户调用.(例如获取压缩图片,获取office文档转化后的图片)

6.支持PC端的同时也支持移动端

7.组件提供了空间的概念,可以建立多个空间,同时为多个系统提供文件存储服务,统一管理上传的文件,免去了系统较多时文件分散在各个地方的烦恼

四:提高开发效率:

开发人员不用再操心和文件相关的操作了,所有相关的操作都由QJFileCenter来处理,大大提高了开发人员的效率

使用技术:

  • 文件信息存储在sqllite数据库里
  • API框架使用Nancy
  • 管理端页面使用QJ_Onelotus
  • office预览采用Aspose转化成图片形式
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2018 一步莲华 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

企捷Lotus文件管理平台是开源文档管理平台/企业网盘,支持企业文件、个人文件等文件分库管理,平台能够满足统一存储、文件共享功能。并提供文件上传、目录维护、重命名、移动、复制、删除、预览、等功能。 展开 收起
C#
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/Jakey870_admin/QJ_FileCenter.git
git@gitee.com:Jakey870_admin/QJ_FileCenter.git
Jakey870_admin
QJ_FileCenter
QJ_FileCenter
master

搜索帮助

14c37bed 8189591 565d56ea 8189591