Go to file
Henrique Dias f2994b1ae5 fix go generate
Former-commit-id: 81f7e4c135
2017-01-14 16:47:57 +00:00
_embed add revision to the footer 2017-01-14 16:39:33 +00:00
assets
config
file
frontmatter update 2017-01-04 18:19:16 +00:00
handlers solve #68 2017-01-04 18:17:47 +00:00
page add issue_template 2017-01-14 16:36:40 +00:00
utils
.editorconfig
.gitignore add issue_template 2017-01-14 16:36:40 +00:00
.jsbeautifyrc identation and stuff 2017-01-03 17:35:13 +00:00
.travis.yml
ISSUE_TEMPLATE add issue_template 2017-01-14 16:36:40 +00:00
LICENSE.md
README.md update readme 2017-01-03 21:40:35 +00:00
filemanager.go fix go generate 2017-01-14 16:47:57 +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
  before_save       command
  after_save        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.