Commit Graph

19 Commits (6dbf801370538cb120bc847035e0ee1439db4cc4)

Author SHA1 Message Date
1138-4EB 2c526077c0
style: rename functions in root.go (#623)
* replace isFlagSet with Changed

* style: rename mustGetStringViperFlag and getStringViperFlag, use getParamB to read noauth

* style

* style: move

* fix build error

* rename getServerWithViper to getRunParams
2019-01-08 21:10:27 +01:00
Henrique Dias e0a3ce95f2
feat: add no auth to quick setup (#621) 2019-01-08 18:43:04 +00:00
1138-4EB d0fd97d943
chore: style and gofmt (#622) 2019-01-08 19:40:14 +01:00
Henrique Dias 66010d877e feat: quick docs update
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 17:00:36 +00:00
Henrique Dias 2ba5a4275a docs: improve some cli docs
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 16:09:25 +00:00
1138-4EB b4708348c6 enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
Henrique Dias 88644664e4 fix: root
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 14:43:46 +00:00
Henrique Dias 72069207c6
fix: use server options from DB too (#616)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 14:07:55 +00: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 01ff03e426
feat: wrap commands to send info (#612)
Wrap commands in a better way to pass storage
2019-01-07 20:24:23 +00:00
Henrique Dias 550269d2ed feat: only hash if it's default pw
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 17:55:47 +00:00
Henrique Dias 999c69de5c feat: cleanup cli
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 15:26:46 +00:00
Henrique Dias 2b8bd28158 merge with master
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 13:20:17 +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 e22598a126 feat: change default to 8080
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 12:57:35 +00:00
Henrique Dias a8ff679ae3 feat: dont persist server data on database
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 12:26:48 +00:00
1138-4EB 1080bfde68 [WIP] add viper to manage envvars and cfg files 2019-01-06 06:11:15 +01:00
Henrique Dias d309066def
feat: v2 (#599)
Read https://github.com/filebrowser/filebrowser/pull/575.
2019-01-05 22:44:33 +00:00