mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-12 19:13:57 +02:00
added key bindings
This commit is contained in:
35
README.md
35
README.md
@@ -8,27 +8,30 @@ The IFM uses the following resources:
|
|||||||
* [jQuery](https://jquery.com)
|
* [jQuery](https://jquery.com)
|
||||||
* custom icon set generated with [Fontello](http://fontello.com/)
|
* custom icon set generated with [Fontello](http://fontello.com/)
|
||||||
|
|
||||||
## installation
|
|
||||||
Just copy the ifm.php to your webspace - thats all :)
|
|
||||||
|
|
||||||
## requirements
|
## requirements
|
||||||
| Client | Server |
|
| Client | Server |
|
||||||
|:--------------------------------- |:------------------------------------------------------------ |
|
|:--------------------------------- |:------------------------------------------------------------ |
|
||||||
| HTML5 and CSS3 compatible browser | PHP >= 5.5 (only if using auth; if not PHP 5.4 works either) |
|
| HTML5 and CSS3 compatible browser | PHP >= 5.5 (only if using auth; if not PHP 5.4 works either) |
|
||||||
| activated JavaScript | optional: cURL extention (for remote upload) |
|
| activated JavaScript | optional: cURL extention (for remote upload) |
|
||||||
|
|
||||||
## issues
|
## installation
|
||||||
Currently there are no known issues. If you find any flaws please let me know.
|
Just copy the ifm.php to your webspace - thats all :)
|
||||||
|
|
||||||
## screenshots
|
## key bindings
|
||||||
<a href="https://misterunknown.de/static/ifm_screenshot_desktop_filelist.png"><img src="https://misterunknown.de/static/ifm_screenshot_desktop_filelist.png" height="300px"></a>
|
* <kbd>e</kbd> - edit / extract current file
|
||||||
<a href="https://misterunknown.de/static/ifm_screenshot_mobile_filelist.png"><img src="https://misterunknown.de/static/ifm_screenshot_mobile_filelist.png" height="300px"></a>
|
* <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><kbd>l</kbd> - vim-style navigation
|
||||||
<a href="https://misterunknown.de/static/ifm_screenshot_desktop_remote_upload.png"><img src="https://misterunknown.de/static/ifm_screenshot_desktop_remote_upload.png" height="300px"></a>
|
* <kbd>g</kbd> - focus path (goto)
|
||||||
<a href="https://misterunknown.de/static/ifm_screenshot_mobile_editfile.png"><img src="https://misterunknown.de/static/ifm_screenshot_mobile_editfile.png" height="300px"></a>
|
* <kbd>r</kbd> - refresh file table
|
||||||
|
* <kbd>u</kbd> - upload a file
|
||||||
|
* <kbd>o</kbd> - remote upload a file
|
||||||
|
* <kbd>a</kbd> - show ajax request dialog
|
||||||
|
* <kbd>F</kbd> - new file
|
||||||
|
* <kbd>D</kbd> - new directory
|
||||||
|
* <kbd>space</kbd> - select a highlighted item
|
||||||
|
* <kbd>del</kbd> - delete selected files
|
||||||
|
|
||||||
## configuration
|
## configuration
|
||||||
The configuration is located at the top of the script in a separate configuration class. The options in the class are commented and named laconically. If you have questions anyway [write me an email](mailto:marco@misterunknown.de).
|
The configuration is located at the top of the script in a separate configuration class. The options in the class are commented and named laconically. If you have questions anyway [write me an email](mailto:marco@misterunknown.de).
|
||||||
|
|
||||||
### authentication
|
### authentication
|
||||||
Meanwhile I added a super simple authentication feature using the configuration keys `auth` and `auth_source`. You can configure it like this:
|
Meanwhile I added a super simple authentication feature using the configuration keys `auth` and `auth_source`. You can configure it like this:
|
||||||
```php
|
```php
|
||||||
@@ -45,6 +48,16 @@ The file should contain ONLY ONE LINE:
|
|||||||
```
|
```
|
||||||
The password hash has to be a hash generated by PHPs `password_hash()` function. The default credentials are "admin:admin".
|
The password hash has to be a hash generated by PHPs `password_hash()` function. The default credentials are "admin:admin".
|
||||||
|
|
||||||
|
## screenshots
|
||||||
|
<a href="https://misterunknown.de/static/ifm_screenshot_desktop_filelist.png"><img src="https://misterunknown.de/static/ifm_screenshot_desktop_filelist.png" height="300px"></a>
|
||||||
|
<a href="https://misterunknown.de/static/ifm_screenshot_mobile_filelist.png"><img src="https://misterunknown.de/static/ifm_screenshot_mobile_filelist.png" height="300px"></a>
|
||||||
|
<a href="https://misterunknown.de/static/ifm_screenshot_desktop_remote_upload.png"><img src="https://misterunknown.de/static/ifm_screenshot_desktop_remote_upload.png" height="300px"></a>
|
||||||
|
<a href="https://misterunknown.de/static/ifm_screenshot_mobile_editfile.png"><img src="https://misterunknown.de/static/ifm_screenshot_mobile_editfile.png" height="300px"></a>
|
||||||
|
|
||||||
|
## issues
|
||||||
|
Currently there are no known issues. If you find any flaws please let me know.
|
||||||
|
|
||||||
|
|
||||||
## security information
|
## security information
|
||||||
The IFM was developed with the assumption that the highest level of operation is the scripts base location. So it is neither possible to nagivate nor to use any API function in a level above the script root.
|
The IFM was developed with the assumption that the highest level of operation is the scripts base location. So it is neither possible to nagivate nor to use any API function in a level above the script root.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user