Go to file
Henrique Dias 82cc6e77bd Improve Mimetype detecting 2016-10-22 16:37:20 +01:00
_embed support for video and improvements 2016-10-22 13:46:10 +01:00
assets move assets 2016-10-22 12:11:08 +01:00
config update 2016-10-18 21:06:31 +01:00
file Improve Mimetype detecting 2016-10-22 16:37:20 +01:00
frontmatter move some stuff 2016-10-22 12:07:19 +01:00
handlers download improvements; CSRF token commented 2016-10-22 15:45:45 +01:00
page move some stuff 2016-10-22 12:07:19 +01:00
utils move some stuff 2016-10-22 12:07:19 +01:00
.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 add base code 2016-06-10 14:36:43 +01:00
README.md add webdav 2016-10-17 22:07:19 +01:00
filemanager.go download improvements; CSRF token commented 2016-10-22 15:45:45 +01:00
setup.go updates 2016-06-28 10:24:02 +01:00

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.