Henrique Dias
a3daac84a2
feat: export generate key
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-11 20:25:39 +00:00
Henrique Dias
c1c57c6525
fix: no db error when db size is 0 ( #629 )
...
Fixes the error where File Browser would fail when the DB existed with size 0. This closes #628 .
@1138-4EB I decided not to check the version for now since it's the first time we're adding that info. Only the next time we change the DB structure we'll use that value as reference to know how to upgrade.
I did not check it because the users running rc1 would have some issues with it.
2019-01-09 21:37:47 +00:00
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
1138-4EB
7a775c42a1
use log.Fatal instead of panic
2019-01-08 16:21:03 +01: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
73b8d2ee7e
feat: config/users import/export ( #613 )
...
Supports json and yaml.
2019-01-08 08:57:24 +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
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
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