Commit Graph

65 Commits

Author SHA1 Message Date
Henrique Dias
b7fdcc3ee9 lint: lint the code
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-04-20 14:15:28 +01:00
Henrique Dias
f72addc780
feat: per-user auto directory creation (#676) 2019-04-20 13:45:09 +01:00
Henrique Dias
50867e48c4 fix: linting
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-02-27 20:55:45 +00:00
Henrique Dias
41bd80fefb fix: remove unecessary print
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-02-27 20:48:17 +00:00
荒野無燈
e8570e4dba global settings: add createUserDir option. new feature: auto create user home dir while adding user. 2019-02-19 11:55:18 +08:00
Henrique Dias
84f108f1c5 fix: possible fix for proxy auth requiring login page
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-02-15 12:58:45 +00:00
Henrique Dias
b5e61bc979
fix: external auth by using a different auth header (#649)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-29 09:06:30 +00:00
Henrique Dias
73e0acaa71
fix: strip baseurl (#626) 2019-01-09 08:13:57 +00:00
Henrique Dias
f1c86054b3 fix: clean server struct once it gets to the handler
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-09 08:13:24 +00:00
1138-4EB
d0fd97d943
chore: style and gofmt (#622) 2019-01-08 19:40:14 +01:00
Henrique Dias
0e7abaa7fb
feat: make server options a struct (#615) 2019-01-08 10:29:09 +00:00
Henrique Dias
33a58c999a fix: rename global scope as root and fix root md
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-07 20:34:44 +00:00
Henrique Dias
f55f205ced
feat: add global scope (#604)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 13:01:42 +00:00
Henrique Dias
2d858e6738 fix: allow embedding into iframes (close #550)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 09:29:23 +00:00
Henrique Dias
92fda0070c 🧹: gofmt 2019-01-05 23:01:16 +00:00
Henrique Dias
d309066def
feat: v2 (#599)
Read https://github.com/filebrowser/filebrowser/pull/575.
2019-01-05 22:44:33 +00:00
1138-4EB
69a3f853bd feat: use cobra to provide subcommands, move sources to lib (#506)
- Use cobra in order to provide subcommands `serve` and `db`.
  - Subdir `cmd` is removed.
  - Subdir `cli` is created, which is a standard cobra structure.
- Sources related to the core are moved to subdir `lib`.
- #497 and #504 are merged.
- Deprecated flags are added. See https://github.com/filebrowser/filebrowser/pull/497#discussion_r209428120.
- [`viper.BindPFlags`](https://godoc.org/github.com/spf13/viper#BindPFlags) is used in order to reduce the verbosity in `serve.go`.
2018-08-22 01:29:51 +01:00
maweck
ed62451ea0 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 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.
2018-08-08 10:06:16 +01:00
Henrique Dias
b7022bdfe3 style: fix linting issues
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-07 13:34:06 +01:00
VLEFF
eb12bf2c2d feat: handle subtitles for video streaming (#468) 2018-07-26 10:47:09 +01:00
Henrique Dias
43d489c194 feat: case insensitive search by default #415 2018-07-23 10:24:52 +01:00
Vladyslav Tokarchuk
a07b08dae5 fix: directory "others" execute permission, close #300 2018-06-27 12:27:41 +01:00
1138-4EB
7643b0c4e3 Rename manager to browser (#406)
* rename File Manager to File Browser

* rename fm to fb
2018-04-23 22:42:52 +01:00
1138-4EB
c6eb4fbac5 fix #311, fix #312 (see filebrowser/frontend#7) (#405) 2018-04-23 20:21:18 +01:00
Equim
6e1c6a4a8c alternative ReCaptcha, close #366 2018-02-27 17:12:54 +00:00
Equim
f0a703baa7 feat: 6 bytes version of share link, close #331 2018-02-27 17:06:23 +00:00
Henrique Dias
7e962180b2 fix: not being able to change settings (#359) 2018-02-18 12:26:07 +00:00
Henrique Dias
040455b4ac chore: add circle ci and use external assets 2018-02-01 16:18:44 +00:00
Henrique Dias
613a3f2811
refactor: moving repository
* refactor

* updates

* add circle

* update circle

* fix circle
2018-02-01 13:38:43 +00:00
Equim
d97f17facb http: download: use PathEscape instead of QueryEscape (#340) 2018-01-23 08:28:08 +00:00
Equim
9b8c2862e2 fix: recaptcha fixes, auth fixes and line endings
* http: auth: remove unnecessary fields in recaptcha validation

* http: render: never expose ReCaptchaSecret to public

* build: dos2unix build.sh
2018-01-22 08:35:39 +00:00
Equim
53240ef9dd fix: http wrong header (#333) 2018-01-18 15:36:45 +00:00
Equim
30efa23a85 http: download: improvement for range support and I/O (#330)
* http: download: adopt http.ServeContent

* http: download: deprecate unnecessary temp dir

* http: download: adopt http.ServeContent in inline mode
2018-01-14 08:41:01 +00:00
Henrique Dias
e6a8e3349e
fix: stream file instead of putting it all in memory (#303) 2017-12-27 16:18:27 +00:00
Henrique Dias
1f946bd94e
Update auth.go 2017-11-15 09:09:09 +00:00
Henrique Dias
d3eafec864
Remove fmt.println from code 2017-11-15 08:59:23 +00:00
Henrique Dias
ac88aab3eb Improve readability. 2017-11-04 09:23:55 +00:00
Henrique Dias
b903356b94 Version 1.3.9 2017-10-31 19:20:36 +00:00
Henrique Dias
51104c5ee7 Fix ViewMode related bugs:
- The user will no longer lost their 'ViewMode' option after being updated in the settings.
- The console will not output errors due tot he scroll function when Mosaic mode is on.
2017-10-31 18:23:31 +00:00
Henrique Dias
1d4cbd622c GOFMT 2017-10-30 15:47:59 +00:00
Henrique Dias
99c8c92c6c fix #260 2017-10-30 15:24:06 +00:00
Equim
538b99ee77 Don't expose error (#254)
* share: remove share link when it has been moved

* http: don't expose error
2017-10-14 10:07:01 +01:00
Henrique Dias
8633e9677b
ViewMode constants; default view modes 2017-10-09 08:26:05 +01:00
Henrique Dias
f658394dd7
fix #241 2017-09-11 09:46:17 +01:00
Henrique Dias
002f8066c7
implement recaptcha on login 2017-09-11 09:00:59 +01:00
Henrique Dias
35742fe91f
Merge branch 'master' of https://github.com/hacdias/filemanager 2017-09-07 16:39:03 +01:00
Maxime Daniel
51295f999d Add new triggers and improve environment variables (#238)
* Add copy/rename trigger and more environment variables

* Add after_upload and after_delete trigger

* Fix scope since merge with master

* Add new before triggers
2017-09-07 16:38:32 +01:00
Henrique Dias
4d6b54c63e
materialdesignish 2017-09-07 16:37:11 +01:00
Henrique Dias
67fb6f8a78
1st phase - Global CSS 2017-09-07 14:17:56 +01:00
Henrique Dias
dd7cd110db
fix #234 2017-09-07 11:42:17 +01:00