Go to file
Henrique Dias 8632ad7fd2 Rename README.md to readme.md 2017-02-06 18:58:13 +00:00
_embed fix #67 - Double click on mobile on move dialog 2017-02-04 11:13:27 +00:00
assets move assets 2016-10-22 12:11:08 +01:00
config remove unused variable 2017-01-25 14:08:38 +00:00
docs update 2017-02-06 18:57:25 +00:00
file close #72 2017-02-03 11:59:54 +00:00
frontmatter rewrite some frontmatter and editor-related stuff 2017-01-18 18:40:20 +00:00
handlers fix bug affecting frontmatter-only files 2017-02-04 11:25:22 +00:00
page rewrite some frontmatter and editor-related stuff 2017-01-18 18:40:20 +00:00
utils add comment to ErrorToHTTPCode 2016-10-31 21:26:47 +00:00
.editorconfig update travis and some stuff 2017-01-03 17:06:04 +00:00
.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 update 2017-02-06 18:57:25 +00:00
ISSUE_TEMPLATE update issue template 2017-01-14 17:05:59 +00:00
LICENSE.md add base code 2016-06-10 14:36:43 +01:00
filemanager.go remove useless variable 2017-01-25 14:01:30 +00:00
readme.md Rename README.md to readme.md 2017-02-06 18:58:13 +00:00
setup.go updates 2016-06-28 10:24:02 +01:00

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