Commit Graph

1592 Commits (6dbf801370538cb120bc847035e0ee1439db4cc4)

Author SHA1 Message Date
Henrique Dias 6dbf801370 chore: setting untracked version [ci skip] 2019-01-09 21:52:14 +00:00
Henrique Dias 0d0d9ef5f9 chore: version v2.0.0-rc.2 2019-01-09 21:51: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
Henrique Dias bafe9f0ad7 fix: search (#625) 2019-01-09 15:18:03 +01: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 5a9f0a0d81 fix: caddy sed package name 2019-01-09 03:13:54 +01:00
1138-4EB a55e0d24f8 chore: setting untracked version [ci skip] 2019-01-09 01:53:36 +01:00
1138-4EB c1f344e9eb chore: version v2.0.0-rc.1 2019-01-09 01:53:36 +01:00
1138-4EB 9f6e51b251 fix: wizard pushRicebox non-existing envvar 2019-01-09 01:53:35 +01:00
1138-4EB 27d1a95310 fix: update to goreleaser dockers changes 2019-01-09 01:30:56 +01:00
1138-4EB 8c2c298d9d fix: goreleaser main file 2019-01-09 00:37:59 +01:00
1138-4EB 43e494b0f7 fix: wizard -r requires an argument 2019-01-08 23:54:37 +01:00
1138-4EB f218c2a791 fix: wizard release 2019-01-08 21:22:03 +01: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
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 a70b9e20a7
Merge pull request #620 from filebrowser/chore-docker 2019-01-08 17:38:07 +00:00
1138-4EB 5a0547b467 chore: update Dockerfile 2019-01-08 18:17:52 +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 e68af011d4 feat: add docs info
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 16:37:02 +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
Henrique Dias 58edf878ab
Merge pull request #618 from filebrowser/chores-version 2019-01-08 15:55:06 +00:00
1138-4EB 7a775c42a1 use log.Fatal instead of panic 2019-01-08 16:21:03 +01:00
1138-4EB b4708348c6 enable version subcmd and --version flag for root cmd and all subcmds 2019-01-08 16:20:23 +01:00
1138-4EB ef56112711 reduce code duplication 2019-01-08 16:19:17 +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 68bdf65595 feat: update frontend
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 14:29:18 +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 76bf72902d feat: add replace opt 2019-01-08 12:03:34 +00:00
Henrique Dias fc06f642f2 feat: simplify flag adding
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-08 10:50:37 +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 46b221533a feat: remove useless code
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-07 23:11:00 +00:00
Henrique Dias cae8809da0 chore: update ricebox path on caddy repo [ci skip]
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-07 20:59:55 +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 f396602084 feat: rename import to upgrade
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-07 19:22:32 +00:00
Henrique Dias 148d233d7a fix: remove init from root
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-07 19:21:29 +00:00
Henrique Dias ebaed3c390 feat: improve docs output
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 18:36:47 +00:00
Henrique Dias a2d32438f1
Merge pull request #610 from filebrowser/hashedpwd
feat: require hashed password and add hash command
2019-01-06 18:25:09 +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 a2742dff16 feat: add hash command
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 17:53:47 +00:00
Henrique Dias 56c1536693
docs: update caddy issue template 2019-01-06 16:39:59 +00:00
Henrique Dias 143dcec6f7
Merge pull request #606 from filebrowser/viper
feat: dockerfile & viper
2019-01-06 15:27: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 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 07f3ee38e5
fix: dont fail when can't detect file type (#609)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 12:59:53 +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