Go to file
Henrique Dias c45fedccb4 add missing parenthesis 2016-09-17 08:25:09 +01:00
assets add missing parenthesis 2016-09-17 08:25:09 +01:00
config small bug fixes 2016-08-22 12:24:26 +01:00
directory
errors
frontmatter make a little update 2016-08-22 22:45:29 +01:00
page updates on #18 2016-08-26 21:59:06 +01:00
utils
.gitignore
.travis.yml
LICENSE.md
README.md small bug fixes 2016-08-22 12:24:26 +01:00
filemanager.go
setup.go

README.md

filemanager - a caddy plugin

Build community Documentation

THIS CODE IS UNSTABLE ATM

This package is a plugin for Caddy server that provides an online file manager (based on browse middleware) that is able to: rename files, delete files and upload files. Some new features that can be implemented in the future can be seen at issues.

Syntax

filemanager url {
  show              path
  styles            filepath
  frontmatter       type
  allow_new         [true|false]
  allow_edit        [true|false]
  allow_commands    [true|false]
  allow_command     command
  block_command     command
  allow             [path|dotfiles]
  allow_r           path regex
  block             [path|dotfiles]
  block_r           path regex
}

NOTE FOR DEVELOPERS

You need to run go generate on $GOPATH/src/github.com/hacdias/caddy-filemanager before building any binary. Otherwise, you will receive an undefined: Asset error.