Andy Hsu
aba8bc0ec2
fix: adapt update progress type
2023-10-20 21:15:37 +08:00
Andy Hsu
ce6e486666
Squashed commit of the following:
...
commit 4fc0a77565702f9bf498485d42336502f2ee9776
Author: Andy Hsu <i@nn.ci>
Date: Fri Oct 20 21:06:25 2023 +0800
fix(baidu_netdisk): upload file > 4GB (close #5392 )
commit aaffaee2b54fc067d240ea0c20ea3c2f39615d6e
Author: gmugu <94156510@qq.com>
Date: Thu Oct 19 19:17:53 2023 +0800
perf(webdav): support request with cookies (#5391 )
commit 8ef8023c20bfeee97ec82155b52eae0d80b1410e
Author: NewbieOrange <NewbieOrange@users.noreply.github.com>
Date: Thu Oct 19 19:17:09 2023 +0800
fix(aliyundrive_open): upload progress for normal upload (#5398 )
commit cdfbe6dcf2b361e4c93c2703c2f8c9bddeac0ee6
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Wed Oct 18 16:27:07 2023 +0800
fix: hash gcid empty file (#5394 )
commit 94d028743abf8e0d736f80c0ec4fb294a1cc064c
Author: Andy Hsu <i@nn.ci>
Date: Sat Oct 14 13:17:51 2023 +0800
ci: remove `pr-welcome` label when close issue [skip ci]
commit 7f7335435c2f32a3eef76fac4c4f783d9d8624fd
Author: itsHenry <2671230065@qq.com>
Date: Sat Oct 14 13:12:46 2023 +0800
feat(cloudreve): support thumbnail (#5373 close #5348 )
* feat(cloudreve): support thumbnail
* chore: remove unnecessary code
commit b9e192b29cffddf14a0dfb2d3885def57a56ce16
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Thu Oct 12 20:57:12 2023 +0800
fix(115): limit request rate (#5367 close #5275 )
* fix(115):limit request rate
* chore(115): fix unit of `limit_rate`
---------
Co-authored-by: Andy Hsu <i@nn.ci>
commit 69a98eaef612b58596e5c26c341b6d7cedecdf19
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Oct 11 22:01:55 2023 +0800
fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.9+incompatible (#5141 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 1ebc96a4e5220c979fd581bb3b5640e9436f6665
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:32:00 2023 +0800
fix(wopan): fatal error concurrent map writes (close #5352 )
commit 66e2324cac75cb3ef05af45dbdd10b124d534aff
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:23:11 2023 +0800
chore(deps): upgrade dependencies
commit 7600dc28df137c439e538b4257731c33a63db9b5
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:13:58 2023 +0800
fix(aliyundrive_open): change default api to raw server (close #5358 )
commit 8ef89ad0a496d5acc398794c0afa4f77c67ad371
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Tue Oct 10 18:08:27 2023 +0800
fix(baidu_netdisk): hash and `error 2` (#5356 )
* fix(baidu):hash and error:2
* fix:invalid memory address
commit 35d672217dde69e65b41b1fcd9786c1cfebcdc45
Author: jeffmingup <1960588251@qq.com>
Date: Sun Oct 8 19:29:45 2023 +0800
fix(onedrive_app): incorrect api on `_accessToken` (#5346 )
commit 1a283bb2720eff6d1b0c1dd6f1667a6449905a9b
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Fri Oct 6 16:04:39 2023 +0800
feat(google_drive): add `hash_info`, `ctime`, `thumbnail` (#5334 )
commit a008f54f4d5eda5738abfd54bf1abf1e18c08430
Author: nkh0472 <67589323+nkh0472@users.noreply.github.com>
Date: Thu Oct 5 13:10:51 2023 +0800
docs: minor language improvements (#5329 ) [skip ci]
2023-10-20 21:14:15 +08:00
Andy Hsu
ea9a3432ab
refactor: change type of percentage to float64
2023-10-04 20:59:11 +08:00
Andy Hsu
0fd51646f6
feat(onedrive): custom host for download link ( close #5310 )
2023-10-02 14:07:47 +08:00
Andy Hsu
e8958019d9
fix(115): allow use proxy directly ( close #5324 )
2023-10-02 14:00:13 +08:00
URenko
e1ef690784
fix(terabox): encode parameters for filemanager
api ( #5308 )
2023-10-01 16:58:29 +08:00
LaoShui
4024050dd0
chore: fix typo ( #5316 )
2023-10-01 16:58:00 +08:00
Nick Wang
fb13dae136
feat(crypt): optional pre-generated thumbnails ( #5284 )
2023-09-27 13:57:10 +08:00
Andy Hsu
6b67a36d63
fix(terabox): auto refresh JsToken
( close #5277 )
2023-09-25 16:38:05 +08:00
Andy Hsu
a64dd4885e
fix(139): fixed time zone ( close #5263 )
2023-09-22 16:54:16 +08:00
Andy Hsu
106cf720c1
fix(baidu_netdisk): retry logic in request ( close #5262 )
2023-09-22 16:27:44 +08:00
Ovear
2a6ab77295
fix(115): data race in Link
( #5253 )
2023-09-21 13:39:07 +08:00
Andy Hsu
f0981a0c8d
chore(virtual): implement the driver interface with result
2023-09-20 09:02:56 +08:00
tcbx99
19b39a5c04
fix(onedrive): overwrite upload big file ( close #5217 in #5218 )
...
See https://learn.microsoft.com/zh-cn/onedrive/developer/rest-api/api/driveitem_createuploadsession
2023-09-14 13:38:07 +08:00
Andy Hsu
b1a279cbcc
feat(139): implement MoveResult
interface ( close #5130 )
2023-09-13 15:56:13 +08:00
Andy Hsu
9e0fa77ca2
feat: add 123 link driver ( close #4924 )
2023-09-10 16:50:10 +08:00
Andy Hsu
335b11c698
chore: implement the driver interface with obj return [skip ci]
2023-09-08 15:25:49 +08:00
Andy Hsu
8e433355e6
fix(terabox): missing JsToken
field on request ( close #5189 )
2023-09-08 15:18:56 +08:00
Andy Hsu
623c7dcea5
fix(189pc): get real link after redirect
2023-09-06 16:02:28 +08:00
foxxorcat
ecbd6d86cd
fix(lanzou): sub file in share folder need pwd ( #5184 )
2023-09-06 14:48:12 +08:00
foxxorcat
7200344ace
feat: adapt hash feature for some drivers ( #5180 )
...
* feat(pikpak,thunder): adaptation gcid hash
* chore(weiyun): add note
* feat(baidu_netdisk): adaptation rapid
* feat(baidu_photo): adaptation hash
* feat(189pc): adaptation rapid
* feat(mopan):adaptation ctime
* feat(139):adaptation hash and ctime
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2023-09-06 14:46:35 +08:00
Andy Hsu
f6ab1f7f61
perf(ftp): non use SIZE FTP
command ( close #5150 )
2023-09-03 18:47:32 +08:00
Sean
8e40465e86
fix(aliyundrive_open): date format on uploading ( #5151 )
...
(cherry picked from commit 88f815979ac91caa8bc425a2ff9a18bbd8a2e736)
2023-09-03 18:12:05 +08:00
Sean
37dffd0fce
feat(crypt): customize filename_encoding
( #5148 )
...
close #5109
close #5080
2023-09-03 18:06:44 +08:00
Sean
e7c0d94b44
fix: form upload when ticked As A Task
( #5145 )
2023-09-03 15:40:40 +08:00
Andy Hsu
dd10c0c5d0
chore(aliyundrive_open): print resp content on refresh token ( close #5129 )
2023-08-31 18:43:25 +08:00
Andy Hsu
34fadecc2c
fix(ftp): dead lock on Read
( close #5128 )
2023-08-31 15:10:47 +08:00
Kuingsmile
092ed06833
feat(uss): add AntiTheftChainToken
field ( #5115 )
...
* feat(uss): add AntiTheftChainToken; fix link func
* feat(uss): optimize _upt generation
2023-08-30 15:16:26 +08:00
Sean
6308f1c35d
fix: updateTime, createTime and HashInfo ( #5111 )
2023-08-29 13:31:24 +08:00
Andy Hsu
b301b791c7
fix(local): set create and modified time for new file ( close #4938 )
2023-08-27 23:05:13 +08:00
Sean
a3748af772
feat: misc improvements about upload/copy/hash ( #5045 )
...
general: add createTime/updateTime support in webdav and some drivers
general: add hash support in some drivers
general: cross-storage rapid-upload support
general: enhance upload to avoid local temp file if possible
general: replace readseekcloser with File interface to speed upstream operations
feat(aliyun_open): same as above
feat(crypt): add hack for 139cloud
Close #4934
Close #4819
baidu_netdisk needs to improve the upload code to support rapid-upload
2023-08-27 21:14:23 +08:00
foxxorcat
8f493cccc4
fix(mopan): parameter error ( #5091 )
2023-08-25 14:10:05 +08:00
Myth
31a033dff1
fix(lanzou): download cannot find data ( #5088 )
2023-08-24 21:56:20 +08:00
foxxorcat
358c5055e9
fix(lanzou): download not find file sgin ( close #5046 in #5048 )
2023-08-20 13:08:57 +08:00
Andy Hsu
3bbae29f93
feat(cloudreve): add custom user-agent ( close #5020 )
2023-08-17 19:41:21 +08:00
Andy Hsu
13e8d36e1a
fix(aliyundrive_open): use RawStdEncoding
for base64
2023-08-13 20:52:38 +08:00
Andy Hsu
5606c23768
perf(copy): use multi-thread downloader ( close #5000 )
2023-08-13 15:31:49 +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
Andy Hsu
c59dbb4f9e
fix(local): files get deleted when copied to other storage ( close #4983 )
2023-08-10 16:42:09 +08:00
foxxorcat
df6b306fce
perf(drivers): fs operations and cache ( #4965 )
...
* perf(baidu_photo):multi-thread upload
* perf(baidu_netdisk):multi-thread upload and cache optimization
* fix:LimitWriter
* fix(weiyun):only one login is allowed
* feat(189pc):multi threaded upload
* feat(baidu_netdisk):multi threaded upload
* feat(baidu_photo):multi threaded upload
* feat(weiyun):multi threaded upload
* perf(aliyundriver_open):optimize upload code and optimize cache
* fix(weiyun):invalid directory ID
* fix(baidu_netdisk):modified time
* fix(baidu_netdisk,baidu_photo):upload slice error
* perf(baidu_netdisk):cancel unnecessary retries
* fix(limitWriter):must return a non-nil error if it returns n < len(p)
* fix(aliyundrive_open):Name and Filename only use one
* perf(mopan):multi-thread upload
2023-08-09 16:13:09 +08:00
Andy Hsu
b91ed7a78a
fix(aliyundrive_open): retry refresh token if sub not match
2023-08-08 22:08:05 +08:00
Andy Hsu
95386d777b
feat(aliyundrive_open): record token exchange
2023-08-08 20:38:13 +08:00
Sean
7877184bee
feat(baidu_netdisk): add retry to most operations ( close #4863 in #4939 )
2023-08-07 13:44:28 +08:00
Andy Hsu
6c1c7e5cc0
fix(wopan): missing familyID
on mkdir ( close #4927 )
2023-08-04 22:26:56 +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
Bnq Dzj
e5ffd39cf2
feat: add 123Pan Share driver ( close #4853 in #4898 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-08-03 15:01:43 +08:00
foxxorcat
49bde82426
perf(189pc): empty file upload and cache optimization ( #4913 )
...
- login captcha error
- cache optimization
- upload empty file
2023-08-03 14:08:40 +08:00
foxxorcat
3e285aaec4
feat: add weiyun
support ( close #4802 in #4883 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-08-02 21:39:59 +08:00
Andy Hsu
a69d72aa20
feat(aliyundrive_open): support resource drive ( close #4889 )
2023-08-02 15:50:01 +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