version 4.30 release.

pull/280/head
warlee 2018-07-05 22:19:06 +08:00
parent 9f7377814a
commit 3247150f6c
25 changed files with 220 additions and 214 deletions

348
README.md
View File

@ -1,176 +1,182 @@
# KodExplorer # KodExplorer
[![Home page](https://img.shields.io/badge/home-page-yellow.svg?style=flat)](http://kodcloud.com) [![GPLV3 License](https://img.shields.io/badge/Licence-GPLV3-green.svg?style=flat)](http://kodcloud.com) [![Download](http://kodcloud.com/tools/version/?analyze/download)](https://gitee.com/kalcaddle/KODExplorer/repository/archive/master.zip)
> KodExplorer可道云原名芒果云是基于Web技术的私有云和在线文件管理系统。致力于为用户提供安全可控、可靠易用、高扩展性的私有云解决方案。用户只需通过简单环境搭建即可使用KodExplorer快速完成私有云/私有网盘/在线文档管理系统的部署和搭建。可道云提供了类windows经典用户界面延续了windows平台的用户界面、操作逻辑和使用习惯支持100余种文件格式的在线预览解决了文件在线存储与管理、共享和跨平台访问、在线办公影音娱乐等一系列问题使得用户的私有云产品可以拥有本地操作一样方便、快捷、安全的体验。
> 全平台支持:LinuxWindowsMac; 只需要php5以上服务器环境. [![Home page](https://img.shields.io/badge/home-page-yellow.svg?style=flat)](http://kodcloud.com) [![GPLV3 License](https://img.shields.io/badge/Licence-GPLV3-green.svg?style=flat)](http://kodcloud.com) [![Download](http://api.kodcloud.com/?analyze/download)](https://github.com/kalcaddle/KODExplorer/archive/master.zip)
> KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run KodExplorer either online or locally,on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5 available.
![](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common2.png)
![](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common3.png)
### [Demo](http://demo.kodcloud.com/) [user: demo/demo]
----- -----
- [Change log](./ChangeLog.md)
- [Document/开发文档](http://doc.kodcloud.com/)
- [Donate](https://www.paypal.me/kalcaddle)
> 开源协议: 采用GPL v3协议; 注: 开源版和商业版不是同一个版本。开源版是可道云商业版的一个衍生子版本,提供给个人或开发者使用。团队通过商业版授权、功能增强来盈利确保团队及项目不断发展。进一步会开源更多的功能及组件贡献到开源版中。 ### Source code
----
- [github](https://github.com/kalcaddle/KodExplorer)
- [gitee](https://gitee.com/kalcaddle/KODExplorer)
# Features
- Use experience like operating system, Rich context menu and toolbar, drag and drop, shortcut keys......
![](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common2.png) - Available in more than 40 languages.
![](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common3.png) - File Manage
- All operations with files and folders on a remote server(copy,cute,paste,move,remove,upload,create folder/file,rename,etc.)
- Multi-User support,custom role group.
### [立即体验](http://demo.kodcloud.com/) [user: demo/demo] - Flexible configuration of access rights,file types restriction, user - interface and other
----- - Clipboard: copy, cut, paste, clear
- [API开发文档](http://doc.kodcloud.com/) - Selectable files & folders support (mouse click & Ctrl & Shift & words & Keyboard shortcuts)
- [更新日志](./ChangeLog.md) - Keyboard shortcuts: delete deletion, ctrl+A select, ctrl+C replication, ctrl+X splicing, up/down/left/right/home/end etc.
- Multiple actions support for selected files & folders: move,copy,cute,remove,rename,open,archive,delete,download etc.
- Double or single click setup to open files & folders
# 特性 - Filetree: allow to open and display multiple subfolders at a time
- 像使用操作系统一样使用体验,右键操作,拖拽,快捷键…… - Implemented natural sorting on the client-side
- 框中选择拖拽移动拖拽上传在线编辑器影音播放器解压缩。全面ajax保证性能和体验 - List,Icons and Split view;
- 各个功能直接无缝连接;以对话框形式存在,多任务管理等功能 - Move/Copy/Clone/Delete files with Drag & Drop
- 完备的中文支持,各种情况下乱码解决; - Share files or folder to others.
- Add folder to your favorites
## 文件管理 - Calculate directory sizes
- 便捷的文件选择单选鼠标框选shift连选ctrl随意选择键盘上下左右、home、end选择同时支持类似windows的键盘字母快捷定位文件功能 - Thumbnails for image files
- 文件操作:选择文件后,可以进行复制,剪切,删除,属性查看,压缩,重命名,打开预览等操作…… - Normalizer:UTF-8 Normalizer of file-name and file-path etc.
- 文件上传多文件批量上传html5拖拽上传(拖拽到窗口实现无缝上传) - Muti Charset support, in a variety of circumstances garbled solution;Sanitizer of file-name and file-path etc.
- 右键功能:文件右键,文件夹右键,多选后右键操作,桌面右键,树目录右键操作,右键菜单绑定快捷键 (全选——复制——剪切——粘贴——删除——重命名,设置……) - Multiple & chunked uploads support,
- 文件浏览:列表模式,图标模式;双击进入子文件夹;地址栏操作;打开文件夹记录逆势操作记录(前进后退) - Background file upload with Drag & Drop HTML5 support;Folder upload with Chrome, Firefox and Edge
- 拖拽操作:选中后拖拽,实现剪切到指定文件夹功能;支持拖拽到文件夹、地址栏路径、回收站、左侧树目录等 - Upload form URL (or list)
- 快捷键操作delete删除ctrl+A全选ctrl+C复制ctrl+X剪切up/down/left/right/home/end选择文件等等几乎还原了windows的所有快捷键操作 - Direct extraction to the current working directory (you do not want - to create a folder)
- 强大的视图综合windows和mac系统文件管理的有点整合了图标模式、列表模式、分栏模式极大方便了不同场景下的操作体验 - Search: search by filename & file contents
- 多用户支持,自定义角色组。 - File exclusion based on name
- 剪贴板:复制,剪切,粘贴,清除 - Copy direct file URL
- 收藏夹:将文件、文件夹添加到收藏夹中 - Archives create/extract/preview (zip, rar, 7z, tar, gzip, tgz)
- 快捷分享:将文件或文件夹共享给其他人。 - Quicklook, preview for common file types; image file,text file,pdf,swf,document file etc.
- 搜索:支持文件、文件夹快捷搜索;同时支持文本文件内容全文搜索;搜索结果直接跳转到文件对应行 - Video and audio player relying on web browser capabilities
- 上传:支持文件多选上传,文件夹上传、支持拖拽文件、文件夹直接上传(webkit内核);支持断点续传、自动分块上传 - Editor
- 离线下载:支持下载链接直接下载到服务器 - Syntax highlighting for over 120 languages
- 下载:支持多选或文件夹直接下载;下载支持断点续传、多线程下载 - Multiple label, Drag & Drop the label.
- 在线解压缩: 全功能在线解压ziprar7ztargziptgz并完美解决了linux到windows压缩包内中文解压乱码的问题 - Over 15 themes,Choose your favorite programming style
- 其他特性:完美解决各种系统中文乱码问题;文件名自然排序;自动计算选中文件个数和大小;图片自动缩略图展示 - Web development: HTML/JS/CSS editor with Emmet integrated
- Automatic indent and outdent;Line wrapping;Code folding
## 在线预览 - Multiple cursors and selections;(Middle key select;Ctrl+Command+G)
- 打开方式支持:可以选择对应关联了扩展名的打开方式,可以通过安装插件扩展各种文件打开方式; - Autocomplete.
- 文本文件:文本文件内容查看编辑保存;, - Fully customizable key bindings including vim and Emacs modes
- 图片文件:自动生成缩略图,图片幻灯片播放; - Search and replace with regular expressions;Highlight matching parentheses
- 音频播放在线播放音乐视频文件支持mp3wavwmam4aaacogaoggwebmawav等常见格式 - Toggle between soft tabs and real tabs
- 视频播放在线视频文件播放支持格式flvf4vmp4mkvwmvrmvbvobwebmwebmv等各种视频格式 - Displays hidden characters
- 办公文档支持pdf、word、excle、ppt下各种文件格式的在线预览 - Drag and drop text using the mouse
- 压缩文件支持ziprar7ztargziptgz 等压缩文件直接在线预览,而无需先解压;可以打开压缩包内的文件,同时支持打开方式选择 - Live syntax checker (JavaScript/CoffeeScript/CSS/XQuery/HTML/PHP etc.)
- 工程文档支持AutoCAD各种图纸格式、3d模型在线预览 - Cut, copy, and paste functionality
- 其他文档swf、pdf、epub等文件实现在线预览支持 - Markdown support.(live preview;convert to html etc.)
- Format: JavaScript/CSS/HTML/JSON/PHP etc.
- Cross-platform, even on mobile devices
## 编辑器 - Easy to integrate with other systems
- 超过120种语言的语法高亮显示部分编程语言自动纠错支持html、js、php等语言代码格式化 - Developed by kod itself, this is a nice try.
- 支持多标签:同时编辑多份文件,拖动标签可以切换顺序;支持最大化模式
- 自动完成
- 多光标支持:支持多光标同时编辑,鼠标中间拖拽直接多光标选中 # Install
- 主题切换:选择你喜欢的编程风格
- Web开发支持Emmet插件(html/js/css),进行极速编程 **1. Install from source**
- 快速预览支持html、php等文件结果快速预览 ```
- 查找、替换;撤销反撤销,维持历史记录;支持用正则表达式搜索和替换 git clone https://github.com/kalcaddle/KODExplorer.git
- 自动补全[]{}()""'';自动换行,自定义字体,鼠标拖放文本,代码折叠等诸多实用功能 chmod -Rf 777 ./KODExplorer/*
- markdown支持支持语法高亮、快捷工具栏支持实时预览支持latex公式、流程图、时序图、甘特图、类图等高级特性 ```
**2. Install via download**
# 安装 ```
wget https://github.com/kalcaddle/KODExplorer/archive/master.zip
**1. 通过源码安装** unzip master.zip
``` chmod -Rf 777 ./*
git clone https://gitee.com/kalcaddle/KODExplorer.git ```
chmod -Rf 777 ./KODExplorer/*
```
**2. 下载安装** # FAQs
```
wget https://gitee.com/kalcaddle/KODExplorer/repository/archive/master.zip * Forget password
unzip master.zip > Login page: see the "Forget password".
chmod -Rf 777 ./*
``` * Upload with Drag & Drop
> Browser compatibility: Chrome, Firefox and Edge
# 使用帮助 * How to make the system more secure?
* 忘记密码 > Make sure the administrator password is more complex.
> 登陆页面: 点击"忘记密码". > Open login verification code.
> Set the http server to not allow list the directory;
* 拖拽上传及文件夹上传 > PHP Security:Set the path for open_basedir.
> 浏览器适配: ChromeFirefox and Edge
# Screenshot
* 如何使系统更安全? ### file manage:
> 确认管理员密码足够复杂,并养成定期修改密码的习惯. - Overview
> 开启登陆验证码. ![Overview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file.png)
> 设置http服务器禁用列目录功能; - File list Type (icon,list,split)
> php设置: 设置防跨站保护开启open_basedir. ![File list Type](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-resize.png)
- Archives create/extract/preview (zip, rar, 7z, tar, gzip, tgz)
![Archives create/extract/preview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-unzip.png)
# 一些界面截图 - Drag upload
### 文件管理: ![Drag upload](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-upload-drag.png)
- 概览 - Player
![Overview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file.png) ![Player](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-player.png)
- 文件视图 图标模式,列表模式(支持文件夹展开),分栏模式 - Online Office view & Editor
![File list Type](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-resize.png) ![Online Office](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-open-pptx.png)
- 压缩包 压缩/解压/在线预览 (ziprar7ztargziptgz)
![Archives create/extract/preview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-unzip.png)
- 拖拽上传 ### Editor:
![Drag upload](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-upload-drag.png) - Overview
- 播放器 ![Overview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor.png)
![Player](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-player.png) - Live preview
- office在线预览编辑 ![Live preview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-preview.png)
![Online Office](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-open-pptx.png) - Search folder
![Search folder](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-search.png)
- Markdown
### 编辑器: ![Markdown](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-markdown.png)
- 概览 - Code style
![Overview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor.png) ![Code style](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-theme.png)
- 实时预览
![Live preview](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-preview.png)
- 文件夹搜索 ### Others:
![Search folder](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-search.png) - System role
- Markdown ![System role](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/system-role.png)
![Markdown](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/file-markdown.png) - Colorful Theme
- 代码风格 ![Colorful Theme](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/system-theme.png)
![Code style](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/editor-theme.png) - Custom Theme
![Custom Theme](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common-alpha.png)
- Language
### 其他: ![Language](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/language.png)
- 权限组
![System role](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/system-role.png)
- 多彩的主题风格
![Colorful Theme](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/system-theme.png)
- 自定义主题 # Software requirements
![Custom Theme](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/common-alpha.png) - Server:
- 多语言支持 - Windows,Linux,Mac ...
![Language](https://raw.githubusercontent.com/kalcaddle/static/master/images/kod/language.png) - PHP 5.0+
- Database: File system driver;sqlite;mysql;...
- Browser compatibility:
# 运行环境 - Chrome
- 服务器: - Firefox
- WindowsLinuxMac ... - Opera
- PHP 5.0+ - IE8+
- 数据库: File system driver;sqlite;mysql;... > Tips: It can also run on a router, or your home NAS
- 浏览器适配:
- Chrome
- Firefox # Credits
- Opera kod is made possible by the following open source projects.
- IE8+
> 注: 你甚至可以将kod安装到你的路由器、家用NAS设备 * [seajs](https://github.com/seajs/seajs)
* [jQuery](https://github.com/jquery/jquery)
* [ace](https://github.com/ajaxorg/ace)
# 鸣谢 * [zTree](https://github.com/zTree/zTree_v3)
kod项目离不开其他的开源项目 * [webuploader](https://github.com/fex-team/webuploader)
* [artTemplate](http://aui.github.com/artTemplate/)
* seajs * [artDialog](https://github.com/aui/artDialog)
* jQuery * [jQuery-contextMenu](http://medialize.github.com/jQuery-contextMenu/)
* ace * ...
* [zTree](https://gitee.com/zTree/zTree_v3)
* webuploader
* artTemplate # License
* artDialog kodcloud is issued under GPLv3. license.[License](http://kodcloud.com/tools/licenses/license.txt)
* jQuery-contextMenu Contact: warlee#kodcloud.com
* ... Copyright (C) 2013 kodcloud.com
# 版权声明
# 版权声明 kodexplorer 使用 GPL v3 协议.
kodexplorer 使用 GPL v3 协议. license.[License](http://kodcloud.com/tools/licenses/license.txt)
Contact: warlee#kodcloud.com
Copyright (C) 2013 kodcloud.com

View File

@ -679,7 +679,7 @@ class explorer extends Controller{
} }
} }
$state = $error==0?true:false; $state = $error==0?true:false;
$info = $success.' success,'.$error.' error'; $info = $success.' '.LNG('success').', '.$error.' '.LNG('error');
if ($error==0) { if ($error==0) {
$info = LNG('remove_success'); $info = LNG('remove_success');
} }

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
<div class="full-background"></div> <div class="full-background"></div>
<div class="init-loading"> <div class="init-loading">
<div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif"/></div> <div><img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
</div> </div>
<div class="topbar aero"> <div class="topbar aero">
<div class="content"> <div class="content">

View File

@ -1,6 +1,6 @@
<div class="full-background"></div> <div class="full-background"></div>
<div class="init-loading"><div> <div class="init-loading"><div>
<img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif"/></div> <img src="<?php echo STATIC_PATH;?>images/common/loading_simple.gif?v=<?php echo KOD_VERSION;?>"/></div>
</div> </div>
<div class="topbar share-page-topbar"> <div class="topbar share-page-topbar">
<div class="content"> <div class="content">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/* power by kodexplorer ver 4.30(2018-07-05) [build 1530795188.8407] */ /* power by kodexplorer ver 4.30(2018-07-05) [build 1530800039.6323] */
@import url('./fileIcon.css'); @import url('./fileIcon.css');
@import url('./common.css'); @import url('./common.css');
.frame-main{position:absolute;top:40px;width:100%;bottom:0px;}.frame-main .tools-left{background:#f8f8f8 url("../../../images/common/bg.gif") 0 0px;position:fixed;line-height:30px;padding-left:20px;height:28px;border-bottom:1px solid #ddd;left:0;width:100%;}.frame-main .tools-left a{font-size:1.25em;font-weight:800;text-decoration:none;color:#999;text-shadow:0 0 3px;display:inline-block;padding:2px 6px;margin-top:0;height:20px;line-height:20px;}.frame-main .tools-left a:hover{background:url("../../../images/common/buttons_40.png") 0 0px repeat-x;-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.8);-moz-box-shadow:0 2px 8px rgba(0,0,0,0.8);box-shadow:0 2px 8px rgba(0,0,0,0.8);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}.frame-main .frame-left{position:absolute;left:0;top:30px;bottom:0;width:200px;background:#fff;background-attachment:fixed;overflow:auto;}.frame-main .frame-left .ztree{margin-top:0;}.frame-main .frame-left .ztree li.level0{margin-bottom:5px;}.frame-main .frame-resize{width:10px;cursor:col-resize;z-index:100;position:absolute;left:195px;top:0;bottom:0;overflow:hidden;background:url("../../../images/common/resize.png") 0px 50% no-repeat;}.frame-main .frame-resize.active{background:#000;opacity:0.2;filter:alpha(opacity=20);}.frame-main .frame-right{left:200px;right:0;position:absolute;top:0;bottom:0;overflow:auto;}.frame-main .frame-right .frame-right-main .resize-mask{z-index:999;position:absolute;left:0;top:0;bottom:0;right:0;display:none;}.frame-main .frame-right .frame-right-main .frame{height:100%;border-left:1px solid #ddd;overflow:hidden;} .frame-main{position:absolute;top:40px;width:100%;bottom:0px;}.frame-main .tools-left{background:#f8f8f8 url("../../../images/common/bg.gif") 0 0px;position:fixed;line-height:30px;padding-left:20px;height:28px;border-bottom:1px solid #ddd;left:0;width:100%;}.frame-main .tools-left a{font-size:1.25em;font-weight:800;text-decoration:none;color:#999;text-shadow:0 0 3px;display:inline-block;padding:2px 6px;margin-top:0;height:20px;line-height:20px;}.frame-main .tools-left a:hover{background:url("../../../images/common/buttons_40.png") 0 0px repeat-x;-webkit-box-shadow:0 2px 8px rgba(0,0,0,0.8);-moz-box-shadow:0 2px 8px rgba(0,0,0,0.8);box-shadow:0 2px 8px rgba(0,0,0,0.8);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}.frame-main .frame-left{position:absolute;left:0;top:30px;bottom:0;width:200px;background:#fff;background-attachment:fixed;overflow:auto;}.frame-main .frame-left .ztree{margin-top:0;}.frame-main .frame-left .ztree li.level0{margin-bottom:5px;}.frame-main .frame-resize{width:10px;cursor:col-resize;z-index:100;position:absolute;left:195px;top:0;bottom:0;overflow:hidden;background:url("../../../images/common/resize.png") 0px 50% no-repeat;}.frame-main .frame-resize.active{background:#000;opacity:0.2;filter:alpha(opacity=20);}.frame-main .frame-right{left:200px;right:0;position:absolute;top:0;bottom:0;overflow:auto;}.frame-main .frame-right .frame-right-main .resize-mask{z-index:999;position:absolute;left:0;top:0;bottom:0;right:0;display:none;}.frame-main .frame-right .frame-right-main .frame{height:100%;border-left:1px solid #ddd;overflow:hidden;}
/* ver 4.30(2018-07-05) [build 1530795188.8407] */ /* ver 4.30(2018-07-05) [build 1530800039.6323] */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long