Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
added build/pafm.php, php shell, dnd upload, dir copy, tz offset, csr…
…f change/fix, encrypt password in session, file/folder count, more changes/fixes/improvements
  • Loading branch information
mustafa0x committed Jan 19, 2013
1 parent 1362b8e commit c597b3a
Show file tree
Hide file tree
Showing 7 changed files with 1,386 additions and 264 deletions.
29 changes: 24 additions & 5 deletions README.md
@@ -1,18 +1,22 @@
# PHP AJAX File Manager

## About
PHP AJAX File Manager (PAFM) is a web file manager influenced by the [KISS Principle](http://en.wikipedia.org/wiki/KISS_principle "Keep it simple, stupid").
PHP AJAX File Manager (PAFM) is a web file manager based on the [KISS Principle](http://en.wikipedia.org/wiki/KISS_principle "Keep it simple, stupid").

It is intended for use by web masters who need a simple way to interact with their files. As much control as possible is given, which makes it only suitable for those who already have complete access.

## Installation

Get [build/pafm.php](https://raw.github.com/mustafa0x/pafm/master/build/pafm.php) or see the downloads at [Sourceforge](http://sourceforge.net/projects/pafm/files/).

Open pafm.php with your code editor of choice (note that you can change the password of pafm *using* pafm)
then scroll down till you see `/** configuration **/`

* `PASSWORD` is, obviously, the password for PAFM. The default password is `auth`.

* `ROOT` is the path to the directory you want to
manage (this is done by `chdir`).
* E.g. if you want to manage your home directoy,
* E.g. if you want to manage your home directory,
change `ROOT` to `/home`

## Screenshots
Expand All @@ -34,6 +38,20 @@ then scroll down till you see `/** configuration **/`

## Recent Changes

### 1.7
* Added experimental terminal/shell
* Added drag-and-drop upload
* Added support for copying entire directories
* Added file & folder count
* The complete path is now shown in the breadcrumbs
* Timezone offset is now used when displaying timestamps
* Changed CSRF protection; the nonce is now generated per session
* Paths are no longer sanitized, as pafm doesn't
attempt to prevent the user from intentional behavior
* When leaving file editing, the user is prompted if unsaved changes were made.
* The password is now encrypted before being stored in the session
* Minor fixes and style changes

### 1.6
* Added CSRF protection
* Fixed bug in bruteforce protection
Expand Down Expand Up @@ -67,15 +85,15 @@ then scroll down till you see `/** configuration **/`
### 1.4
* One-file release

> This is made possible by [Makefile](https://github.com/mustafa0x/pafm/blob/master/Makefile), which combines the project into a single file, for portablility.
> This is made possible by [Makefile](https://github.com/mustafa0x/pafm/blob/master/Makefile), which combines the project into a single file, for portability.
### 1.3
* HTML5 uploading

### 1.2
* File Copying
* Remote Copy
* File Last Modifed Column
* File Last Modified Column

### 1.0.6
* Removed CodePress
Expand All @@ -87,5 +105,6 @@ then scroll down till you see `/** configuration **/`
## Future
* Rewrite folder/file loops
* Remove onclick events
* PHP Shell
* Hash file operations (e.g. `#edit&file=foo.bar`)
* AJAX-ify existing refreshes
* File and folder sorting
910 changes: 910 additions & 0 deletions build/pafm.php

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pafm-files/images/license
Expand Up @@ -9,3 +9,7 @@ copy.png
remotecopy.png
by Jonas Rask | DRF
These icons are free to use in both commercial products as well as personal use.
terminal.png
From: Still Life by Julian Turner
http://art.gnome.org/themes/icon/1111
CC BY-SA
Binary file added pafm-files/images/terminal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c597b3a

Please sign in to comment.