Go to file
fabioswartz 5fea59ba10 Adding .editorconfig
Former-commit-id: 7f09facd6e
2017-01-02 23:45:03 +00:00
_embed update 2017-01-02 20:38:25 +00:00
assets
config export CommandFunc 2016-12-18 12:36:36 +00:00
file mobile bunch of updayes 2017-01-01 22:40:12 +00:00
frontmatter
handlers close #2 2017-01-02 14:06:32 +00:00
page mobile bunch of updayes 2017-01-01 22:40:12 +00:00
utils add comment to ErrorToHTTPCode 2016-10-31 21:26:47 +00:00
.editorconfig Adding .editorconfig 2017-01-02 23:45:03 +00:00
.gitignore
.travis.yml check travis 2016-11-01 13:45:07 +00:00
LICENSE.md
README.md fix readme 2016-10-31 21:25:40 +00:00
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.