Go to file
fabioswartz 827f5b3454 Merge branch 'master' of https://github.com/hacdias/caddy-filemanager
Former-commit-id: ad964b8824
2017-01-03 22:23:56 +00:00
_embed Move file dialog - Testing 2017-01-03 22:21:53 +00:00
assets move assets 2016-10-22 12:11:08 +01:00
config export CommandFunc 2016-12-18 12:36:36 +00:00
file Updates 2017-01-03 15:10:33 +00:00
frontmatter move some stuff 2016-10-22 12:07:19 +01:00
handlers remove assignment 2017-01-03 17:14:28 +00:00
page mobile bunch of updayes 2017-01-01 22:40:12 +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 ignore debug 2016-08-21 19:44:30 +01:00
.jsbeautifyrc identation and stuff 2017-01-03 17:35:13 +00:00
.travis.yml travis 2017-01-03 17:10:30 +00:00
LICENSE.md
README.md update readme 2017-01-03 21:40:35 +00:00
filemanager.go remove the ignore from go generate 2017-01-03 17:35:31 +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.