Go to file
Henrique Dias de984c3037 small bug fixes 2016-08-22 12:24:26 +01:00
assets small bug fixes 2016-08-22 12:24:26 +01:00
config small bug fixes 2016-08-22 12:24:26 +01:00
directory Updates to #21 2016-08-22 11:38:17 +01:00
errors New errors page 2016-07-06 12:00:28 +01:00
frontmatter fix hacdias/caddy-hugo#74 2016-07-06 10:45:43 +01:00
page Updates to #21 2016-08-22 11:38:17 +01:00
utils remove splitCapitalize 2016-07-18 16:12:02 +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 small bug fixes 2016-08-22 12:24:26 +01:00
filemanager.go add comments and update config; close #23 2016-08-22 12:09:18 +01:00
setup.go updates 2016-06-28 10:24:02 +01:00

README.md

filemanager - a caddy plugin

Build community Documentation

THIS CODE IS UNSTABLE ATM

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