Andy Hsu
769281bd40
feat: refactor offline download ( #5408 close #4108 )
...
* wip: refactor offline download (#5331 )
* base tool
* working: aria2
* refactor: change type of percentage to float64
* wip: adapt aria2
* wip: use items in offline_download
* wip: use tool manager
* wip: adapt qBittorrent
* chore: fix typo
* Squashed commit of the following:
commit 4fc0a77565
Author: Andy Hsu <i@nn.ci>
Date: Fri Oct 20 21:06:25 2023 +0800
fix(baidu_netdisk): upload file > 4GB (close #5392 )
commit aaffaee2b5
Author: gmugu <94156510@qq.com>
Date: Thu Oct 19 19:17:53 2023 +0800
perf(webdav): support request with cookies (#5391 )
commit 8ef8023c20
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 cdfbe6dcf2
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Wed Oct 18 16:27:07 2023 +0800
fix: hash gcid empty file (#5394 )
commit 94d028743a
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 7f7335435c
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 b9e192b29c
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 69a98eaef6
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 1ebc96a4e5
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 66e2324cac
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:23:11 2023 +0800
chore(deps): upgrade dependencies
commit 7600dc28df
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 8ef89ad0a4
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 35d672217d
Author: jeffmingup <1960588251@qq.com>
Date: Sun Oct 8 19:29:45 2023 +0800
fix(onedrive_app): incorrect api on `_accessToken` (#5346 )
commit 1a283bb272
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 a008f54f4d
Author: nkh0472 <67589323+nkh0472@users.noreply.github.com>
Date: Thu Oct 5 13:10:51 2023 +0800
docs: minor language improvements (#5329 ) [skip ci]
* fix: adapt update progress type
* Squashed commit of the following:
commit 65c5ec0c34
Author: itsHenry <2671230065@qq.com>
Date: Sat Nov 4 13:35:09 2023 +0800
feat(cloudreve): folder size count and switch (#5457 close #5395 )
commit a6325967d0
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Oct 30 15:11:20 2023 +0800
fix(deps): update module github.com/charmbracelet/lipgloss to v0.9.1 (#5234 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 4dff49470a
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Oct 30 15:10:36 2023 +0800
fix(deps): update golang.org/x/exp digest to 7918f67 (#5366 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit cc86d6f3d1
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun Oct 29 14:45:55 2023 +0800
fix(deps): update module golang.org/x/net to v0.17.0 [security] (#5370 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit c0f9c8ebaf
Author: Andy Hsu <i@nn.ci>
Date: Thu Oct 26 19:21:09 2023 +0800
feat: add ignore direct link params (close #5434 )
2023-11-06 16:56:55 +08:00
sheltonzhu
3bbdd4fa89
fix(115): fix driver package import and variable ( #5482 )
...
names
2023-11-06 16:53:57 +08:00
itsHenry
65c5ec0c34
feat(cloudreve): folder size count and switch ( #5457 close #5395 )
2023-11-04 13:35:09 +08:00
Andy Hsu
4fc0a77565
fix(baidu_netdisk): upload file > 4GB ( close #5392 )
2023-10-20 21:06:25 +08:00
gmugu
aaffaee2b5
perf(webdav): support request with cookies ( #5391 )
2023-10-19 19:17:53 +08:00
NewbieOrange
8ef8023c20
fix(aliyundrive_open): upload progress for normal upload ( #5398 )
2023-10-19 19:17:09 +08:00
itsHenry
7f7335435c
feat(cloudreve): support thumbnail ( #5373 close #5348 )
...
* feat(cloudreve): support thumbnail
* chore: remove unnecessary code
2023-10-14 13:12:46 +08:00
foxxorcat
b9e192b29c
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>
2023-10-12 20:57:12 +08:00
Andy Hsu
7600dc28df
fix(aliyundrive_open): change default api to raw server ( close #5358 )
2023-10-10 18:13:58 +08:00
foxxorcat
8ef89ad0a4
fix(baidu_netdisk): hash and `error 2` ( #5356 )
...
* fix(baidu):hash and error:2
* fix:invalid memory address
2023-10-10 18:08:27 +08:00
jeffmingup
35d672217d
fix(onedrive_app): incorrect api on `_accessToken` ( #5346 )
2023-10-08 19:29:45 +08:00
foxxorcat
1a283bb272
feat(google_drive): add `hash_info`, `ctime`, `thumbnail` ( #5334 )
2023-10-06 16:04:39 +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
Andy Hsu
1dc1dd1f07
feat(aliyundrive_open): support `livp` format file download ( close #4890 )
2023-08-01 21:50:25 +08:00
foxxorcat
c9ea9bce81
feat(lanzou): support login with account ( close #4880 in #4885 )
2023-08-01 19:44:57 +08:00
foxxorcat
9f08353d31
feat(baidu_photo): optional delete album origin file ( close #4872 in #4875 )
2023-07-31 18:29:45 +08:00
foxxorcat
06f46206db
fix(baidu_photo): album download ( close #4603 in #4871 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-07-31 16:27:16 +08:00
Andy Hsu
b12d92acc9
perf(baidu_netdisk): optimize memory allocate
2023-07-29 17:12:43 +08:00
Andy Hsu
7e9cdd8b07
fix(aliyundrive_open): fail limit on concurrently call ( #4851 )
2023-07-28 15:55:39 +08:00
meozky
cee6bc6b5d
fix(terabox): slice out of range ( close #4858 in #4860 )
2023-07-28 15:52:20 +08:00
Andy Hsu
cfd23c05b4
fix(139): upload empty file ( close #4711 )
2023-07-27 19:26:22 +08:00
Andy Hsu
2e23ea68d4
fix(aliyundrive_open): increase limit interval ( close #4851 )
2023-07-27 18:26:11 +08:00
Bnq Dzj
4afa822bec
fix(123): Use APP-side API ( close #4834 in #4856 )
2023-07-27 15:51:59 +08:00
Andy Hsu
4c2535cb22
fix(115): `user-agent` lost on upload ( close #4831 )
2023-07-23 15:18:33 +08:00
Andy Hsu
d4ea8787c9
fix(123): upload file size that less than 16 MB ( close #4816 )
2023-07-21 14:35:18 +08:00
Rui Tang
a4de04528a
fix(123): `auth-key` verification ( close #4811 in #4814 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-07-21 14:33:45 +08:00
Andy Hsu
6ec9a8d4c7
fix(aliyundrive_open): the temp file is not delete ( close #4777 )
2023-07-16 15:01:22 +08:00
Andy Hsu
3f7882b467
feat(aliyundrive_open): rapid upload ( close #4766 )
2023-07-15 19:33:46 +08:00
Andy Hsu
a4511c1963
refactor: change hash function
2023-07-15 16:29:44 +08:00
Andy Hsu
9d1f122717
fix(local): thumbnail rotated if exist orientation tag ( close #4749 )
2023-07-15 14:31:03 +08:00
Andy Hsu
5dd73d80d8
fix(123): remove stream upload method ( close #4772 )
2023-07-14 19:12:18 +08:00
Andy Hsu
fce872bc1b
feat(123): thumbnail support ( #3953 )
2023-07-14 14:43:40 +08:00
Andy Hsu
df6c4c80c2
fix(123): update app-version ( close #4758 )
2023-07-14 14:17:29 +08:00
Andy Hsu
d2ff040cf8
feat(s3): add `SessionToken` field ( close #4761 )
2023-07-13 15:58:19 +08:00
foxxorcat
a31af209cc
fix(pikpak): hash calculation and fast upload judgment ( #4745 fix #1081 )
2023-07-11 22:19:21 +08:00
Andy Hsu
6887f14ec6
feat(pikpak): allow disable media link ( close #4735 )
2023-07-11 13:40:58 +08:00
Andy Hsu
61101a60f4
fix(s3): unable to copy empty folder ( close #4620 )
2023-07-10 14:55:19 +08:00
foxxorcat
3529023bf9
fix(mopan): size field type( close #4734 in #4736 )
2023-07-10 14:25:27 +08:00
Andy Hsu
fa66358b1e
fix(sftp): read target obj of symlink file ( close #4713 )
2023-07-09 14:42:57 +08:00
Andy Hsu
d17f7f7cad
fix(123): judge status on get redirect_url ( close #4718 )
2023-07-07 19:55:37 +08:00
Andy Hsu
4fabc27366
fix(aliyundrive_open): panic if driver not init
2023-07-05 13:51:46 +08:00
Andy Hsu
5e8bfb017e
fix(123): add `Referer` to request ( close #4631 )
2023-07-04 18:36:46 +08:00
foxxorcat
f09bb88846
fix(thunder): upload issues ( close #4663 in #4667 )
2023-06-29 13:21:30 +08:00
foxxorcat
c518f59528
feat: add `MoPan` driver ( close #4325 in #4659 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-06-28 14:53:43 +08:00
wenmig
21b8e7f6e5
fix(aliyundrive_share): add limit rate and lift rate limit restrictions ( #4587 )
2023-06-26 14:49:21 +08:00
Andy Hsu
2ae9cd8634
fix(dropbox): failed get link in #4639
...
close cfee536b96 (commitcomment-119404554)
2023-06-25 17:07:31 +08:00
wenmig
cfee536b96
feat: add Dropbox driver ( #4639 close #4590 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-06-23 17:36:40 +08:00
william
1c8fe3b24c
fix(aliyundrive_open): adaptive part size adjustment ( #4609 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-06-23 14:25:30 +08:00
Andy Hsu
84e23c397d
fix(baidu_netdisk): rollback #3652 ( close #4628 )
2023-06-21 18:37:25 +08:00
Andy Hsu
f7baec2e65
feat: add `WoPan` driver ( close #4541 )
2023-06-17 20:20:00 +08:00
wenmig
378bab32f1
chore(aliyundrive_share): increase the `limit` of the list api ( #4588 )
2023-06-17 20:10:34 +08:00
Andy Hsu
6cd8151cad
fix(aliyundrive_open): change default `oauth_token_url`
2023-06-16 15:03:27 +08:00
Andy Hsu
ca5a53fc24
fix(aliyundrive_open): `openFile/list` rate limit
2023-06-11 18:18:09 +08:00
Andy Hsu
e23f00f349
fix(139): avoid panic due to `Authorization` for emptiness
2023-06-10 00:12:04 +08:00
Andy Hsu
a66b0e0151
feat(139): auto extract account from `Authorization`
2023-06-09 23:41:41 +08:00
Andy Hsu
3bfa00d5d2
fix(189pc): add `REQID` header
2023-06-09 23:33:12 +08:00
Andy Hsu
6cbd2532cc
fix(139): modify the authentication mode
2023-06-09 23:02:02 +08:00
hunshcn
47976af0d3
feat: set `ProxyFromEnvironment` for default http client ( #4546 )
2023-06-09 22:08:54 +08:00
Andy Hsu
4dca52be85
fix(s3): optional add filename to disposition ( close #4538 )
2023-06-06 22:47:27 +08:00
Andy Hsu
1e62666406
feat(baidu_netdisk): allow custom crack ua
2023-06-04 15:57:41 +08:00
Andy Hsu
b124fdc092
perf(baidu): avoid refreshing the token on every startup
2023-06-02 18:31:42 +08:00
KAAAsS
8421c72c5c
fix(seafile): driver panic while downloading or uploading file ( #4491 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-28 16:45:46 +08:00
KAAAsS
a80e21997c
feat(cloudreve): auto remove trailing slash in address ( #4492 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-28 16:18:09 +08:00
Andy Hsu
4369cbbac3
fix(alist_v3): missed `Content-Length` on upload ( close #4457 )
2023-05-27 20:23:36 +08:00
zqxiaojin
89f76d7899
feat: add `UC` driver ( close #1127 in #4459 )
...
Co-authored-by: lj98568 <lj98568@alibaba-inc.com>
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-27 19:36:14 +08:00
foxxorcat
ef68f84787
fix(baidu_photo): legal album title check ( close #4479 in #4487 )
2023-05-27 17:07:57 +08:00
foxxorcat
2c1f70fbe9
fix(189pc): large file upload error ( close #4417 in #4438 )
2023-05-27 14:28:58 +08:00
Andy Hsu
b2f5757f8d
fix(copy): copy from driver that return `writer` ( close #4291 )
2023-05-26 21:57:43 +08:00
plzzzzg
6b97b4eb20
feat(s3): set content type from stream when uploading ( #4460 )
...
Co-authored-by: guopeilun <guopl@flatincbr.com>
2023-05-24 18:02:49 +08:00
Noah Hsu
571bcf07b0
fix(alias): add api prefix for proxy url ( close #4392 )
2023-05-19 00:12:57 +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
3c4c2ad4e0
feat(teambition): support s3 upload method ( close #4365 )
2023-05-13 23:06:25 +08:00
Andy Hsu
077a525961
fix(189): adapt new login method ( close #4378 )
2023-05-13 17:28:40 +08:00
william
c19166be1c
feat(google_drive): support sa ( close #3132 in #4360 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-12 14:47:50 +08:00
Andy Hsu
daad61443c
feat(local): support thumbnail cache ( close #4216 )
2023-05-11 19:57:24 +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
安稳
d41d868a8d
fix(baidu_photo): change folder name length limit ( close #4351 in #4353 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-09 20:44:57 +08:00
Xi Wuuuuuuuuuuuu~~~~~~~~~~~~~~~
9502f5acd7
fix(cloudreve): skip init login when using cookie ( #4341 )
2023-05-08 19:25:36 +08:00
Xi Wuuuuuuuuuuuu~~~~~~~~~~~~~~~
b03879403f
feat(cloudreve): support use cookie to login ( close #4324 in #4339 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-08 15:19:51 +08:00
Andy Hsu
ee4ac81677
fix(webdav): can't rename on infini-cloud ( close #4333 )
2023-05-08 14:21:12 +08:00
陈佳
ee6c31332d
feat(drivers): ipfs api ( #4265 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-05-05 17:42:22 +08:00
Andy Hsu
c77ed5fcb0
feat(aliyundrive_open): limit rate for `List` and `Link` ( close #4290 )
2023-05-02 22:06:03 +08:00
Andy Hsu
822be17fb9
feat(aliyundrive_open): add expiration for link ( close #4061 )
2023-05-02 16:12:40 +08:00
Noah Hsu
4bf46268da
feat(alias): support thumbnail ( close #4256 )
2023-04-28 00:17:15 +08:00
Noah Hsu
b7ea73b3c2
fix(aliyundrive_open): can't refresh token if access_token is empty ( #4255 )
2023-04-28 00:01:47 +08:00
Andy Hsu
9fbc54314d
chore(aliyundrive_open): change base url
2023-04-27 16:38:40 +08:00
Andy Hsu
cf8ab29a17
feat: optional allow be mounted ( close #4218 )
2023-04-27 16:33:01 +08:00
Andy Hsu
9d55ad3af6
fix(123): get download url ( close #4244 )
2023-04-26 15:06:24 +08:00
Andy Hsu
36cd504783
fix(alist_v3): missed meta_password update
...
fix: adb0739dfe (commitcomment-110328033)
2023-04-24 20:56:46 +08:00
foxxorcat
49f13b9b90
fix(baidu_photo): upload file has web prefix ( close #4233 in #4235 )
2023-04-24 19:13:33 +08:00
Andy Hsu
adb0739dfe
feat!(alist_v3): support username & password login ( close #4226 )
...
Breaking changes:
- rename access_token to token
- rename old password to meta_password
2023-04-23 17:48:26 +08:00
Andy Hsu
8711f2a1c5
feat(quark): shard request file ( close #4175 )
2023-04-17 15:33:38 +08:00
Andy Hsu
7f35aab071
revert(quark): remove preset range header
2023-04-17 14:39:21 +08:00
Andy Hsu
ecd167d2f9
feat(quark): add preset range header ( close #4166 )
2023-04-16 19:26:03 +08:00
Andy Hsu
5cba10446e
fix(123): adapt new upload method ( close #4141 )
2023-04-14 15:48:39 +08:00
Andy Hsu
c5f6a90f54
fix(quark): download file size limit ( close #4140 )
2023-04-14 13:47:05 +08:00
Andy Hsu
fdcad9c154
fix(123): incorrect endpoint ( close #4046 )
2023-04-12 23:04:12 +08:00
Andy Hsu
570b8be022
fix(onedrive): error check in `upBig`
2023-04-11 22:52:42 +08:00
Andy Hsu
75fd0ee185
feat(s3): optional remove bucket name from path ( close #4069 )
2023-04-09 19:25:52 +08:00
Andy Hsu
c0a6beecea
fix(alias): panic on nil pointer ( close #4093 )
2023-04-09 14:06:04 +08:00
Andy Hsu
0f8a84f67e
perf(alias): disabled log on fs call ( close #4054 )
2023-04-07 00:02:07 +08:00
Andy Hsu
9ccd802126
fix(123): api prefix changed ( close #4038 )
2023-04-04 16:39:56 +08:00
Andy Hsu
0acba7cd22
perf(123): reduce login count
2023-04-03 11:24:29 +08:00
Night Space
3cdb8e7a81
fix(trainbit): incorrect filename display ( #4027 )
2023-04-02 21:13:20 +08:00
Andy Hsu
d3efee2ea1
fix(s3): increase `PartSize` if filesize > 50000MB ( close #4017 )
2023-04-02 16:09:27 +08:00
NewbieOrange
4ec274e748
fix(aliyundrive_open): refresh upload url if expired ( #3999 close #3823 )
...
* fix(aliyundrive_open): refresh upload url for large files
* fix(aliyundrive_open): retry upload on url expiry
* fix(aliyundrive_open): ignore 409 error
* feat(aliyundrive): cleanup upload retry logic
* feat(util): add multireadable io utility
* feat(aliyundrive_open): make upload fully stream
* feat(aliyundrive_open): refresh upload url every 20 puts
* fix(aliyundrive_open): part info panic
* chore: change refresh upload url strategy
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2023-04-01 14:54:29 +08:00
Wuxuan
0c5820a98f
docs(aliyundrive_open): revised the sentence that may cause ambiguity ( #3989 )
2023-03-29 20:26:21 +08:00
Andy Hsu
48dc3552a6
fix(url_tree): incorrect tree structure
2023-03-24 20:34:03 +08:00
Brian
663814c9ef
fix(url_tree): fix test url [skip ci] ( #3940 )
2023-03-24 20:26:00 +08:00
Andy Hsu
bd892e6a63
feat(drivers): new driver `UrlTree` ( close #3268 in #3933 )
...
* feat(drivers): new driver `urls` (close #3268 )
* chore: rename
* support customize basic info or get from url
* dfs tree to calculate folder size
* go mod tidy
* add help message
2023-03-24 15:13:54 +08:00
sheltonzhu
4fd2c09845
fix(115): download issue due to ua ( close #3931 in #3932 )
2023-03-23 22:57:44 +08:00
XZB-1248
0eab31bdf5
fix(local): filename with whitespace issue ( #3928 )
...
* fix(local): filename whitespace problem
* fix(deps): remove deprecated package io/ioutil
---------
Co-authored-by: XZB <i@1248.ink>
2023-03-23 15:18:37 +08:00
安静书生
b2a5110672
feat(onedrive): support application authorization method ( #3906 )
2023-03-23 13:26:03 +08:00
Brian
c65d868e09
fix(baidu_share): large file download ( #3887 close #3876 )
...
* fix(baidushare): large file download
* refactor: optimize client
2023-03-20 17:46:15 +08:00
Andy Hsu
aeb48b2ecc
perf(aliyundrive_open): don't refresh token on init if token valid
2023-03-20 15:00:02 +08:00
Andy Hsu
cefec1a663
style: sort imports
2023-03-20 14:59:01 +08:00
panici
e7ad830aa8
fix(cloudreve): captcha code ocr ( #3889 close #3662 )
2023-03-19 20:30:39 +08:00
Night Space
3abe26473c
fix(trainbit): decode html code ( #3883 )
2023-03-19 15:25:06 +08:00
Night Space
023107226c
fix(trainbit): remove unnecessary operation ( #3881 )
2023-03-18 13:52:36 +08:00
Andy Hsu
8b109cfe40
fix(smb): byte alignment ( close #3868 )
2023-03-17 16:32:34 +08:00
Andy Hsu
a1e88cfa05
fix(teambition): empty token for upload ( close #3854 )
2023-03-15 14:56:41 +08:00
Andy Hsu
443f5ffbcc
feat(alias): auto flatten if only one root
2023-03-14 20:25:52 +08:00
Andy Hsu
b8bc94306d
fix(alias): check obj exist for every storage (fix d9795ff
)
2023-03-14 20:11:25 +08:00
Andy Hsu
d9795ff22f
feat(alias): support proxy and direct together
2023-03-14 13:46:27 +08:00
XZB-1248
c4108007cd
fix: spaces in filename will be replaced with plus sign ( #3841 )
...
Co-authored-by: XZB <i@1248.ink>
2023-03-14 12:27:42 +08:00
sheltonzhu
4741a75c92
feat(115): update upload api to v4.0 add pagesize option ( #3840 close #3753 )
2023-03-13 20:02:52 +08:00
Andy Hsu
301756ba03
feat(drivers): alias a new storage with multi path ( close #3248 )
2023-03-13 15:35:37 +08:00
Night Space
3b2703a5e5
feat(drivers): add the support for Trainbit ( #3813 )
...
* feat: add the support for Trainbit
read only
* feat: add the support for Trainbit
modify the structure of code
allow to create folder, move, rename and remove
* feat: add the support for Trainbit
allow to upload file
* feat: add the support for Trainbit
get token from page
* feat: add the support for Trainbit
display progress of updating
* feat: add the support for Trainbit
fix bug of time zone
* feat: add the support for Trainbit
fix the bug of filename
2023-03-12 22:18:55 +08:00
Brian
2a601f06cb
feat(drivers): add BaiduYun share link support ( #3801 )
...
新增百度网盘分享链接挂载
2023-03-12 14:00:11 +08:00
NewbieOrange
adc3a56552
feat(aliyundrive): make checksum cancellable ( #3814 )
2023-03-12 13:59:40 +08:00
hcrgm
4d9a29bddd
feat(ftp): support seek/range request ( #3811 )
2023-03-11 21:02:47 +08:00
fregie
d06c605421
fix: smb drive lastConnTime data race ( #3787 close #3782 )
2023-03-10 15:59:53 +08:00
Wuxuan
02d0aef611
feat(aliyundrive_open): add internal upload (aliyun ECS for Beijing area only) ( #3775 )
2023-03-09 20:48:30 +08:00
Andy Hsu
5596661ce8
feat(aliyundrive_open): optional delete file directly ( close #3769 )
2023-03-08 19:19:13 +08:00
LisonFan
75b4429f73
feat(quark): enable `NoOverwriteUpload` ( #3720 )
2023-03-05 18:00:00 +08:00
Andy Hsu
34ef6bd18d
feat(115): enable `NoOverwriteUpload` [skip ci] ( close #3669 )
2023-03-05 17:59:19 +08:00
Andy Hsu
c915313ec9
feat: rename then delete if storage doesn't support overwrite upload ( close #3643 )
2023-03-05 15:36:12 +08:00
Andy Hsu
f442185aa5
perf(123): optimize login error
2023-02-28 21:17:15 +08:00
Admire
53a1c4283b
fix(baidu_netdisk): maybe optimize crack api ( #3652 )
...
User-Agent to netdisk and remove origin=dlna(is baned)
2023-02-28 18:27:07 +08:00
Andy Hsu
c9c4d6bc7e
fix!(local): perm on mkdir ( close #3626 )
2023-02-26 21:25:32 +08:00
Andy Hsu
4dd753de52
fix(aliyundrive_open): missed `expire_sec` while get link ( close #3610 )
2023-02-25 17:54:36 +08:00
Andy Hsu
79df63d319
chore(aliyundrive): change alert info
2023-02-25 14:28:27 +08:00
Andy Hsu
ec54831162
fix: only refresh token while do request ( close #3591 )
2023-02-24 20:31:12 +08:00
Andy Hsu
4be8524d80
feat: add alert for driver
2023-02-23 22:03:11 +08:00
Andy Hsu
f95d843969
feat(aliyundrive): add url_expire_sec for video preview ( close #3522 )
2023-02-23 20:50:31 +08:00
Andy Hsu
28aee8c493
feat: add aliyundrive open driver ( #3437 )
...
close #3533
close #3521
close #3459
close #3375
* feat: add aliyundrive open driver
* feat: adapt alist api
* fix: trailing spaces
* feat(aliyundrive_open): video preview api
2023-02-23 20:45:57 +08:00
GodFinal
309d6558fb
feat(local): add thumbnail for video with ffmpeg ( #3556 )
...
* feat(local): add ffmpeg
* fix: missed `+`
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2023-02-22 21:19:42 +08:00
Andy Hsu
e39299bfe2
fix(local): missed type of `MkdirPerm` ( 923937b
)
2023-02-21 17:45:15 +08:00
Andy Hsu
fd36ce59f6
fix(onedrive): either id or path in parentReference must be specified ( close #3028 )
2023-02-21 16:19:46 +08:00
Andy Hsu
95b3b87672
feat(sftp): support range header
2023-02-20 16:57:52 +08:00
Andy Hsu
0d07d81802
feat(smb): support range header ( close #3192 )
2023-02-20 16:46:38 +08:00
Andy Hsu
923937b530
feat(local): custom mkdir perm ( close #3196 )
2023-02-20 16:20:36 +08:00