Commit Graph

9 Commits

Author SHA1 Message Date
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
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
1138-4EB ef56112711 reduce code duplication 2019-01-08 16:19:17 +01:00
Henrique Dias 0e7abaa7fb
feat: make server options a struct (#615) 2019-01-08 10:29:09 +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 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
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