From a7f27dd4873488a14e6b3aa8b257b267bad6c3b2 Mon Sep 17 00:00:00 2001 From: Maxim Stewart Date: Sun, 19 Aug 2018 13:51:20 -0500 Subject: [PATCH] Cleaned up logic, setting up for favorites list, changed file upload design. --- README.md | 8 +- index.html | 5 +- resources/db/webfm.db | Bin 0 -> 16384 bytes resources/js/ajax.js | 88 ++++++--------------- resources/js/filesystemActions.js | 114 ++++++++++++++++++++++------ resources/js/passwordFieldInsert.js | 4 +- resources/js/xmlParser.js | 35 +++++---- resources/php/config.php | 1 + resources/php/dbController.php | 64 ++++++++++++++++ resources/php/filesystemActions.php | 54 +++++++------ resources/php/getDirList.php | 7 +- resources/php/lockedFolders.php | 2 +- 12 files changed, 242 insertions(+), 140 deletions(-) create mode 100644 resources/db/webfm.db create mode 100644 resources/php/dbController.php diff --git a/README.md b/README.md index 905588e..fde407f 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,20 @@ WebFM is a media and file viewer aspiring to become a full fledged file manager 6. Double click the text name to change the file's or folder's name and press enter to set it. 7. Right-click to get context menu options. 8. Place an image such as a jpg, png, or gif labeled "000.itsExtension" in a directory then the viewer will use it as the background image for that folder/directory. +9. Password protect folder based on resources/php/config.php file setting. Notes: -1. Folders and files CAN NOT have & or ' in the names. Otherwise, you can't access that item with the viewer. +1. Folders and files CAN NOT have & in the names. Otherwise, you can't access that item with the viewer. 3. The provided folders except "resources" are optional. You can add and remove them as you please. 4. The media and image pane can be moved by dragging from the transparentish bar that has the close button and other controls. 5. Edit the resources/php/config.php file and put your own programs there. +6. Edit your php.ini file "upload_max_filesize" and "post_max_size" to be higher to upload larger files. # TO-DO 1. Allow for move and copy. -3. Fixed the ' issue but & remains a problem. +3. Fix & problem. 4. Implement themes functionality. -5. Allow users and groups to password protect based on account type. + # Images ![1 Home](Images/1.png) diff --git a/index.html b/index.html index 12dc572..2bea4df 100644 --- a/index.html +++ b/index.html @@ -35,9 +35,9 @@