Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
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
12eb050cc2 feat: simplify future changes
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 12:41:52 +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
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
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
1138-4EB
1e12bb7f7c
fix(config): ensure provided config path is used (#508) 2018-08-16 09:37:07 +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
Michael Lawson
54d0845212 Fix typo preventing "--allow-edit" from being set (#392) 2018-04-06 05:24:32 +08: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
Henrique Dias
0781b961da remove file 2017-12-29 17:31:21 +00:00
Henrique Dias
d98b58e0f0 Version 1.4.0 2017-12-29 16:33:50 +00:00
Henrique Dias
1d4cbd622c GOFMT 2017-10-30 15:47:59 +00:00
Henrique Dias
99c8c92c6c fix #260 2017-10-30 15:24:06 +00:00
Equim
4b84492a11 i18n: auto detect locale from browser (#253)
* i18n: detect locale from browser

* fix regex for locale matching

* remove debug code
2017-10-15 08:12:40 +01:00
Henrique Dias
8633e9677b
ViewMode constants; default view modes 2017-10-09 08:26:05 +01:00
Henrique Dias
879ad7b518
Add ReCaptcha to main 2017-09-11 09:23:59 +01:00
Henrique Dias
5daacf0298
Default view mode 2017-09-07 10:41:01 +01:00
Henrique Dias
044575d2af
Add version stuff on root 2017-09-03 10:41:14 +01:00
Henrique Dias
359e311da1
fix bug 2017-09-01 18:18:00 +01:00
Henrique Dias
3fde3c716b
prefix url as a flag 2017-09-01 17:48:15 +01:00
Henrique Dias
5c2166bc15
fix error 2017-09-01 13:26:04 +01:00
Henrique Dias
2a5aa21b8d
fix #226 2017-09-01 13:17:10 +01:00
Henrique Dias
e4d345b7e5
Working Caddy 2017-08-20 09:31:24 +01:00
Henrique Dias
921cc2f930
Fix some stuff 2017-08-20 09:23:02 +01:00
Henrique Dias
5b619337df
Almost working! 2017-08-20 08:42:38 +01:00
Henrique Dias
fe80e98f85
Jekyll; progresses on #108 2017-08-10 12:18:51 +01:00
Henrique Dias
da4fd84002
StaticGen update Bash
Update zh-cn.yaml (#194)

Address #184

build assets

Update zh-cn.yaml (#194)
2017-08-10 11:08:50 +01:00
Henrique Dias
1234ee32e4
close #186 2017-08-04 14:10:23 +01:00
Henrique Dias
b7887ed162
Update version output 2017-08-04 13:35:21 +01:00
Henrique Dias
f572fc7837
Add option to use FM w/o login 2017-08-02 14:10:05 +01:00
Henrique Dias
d8bc73390c Internationalization (#183)
* update dependencies to latest version

* add mising dependencies

* Syntax updates and such

* Reorganize files and translate login to portuguese

* Add i18n to buttons

* Error translations and some bug fixes

* Add i18n to files

* i18n on prompts

* update search

* Prompts and Sidebar in

* i18n to the header

* Change to YAML

* alphabetical order

* # Add simplified Chinese language (#180)

* Add Simplified Chinese and sort by alphabet

* Add more text to translations

* API Updates

* Update zh_cn.yaml (#182)

* Api Upgrades

* Simplify api and clean zh_cn lang file

* Improve error logging

* Fix some route bugs and separate login styles

* better organization

* Fix bug on api

* Build assets Tue, Aug  1, 2017 11:32:23 AM

* Rename users path and fix bug scroll event

* Start Portuguese translation and file org

* Add more to the PT translation

* Add show

* Build assets Tue Aug  1 12:01:39 GMTST 2017

* Add locale to cofnig

* Update portuguese translation

* You can change the language :)

* :D

* Build assets Tue Aug  1 17:50:31 GMTST 2017

* Update requestContext variable names

* Remove assets

* Build assets Tue Aug  1 20:48:21 GMTST 2017
2017-08-01 20:49:56 +01:00
Henrique Dias
24dbcb87ba
Version flag; close #175; improve error logging
Fix #175

improve error logging

build assets
2017-07-30 11:32:14 +01:00
Henrique Dias
d20079bc4e
Try to fix Hugo 2017-07-29 19:11:20 +01:00
Henrique Dias
c0b60d5928
Fix Hugo error 2017-07-29 18:08:27 +01:00
Henrique Dias
2334bb601d
fix config flag 2017-07-29 14:57:45 +01:00