Commit Graph

46 Commits (02c34ef8be2068d45cd892bedb33d2bf89f9f6ef)

Author SHA1 Message Date
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
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
Henrique Dias 011a154f1f
Close #172 2017-07-29 14:26:33 +01:00
Henrique Dias aa6631c408
Use Viper for Configuration 2017-07-29 13:28:18 +01:00
Henrique Dias adfc66896d
Logging #154 2017-07-29 11:53:34 +01:00
Henrique Dias ff034f7e8f
Use fileutils instead 2017-07-27 21:39:23 +01:00
Henrique Dias a521812e3e
Add address to the conf file 2017-07-26 11:28:47 +01:00
Henrique Dias a753247333
Small bug fixes and my own implementation of webdav.Dir 2017-07-26 11:14:05 +01:00
Henrique Dias dd3ccec696
Random port after all #152 2017-07-26 10:01:06 +01:00
Henrique Dias 332efd6adc
Change default port to 8080; closes #152 2017-07-26 09:44:49 +01:00
Henrique Dias f61c324496
Fix typos and bugs 2017-07-25 12:25:15 +01:00
Henrique Dias 446253b62a
Remove user and apss from base user 2017-07-20 09:55:00 +01:00
Henrique Dias d1c6daf647
Standalone 2017-07-20 09:03:14 +01:00