Go to file
Henrique Dias 212bba2c37 improve styles; on hover not really working 2016-10-20 22:45:43 +01:00
assets improve styles; on hover not really working 2016-10-20 22:45:43 +01:00
config update 2016-10-18 21:06:31 +01:00
file updates on #29 2016-10-20 21:58:53 +01:00
frontmatter Improvements 2016-10-18 21:49:46 +01:00
page Improvements 2016-10-18 21:49:46 +01:00
utils organize better in sub packages 2016-10-18 21:30:10 +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 add support to download directories as zip, tar, targz and tarbz2 #29 2016-10-20 21:55:55 +01:00
preprocess.go Improvements 2016-10-18 21:49:46 +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.