Commit Graph

52 Commits (22f2287bc3416c3b241db92fd9f2173043c6942a)

Author SHA1 Message Date
Henrique Dias 2d858e6738 fix: allow embedding into iframes (close #550)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-06 09:29:23 +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
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
Henrique Dias b7022bdfe3 style: fix linting issues
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2018-08-07 13:34:06 +01:00
VLEFF eb12bf2c2d feat: handle subtitles for video streaming (#468) 2018-07-26 10:47:09 +01:00
Henrique Dias 43d489c194 feat: case insensitive search by default #415 2018-07-23 10:24:52 +01:00
Vladyslav Tokarchuk a07b08dae5 fix: directory "others" execute permission, close #300 2018-06-27 12:27:41 +01:00
1138-4EB 7643b0c4e3 Rename manager to browser (#406)
* rename File Manager to File Browser

* rename fm to fb
2018-04-23 22:42:52 +01:00
1138-4EB c6eb4fbac5 fix #311, fix #312 (see filebrowser/frontend#7) (#405) 2018-04-23 20:21:18 +01:00
Equim 6e1c6a4a8c alternative ReCaptcha, close #366 2018-02-27 17:12:54 +00:00
Equim f0a703baa7 feat: 6 bytes version of share link, close #331 2018-02-27 17:06:23 +00:00
Henrique Dias 7e962180b2 fix: not being able to change settings (#359) 2018-02-18 12:26:07 +00:00
Henrique Dias 040455b4ac chore: add circle ci and use external assets 2018-02-01 16:18:44 +00:00
Henrique Dias 613a3f2811
refactor: moving repository
* refactor

* updates

* add circle

* update circle

* fix circle
2018-02-01 13:38:43 +00:00
Equim d97f17facb http: download: use PathEscape instead of QueryEscape (#340) 2018-01-23 08:28:08 +00:00
Equim 9b8c2862e2 fix: recaptcha fixes, auth fixes and line endings
* http: auth: remove unnecessary fields in recaptcha validation

* http: render: never expose ReCaptchaSecret to public

* build: dos2unix build.sh
2018-01-22 08:35:39 +00:00
Equim 53240ef9dd fix: http wrong header (#333) 2018-01-18 15:36:45 +00:00
Equim 30efa23a85 http: download: improvement for range support and I/O (#330)
* http: download: adopt http.ServeContent

* http: download: deprecate unnecessary temp dir

* http: download: adopt http.ServeContent in inline mode
2018-01-14 08:41:01 +00:00
Henrique Dias e6a8e3349e
fix: stream file instead of putting it all in memory (#303) 2017-12-27 16:18:27 +00:00
Henrique Dias 1f946bd94e
Update auth.go 2017-11-15 09:09:09 +00:00
Henrique Dias d3eafec864
Remove fmt.println from code 2017-11-15 08:59:23 +00:00
Henrique Dias ac88aab3eb Improve readability. 2017-11-04 09:23:55 +00:00
Henrique Dias b903356b94 Version 1.3.9 2017-10-31 19:20:36 +00:00
Henrique Dias 51104c5ee7 Fix ViewMode related bugs:
- The user will no longer lost their 'ViewMode' option after being updated in the settings.
- The console will not output errors due tot he scroll function when Mosaic mode is on.
2017-10-31 18:23:31 +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 538b99ee77 Don't expose error (#254)
* share: remove share link when it has been moved

* http: don't expose error
2017-10-14 10:07:01 +01:00
Henrique Dias 8633e9677b
ViewMode constants; default view modes 2017-10-09 08:26:05 +01:00
Henrique Dias f658394dd7
fix #241 2017-09-11 09:46:17 +01:00
Henrique Dias 002f8066c7
implement recaptcha on login 2017-09-11 09:00:59 +01:00
Henrique Dias 35742fe91f
Merge branch 'master' of https://github.com/hacdias/filemanager 2017-09-07 16:39:03 +01:00
Maxime Daniel 51295f999d Add new triggers and improve environment variables (#238)
* Add copy/rename trigger and more environment variables

* Add after_upload and after_delete trigger

* Fix scope since merge with master

* Add new before triggers
2017-09-07 16:38:32 +01:00
Henrique Dias 4d6b54c63e
materialdesignish 2017-09-07 16:37:11 +01:00
Henrique Dias 67fb6f8a78
1st phase - Global CSS 2017-09-07 14:17:56 +01:00
Henrique Dias dd7cd110db
fix #234 2017-09-07 11:42:17 +01:00
Henrique Dias d3d3cb3d4f
Close #232 2017-09-07 10:29:19 +01:00
Henrique Dias 59bd6e97bf
Add FM version to interface; close #221 2017-09-03 10:50:49 +01:00
Henrique Dias 96a5226076
Fix #227 2017-09-03 10:06:25 +01:00
Henrique Dias fc9ca4f6a4
Option to lock user's password #215 2017-08-24 14:44:53 +01:00
Henrique Dias e285195fe1
Fix override. 2017-08-24 12:33:54 +01:00
Henrique Dias c95b1aaace
Fix login issues regarding basicauth+noauth #214 #204 2017-08-22 15:25:54 +01:00
Henrique Dias 1aa68b0dd0
Fix #213 2017-08-21 07:33:16 +01:00
Henrique Dias 70751c48d2
Fix one bug 2017-08-20 10:23:04 +01:00
Henrique Dias 0117cff0e6
remove old test files 2017-08-20 10:11:31 +01:00
Henrique Dias 82b161cfb2
Some bug fixes 2017-08-20 09:55:45 +01:00
Henrique Dias 20818dca93
FS as an interface, close #205 2017-08-20 09:21:36 +01:00
Henrique Dias 76de8e5940
More updates :) 2017-08-20 08:49:09 +01:00
Henrique Dias 5b619337df
Almost working! 2017-08-20 08:42:38 +01:00