57 Commits

Author SHA1 Message Date
Prasath Mani
f3e2a0bdb2 Multi-language support #2.2.0 2018-11-26 23:56:01 +05:30
Prasath Mani
1f9b2f6b71 Multi-language support #2.2.0 2018-11-26 23:47:58 +05:30
Prasath Mani
f54e269f7e Update README.md 2018-11-24 00:03:55 +05:30
Prasath Mani
ad65b778a2 Add Beerpay's badge 2018-11-23 23:52:41 +05:30
Prasath Mani
764c80d4a9 Merge branch 'master' of https://github.com/prasathmani/tinyfilemanager 2018-11-20 17:52:39 +05:30
Prasath Mani
1accf6739a Normal Text Editor Design Modified 2018-11-20 17:52:13 +05:30
Prasath Mani
b19f325e8e Merge pull request #82 from gbrault/master
Corrected spelling thnaks 2 @gbrault
2018-11-20 17:21:17 +05:30
Gilbert Brault
66115cf3c9 Corrected spelling 2018-11-20 12:42:29 +01:00
Prasath Mani
83a5f1d7b8 Fix : Some bugs about showing up log of button from nowhere and search box bug #81 2018-11-20 12:34:47 +05:30
Prasath Mani
2510e595aa Logo path updated 2018-11-19 23:40:23 +05:30
Prasath Mani
df7312e3c0 Merge pull request #80 from FH3095/master
Fix Undefined variable _SESSION notice
2018-11-16 10:28:33 +05:30
FH3095
1a28a09426 Fix Undefined variable _SESSION notice 2018-11-15 13:34:40 +01:00
Prasath Mani
0d8c314146 Subdirectory search does not work #76 2018-11-14 18:05:39 +05:30
Prasath Mani
5b02c47f3c - Login Page redesign
- Error report suggestion #77
- Rename allowed based on FM_EXTENSION config
- Tar file support added (create, open and extract tar)
- Upload UI resdesign
- Table header UI Redesign
- Login user name and avatar added
- Broken URL highlight.js #78 and #79
2018-11-14 17:07:16 +05:30
Prasath Mani
b0d0400267 Added error reporting zero to hide error. 2018-11-08 16:40:58 +05:30
Prasath Mani
8e6b3f288c CDN version updated and code optimized 2018-11-05 18:56:35 +05:30
Prasath Mani
604323c3f5 Updated Readme 2018-11-02 17:58:53 +05:30
Prasath Mani
07151e1643 Added Google Docs Viewer 2018-11-02 17:48:54 +05:30
Prasath Mani
9b5e70587e Added DataTable JS to sort and search data faster #3 2018-11-02 14:20:13 +05:30
Prasath Mani
cb04b5770a Updated Readme with Demo URL 2018-10-27 22:07:27 +05:30
Prasath Mani
9eb9280d6c #71 - Added Password hash 2018-10-27 22:06:48 +05:30
Prasath Mani
25f5ce7d4f Update README.MD 2018-10-18 14:38:38 +05:30
Prasath Mani
1bf7621b38 Hide files and folders form listing Fix - #59 2018-10-18 14:33:22 +05:30
Prasath Mani
ba41b79f1a Delete _config.yml 2018-10-17 10:32:15 +05:30
Prasath Mani
a1669b8166 Set theme jekyll-theme-cayman 2018-10-17 10:17:08 +05:30
Prasath Mani
2331ce3d0f Fix : Added Password_hash() #31 2018-10-16 13:53:16 +05:30
Prasath Mani
484faad1d1 Prevent Google and other search engines from indexing #68 2018-10-16 13:31:39 +05:30
Prasath Mani
48702020e7 Fix: This page is trying to load scripts from unauthenticated sources #69 and #70. 2018-10-16 13:05:55 +05:30
Prasath Mani
995cb5270f Update Screenshot 2018-10-10 23:25:50 +05:30
Prasath Mani
7c9ecf5245 Change Log
- Removed tree list view
- MD5 password production removed
- Login form redesigned
- Checkbox/radio custom controls
- Navigation UI changed
- Responsive Design
- and more..
2018-10-10 22:57:25 +05:30
Prasath Mani
daa349de39 Update README.md 2018-09-21 15:55:25 +05:30
Prasath Mani
9b7802b343 Improvement: Enclose each user into a different directories #38 2018-09-21 15:36:25 +05:30
Prasath Mani
694e77c1f3 #51 BaseURL for tree view 2018-08-24 18:18:53 +05:30
Prasath Mani
93e37c1c22 Merge branch 'master' of https://github.com/prasathmani/tinyfilemanager 2018-08-24 18:02:51 +05:30
Prasath Mani
84baa9e14a #52 Does not respect directory tree while uploading a folder containing sub-folders 2018-08-24 18:01:58 +05:30
Prasath Mani
784fdee5a4 Update README.md 2018-08-06 12:00:20 +05:30
Prasath Mani
cbfa110951 Update README.md 2018-04-13 11:11:27 +05:30
Prasath Mani
7b80d12da3 Added ajax upload 2018-04-10 22:02:22 +05:30
Prasath Mani
0b0d4542f2 Added multiple file upload with drag and drop 2018-04-08 16:00:50 +05:30
Prasath Mani
0ce37ef493 #34 multiple files upload and drag upload. 2018-04-08 15:53:22 +05:30
Prasath Mani
dd63df8e63 Fix #32, The date formatting issue 2018-01-19 11:07:57 +05:30
Prasath Mani
f35f503924 Update README.md 2017-12-14 14:13:45 +05:30
Prasath Mani
e95351852f Array of folders excluded from listing 2017-12-14 14:03:26 +05:30
Prasath Mani
16024e1cda broken file link fix 2017-12-13 17:38:11 +05:30
Prasath Mani
6b48a3f221 Added Html encode 2017-12-13 13:53:51 +05:30
Prasath Mani
cf1eaf8ef1 remove unwanted characters from folder name 2017-12-13 13:26:56 +05:30
Prasath Mani
98749b9ae6 Update README.md 2017-12-13 13:16:34 +05:30
Prasath Mani
e1b30c76e7 Can we hide tree view in the left side? #29 2017-12-13 13:01:14 +05:30
Prasath Mani
05fe347795 Update README.md 2017-12-05 10:09:54 +05:30
Prasath Mani
d460612f09 Update README.md 2017-11-15 12:38:44 +05:30
Prasath Mani
f002ba2168 Fix #25 Limit file uploads to certain file extensions 2017-11-15 12:28:34 +05:30
Prasath Mani
67037c8158 Update README.md 2017-11-06 23:50:58 +05:30
Prasath Mani
952454c470 Update tinyfilemanager.php 2017-11-06 23:43:52 +05:30
Prasath Mani
5045e16461 Merge pull request #23 from alecos71/patch-6
Update tinyfilemanager.php
2017-11-06 23:36:22 +05:30
Alessandro Marinuzzi
287146d8af Update tinyfilemanager.php
Fixed issue concerning deleting files...

Errore: Bad value “return confirm('Delete file?'');” for attribute “onclick” on element “a”: unterminated string literal


I changed with: “return confirm('Delete file?');”
2017-11-06 13:37:45 +01:00
Alessandro Marinuzzi
be1288ac60 Update tinyfilemanager.php
This change solves several bug:

1) FM_EDIT_FILE constant not defined, I added to solve this line:

define('FM_EDIT_FILE', $edit_files);

2) Html Validation issue: acion="" cannot be empty. I replaced all action="" with:

action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>"

3) Login Form contains a lot of HTML + PHP + JS not used and then produces php notice. I solved adding two news header and footer login which are basic HTML + CSS

fm_show_header_login();

and

fm_show_footer_login();

This solves several issue due to unused HTML + PHP + JS elements.
2017-11-06 12:48:05 +01:00
Prasath Mani
a46b93a5fe Merge pull request #22 from prasathmani/add-license-1
Create LICENSE
2017-11-05 16:30:02 +05:30
3 changed files with 1888 additions and 747 deletions

View File

@@ -1,11 +1,28 @@
# Tiny PHP File Manager # Tiny File Manager
Tiny file manager in single php file
[![Live demo](https://img.shields.io/badge/Live-Demo-brightgreen.svg?style=flat-square)](https://tinyfilemanager.eu-gb.mybluemix.net/Demo/)
[![Live demo](https://img.shields.io/badge/Help-Docs-lightgrey.svg?style=flat-square)](https://tinyfilemanager.github.io/)
[![GitHub Release](https://img.shields.io/github/release/qubyte/rubidium.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/releases)
[![GitHub License](https://img.shields.io/github/license/prasathmani/tinyfilemanager.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)
> It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5.5+ available.
## Demo
[Demo](https://tinyfilemanager.eu-gb.mybluemix.net/Demo/)
Login Details : admin/admin@123 | user/12345
## Documents
<a href="https://tinyfilemanager.github.io/" target="_blank">tinyfilemanager.github.io</a>
<hr> <hr>
<img src="screenshot.gif" alt="H3K | Tiny File Manager"> <img src="screenshot.gif" alt="H3K | Tiny File Manager">
## Requirements ## Requirements
- PHP 5.2 or higher. - PHP 5.5.0 or higher.
- [Zip extension](http://php.net/manual/en/book.zip.php) for zip and unzip actions. - [Zip extension](http://php.net/manual/en/book.zip.php) for zip and unzip actions.
- Fileinfo, iconv and mbstring extensions are strongly recommended. - Fileinfo, iconv and mbstring extensions are strongly recommended.
@@ -13,30 +30,54 @@ Tiny file manager in single php file
Download ZIP with latest version from master branch. Download ZIP with latest version from master branch.
Copy tinyfilemanager.php to your website folder and open it with web browser (e.g. http://yoursite/any_path/tinyfilemanager.php). Just copy the tinyfilemanager.php to your webspace - thats all :)
You can also change the file name from "tinyfilemanager.php" to something else, you know what i meant for.
Default username/password: admin/admin. password has encripted with MD5. Default username/password: admin/admin@123 and user/12345.
Warning: Please set your own username and password in $auth_users before use. Warning: Please set your own username and password in `$auth_users` before use. password is encrypted with <code>password_hash()</code>. to generate new password hash <a href="https://tinyfilemanager.github.io/docs/pwd.html" target="_blank">here</a>
To enable/disable authentication set $use_auth to true or false. To enable/disable authentication set `$use_auth` to true or false.
### Supported constants:
- `FM_ROOT_PATH` - default is `$_SERVER['DOCUMENT_ROOT']`
- `FM_ROOT_URL` - default is `'http(s)://site.domain/'`
- `FM_SELF_URL` - default is `'http(s)://site.domain/' . $_SERVER['PHP_SELF']`
- `FM_ICONV_INPUT_ENC` - default is `'CP1251'`
- `FM_USE_HIGHLIGHTJS` - default is `true`
- `FM_HIGHLIGHTJS_STYLE` - default is `'vs'`
- `FM_DATETIME_FORMAT` - default is `'d.m.y H:i'`
- `FM_EXTENSION` - default is `""` //upload files extensions
### :loudspeaker: Features ### :loudspeaker: Features
<ul> <ul>
<li>:cd: Open Source, light and extremely simple</li> <li>:cd: Open Source, light and extremely simple</li>
<li>:information_source:Basic features likes Create, Delete, Modify, View, Download, Copy and Move files </li> <li>:iphone: Mobile friendly view for touch devices</li>
<li>:arrow_double_up: Ability to upload multiple files</li> <li>:information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files </li>
<li>:arrow_double_up: Ajax Upload, Ability to drag & drop, multiple files upload and file extensions filter </li>
<li>:file_folder: Ability to create folders and files</li> <li>:file_folder: Ability to create folders and files</li>
<li>:gift: Ability to compress, extract files</li> <li>:gift: Ability to compress, extract files (zip, tar)</li>
<li>:sunglasses: Support user permissions - based on session</li> <li>:sunglasses: Support user permissions - based on session and each user root folder mapping</li>
<li>:floppy_disk: Copy direct file URL</li> <li>:floppy_disk: Copy direct file URL</li>
<li>:pencil2: Edit text formats file using advanced editor</li> <li>:pencil2: Edit text formats file using advanced editor</li>
<li>:page_facing_up: Google Drive viewer helps you preview PDF/DOC/XLS/PPT/etc. 25 MB can be previewed with the Google Drive viewer</li>
<li>:zap: Backup files</li> <li>:zap: Backup files</li>
<li>:mag_right: Search - Advanced Ajax based seach</li> <li>:mag_right: Search - Search and Sorting using datatable js</li>
<li>:palm_tree: Tree file view</li> <li>:file_folder: Exclude folders from listing</li>
<li>:globe_with_meridians: Multi-language support (English, French)</li>
<li>:bangbang: lots more...</li> <li>:bangbang: lots more...</li>
</ul> </ul>
Source: <a target="_balnk" href="https://github.com/alexantr/filemanager">filemanager</a>(original version) were built by <a href="https://github.com/alexantr" target="_balnk">alexantr</a>.<br> ### <a name=license></a>License, Credit
This is an excellent and improved version of the original.
- Available under the [GNU license](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
- Original concept and development by github.com/alexantr/filemanager
- CDN Used - jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js
- To report a bug or request a feature, please file an [issue](https://github.com/prasathmani/tinyfilemanager/issues)
- We hope our tools will be helpful for you. If you find Tiny File Manager useful for your personal or commercial projects, Help me out for a couple of
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 KiB

After

Width:  |  Height:  |  Size: 209 KiB

File diff suppressed because one or more lines are too long