Commit Graph

22 Commits

Author SHA1 Message Date
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 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
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
Equim 6e1c6a4a8c alternative ReCaptcha, close #366 2018-02-27 17:12:54 +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 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
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 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 002f8066c7
implement recaptcha on login 2017-09-11 09:00:59 +01:00
Henrique Dias c95b1aaace
Fix login issues regarding basicauth+noauth #214 #204 2017-08-22 15:25:54 +01:00
Henrique Dias 82b161cfb2
Some bug fixes 2017-08-20 09:55:45 +01:00
Henrique Dias 20818dca93
FS as an interface, close #205 2017-08-20 09:21:36 +01:00
Henrique Dias a04ff87bf9
DB Updates :) 2017-08-19 12:35:44 +01:00
Henrique Dias 174330929a
updates 2017-08-18 09:00:32 +01:00