Commit Graph

55 Commits (0715198c7f43ae990766ac00d307cb15469ded39)

Author SHA1 Message Date
foxxorcat 74b20dedc3
fix: retry multipart file reset (#5693 close #5628) 2023-12-14 21:31:36 +08:00
foxxorcat c1db3a36ad
feat: upload progress recovery (#4987)
* feat(189pc):upload progress recovery

* fix:some err

* feat(baidu_netdisk,baidu_photo):upload progress recovery

* feat(mopan):upload progress recovery

* feat(baidu_netdisk):custom upload api
2023-08-11 14:23:30 +08:00
Sean 15b7169df4
perf: multi-thread downloader, `Content-Disposition` (#4921)
general: enhance multi-thread downloader with cancelable context, immediately stop all stream processes when canceled;
feat(crypt): improve stream closing;
general: fix the bug of downloading files becomes previewing stream on modern browsers;

Co-authored-by: Sean He <866155+seanhe26@users.noreply.github.com>
Co-authored-by: Andy Hsu <i@nn.ci>
2023-08-04 15:29:54 +08:00
Sean 3c21a9a520
feat: Crypt driver, improve http/webdav handling (#4884)
this PR has several enhancements, fixes, and features:
- [x] Crypt: a transparent encryption driver. Anyone can easily, and safely store encrypted data on the remote storage provider.  Consider your data is safely stored in the safe, and the storage provider can only see the safe, but not your data.
  - [x] Optional: compatible with [Rclone Crypt](https://rclone.org/crypt/). More ways to manipulate the encrypted data.
  - [x] directory and filename encryption
  - [x] server-side encryption mode (server encrypts & decrypts all data, all data flows thru the server)
- [x] obfuscate sensitive information internally
- [x] introduced a server memory-cached multi-thread downloader.
  - [x] Driver: **Quark** enabled this feature, faster load in any single thread scenario. e.g. media player directly playing from the link, now it's faster.
- [x] general improvement on HTTP/WebDAV stream processing & header handling & response handling
  - [x] Driver: **Mega** driver support ranged http header
  - [x] Driver: **Quark** fix bug of not closing HTTP request to Quark server while user end has closed connection to alist

## Crypt, a transparent Encrypt/Decrypt Driver. (Rclone Crypt compatible)

e.g.  
Crypt mount path ->  /vault 
Crypt remote path -> /ali/encrypted
Aliyun mount paht -> /ali

when the user uploads a.jpg to /vault, the data will be encrypted and saved to /ali/encrypted/xxxxx. And when the user wants to access a.jpg,  it's automatically decrypted, and the user can do anything with it.
Since it's Rclone Crypt compatible, users can download /ali/encrypted/xxxxx  and decrypt it with rclone crypt tool. Or the user can mount this folder using rclone, then mount the decrypted folder in Linux...

NB.  Some breaking changes is made to make it follow global standard, e.g. processing the HTTP header properly.

close #4679 
close #4827 

Co-authored-by: Sean He <866155+seanhe26@users.noreply.github.com>
Co-authored-by: Andy Hsu <i@nn.ci>
2023-08-02 14:40:36 +08:00
hunshcn 47976af0d3
feat: set `ProxyFromEnvironment` for default http client (#4546) 2023-06-09 22:08:54 +08:00
Noah Hsu 63de65be45 fix: increase timeout for http_client (close #4409) 2023-05-18 23:32:05 +08:00
XYUU a3446720a2
fix: make `TlsInsecureSkipVerify` enable for all request (#4386) 2023-05-14 17:05:47 +08:00
Andy Hsu 4b0c01158d fix: panic on nil pointer 2023-05-11 19:44:44 +08:00
Andy Hsu e15755fef0 fix(189): enable `TlsInsecureSkipVerify` (close #4355) 2023-05-11 18:48:31 +08:00
Andy Hsu 95b3b87672 feat(sftp): support range header 2023-02-20 16:57:52 +08:00
BoYanZh 7bc46de8aa
feat: settings for tls insecure skip verify (close #3306 in #3307) 2023-02-08 22:01:26 +08:00
Noah Hsu e05e2fd663 chore: change default timeout (close #2252) 2022-11-08 20:37:42 +08:00
foxxorcat 918ca28d2b feat: add 189cloudPC driver 2022-09-08 15:00:57 +08:00
Noah Hsu 611457c0e7 feat: add `baidu_netdisk` driver 2022-09-02 22:46:31 +08:00
Noah Hsu f551dc76d0 feat: add onedrive driver 2022-08-30 21:52:06 +08:00
Noah Hsu b76060570e refactor: init v3 2022-06-06 16:28:37 +08:00
Xhofe 6a7eb8b3eb fix: don't save search files of balance account (close #1125) 2022-05-21 22:12:18 +08:00
Xhofe bd7260f0ff chore: base for template 2022-04-24 21:22:24 +08:00
Xhofe 27b7dae113 feat(webdav): support range get 2022-04-23 22:43:02 +08:00
Xhofe a73a40133d feat: search api 2022-04-08 22:03:26 +08:00
Xhofe 6591af58ea feat: store search file index 2022-04-08 21:51:21 +08:00
Xhofe 77ffb93cbe feat: multiple down proxy urls (close #793) 2022-03-20 16:53:30 +08:00
Xhofe f2ec7884ec 🐛 fix only proxy webdav_direct 2022-02-17 17:49:03 +08:00
Xhofe e90b979d15 close #535 request set timeout 2022-02-14 14:59:00 +08:00
Xhofe 4371c470b3 webdav direct proxy 2022-02-13 15:57:42 +08:00
Xhofe 387e8af422 🐛 fix 189 upload while filename contains & 2022-02-12 13:08:46 +08:00
微凉 feb42f1f4b 🔥 delete proxy interface 2022-02-02 18:03:54 +08:00
微凉 cb2a3c2b42 🎨 change proxy interface 2022-02-01 14:28:21 +08:00
微凉 6fd05d7d72 🐛 fix connMap not init 2022-01-30 00:55:12 +08:00
微凉 bf9aa5c3d3 🔒 not allowed use relative path of native 2022-01-27 15:10:33 +08:00
微凉 cfb51e9f80 Extract folder 2022-01-16 16:38:41 +08:00
微凉 7cf30836bf 🎨 Optimize code structure 2022-01-03 20:06:36 +08:00
微凉 939c9cd5ac 🚧 check upload file 2021-12-31 14:05:35 +08:00
微凉 d71ed4d775 🎇 support webdav driver 2021-12-30 21:39:17 +08:00
微凉 3331462229 local sort for no sort param driver 2021-12-30 16:15:57 +08:00
微凉 6a54ed87f3 🎨 change NeedSetLink to NoNeedSetLink 2021-12-29 19:47:47 +08:00
Xhofe 36f07ee194 add no cors config 2021-12-25 16:44:32 +08:00
微凉 b63e65880f 🚧 google drive api proxy 2021-12-20 01:00:53 +08:00
微凉 731dbf6c3a 🐛 fix 123pan 403 2021-12-19 20:32:47 +08:00
微凉 d00f75c814 🎨 change link interface 2021-12-19 20:00:53 +08:00
微凉 f5b8815a84 🎨 abstract 123pan request 2021-12-19 17:54:28 +08:00
微凉 8e7b2c5837 api proxy 2021-12-19 17:10:20 +08:00
微凉 c64c003257 🎇 feat: pikpak support 2021-12-16 22:50:23 +08:00
微凉 d49f92b542 ftp support 2021-12-16 18:03:58 +08:00
微凉 78f81ddc3b 🎨 add some debug log 2021-12-10 22:24:43 +08:00
微凉 2f8258053f support native proxy url 2021-12-10 15:55:21 +08:00
微凉 a295e7024a 🎨 change link interface 2021-12-09 19:24:34 +08:00
微凉 bb6e520ab5 🎨 delete useless code 2021-12-08 22:44:45 +08:00
微凉 9b64e2e045 🐛 fix cache bug 2021-12-08 22:41:30 +08:00
微凉 236f9969c0 🚧 support proxy 2021-12-08 20:00:52 +08:00