Go to file
fabioswartz 72e3da2e1e Fixing bug with search box
Former-commit-id: c2a382f6a0
2016-12-29 06:17:29 +00:00
_embed Fixing bug with search box 2016-12-29 06:17:29 +00:00
assets
config export CommandFunc 2016-12-18 12:36:36 +00:00
file
frontmatter
handlers fix #51 2016-11-15 13:38:55 +00:00
page
utils
.gitignore
.travis.yml
LICENSE.md
README.md
filemanager.go before and after save hooks 2016-12-18 12:34:31 +00:00
setup.go

README.md

filemanager - a caddy plugin

Build community Documentation Go Report Card

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
  webdav            [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.