Go to file
maweck 50dcf35eda feat: proxy auth support (#485)
* Change the order of commands to be able to cache more layers in case of multiple builds triggered in a row

* Fix #471

* Format Code

* Revert "Change the order of commands to be able to cache more layers in case of multiple builds triggered in a row"

This reverts commit 29217f66ee6aee63d2c03ac86de4ad437876317d [formerly ebff3e9d79ac9eca44d7b3caf7814be62c784d43] [formerly 9b95d9e986254d55405cd0e9484dcbbadc54c87b [formerly d13fd2878c38a46f91da30de150624200f0b32e9]] [formerly 3ec8fb12d8b6e1942ebae6abb00c5f15b03d6412 [formerly 6a70bdaf457f50896dd9826608666a39babae666] [formerly 063a6fe9d4991b7b6c257ae081288ea40efbe8b5 [formerly 01362f34ee]]].

* Adjustment based on the review

* Rename "login-header" to "loginHeader" and prepare auth.method to accept "none" as a value

* Fixed line break

* Readd "lumberjack.v2" import which was removed by gofmt

Sorry - I do my tests and run "gofmt" before comitting the changes - It sadly seems like it is messing up the imports over and over again.


Former-commit-id: 252e65171f70ee87238b5542e6af81d90bdaed6b [formerly fa843827feaab389550f32ba3a629e1968bcea3d] [formerly 942986226dbb56ef1cb4dff24445406cfa699d2d [formerly ed62451ea0]]
Former-commit-id: e87377dd6f30012b0d602b592100a7deb39a8632 [formerly f8198aa8a51fd5e727c31df0918ab62024520cef]
Former-commit-id: 019de07d53c3da16354e228330c14efb0dfb2122
2018-08-08 10:06:16 +01:00
.github add pull request template (#501) 2018-08-07 13:53:51 +01:00
bolt Rename manager to browser (#406) 2018-04-23 22:42:52 +01:00
build chore: move filebrowser/dev img to separate repo (#500) 2018-08-07 13:29:50 +01:00
cmd/filebrowser feat: proxy auth support (#485) 2018-08-08 10:06:16 +01:00
frontend@157b2da133 update frontend submodule 2018-08-06 18:26:59 +01:00
http feat: proxy auth support (#485) 2018-08-08 10:06:16 +01:00
staticgen style: fix linting issues 2018-08-07 13:34:06 +01:00
.dockerignore Update .dockerignore 2018-07-25 10:16:26 +01:00
.gitignore build docker images with goreleaser 2018-08-06 05:01:33 +01:00
.gitmodules add filebrowser/frontend as a submodule 2018-08-05 10:58:21 +01:00
.gometalinter.json chore(gometalinter): gas is renamed to gosec [alecthomas/gometalinter#505] 2018-08-06 05:01:35 +01:00
.goreleaser.yml build docker images with goreleaser 2018-08-06 05:01:33 +01:00
.travis.yml chore: move filebrowser/dev img to separate repo (#500) 2018-08-07 13:29:50 +01:00
Docker.json change location of database docker 2017-09-07 14:19:05 +01:00
Dockerfile chore: move filebrowser/dev img to separate repo (#500) 2018-08-07 13:29:50 +01:00
Gopkg.lock natural sort (#474) 2018-07-29 17:43:23 +01:00
Gopkg.toml natural sort (#474) 2018-07-29 17:43:23 +01:00
LICENSE chore: add circle ci and use external assets 2018-02-01 16:18:44 +00:00
README.md docs: add freenode badge 2018-08-08 09:14:55 +01:00
doc.go feat: proxy auth support (#485) 2018-08-08 10:06:16 +01:00
file.go natural sort (#474) 2018-07-29 17:43:23 +01:00
filebrowser.go feat: proxy auth support (#485) 2018-08-08 10:06:16 +01:00

README.md

In Q2 2018, this project was renamed from filemanager to filebrowser, a new GitHub organization was created and the main repo was moved from hacdias/filemanager to filebrowser/filebrowser. Old refs will work, because permanent redirects are set up. However, we suggest every contributor to update the remote URLs in their local clones. See Changing a remote's URL.

Moreover, the previously unique repo was split into multiple pieces: frontend, logo, caddy... At the same time, the official docker image was changed to hacdias/filebrowser. Users are encouraged to check their sources and update them accordingly.

Preview

filebrowser

CircleCI Go Report Card Documentation Version Chat IRC

filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.

Table of contents

Getting started

You can find the Getting Started guide on the documentation.

Features

Easy login system.

Login Page

Listings of your files, available in two styles: mosaic and list. You can delete, move, rename, upload and create new files, as well as directories. Single files can be downloaded directly, and multiple files as .zip, .tar, .tar.gz, .tar.bz2 or .tar.xz.

Mosaic Listing

File Browser editor is powered by Codemirror and if you're working with markdown files with metadata, both parts will be separated from each other so you can focus on the content.

Markdown Editor

On the settings page, a regular user can set its own custom CSS to personalize the experience and change its password. For admins, they can manage the permissions of each user, set commands which can be executed when certain events are triggered (such as before saving and after saving) and change plugin's settings.

Settings

We also allow the users to search in the directories and execute commands if allowed.

Users

We support multiple users and each user can have its own scope and custom stylesheet. The administrator is able to choose which permissions should be given to the users, as well as the commands they can execute. Each user also have a set of rules, in which he can be prevented or allowed to access some directories (regular expressions included!).

Users

File Browser allows you to search through your files and it has some options. By default, your search will be something like this:

this are keywords

If you search for that it will look at every file that contains "this", "are" or "keywords" on their name. If you want to search for an exact term, you should surround your search by double quotes:

"this is the name"

That will search for any file that contains "this is the name" on its name. It won't search for each separated term this time.

By default, every search will be case insensitive. Although, you can make a case sensitive search by adding case:sensitive to the search terms, like this:

this are keywords case:sensitive

Contributing

The contributing guidelines can be found here.