Andy Hsu
75fd0ee185
feat(s3): optional remove bucket name from path ( close #4069 )
2023-04-09 19:25:52 +08:00
Andy Hsu
cc43238bd1
fix(alias): disable log completely ( #4054 )
2023-04-09 15:46:26 +08:00
Andy Hsu
c0a6beecea
fix(alias): panic on nil pointer ( close #4093 )
2023-04-09 14:06:04 +08:00
renovate[bot]
c77eebb035
fix(deps): update module golang.org/x/image to v0.7.0 ( #4065 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:51:51 +08:00
renovate[bot]
b1efb86b28
fix(deps): update module golang.org/x/net to v0.9.0 [skip ci] ( #4066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:20:19 +08:00
renovate[bot]
0707449c8f
fix(deps): update module golang.org/x/crypto to v0.8.0 [skip ci] ( #4076 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 21:18:39 +08:00
Andy Hsu
0f8a84f67e
perf(alias): disabled log on fs call ( close #4054 )
2023-04-07 00:02:07 +08:00
renovate[bot]
a475783b00
fix(deps): update module github.com/spf13/cobra to v1.7.0 [skip ci] ( #4041 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 21:41:41 +08:00
Andy Hsu
67413015e8
ci: use non-upx prebuilt for windows by default
2023-04-06 21:38:57 +08:00
renovate[bot]
3a311a47af
fix(deps): update module github.com/upyun/go-sdk/v3 to v3.0.4 ( #4039 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 17:10:31 +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
Andy Hsu
3b07c72f88
fix(proxy): ignore `Referer` if got redirect ( close #3996 )
2023-03-31 20:29:55 +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
86beadc0ed
fix: missed sign with enable `sign_all` ( close #3957 )
2023-03-26 16:19:01 +08:00
Andy Hsu
be62d64dba
chore: cancel 2fa succeed tips
2023-03-25 18:36:13 +08:00
BaiYi
112363031a
feat: add fine-grained control for link signing ( #3924 )
...
* Determine whether the URL requires Sign
* Add File and Mem based KV
NOT TESTED: TokenKV Function
* Change Token KV func to common func.
Add File based KV func
* Remove KV, Remove Token
I found that the original Sign function is enough to complete the link signature, and only need to add simple configuration items to meet the requirements.
* Add IsStorageSigned func to judge if Signing is enabled in the storage settings.
It should be working now.
* Add a SIGN button to the management panel.
* Add enable_sign to the basic storage struct.
Can enable sign for every driver now.
Bug: When sign enabled, in download page, Copy link doesn't contain a sign.
(Not done yet)
* Fix a bug from commit 8f6c25f
.
Response of fsread function does not contain sign.
* Optimize code and follow advices.
- Add back public/dist/README.md
- Enable sign when DownProxyUrl is enabled
- Merge needSign() to isEncrypt() in fsread.go
* simplify code
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2023-03-24 22:44:33 +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
zhengxiexie
c6af22b97e
feat: add thumbnail to `fs/get` api ( #3927 )
2023-03-23 13:59:39 +08:00
安静书生
b2a5110672
feat(onedrive): support application authorization method ( #3906 )
2023-03-23 13:26:03 +08:00
Andy Hsu
c628992ea6
ci: add log required on question label [skip ci]
2023-03-22 14:03:04 +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
renovate[bot]
b27eed265a
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.7 [skip ci] ( #3874 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 20:26:48 +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
b48e97d406
chore: fix release name [skip ci]
2023-03-16 22:47:01 +08:00
renovate[bot]
6c91cfeb90
chore(deps): update actions/setup-go action to v4 ( #3858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 18:28:51 +08:00
renovate[bot]
bfd1f25972
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.3.0 [skip ci] ( #3852 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 15:58:02 +08:00
Brian
8c0defce09
feat(task): add clear succeeded and retry ( #3856 close #3776 )
2023-03-16 15:56:27 +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
Brian
f3db23a41e
feat(qbittorrent): add offline download seed time ( #3842 close #3588 )
2023-03-14 12:13:23 +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