v3.43 release
parent
96783b3338
commit
d8d9b22f1d
32
ChangeLog.md
32
ChangeLog.md
|
@ -1,8 +1,7 @@
|
|||
### ver3.42 `2017/4/3`
|
||||
### ver3.43 `2017/4/9`
|
||||
-----
|
||||
#### update:
|
||||
- 安全防护;全面防护csrf攻击;安全性提升。
|
||||
- 设置增加:全局css|全局js[统计代码]; 【清空缓存】;自定义程序logo支持图片
|
||||
- 高并发下:用户数据文件读写异常处理
|
||||
- 上传优化: 文件权限设置644->755;大文件分片上传优化;ie浏览器兼容处理;上传失败自动重传机制加入
|
||||
- 文件编辑:换行切换为\r\n;兼容windows记事本;标签右键菜单图标样式问题
|
||||
|
@ -11,11 +10,22 @@
|
|||
- 对话框icon点击菜单,双击icon关闭
|
||||
- 分配了权限组添加用户权限:但提示没有权限。
|
||||
- 关闭了下载权限:允许文件预览、pdf、office预览等;屏蔽pdfjs上的下载按钮;
|
||||
- 快捷键新增:shift+delete 直接删除;alt+enter查看文件属性;alt+left alt+right 历史记录前进后退
|
||||
- 编辑器隐藏时;打开文件自动显示到最上层
|
||||
- 快捷键新增:shift+delete 直接删除;alt+enter查看文件属性;alt+left alt+right 历史记录前进后退;
|
||||
- shift + 右键菜单彻底删除;删除提示加入文件名;
|
||||
- 编辑器隐藏时;打开文件自动显示到最上层
|
||||
- 文件管理:复制快捷键允许冒泡;允许快捷键复制选中的文字
|
||||
- 壁纸自动下载文件夹放置在桌面下;桌面支持自定义中文文件夹
|
||||
- IE浏览器样式兼容性调整。
|
||||
- 文件右键——浏览器打开所有用户开启。
|
||||
- markdown预览优化:h1 下划线;预览最大化——禁用左右分栏;
|
||||
- 服务端强制设置了cookie为httpOnly导致csrf-token获取失败问题兼容性调整;语言切换失败问题
|
||||
- 收藏夹树目录:文件夹右键菜单加入文件夹对应功能,不存在则红色显示;可以拖拽文件到收藏夹的文件夹
|
||||
- 其他细节优化:样式优化,win7主题播放器样式优化;
|
||||
- 设置加入:
|
||||
- 自定义全局css|全局js[统计代码]
|
||||
- 公共目录展示用户开关配置,默认展示所有用户;
|
||||
- 授权用户:根目录是否组展示子组开关,默认不展示
|
||||
- 其他:清空缓存,清空所有用户回收站;自定义程序logo支持图片
|
||||
- 移动端优化:
|
||||
- 上传窗口大小优化;移动端下载功能处理;iphone拍照上传文件自动重命名
|
||||
- 下拉菜单:新建文件加入;失去焦点隐藏;
|
||||
|
@ -23,12 +33,15 @@
|
|||
- 分享文件夹搜索问题解决
|
||||
- 左侧目录目录列表和pc端一级目录统一
|
||||
- 分享页面文件打开未知文件,点击下载跳转到登陆页问题
|
||||
- android音视频播放优化
|
||||
- android文件下载;文件名去除*filename
|
||||
|
||||
- 在线解压缩全面支持
|
||||
- 支持压缩为zip,tar,gz,tar.gz格式文件
|
||||
- 单选,多选右键菜单自动压缩指定内容
|
||||
- 右键菜单自动关联压缩文件:支持扩展名zip;tar;tar.gz,tgz,rar,7z,apk,ipa
|
||||
- 压缩乱码解决:压缩包内中文跨系统支持自动识别,解压缩自动重命名为当前系统编码
|
||||
- rar解压支持rar5;mac系统解压缩支持作为插件单独存在;
|
||||
- 在线预览
|
||||
- 支持zip,rar,7z,gz,tar,tgz等格式在线预览,在线解压;
|
||||
- 自动编码识别:[gbk,utf-8];zip,tar,gz,tgz,rar,7z...;windows,linux(centos,debain)
|
||||
|
@ -42,6 +55,12 @@
|
|||
- 解压文件、文件夹到:当前目录,自定义目录;
|
||||
- 文件管理解压后,刷新并自动选择内容;编辑器打开则刷新父目录
|
||||
- 场景和权限:当前目录不可写隐藏『解压到当前』;分享页面隐藏解压功能;
|
||||
群组文档权限配置;
|
||||
- 后端权限组安全性优化,简化逻辑流程
|
||||
- 群组角色管理:添加,编辑,修改,删除【隐藏&标签样式】
|
||||
- 设置用户群组角色:管理处label样式展示;下拉选择;多语言
|
||||
- 前端展示:树目录icon read&write区分弱化;地址栏后label展示为label样式;label显示隐藏统一优化
|
||||
- 没有权限优化:新建文件&新建文件夹&重命名文件;
|
||||
- 运行异常检测并提示
|
||||
- 解压缩出错处理;不支持检测;shell_exec防注入处理
|
||||
- 函数检测 gzopen,gzinflate;[不支持则不能解压]
|
||||
|
@ -63,7 +82,10 @@
|
|||
- 修复safari音视频播放不了问题;下载断点续传逻辑优化
|
||||
- 多选右键操作;父子文件夹包含问题误判解决
|
||||
- 解压文件权限判断错误:压缩文件目录不可写,解压到某个文件夹可写
|
||||
|
||||
- 手动覆盖更新update更新文件没有删除自己权限问题解决。
|
||||
- 多选下载加入防跨站请求token
|
||||
- safari 搜索打开图片文件宽高为0问题解决
|
||||
- 共享页面打开pdf文件预览优化.
|
||||
|
||||
|
||||
### ver3.41 `2017/3/5`
|
||||
|
|
349
README.md
349
README.md
|
@ -1,173 +1,176 @@
|
|||
# KodExplorer
|
||||
|
||||
[](http://kalcaddle.com) [](http://kalcaddle.com) [](https://github.com/kalcaddle/KODExplorer/archive/master.zip)
|
||||
|
||||
> KodExplorer is a file manager for web. It is also a web IDE / browser based 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.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### [Demo](http://demo.kalcaddle.com/) [user: demo/demo]
|
||||
-----
|
||||
- [Change log](./ChangeLog.md)
|
||||
- [English Document](http://kalcaddle.com#lang=en)
|
||||
- [中文文档](http://kalcaddle.com/#lang=zh_CN)
|
||||
- [Donate](https://www.paypal.me/kalcaddle)
|
||||
|
||||
# Features
|
||||
- Use experience like operating system, Rich context menu and toolbar, drag and drop, shortcut keys......
|
||||
- Available in more than 40 languages.
|
||||
- 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.
|
||||
- Flexible configuration of access rights,file types restriction, user - interface and other
|
||||
- Clipboard: copy, cut, paste, clear
|
||||
- Selectable files & folders support (mouse click & Ctrl & Shift & words & Keyboard shortcuts)
|
||||
- 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
|
||||
- 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
|
||||
- Thumbnails for image files
|
||||
- Normalizer:UTF-8 Normalizer of file-name and file-path etc.
|
||||
- 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)
|
||||
- Direct extraction to the current working directory (you do not want - to create a folder)
|
||||
- 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
|
||||
- Editor
|
||||
- Syntax highlighting for over 120 languages
|
||||
- Multiple label, Drag & Drop the label.
|
||||
- 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
|
||||
- Toggle between soft tabs and real tabs
|
||||
- Displays hidden characters
|
||||
- Drag and drop text using the mouse
|
||||
- Live syntax checker (JavaScript/CoffeeScript/CSS/XQuery/HTML/PHP etc.)
|
||||
- Cut, copy, and paste functionality
|
||||
- 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
|
||||
- Developed by kod itself, this is a nice try.
|
||||
|
||||
|
||||
# Install
|
||||
|
||||
**1. Install from source**
|
||||
```
|
||||
git clone https://github.com/kalcaddle/KODExplorer.git
|
||||
chmod -Rf 777 ./KODExplorer/*
|
||||
```
|
||||
|
||||
**2. Install via download**
|
||||
```
|
||||
wget https://github.com/kalcaddle/KODExplorer/archive/master.zip
|
||||
unzip master.zip
|
||||
chmod -Rf 777 ./*
|
||||
```
|
||||
|
||||
|
||||
|
||||
# FAQs
|
||||
|
||||
* Forget password
|
||||
> Login page: see the "Forget password".
|
||||
|
||||
* 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.
|
||||
|
||||
# Screenshot
|
||||
### file manage:
|
||||
- Overview
|
||||

|
||||
- File list Type (icon,list,split)
|
||||

|
||||
- Archives create/extract/preview (zip, rar, 7z, tar, gzip, tgz)
|
||||

|
||||
- Drag upload
|
||||

|
||||
- Player
|
||||

|
||||
|
||||
### Editor:
|
||||
- Overview
|
||||

|
||||
- Live preview
|
||||

|
||||
- Search folder
|
||||

|
||||
- Markdown
|
||||

|
||||
- Code style
|
||||

|
||||
|
||||
|
||||
### Others:
|
||||
- System role
|
||||

|
||||
- Colorful Theme
|
||||

|
||||
- Custom Theme
|
||||

|
||||
- Language
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
# Software requirements
|
||||
- Server:
|
||||
- Windows,Linux,Mac ...
|
||||
- PHP 5.0+
|
||||
- Database: File system driver;sqlite;mysql;...
|
||||
- Browser compatibility:
|
||||
- Chrome
|
||||
- Firefox
|
||||
- Opera
|
||||
- IE8+
|
||||
> Tips: It can also run on a router, or your home NAS
|
||||
|
||||
|
||||
# Credits
|
||||
kod is made possible by the following open source projects.
|
||||
|
||||
* [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)
|
||||
* [webuploader](https://github.com/fex-team/webuploader)
|
||||
* [artTemplate](http://aui.github.com/artTemplate/)
|
||||
* [artDialog](https://github.com/aui/artDialog)
|
||||
* [jQuery-contextMenu](http://medialize.github.com/jQuery-contextMenu/)
|
||||
* ...
|
||||
|
||||
|
||||
|
||||
# License
|
||||
kodexplorer is issued under GPLv3. license.[License](http://kalcaddle.com/tools/licenses/license.txt)
|
||||
Contact: kalcaddle#qq.com
|
||||
Copyright (C) 2013 kalcaddle.com
|
||||
# KodExplorer
|
||||
|
||||
[](http://kalcaddle.com) [](http://kalcaddle.com) [](https://github.com/kalcaddle/KODExplorer/archive/master.zip)
|
||||
|
||||
> KodExplorer is a file manager for web. It is also a web IDE / browser based 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.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### [Demo](http://demo.kalcaddle.com/) [user: demo/demo]
|
||||
-----
|
||||
- [Change log](./ChangeLog.md)
|
||||
- [English Document](http://kalcaddle.com#lang=en)
|
||||
- [中文文档](http://kalcaddle.com/#lang=zh_CN)
|
||||
- [Donate](https://www.paypal.me/kalcaddle)
|
||||
|
||||
# Features
|
||||
- Use experience like operating system, Rich context menu and toolbar, drag and drop, shortcut keys......
|
||||
- Available in more than 40 languages.
|
||||
- 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.
|
||||
- Flexible configuration of access rights,file types restriction, user - interface and other
|
||||
- Clipboard: copy, cut, paste, clear
|
||||
- Selectable files & folders support (mouse click & Ctrl & Shift & words & Keyboard shortcuts)
|
||||
- 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
|
||||
- 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
|
||||
- Thumbnails for image files
|
||||
- Normalizer:UTF-8 Normalizer of file-name and file-path etc.
|
||||
- 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)
|
||||
- Direct extraction to the current working directory (you do not want - to create a folder)
|
||||
- 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
|
||||
- Editor
|
||||
- Syntax highlighting for over 120 languages
|
||||
- Multiple label, Drag & Drop the label.
|
||||
- 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
|
||||
- Toggle between soft tabs and real tabs
|
||||
- Displays hidden characters
|
||||
- Drag and drop text using the mouse
|
||||
- Live syntax checker (JavaScript/CoffeeScript/CSS/XQuery/HTML/PHP etc.)
|
||||
- Cut, copy, and paste functionality
|
||||
- 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
|
||||
- Developed by kod itself, this is a nice try.
|
||||
|
||||
|
||||
# Install
|
||||
|
||||
**1. Install from source**
|
||||
```
|
||||
git clone https://github.com/kalcaddle/KODExplorer.git
|
||||
chmod -Rf 777 ./KODExplorer/*
|
||||
```
|
||||
|
||||
**2. Install via download**
|
||||
```
|
||||
wget https://github.com/kalcaddle/KODExplorer/archive/master.zip
|
||||
unzip master.zip
|
||||
chmod -Rf 777 ./*
|
||||
```
|
||||
|
||||
|
||||
|
||||
# FAQs
|
||||
|
||||
* Forget password
|
||||
> Login page: see the "Forget password".
|
||||
|
||||
* 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.
|
||||
|
||||
# Screenshot
|
||||
### file manage:
|
||||
- Overview
|
||||

|
||||
- File list Type (icon,list,split)
|
||||

|
||||
- Archives create/extract/preview (zip, rar, 7z, tar, gzip, tgz)
|
||||

|
||||
- Drag upload
|
||||

|
||||
- Player
|
||||

|
||||
- Online Office view & Editor
|
||||

|
||||
|
||||
|
||||
### Editor:
|
||||
- Overview
|
||||

|
||||
- Live preview
|
||||

|
||||
- Search folder
|
||||

|
||||
- Markdown
|
||||

|
||||
- Code style
|
||||

|
||||
|
||||
|
||||
### Others:
|
||||
- System role
|
||||

|
||||
- Colorful Theme
|
||||

|
||||
- Custom Theme
|
||||

|
||||
- Language
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
# Software requirements
|
||||
- Server:
|
||||
- Windows,Linux,Mac ...
|
||||
- PHP 5.0+
|
||||
- Database: File system driver;sqlite;mysql;...
|
||||
- Browser compatibility:
|
||||
- Chrome
|
||||
- Firefox
|
||||
- Opera
|
||||
- IE8+
|
||||
> Tips: It can also run on a router, or your home NAS
|
||||
|
||||
|
||||
# Credits
|
||||
kod is made possible by the following open source projects.
|
||||
|
||||
* [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)
|
||||
* [webuploader](https://github.com/fex-team/webuploader)
|
||||
* [artTemplate](http://aui.github.com/artTemplate/)
|
||||
* [artDialog](https://github.com/aui/artDialog)
|
||||
* [jQuery-contextMenu](http://medialize.github.com/jQuery-contextMenu/)
|
||||
* ...
|
||||
|
||||
|
||||
|
||||
# License
|
||||
kodexplorer is issued under GPLv3. license.[License](http://kalcaddle.com/tools/licenses/license.txt)
|
||||
Contact: kalcaddle#qq.com
|
||||
Copyright (C) 2013 kalcaddle.com
|
||||
|
|
|
@ -54,7 +54,7 @@ define('LANGUAGE_PATH', BASIC_PATH .'config/i18n/');//多语言目录
|
|||
define('SESSION_ID','KOD_SESSION_ID_'.substr(md5(BASIC_PATH),0,5));
|
||||
define('KOD_SESSION', DATA_PATH .'session/'); //session目录
|
||||
|
||||
define('OFFICE_SERVER',"https://owa-box.vips100.com/op/view.aspx?src=");
|
||||
define('OFFICE_SERVER',"http://preview.tita.com/op/view.aspx?src=");
|
||||
// https://owa-box.vips100.com/op/view.aspx?src=
|
||||
// http://preview.tita.com/op/view.aspx?src=
|
||||
// https://docview.mingdao.com/op/view.aspx?src=
|
||||
|
|
|
@ -98,6 +98,28 @@ return array(
|
|||
"system_role_add" => "إضافة الهوية دور",
|
||||
"system_role_read" => "قراءة فقط",
|
||||
"system_role_write" => "يمكن القراءة والكتابة",
|
||||
"system_setting_root_path" => "وصول الجذر",
|
||||
"system_setting_root_path_desc" => "مسؤول النظام فقط يمكن الوصول إلى كافة الدلائل، يمكن للجماعات حقوقية أخرى من المستخدمين ترى سوى دليل المستخدم الخاص بهم. إذا كنت ترغب في تشغيل أو إيقاف وصول المسؤول<br/>إلى الدلائل الأخرى، يمكنك تعديل فب open_basedir المعلمات مكافحة المواقع المشتركة،<a href=\"https://www.google.com.hk/search?&q=php+open_basedir\" target=\"_ |