Commit Graph

2093 Commits

Author SHA1 Message Date
Alvaro Aleman d8f415f8ab
feat: allow to password protect shares (#1252)
This changes allows to password protect shares. It works by:
* Allowing to optionally pass a password when creating a share
* If set, the password + salt that is configured via a new flag will be
  hashed via bcrypt and the hash stored together with the rest of the
  share
* Additionally, a random 96 byte long token gets generated and stored
  as part of the share
* When the backend retrieves an unauthenticated request for a share that
  has authentication configured, it will return a http 401
* The frontend detects this and will show a login prompt
* The actual download links are protected via an url arg that contains
  the previously generated token. This allows us to avoid buffering the
  download in the browser and allows pasting the link without breaking
  it
2021-03-02 12:00:18 +01:00
Alvaro Aleman 977ec33918
chore: close preview on esc key press (#1288) 2021-02-16 17:15:04 +01:00
niubility000 f1b7bd59f6
fix: double click to zoom pics in phone's browser (#1274)
fixed this : https://github.com/filebrowser/filebrowser/issues/1266
2021-02-08 09:54:40 +01:00
WeidiDeng f3afd5cb79
fix: environmental variables not expanded in command (#1241) 2021-01-19 17:02:46 +01:00
Oleg Lobanov e6a5bf116e
chore: remove empty string from locales (closes #1245) 2021-01-19 16:56:06 +01:00
Oleg Lobanov 21b5a76fa7
chore: refactor search function 2021-01-12 19:14:23 +01:00
WeidiDeng b6263eb607
chore: search by type with empty file name (#1228) 2021-01-12 18:08:23 +01:00
WeidiDeng c8257e848e
chore: move single click to user profile page (#1236)
Single clicks applies to FileList component.
2021-01-12 00:15:26 +01:00
叫我彭一凡 05bb7c8553
fix: fetch resource api once when sorting (closes #1172) (#1202) 2021-01-12 00:00:40 +01:00
WeidiDeng b600b11415
feat: share management delete confirm (#1212) 2021-01-11 23:54:16 +01:00
Oleg Lobanov 019ce80fc5
fix: don't allow to remove root user 2021-01-11 22:33:36 +01:00
Adam Dobrawy 8cea2f75b3
chore: fix url to documentation in templates (#1231) 2021-01-07 11:48:53 +01:00
WeidiDeng 6914063853
feat: allow disabling file detections by reading header (#1175) 2021-01-07 11:30:17 +01:00
Oleg Lobanov 43e0d4a856
chore: fix translation files indent 2020-12-31 12:31:26 +01:00
Oleg Lobanov 066d8e8d6c
chore: add ru translation 2020-12-31 12:26:49 +01:00
Oleg Lobanov 948e05c083
chore(release): 2.11.0 2020-12-28 17:37:19 +01:00
WeidiDeng fb5b28d9cb
feat: download shared subdirectory (#1184)
Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
2020-12-28 17:35:29 +01:00
WeidiDeng 677bce376b
feat: add sharing management (#1178) (closes #1000) 2020-12-24 19:02:28 +01:00
Alexis Lefebvre 8faa96f5e6
chore: fix typo costumize -> costumize (#1194) 2020-12-24 18:24:15 +01:00
WeidiDeng f62806f6c9
fix: check user input to prevent permission elevation (#1196) (closes #1195) 2020-12-24 18:22:48 +01:00
Oleg Lobanov 58835b7e53
fix: move files between different volumes (closes #1177) 2020-12-24 17:50:27 +01:00
WeidiDeng 7a5298a755
fix: delete extra remove prefix (#1186)
Fix file actions within /files dir
2020-12-16 16:08:56 +01:00
WeidiDeng bc4a6462ce
chore: use command key to select multiple files on mac (#1183) 2020-12-12 14:09:50 +01:00
WeidiDeng ac3673e111
fix: recaptcha race condition (#1176) 2020-12-08 11:26:29 +01:00
Oleg Lobanov c746c1931d
chore(release): 2.10.0 2020-11-24 12:00:10 +01:00
Oleg Lobanov 586d198d47
fix: fix hanging when reading a named pipe file (closes #1155) 2020-11-24 11:37:31 +01:00
Matt Doyle 9515ceeb42
feat: automatically jump to the next photo when deleting while previewing (#1143) 2020-11-23 19:08:14 +01:00
Julien Loir e8b4e9af46
feat: add single click mode (#1139) 2020-11-23 19:06:37 +01:00
Tiger Nie 10e399b3c3
feat: add hide dotfiles param (#1148) 2020-11-20 11:51:28 +01:00
Oleg Lobanov dcbc3286e2
Merge pull request #1133 from ramiresviana/fixes-5
Some fixes and shared view improvements
2020-11-04 17:58:18 +01:00
xufanglu b185f9b56e
chore: fix typo in config_init.go (#1131) 2020-11-04 17:47:36 +01:00
Ramires Viana 7096b3dab9 fix: empty folder in archive 2020-11-04 15:56:27 +00:00
Ramires Viana 36cacdf598 feat: shared item information 2020-11-04 15:56:27 +00:00
Ramires Viana 4e48ffc14d fix: previewer title overflow 2020-11-04 15:56:27 +00:00
Ramires Viana e119bc55ea feat: shared folder file listing 2020-11-04 15:56:05 +00:00
Ramires Viana 1ce3068a99 fix: resource rename action invalid path 2020-11-03 12:30:56 +00:00
Liubomyr Piadyk d562d1a60d
chore: fix readme typo (#1128)
Commander runner -> Command runner
At other places it's referenced as Command runner.
2020-10-29 17:29:29 +01:00
Oleg Lobanov 9f858398ab
chore(release): 2.9.0 2020-10-21 16:52:29 +02:00
Aiden McClelland 0ac80e8387
feat: support WKWebview custom protocol (#1113) 2020-10-21 16:41:09 +02:00
Hissy 0dca0b92d1
chore: update zh-cn and zh-tw (#1121) 2020-10-21 16:39:41 +02:00
Oleg Lobanov c9b36ba32e
Merge pull request #1124 from ramiresviana/fixes-4 2020-10-21 16:37:39 +02:00
Ramires Viana f2c4e78381 fix: allow start from Windows explorer 2020-10-19 13:41:40 +00:00
Ramires Viana 05bff54b71 fix: preview case sensitive file extension 2020-10-19 13:25:09 +00:00
Ramires Viana 2bd163d92a fix: search missing path slash 2020-10-19 13:14:36 +00:00
Ramires Viana 5e27ba5c8c fix: file upload missing path slash 2020-10-19 13:11:26 +00:00
Oleg Lobanov 5aaeb3b76d
chore(release): 2.8.0 2020-10-05 09:53:09 +02:00
Daniel Pham 36fb9f562a
fix: fix empty command name (#1106) 2020-10-05 09:52:27 +02:00
Xabi ad99bf1801
fix: fix panic when accessing nonexistent .js file in static path (#1105) 2020-10-02 15:09:03 +02:00
Oleg Lobanov 4c2a094255
Merge pull request #1100 from ramiresviana/fixes-3 2020-10-01 16:53:35 +02:00
Keagan McClelland 97693cc611
feat: add disable exec flag (#1090) 2020-10-01 16:45:24 +02:00