Go to file
Henrique Dias 3683c4c06a Always using webdav 2016-10-18 16:42:48 +01:00
assets Always using webdav 2016-10-18 16:42:48 +01:00
config Always using webdav 2016-10-18 16:42:48 +01:00
directory save file using webdav 2016-10-18 16:17:01 +01:00
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 ignore debug 2016-08-21 19:44:30 +01:00
.travis.yml update travis 2016-08-10 10:39:29 +01:00
LICENSE.md
README.md add webdav 2016-10-17 22:07:19 +01:00
filemanager.go Always using webdav 2016-10-18 16:42:48 +01:00
setup.go

README.md

filemanager - a caddy plugin

Build community Documentation

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.