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
541449e10f
docs: add special sponsor [skip ci]
2023-06-14 05:42:21 +08:00
Andy Hsu
ca5a53fc24
fix(aliyundrive_open): openFile/list rate limit
2023-06-11 18:18:09 +08:00
BoYanZh
f646d2a699
feat!: listen to both http & https ( #4536 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-06-11 18:17:37 +08:00
Andy Hsu
363e036bf0
chore: fix typo [skip ci]
2023-06-10 22:25:35 +08:00
Andy Hsu
e23f00f349
fix(139): avoid panic due to Authorization for emptiness
2023-06-10 00:12:04 +08:00
Andy Hsu
9600267bda
ci: add linux-musl-amd64/arm64 to dev build
2023-06-09 23:43:52 +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
62bb09300d
chore: fix typo [skip ci]
2023-06-06 19:34:10 +08:00
Andy Hsu
f9e067abec
feat: support delayed start ( #4532 )
2023-06-05 16:00:31 +08:00
Andy Hsu
1e62666406
feat(baidu_netdisk): allow custom crack ua
2023-06-04 15:57:41 +08:00
Andy Hsu
0e0cdf15ef
chore: change daysUntilClose [skip ci]
2023-06-03 21:15:52 +08:00
Andy Hsu
b124fdc092
perf(baidu): avoid refreshing the token on every startup
2023-06-02 18:31:42 +08:00
renovate[bot]
5141b3c165
fix(deps): update module github.com/gin-gonic/gin to v1.9.1 [security] [skip ci] ( #4521 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 18:31:14 +08:00
Mg Pig
881d6e271e
feat: add OIDC single sign-on ( #4496 )
...
close #3914
close #4315
2023-06-02 18:22:07 +08:00
Andy Hsu
bd2418c438
feat(deps): update alpine to 3.18
2023-05-28 19:30: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
renovate[bot]
645c10c11f
fix(deps): update module github.com/sirupsen/logrus to v1.9.2 ( #4402 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:15:32 +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
Andy Hsu
5be79eb26e
feat: add robots.txt setting ( close #4303 )
2023-05-12 16:53:15 +08:00
renovate[bot]
ddc19ab699
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.8 [skip ci] ( #4322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 16:34:25 +08:00
renovate[bot]
ddfca5a29b
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.262 ( #3285 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 16:25:30 +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
f97f1d532e
fix(webdav): don't retry for put if body isn't seeker ( close #4149 close #4238 )
2023-05-11 18:57:35 +08:00
Andy Hsu
e15755fef0
fix(189): enable TlsInsecureSkipVerify ( close #4355 )
2023-05-11 18:48:31 +08:00
安稳
ea88998325
docs: add help message for mount path ( #4364 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-05-11 18:40:56 +08:00
LMXiao
74d971aa8a
docs: fix git address [skip ci] ( #4366 )
2023-05-11 15:05:33 +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
renovate[bot]
555cc26cbf
fix(deps): update module golang.org/x/crypto to v0.9.0 ( #4350 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 20:28:52 +08:00
renovate[bot]
ab4215080b
fix(deps): update module golang.org/x/net to v0.10.0 ( #4347 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 16:31:17 +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
Andy Hsu
b69fc8c306
ci: increase daysUntilClose to avoid use stale-bot [skip ci]
2023-05-07 21:07:31 +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
9fa16bd5fc
ci: use github helper to close stale issue
2023-05-05 16:29:59 +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
Andy Hsu
7e3b13ea2d
fix: fs/list interface conversion from copy alias ( close #4279 )
2023-05-01 15:45:45 +08:00
hsluoyz
f8fb48fb32
fix: cannot connect to Casdoor SSO ( close #4266 in #4274 )
2023-05-01 15:32:34 +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
51cadd2d49
fix: ignore handle in json ( close #4251 close #4252 )
2023-04-27 15:39:32 +08:00
longxu0509
2bae8e129e
feat: add Casdoor single sign-on ( #4222 )
2023-04-26 16:01:40 +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: https://github.com/alist-org/alist/commit/adb0739dfed02a6c421bb0209e6856e73330bd6c#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
Brian
340cb940e3
fix(qbittorrent): set autoTMM ( #4217 )
2023-04-22 13:33:54 +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
varg1714
220fd30830
fix: the recursive subdirectory moving bug ( #4171 )
2023-04-16 16:08:12 +08:00
Andy Hsu
5cba10446e
fix(123): adapt new upload method ( close #4141 )
2023-04-14 15:48:39 +08:00
Andy Hsu
a9bdb15205
ci: fix golang version in auto_lang [skip ci]
2023-04-14 13:49:13 +08:00
Andy Hsu
c5f6a90f54
fix(quark): download file size limit ( close #4140 )
2023-04-14 13:47:05 +08:00
varg1714
46f9aefb04
feat: empty folder clear API [ckip ci] ( #4132 )
...
* 增加清理空文件夹API
* 修复嵌套文件夹删除Bug
Author: varg247 <varg247@gmail.com >
---------
Co-authored-by: varg247 <varg247@qq.com >
2023-04-13 15:39:21 +08:00
Andy Hsu
fdcad9c154
fix(123): incorrect endpoint ( close #4046 )
2023-04-12 23:04:12 +08:00
Andy Hsu
027025361a
ci: fixed version of alpine
2023-04-12 16:01:49 +08:00
Andy Hsu
f1245153b9
chore(deps): upgrade to go@1.20
2023-04-12 15:42:27 +08:00
Andy Hsu
570b8be022
fix(onedrive): error check in upBig
2023-04-11 22:52:42 +08:00
Andy Hsu
86a773674a
feat(task): print stack trace if panic
2023-04-11 15:16:57 +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
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
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
hcrgm
666e02f0c3
fix(storage): explicitly set storages' status to disabled ( #3810 )
2023-03-11 20:45:35 +08:00
Ke Xu
6aaec19c1c
feat: allow override startup command for Docker image ( #3800 )
...
This is to enable the use case where the stock Docker image is used with
different flags. E.g. `docker run xhofe/alist:latest ./alist server --data=mydata`
This was the behavior until PR#2818 changed it. This would make the image more usable.
2023-03-11 15:33:59 +08:00
varg1714
1091e1b740
feat: file aggregation and regular rename api ( #3788 )
...
* 增加文件聚合接口,将给定文件夹下所有文件移动到目标文件夹。
* 增加文件正则重命名接口。
---------
Co-authored-by: varg247 <varg247@qq.com >
2023-03-10 19:01:49 +08:00
fregie
d06c605421
fix: smb drive lastConnTime data race ( #3787 close #3782 )
2023-03-10 15:59:53 +08:00
Andy Hsu
43de823058
fix: path IsApply check ( close #3784 )
2023-03-09 21:03:56 +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
Andy Hsu
2379cb8d67
style: go mod tidy
2023-03-08 19:08:11 +08:00
Andy Hsu
8c0ebe0841
revert: "fix(deps): update module gorm.io/gorm to v1.24.6 ( #3684 )" ( close #3746 )
...
This reverts commit c595fd7f94 .
2023-03-08 19:07:04 +08:00
renovate[bot]
fd868bac84
fix(deps): update module github.com/caarlos0/env/v7 to v7.1.0 ( #3763 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:21:43 +08:00
Andy Hsu
ebcbb29a0f
feat: ping api ( close #3752 )
2023-03-07 19:05:52 +08:00
Andy Hsu
00ff0a43a7
feat(cmd): disable a storage with specific mountPath ( close #3564 )
2023-03-07 19:01:40 +08:00
Andy Hsu
3d3f23ec9e
fix: upload check if disable sub folder ( close #3741 )
2023-03-07 14:13:39 +08:00
NewbieOrange
d484219c48
fix(security): compare auth token in constant time ( #3740 close #3739 )
2023-03-06 23:41:06 +08:00
itsHenry
dd4c97393e
feat: show sso settings at a more reasonable sort ( #3735 )
2023-03-06 20:59:45 +08:00
Andy Hsu
07b8ff25a7
ci: auto release desktop
2023-03-06 18:05:57 +08:00
renovate[bot]
0d5c3c5080
fix(deps): update module github.com/deckarep/golang-set/v2 to v2.2.0 [skip ci] ( #3727 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 17:54:17 +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
12a095a1d6
fix: slice bounds out of range on CanAccess check
2023-03-05 15:29:53 +08:00
Andy Hsu
dc000f640a
feat: optional log to std
2023-03-05 15:07:06 +08:00
renovate[bot]
aa1c5b2be3
fix(deps): update module golang.org/x/crypto to v0.7.0 [skip ci] ( #3717 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 14:32:41 +08:00
renovate[bot]
1d4ec3c50d
fix(deps): update module golang.org/x/net to v0.8.0 [skip ci] ( #3715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 14:32:26 +08:00
renovate[bot]
ebfeef52f4
fix(deps): update module golang.org/x/image to v0.6.0 [skip ci] ( #3714 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 13:52:53 +08:00
renovate[bot]
c595fd7f94
fix(deps): update module gorm.io/gorm to v1.24.6 ( #3684 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 19:15:50 +08:00
renovate[bot]
421052f88a
fix(deps): update github.com/t3rm1n4l/go-mega digest to a01a2cd ( #3665 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 19:03:38 +08:00
itsHenry
603681fbe6
feat: rebuild Single sign-on system ( #3649 close #3571 )
...
* rebuild single sign on system
* perf: use cache
* fix: codefactor check
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-03-02 17:55:33 +08:00
Andy Hsu
f442185aa5
perf(123): optimize login error
2023-02-28 21:17:15 +08:00
Andy Hsu
ca9e739465
fix: hide apply to sub path without enable ( close #3661 )
2023-02-28 18:43:52 +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
Karbob
93dd768234
fix(webdav): disabled is not working in webdav ( #3659 )
...
A disabled user with webdav permission can use webdav normally, which is not allowed.
2023-02-28 18:26:13 +08:00
Andy Hsu
c9c4d6bc7e
fix!(local): perm on mkdir ( close #3626 )
2023-02-26 21:25:32 +08:00
Andy Hsu
81e10f8939
ci: set prerelease before the build completes
2023-02-25 18:06:35 +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
c8f3e8ab4d
feat!: skip tls insecure verify by default
2023-02-23 22:33:54 +08:00
Andy Hsu
4be8524d80
feat: add alert for driver
2023-02-23 22:03:11 +08:00
Andy Hsu
0d3146b51d
fix(webdav): disable put with empty path ( close #3569 )
2023-02-23 21:19:50 +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
Andy Hsu
de3ea82eb9
ci: add closeComment for stale
2023-02-22 22:17:33 +08:00
renovate[bot]
268ba3d069
fix(deps): update module github.com/gin-gonic/gin to v1.9.0 [skip ci] ( #3551 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 21:24:35 +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
c08fdfc868
fix: missed assignment [skip ci]
2023-02-22 20:20:28 +08:00
Andy Hsu
1b28e6af3e
ci: replace issues-helper with stale for inactive check
2023-02-22 20:07:18 +08:00
Andy Hsu
8655e33e60
fix: incorrect api if not set site_url ( 6c2f348)
2023-02-21 19:57:50 +08:00
Andy Hsu
50579fef84
fix: cancel api replace to avoid missing host
2023-02-21 19:45:09 +08:00
Andy Hsu
e39299bfe2
fix(local): missed type of MkdirPerm ( 923937b)
2023-02-21 17:45:15 +08:00
kdxcxs
d1ab2443f1
feat(qbittorrent): delete tags when deleting qbittorrent tasks ( #3546 )
...
* feat & refactor(qbittorrent/client): support `deleteFiles` arg for `Client.Delete()` method
* feat(qbittorrent/client): also delete tags in `Client.Delete()`
2023-02-21 16:45:41 +08:00
renovate[bot]
658cf368bb
fix(deps): update github.com/t3rm1n4l/go-mega digest to b87ebf5 ( #3539 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-21 16:43:37 +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
Andy Hsu
09492193c4
fix(alist_v3): api error pass ( close #3326 )
2023-02-20 16:15:52 +08:00
Andy Hsu
40b26a81a0
fix!: change default epub viewer ( close #3519 )
2023-02-20 16:08:10 +08:00
renovate[bot]
4293a0ba8c
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.0 [skip ci] ( #3525 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 16:06:35 +08:00
Andy Hsu
6c2f3486fc
fix!: reverse proxy to sub-directory ( #3483 )
...
from this commit, if you want reverse proxy to sub-directory like `alist` with `nginx`, you need config:
```nginx
location /alist/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
proxy_redirect off;
proxy_pass http://127.0.0.1:5244/alist/ ;
# the max size of file to upload
client_max_body_size 20000m;
}
```
2023-02-18 19:03:07 +08:00
kdxcxs
3c7512f64a
fix(qbittorrent): fix two file transferring related bugs [skip ci] ( #3501 )
...
* fix(qbittorrent): delete qbittorrent task before transferring
* fix(qbittorrent): parse the path correctly when the torrent contains folders
2023-02-18 18:54:51 +08:00
renovate[bot]
84219d3d70
fix(deps): update module gorm.io/driver/mysql to v1.4.7 [skip ci] ( #3495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 18:13:41 +08:00
renovate[bot]
05d3727335
fix(deps): update module golang.org/x/image to v0.5.0 [security skip ci] ( #3489 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 18:13:22 +08:00
仝华帅
ee77c3b113
fix: friendly tip for initial logging in [skip ci] ( #3406 )
...
* refactor: friendly tip for initial logging in
* fix CodeFactor issue
more info pls refer to: https://segmentfault.com/a/1190000043031147
2023-02-18 17:53:11 +08:00
renovate[bot]
fcaf485e0b
fix(deps): update module gorm.io/driver/postgres to v1.4.8 [skip ci] ( #3496 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 17:52:03 +08:00
renovate[bot]
bd83469bb1
fix(deps): update module golang.org/x/net to v0.7.0 [security skip ci] ( #3502 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 17:51:33 +08:00
BaimoQilin
90f111b24f
docs: translate title [skip ci] ( #3498 )
...
* Update README_cn.md
* Update README_cn.md
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-18 17:50:42 +08:00
foxxorcat
7d1034c569
fix(aliyundrive): error occurred when running multiple instances at the same time ( #3448 )
...
* fix(aliyundrive):an error occurred when running multiple instances at the same time
* Update util.go
fix(aliyunpan):clear retry count
2023-02-16 22:12:19 +08:00
Andy Hsu
236c17176c
fix(123): adapt new file list api ( close #3464 )
2023-02-16 22:09:45 +08:00
Andy Hsu
6ee4c10e8f
chore(onedrive)!: change default redirect_uri [skip ci]
2023-02-16 21:37:20 +08:00
AkashiCoin
3798634028
fix(pikpak_share): change media url to content url ( close #3273 ) ( #3441 )
2023-02-16 15:42:11 +08:00
Andy Hsu
567ba5ccd4
feat(aliyundrive_share): aliyun office preview ( close #3408 )
2023-02-15 16:52:24 +08:00
Andy Hsu
ae2ee1821a
chore: change qBittorrent setting [skip ci]
2023-02-15 16:51:29 +08:00
Andy Hsu
805b1e4fa3
fix: different url encoding ( close #3423 )
2023-02-15 16:20:30 +08:00
kdxcxs
d92c10da56
fix(qbittorrent): fix multiple bugs for qbittorrent download ( close #3413 in #3427 )
...
* fix(qbittorrent): wait for qbittorrent to parse torrent and create task
#3413
* fix(qbittorrent): check task state correctly
* fix(qbittorrent): fix path sent to `op.Put()`
2023-02-15 15:58:31 +08:00
Andy Hsu
6659f6d367
fix: windows arm64 build [skip ci]
2023-02-14 20:28:05 +08:00
Andy Hsu
fe416ba15c
feat!: close sign_all by default
2023-02-14 19:20:15 +08:00
Andy Hsu
de66708b24
fix(aliyundrive): device session signature error ( #3398 )
...
* fix signature
* fix: indent-error-flow [skip ci]
2023-02-14 19:17:21 +08:00
Andy Hsu
2ca3e0b8bc
fix(123): incorrect download url ( close #3385 )
2023-02-14 15:47:41 +08:00
Andy Hsu
ae04a0a760
chore: go mod tidy
2023-02-14 15:30:33 +08:00
kdxcxs
c28168c970
feat: support qbittorrent ( close #3087 in #3333 )
...
* feat(qbittorrent): authorization and logging in support
* feat(qbittorrent/client): support `AddFromLink`
* refactor(qbittorrent/client): check authorization when getting a new client
* feat(qbittorrent/client): support `GetInfo`
* test(qbittorrent/client): update test cases
* feat(qbittorrent): init qbittorrent client on bootstrap
* feat(qbittorrent): support setting webui url via gin
* feat(qbittorrent/client): support deleting
* feat(qbittorrent/client): parse `TorrentStatus` enum when unmarshalling json in `GetInfo()`
* feat(qbittorrent/client): support getting files by id
* feat(qbittorrent): support adding qbittorrent tasks via gin
* refactor(qbittorrent/client): return a `Client` interface in `New()` instead of `*client`
* refactor: task handle
* chore: fix typo
* chore: change path
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-14 15:20:45 +08:00
foxxorcat
46b2ed2507
fix(aliyundriver):x-device-id error code ( #3390 )
...
* fix(aliyundriver):x-drvice-id error code
* fix(aliyunpan):session signature error
* fix typo
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-14 14:11:07 +08:00
NewbieOrange
22843ffc70
fix(fs): copy file if symlink failed ( #3368 )
2023-02-13 14:41:35 +08:00
NewbieOrange
e1b6368343
feat(aliyundrive): zero copy for local file uploads ( #3359 )
2023-02-12 16:13:57 +08:00
NewbieOrange
62dae50d70
feat(fs): create symbolic link instead of copy local files ( close #2186 in #3354 )
2023-02-12 16:03:11 +08:00
Andy Hsu
43a8ed472b
fix: can't login by github after disable guest ( close #3314 )
2023-02-09 20:12:04 +08:00
Andy Hsu
d87878c232
ci: cancel win/arm64 on dev build [skip ci]
2023-02-09 20:05:00 +08:00
Noah Hsu
ab7dee49b0
feat: add windows/arm64 target ( close #3308 )
2023-02-09 19:52:40 +08:00
renovate[bot]
dca115506d
fix(deps): update module golang.org/x/crypto to v0.6.0 [skip ci] ( #3315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:17:10 +08:00
renovate[bot]
be17fba0c6
fix(deps): update module golang.org/x/net to v0.6.0 [skip ci] ( #3316 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:16:43 +08:00
renovate[bot]
cd58aa5efe
fix(deps): update module gorm.io/driver/mysql to v1.4.6 ( #3311 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 16:00:08 +08:00
renovate[bot]
946833d2cc
fix(deps): update module golang.org/x/image to v0.4.0 ( #3323 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 15:59:31 +08:00
renovate[bot]
eb42d09849
chore(deps): update docker/build-push-action action to v4 ( #3200 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:22:33 +08:00
renovate[bot]
9d00492750
fix(deps): update module gorm.io/driver/postgres to v1.4.7 ( #3312 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:20:04 +08:00
renovate[bot]
b6711d6ab9
chore(deps): update actions-cool/issues-helper action to v3.4.0 ( #3279 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 22:12:02 +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
a4f4fb2d73
chore(deps): upgrade github.com/caarlos0/env
2023-02-07 19:55:55 +08:00
Noah Hsu
a181b56ea7
feat: optional forward direct link params ( close #3123 )
2023-02-07 16:39:14 +08:00
Noah Hsu
d0b743d955
fix(onedrive): downloadUrl missed on personal account ( close #3276 )
2023-02-07 16:16:29 +08:00
Noah Hsu
a985b748e9
fix: allow_indexed check ( close #3291 )
2023-02-07 15:14:39 +08:00
Andy Hsu
44cb8aaafe
feat: only log to std on debug/dev mode
2023-02-05 09:17:37 +08:00
Andy Hsu
51f5d1b3c4
fix(local): set perm 0777 for folder ( close #2996 )
2023-02-04 12:11:13 +08:00
Andy Hsu
36e0d6f787
perf(onedrive): optimize request parameter ( close #3178 )
2023-02-04 11:53:13 +08:00
Andy Hsu
3d0065bdcf
feat!: allow disable user ( close #3241 )
...
From this commit, the guest user will be disabled by default
2023-02-04 11:44:17 +08:00
renovate[bot]
7bf8071095
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.194 ( #2940 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 11:24:47 +08:00
renovate[bot]
30d39f8e10
fix(deps): update module gorm.io/gorm to v1.24.5 ( #3231 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 11:22:39 +08:00
aimuz
20d3ef7de6
fix(139): check http code & increase chunk size ( #3224 )
...
* fixed: 大文件上传导致连接重置
Signed-off-by: aimuz <mr.imuz@gmail.com >
* revert Dockerfile
---------
Signed-off-by: aimuz <mr.imuz@gmail.com >
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-04 11:20:13 +08:00
Code2qing
86e5dae4d1
fix(aliyundrive_share): no permission after share_id change ( #3246 )
2023-02-04 11:10:28 +08:00
Andy Hsu
d89b1d4871
fix(baidu_baidu_netdisk): override for create ( close #3242 )
2023-02-03 18:10:39 +08:00
Zayia
080e6fb22a
fix(google_drive): allow download abuse file ( #3217 )
...
通过添加参数acknowledgeAbuse=true,对疑似风险文件直接下载
2023-02-01 19:43:36 +08:00
Wuxuan
e1cd71616d
feat(aliyundrive): internal upload (aliyun ECS for Beijing area only) ( #3188 )
...
Co-authored-by: wangwuxuan2011 <git@wangwuxuan.cn >
2023-01-30 11:18:08 +08:00
Noah Hsu
c92e11dad5
ci: auto build docker with aria2
2023-01-27 15:16:00 +08:00
Noah Hsu
b52e8747fa
fix(alist_v3): incorrect dir on remove ( close #3154 )
2023-01-27 14:51:56 +08:00
xsgy
14305748f0
fix(lanzou): files cannot be uploaded to the specified directory ( #3157 )
...
* Update driver.go
* fix(Lanzou):files cannot be uploaded to the specified directory
Solve the problem that files cannot be uploaded to the specified directory
2023-01-27 14:46:54 +08:00
Noah Hsu
44f8112e53
fix(s3): ignore current folder in contents ( close #3137 )
2023-01-25 19:58:00 +08:00
renovate[bot]
6a90b1d40a
fix(deps): update module github.com/caarlos0/env/v6 to v7 ( #3117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 20:02:09 +08:00
Noah Hsu
b42ec3e810
fix: relative path judgment ( close #3130 )
2023-01-23 15:52:46 +08:00
panici
28875ce304
fix(alist_v3): incorrect src_dir on move and copy ( close #3121 pr #3124 )
...
* fix(alist_v3):add dir check(close #3121 )
* Update driver.go
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-22 18:52:54 +08:00
Noah Hsu
9b99e8ab70
fix(search): allow indexed check ( close #3103 )
2023-01-19 17:00:49 +08:00
Noah Hsu
98872a8fdb
fix: cancel EXCLUSIVE mode on sqlite3
...
because it will result in failure to get admin's info
2023-01-19 16:49:43 +08:00
Noah Hsu
ce4a295008
fix!: check https with X-Forwarded-Proto
...
not read old setting `api_url` and `base_path` from this commit
2023-01-19 12:16:42 +08:00
xsgy
bc1babb5b5
fix(lanzou): shortened filename when uploading files ( #3099 )
2023-01-19 12:05:14 +08:00
Noah Hsu
d61242d85d
feat: add wma to default audio types ( close #3088 )
2023-01-18 10:50:28 +08:00
Noah Hsu
99d7105357
fix: move virtual files to end ( close #3052 )
2023-01-18 10:23:54 +08:00
BoYanZh
be8a9c5f07
fix: mark progress as done after clear ( #3086 )
2023-01-18 09:39:32 +08:00
Wuxuan
530e74c70b
fix: avoid regular expression match current directory ( #3078 )
...
* fix: avoid regular expression match current directory
* fix: optimize and regexp exclude slash
Co-authored-by: wuxuan <refused@wuxuan.eu.org >
2023-01-17 21:54:25 +08:00
Gao Mingfei
0a337756ba
fix(quark): upload file integer divide by zero panic. ( close #3076 pr #3077 )
2023-01-17 18:02:06 +08:00
Noah Hsu
26fe0a7684
feat: customize index max depth
...
Because some driver's issue may cause infinite loop
2023-01-17 17:33:18 +08:00
Aoang
9c7e451c03
perf: optimize sqlite3 ( #3074 )
...
- use journal mode to WAL
- set locking mode to EXCLUSIVE
- set auto vacuum
ref:
- https://www.sqlite.org/pragma.html#pragma_journal_mode
- https://www.sqlite.org/pragma.html#pragma_locking_mode
- https://www.sqlite.org/pragma.html#pragma_auto_vacuum
2023-01-17 17:06:11 +08:00
Noah Hsu
8df1455f25
workflow: add tips for Reproduction
2023-01-17 16:34:56 +08:00
Noah Hsu
9d9377f65d
fix(local): incorrect path of thumbnail (for 6453ae0)
2023-01-16 20:02:30 +08:00
Noah Hsu
8b523fab8b
revert: add Getter interface back
2023-01-16 19:55:43 +08:00
Noah Hsu
6453ae0968
fix(search): empty parent where update ( close #2810 )
2023-01-16 17:33:24 +08:00
清靈語
1cfd47a258
feat: install tzdata in the docker image ( #3056 )
...
* disable caching of repository metadata and installation of tzdata
* add TZ variable example
2023-01-16 13:43:15 +08:00
BoYanZh
8e2069c554
fix: db non full-text import error ( #3055 )
2023-01-15 23:49:23 +08:00
Noah Hsu
6b8778a63c
fix: don't save if refresh token is empty ( close #2957 )
2023-01-14 20:33:07 +08:00
Zexi
aaa8c440fe
fix(seafile): token refresh ( #3010 )
...
* docs: add Seafile support
* fix: Seafile token refresh
2023-01-13 21:20:21 +08:00
panici
2dc5dec83c
feat: add Cloudreve driver ( close #2658 in #2997 )
...
* feat: add cloudreve support
add cloudreve support
(#2658 )
* docs(README): add suppuort cloudreve
* fix(cloudreve): add cookie refresh
Co-authored-by: panici <zhangjun@zjdeMacBook-Pro.local >
2023-01-12 19:57:43 +08:00
Code2qing
1eca2b83ed
perf(terabox): optimize prompt message ( #3002 )
...
* perf(terabox):prompt login status when init the driver
* docs:add Terabox
* perf(terabox):prompt area is not available
* style(terabox): del else
2023-01-12 19:40:38 +08:00
Zexi
48e6f3bb23
feat: add Seafile driver ( #2964 )
...
* feat: add Seafile driver
* docs: add Seafile support
* refactor: optimization
* fix: close redirect on `move` and `rename`
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-10 20:51:42 +08:00
BoYanZh
0ad9e17196
feat: lazy index creation on searcher init ( #2962 )
2023-01-09 14:09:21 +08:00
wangwuxuan2011
9398cdaac1
fix(s3): allow http/https headers to be attached from CustomHost ( #2959 )
...
* add(s3):Allow http/https headers to be attached to CustomHost
* optimize
Co-authored-by: wangwuxuan <wangwuxuan@163.com >
Co-authored-by: Noah Hsu <i@nn.ci >
2023-01-08 21:47:45 +08:00
foxxorcat
2f19d4a834
perf(lanzou): optimize the use of list cache ( #2956 )
...
* fix:local sort not cache
* perf(lanzou): Optimize the use of list cache
2023-01-08 21:31:35 +08:00
aimuz
99a186d01b
fix(139): upload failed ( #2950 )
...
fix: The file size is exceeded and cannot be uploaded
fix: File name has special characters, signature fails
improve: optimize memory usage
Signed-off-by: aimuz <mr.imuz@gmail.com >
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-01-08 16:31:00 +08:00
wangwuxuan2011
40ef233d24
fix(USS): resolve driver problem ( #2942 )
...
* remove:"Endpoint" and "CustomHost" are the same thing, remove "CustomHost"
* fix: file download url error
* fix: too many file get list error
Co-authored-by: wangwuxuan <wangwuxuan@163.com >
2023-01-08 16:30:05 +08:00
foxxorcat
7c3ea193ff
fix(lanzou):webdav unable to download and upload ( close #2700 )
...
* fix(lanzou):Unable to get folder
* fix(lanzou):webdav unable to download and upload. (close 2700)
2023-01-08 15:37:39 +08:00
BoYanZh
7902b646ff
feat: add database non full text index ( close #2916 )
2023-01-07 01:40:49 +08:00
BoYanZh
1c453ae147
feat: add a switch to enable auto update index ( close #2930 )
2023-01-07 00:59:30 +08:00
BoYanZh
cf5714ba73
fix(smb): use correct path ( #2933 )
...
There is no need to add a `.` prefix as there is no leading `/` in paths
2023-01-07 00:47:08 +08:00
foxxorcat
d655340634
fix(lanzou): cookie type failed to get file ( #2926 )
2023-01-06 18:08:40 +08:00
renovate[bot]
8d4ac031c3
chore(deps): update module github.com/aws/aws-sdk-go to v1.44.174 [skip ci] ( #2920 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-06 15:36:33 +08:00
foxxorcat
a1ded3a339
refactor(baidu_photo): optimize code ( close #2911 pr #2924 )
2023-01-06 15:36:05 +08:00
Noah Hsu
4a0e47dbac
fmt: go mod tidy
2023-01-05 19:34:18 +08:00
renovate[bot]
510d266da8
chore(deps): update module github.com/aws/aws-sdk-go to v1.44.173 [skip ci] ( #2832 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:32:58 +08:00
renovate[bot]
35dfb36884
chore(deps): update module gorm.io/driver/mysql to v1.4.5 [skip ci] ( #2881 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:31:47 +08:00
renovate[bot]
b88f4d2ba6
chore(deps): update module gorm.io/driver/sqlite to v1.4.4 [skip ci] ( #2869 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:31:28 +08:00
renovate[bot]
50318da879
chore(deps): update module gorm.io/driver/postgres to v1.4.6 [skip ci] ( #2867 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:18:42 +08:00
renovate[bot]
575487a0e2
chore(deps): update module gorm.io/gorm to v1.24.3 [skip ci] ( #2870 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:18:15 +08:00
renovate[bot]
69d3ccaed2
chore(deps): update module golang.org/x/net to v0.5.0 [skip ci] ( #2908 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:17:41 +08:00
renovate[bot]
170859a112
chore(deps): update module golang.org/x/crypto to v0.5.0 [skip ci] ( #2905 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 19:16:56 +08:00
renovate[bot]
7fdcb106a5
chore(deps): update module golang.org/x/image to v0.3.0 [skip ci] ( #2906 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 17:49:45 +08:00
AkashiCoin
14d4ddb752
fix(mysql): change mysql against mode ( close #2903 close #2844 pr #2904 )
2023-01-05 17:11:58 +08:00
zxdstyle
428e59a844
fix(uss): close of closed channel ( close #2847 #2896 )
...
* fix(uss): close of closed channel
* fix(uss): close of closed channel
Co-authored-by: zxdstyle <xiangdong.zhu@maitang001.com >
2023-01-04 21:43:47 +08:00
Code2qing
1c8d895fc0
feat(terabox): add terabox driver ( close #2825 close #2678 #2849 )
2022-12-31 16:44:20 +08:00
Code2qing
fbf3fb825b
fix(baidu_netdisk): file copy and file upload [skip ci] ( #2848 )
2022-12-31 16:43:22 +08:00
Noah Hsu
16e07ae016
fix(s3): set default root path ( close #2834 )
2022-12-30 14:53:01 +08:00
Noah Hsu
d1b9db38c7
feat(docker): add docker-compose file ( close #2067 )
2022-12-30 14:25:22 +08:00
Noah Hsu
395f0fc5f3
fix(docker): use root user as default
2022-12-30 14:21:39 +08:00
BoYanZh
143e4cd077
fix: mysql FULLTEXT search ( #2840 )
2022-12-30 14:20:04 +08:00
Noah Hsu
f777a2fab4
fix: version doesn't update
2022-12-30 01:24:37 +08:00
renovate[bot]
dad3012ec3
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.169 ( #2816 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 21:22:50 +08:00
Noah Hsu
d45209edb2
fix: /entrypoint.sh permission denied
2022-12-29 17:16:30 +08:00
Noah Hsu
e89489453d
fix: cache nil value for meta
2022-12-28 17:44:34 +08:00
DDS-Tomo
ed6c8194a7
feat: add PUID, PGID, Umask settings to docker image ( close #2525 pr #2818 )
...
Co-authored-by: DDSRem <1448139087@qq.com >
2022-12-28 17:18:27 +08:00
itsHenry
83fe17c6ec
feat: support github login ( #2639 )
...
* Support Github Login
* improve according to codefactor
* fix due to last updates
* optimization
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-27 22:11:22 +08:00
renovate[bot]
c00dcc8f39
fix(deps): update module github.com/gin-gonic/gin to v1.8.2 ( #2785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-25 18:20:24 +08:00
Noah Hsu
e118f4a3b9
feat: update index by req.Paths
2022-12-24 20:23:04 +08:00
renovate[bot]
5e28d0f96a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.167 ( #2781 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 16:14:20 +08:00
BoYanZh
3af23f6792
feat: batch reload all storages ( close #2762 pr #2775 )
2022-12-21 19:21:18 +08:00
BoYanZh
3a41b929c9
fix: pgsql search [skip ci] ( close #2761 pr #2774 )
2022-12-21 19:19:37 +08:00
Noah Hsu
105f22969c
feat: support cancel for some drivers ( close #2717 )
2022-12-21 15:03:09 +08:00
renovate[bot]
e4a88a7c13
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.164 ( #2773 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 12:04:32 +08:00
Noah Hsu
b0255040c6
chore: fix typo
2022-12-20 20:07:19 +08:00
Noah Hsu
f1e842e12a
feat: customize settings layout ( close #2765 )
2022-12-20 20:04:37 +08:00
Noah Hsu
d756cf3e9f
fix(local): disable copying or moving to subfolders ( close #2760 )
2022-12-20 16:27:04 +08:00
EzraRT
146619134d
feat: customize proxy ignore headers ( close #2763 pr #2766 )
...
* clean referer when use proxy
* feat: customize proxy ignore headers
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 16:08:32 +08:00
renovate[bot]
372030071e
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.163 [skip ci] ( #2738 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 15:13:14 +08:00
foxxorcat
62a06fa0f9
feat: optimize file operation interface ( #2757 )
...
* feat: optimize file operation interface
* chore: fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 15:02:40 +08:00
BoYanZh
e2bcca2fbd
feat: static files for embed viewers ( #2739 )
2022-12-19 13:34:06 +08:00
BoYanZh
4568af9542
feat: better static file Cache-Control ( #2751 )
2022-12-19 13:32:00 +08:00
Noah Hsu
b50d486a63
fix: sub path check if subPath = /
2022-12-18 21:28:38 +08:00
BoYanZh
0ae3fc608b
feat: export all cmd ( #2746 )
2022-12-18 19:53:39 +08:00
foxxorcat
6024e8d832
refactor: split the db package hook and cache to the op package ( #2747 )
...
* refactor:separate the setting method from the db package to the op package and add the cache
* refactor:separate the meta method from the db package to the op package
* fix:setting not load database data
* refactor:separate the user method from the db package to the op package
* refactor:remove user JoinPath error
* fix:op package user cache
* refactor:fs package list method
* fix:tile virtual paths (close #2743 )
* Revert "refactor:remove user JoinPath error"
This reverts commit 4e20daaf9e700da047000d4fd4900abbe05c3848.
* clean path directly may lead to unknown behavior
* fix: The path of the meta passed in must be prefix of reqPath
* chore: rename all virtualPath to mountPath
* fix: `getStoragesByPath` and `GetStorageVirtualFilesByPath`
is_sub_path:
/a/b isn't subpath of /a/bc
* fix: don't save setting if hook error
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-18 19:51:20 +08:00
EthanZhu
f38f4f401b
fix(139): modify chunk size to avoid large file upload failure ( close #2744 close #2682 pr #2745 )
2022-12-18 17:48:09 +08:00
BoYanZh
3b2ae85009
chore: only ignore root dirs ( #2741 )
2022-12-18 16:48:32 +08:00
baysonfox
faf4150d1e
docs: fix badges on README.md and README_cn.md [skip ci] ( #2749 )
2022-12-18 16:48:03 +08:00
foxxorcat
fb64f00640
refactor: obj name mapping and internal path processing ( #2733 )
...
* refactor:Prepare to remove the get interface
* feat:add obj Unwarp interface
* refactor:obj name mapping and program internal path processing
* chore: fix typo
* feat: unwrap get
* fix: no use op.Get to get parent id
* fix: set the path uniformly
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-17 19:49:05 +08:00
AkashiCoin
3d336b328a
feat: add pikpak share driver ( close #2728 pr #2731 )
2022-12-16 19:10:19 +08:00
renovate[bot]
f9cf29e0b6
fix(deps): update module golang.org/x/crypto to v0.4.0 ( #2638 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:08:52 +08:00
renovate[bot]
cbd038f30f
fix(deps): update module golang.org/x/net to v0.4.0 ( #2608 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:20 +08:00
renovate[bot]
2aeb75a779
fix(deps): update module github.com/blevesearch/bleve/v2 to v2.3.6 ( #2727 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 19:05:06 +08:00
renovate[bot]
2f8eaf6bea
fix(deps): update module github.com/pquerna/otp to v1.4.0 ( #2708 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:59 +08:00
renovate[bot]
fb7a5dec1b
fix(deps): update module golang.org/x/image to v0.2.0 ( #2601 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:15:19 +08:00
renovate[bot]
e61bac039a
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.161 ( #2595 ) [skip ci]
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 18:14:56 +08:00
BoYanZh
b3be9ef428
feat(search): use FULLTEXT index ( close #2716 pr #2726 )
2022-12-16 16:51:36 +08:00
BoYanZh
5a6b600ace
feat: show gorm log on debug/dev mode ( #2720 )
2022-12-15 17:48:52 +08:00
BoYanZh
e58ca686e3
feat: cache static files ( #2715 )
2022-12-15 17:48:29 +08:00
BoYanZh
6f4b1ba4b3
feat: log to stdout & file ( #2709 )
2022-12-14 13:19:08 +08:00
BoYanZh
cdc45630ae
fix: whereInParent when parent = "/" ( #2706 )
2022-12-14 10:37:09 +08:00
BoYanZh
7947ff1ae4
feat: limit max connection count ( #2701 )
2022-12-14 10:33:58 +08:00
foxxorcat
33bae52fa1
refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters ( #2691 )
...
* refactor: optimize driver initialization need to manually deserialize and assign values, and remove redundant driver registration parameters
* fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-13 18:03:30 +08:00
Noah Hsu
3ee45c69a7
fix(baidu_netdisk): encode path for create ( close #2690 )
2022-12-13 17:57:41 +08:00
BoYanZh
179d285564
feat: optimize database search ( #2687 )
...
* feat: remove index on `SearchNode.Name`
As we do not use s% on name column, index there does not work
* fix: init index after init data
Or on the first run, it will log 'init index error: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||...'
* fix: match parent more precisely
It will match `/a/bc` if we search in `/a/b` originally.
But it is not backward compatible by adding a suffix `/`
to all the data in parent field
2022-12-12 20:20:01 +08:00
BoYanZh
a2e8e96c71
feat: respond static file on loading storages ( #2686 )
2022-12-12 20:17:58 +08:00
Noah Hsu
5043815d48
fix(search): don't delete virtual folder while update indexes ( close #2677 )
2022-12-11 14:59:58 +08:00
BoYanZh
1640f06e13
feat(search): multiple keywords split by space ( #2669 )
2022-12-10 19:28:34 +08:00
BoYanZh
62ea93837c
feat: alist v3 index permission ( #2653 )
...
* feat: alist v3 index permission
* fix allowIndexed check
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-10 19:03:09 +08:00
Noah Hsu
446f82888c
fix(local): add sign to thumbnail ( close #2536 close #2650 )
2022-12-09 10:08:31 +08:00
BoYanZh
6f1aeb47fd
feat: index enhancement ( close #2632 pr #2636 )
...
* feat: index paths as setting
* feat: clear index (#2632 )
* feat: check indexMQ more frequently
2022-12-09 10:02:13 +08:00
Noah Hsu
1f7c1b4f43
fix(cors): allow all methods ( close #2640 )
2022-12-08 11:35:21 +08:00
BoYanZh
3fa0217c4b
feat(alist-v3): support write ( close #2626 pr #2635 )
2022-12-07 19:02:28 +08:00
Noah Hsu
2dd30f2b77
feat(search): support with password
2022-12-07 10:45:02 +08:00
BoYanZh
6e23c8b4c0
feat: partial update index ( close #2593 close #2621 pr #2624 )
2022-12-07 10:41:52 +08:00
BoYanZh
72aa63adce
fix: skip virtual driver on building index ( close #2604 pr #2617 )
2022-12-06 20:43:32 +08:00
Noah Hsu
e65e8be59e
fix(search): missed base_path of user for parent ( close #2611 )
2022-12-06 17:28:39 +08:00
BoYanZh
7aa4dfb240
feat: use natural sort in SortFiles ( #2612 )
2022-12-06 17:28:18 +08:00
CN-traveler
bd324233a0
fix: can't paste image while report bug ( #2597 ) [skip ci]
2022-12-06 09:19:49 +08:00
Noah Hsu
f1a9b68022
fix(index): update indexes in database
2022-12-05 20:23:37 +08:00
Noah Hsu
dda1da4576
fix(index): nil pointer call
2022-12-05 20:22:35 +08:00
Noah Hsu
5b7aa9c1cf
feat: allow all cors headers ( close #2571 )
2022-12-05 20:05:20 +08:00
Noah Hsu
a28aaceaad
chore(ci): only build on main branch
2022-12-05 19:52:02 +08:00
renovate[bot]
2bb200af87
fix(deps): update modules by renovate[bot]
...
fix(deps): update module github.com/sheltonzhu/115driver to v1.0.13 (#2413 ) [skip ci]
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.4.3 (#2526 ) [skip ci]
fix(deps): update module golang.org/x/image to v0.1.0 (#2587 ) [skip ci]
chore: go mod tidy
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 19:50:49 +08:00
Noah Hsu
97f1efbb72
feat!: disable --force-bin-dir if --data is abs
...
related issues: #2580 #2542
after this commit, the `--force-bin-dir` would take no effect if `--data` is absolute path
2022-12-05 18:32:48 +08:00
Noah Hsu
bf8b6f4c2c
feat: customize ignore paths of indexes
2022-12-05 16:45:11 +08:00
Noah Hsu
bd33c200dc
feat: optimize index build
2022-12-05 16:07:36 +08:00
Noah Hsu
bc6baf1be0
fix(ci): sort lang json file
2022-12-05 14:40:46 +08:00
BoYanZh
dc8d5106f9
feat: auto fix address in alist & smb storages ( #2582 )
2022-12-05 13:31:34 +08:00
BoYanZh
8c0dfe2f3d
feat: Search enhancement ( #2562 )
...
* feat: ignore AList storage on indexing
* fix: remove unused err in `walkFn`
* chore(ci): fix auto_lang trigger and run it
* feat: batch index
* feat: quit index & init index
* feat: set DocType for bleve data
* fix: build index cleanup check origin err
2022-12-05 13:28:39 +08:00
Noah Hsu
4e1be9bee6
fix: async init aria2 to optimize start duration
2022-12-04 00:00:40 +08:00
BoYanZh
4c5285e094
chore(ci): format lang file ( #2558 )
2022-12-03 12:19:10 +08:00
Ovear
0838feeb82
fix:introduce buffered response writer for webdav, fix status/error return failed. ( #2544 )
...
* fix: introduce buffered response writer for webdav, fix webdav status/error return failed.
* fix: bypass buffered writer for GET/HEAD/POST requests
2022-12-02 17:59:59 +08:00
浅秋枫影
ae791c8634
fix: hide check in canAccess ( #2556 )
...
修复 meta.Password 和 meta.Hide 都为空的情况下,会导致无权限访问
2022-12-02 17:44:29 +08:00
BoYanZh
09f480318c
fix: unify settings string ( #2555 )
2022-12-02 17:42:42 +08:00
BoYanZh
4c5be5f07f
feat: only show CanAccess search results ( #2548 )
...
* feat: only show `CanAccess` search results
* have done in frontend
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-02 10:09:39 +08:00
Ovear
9c1ffdbb82
fix(aliyundrive): return error if got wrong http code ( #2543 )
2022-12-01 21:48:19 +08:00
Noah Hsu
18a63e34dd
fix(task): memory alignment for curID ( close #2541 )
2022-12-01 13:16:31 +08:00
Noah Hsu
ff0bcfef8a
feat: optional sign all files
2022-11-30 22:10:07 +08:00
Noah Hsu
4980b71ba3
fix: add hide check to canAccess ( close #2532 )
2022-11-30 22:01:33 +08:00
Noah Hsu
b5bf5f4325
fix: check if the req path is relative path ( close #2531 )
2022-11-30 21:38:00 +08:00
SiHuaN
f9788ea7cf
feat(webdav): delete privacy header and optimize 302 ( #2534 )
...
* fix: delete set-cookie from sharepoint webdav response header
* fix: avoid two redirects when using webdav
* fix: return the correct Content-Type instead of just `application/octet-stream`
* feat: webdav backend localOnly -> proxyOnly
2022-11-30 20:52:33 +08:00
Noah Hsu
83644dab85
fix: mapping filename in GetName
...
some missed filename mapping
2022-11-30 20:46:54 +08:00
itsHenry
d94cf72da2
fix(local): webp image decode while generate thumbnail ( close #2484 pr #2520 )
...
* Fix that webp thumb in local storage won't load
* Simplify code
Co-authored-by: Noah Hsu <i@nn.ci >
2022-11-29 09:47:40 +08:00
Noah Hsu
e98561ceb1
fix: filename char mapping while build index
2022-11-28 21:08:11 +08:00
Noah Hsu
76f37373e0
fix: settings map read and write concurrently
2022-11-28 16:54:03 +08:00
Simon
61a06992c3
fix(aria2): directory missing ( close #1856 pr #2504 )
2022-11-28 14:05:28 +08:00
Noah Hsu
ddcba93eea
feat: multiple search indexes ( #2514 )
...
* refactor: abstract search interface
* wip: ~
* fix cycle import
* objs update hook
* wip: ~
* Delete search/none
* auto update index while cache changed
* db searcher
TODO: bleve init issue
cannot open index, metadata missing
* fix size type
why float64??
* fix typo
* fix nil pointer using
* api adapt ui
* bleve: fix clear & change struct
2022-11-28 13:45:25 +08:00
Noah Hsu
bb969d8dc6
fix(aliyundrive_share): get share link download url directly ( close #2472 )
2022-11-24 18:50:04 +08:00
BoYanZh
2383e851e2
fix: reset index before build new one ( #2471 )
2022-11-24 14:47:49 +08:00
BoYanZh
330a767fd7
feat: build index & search with bleve ( close #1740 pr #2386 )
...
* feat: build index & search with bleve (#1740 )
* delete unused struct
Co-authored-by: Noah Hsu <i@nn.ci >
2022-11-24 11:46:47 +08:00
Noah Hsu
2b902de6fd
fix(build): switch to crazymax/xgo
2022-11-22 21:08:27 +08:00
Noah Hsu
85e1350af8
fix: check password while upload ( close #2444 )
2022-11-22 16:14:01 +08:00
Noah Hsu
c09800790b
feat: custom filename char mapping
...
fixes #2447 #2446 #2440 #2409 #2006 #1979 #1507 #324 #691 #518 #430
2022-11-22 15:54:18 +08:00
renovate[bot]
25fd343069
chore(deps): update module gorm and aws-sdk
...
fix(deps): update module gorm.io/gorm to v1.24.2 (#2436 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.142 (#2407 )
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 17:37:03 +08:00
Noah Hsu
518487e3df
fix(123): optimize error messages ( #2415 )
2022-11-19 21:48:03 +08:00
BoYanZh
a02d9c8463
fix: check error type on file not found ( #2383 )
2022-11-18 01:30:37 +08:00
Noah Hsu
8beeba7c0c
fix(google_drive): check token before return link ( close #2392 )
2022-11-17 09:08:31 +08:00
renovate[bot]
50fb49f0c3
fix(deps): update dependencies by renovate[bot] ( #2344 )
...
chore(deps): add renovate.json (#2344 )
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.137 (#2345 )
chore(deps): update actions-cool/issues-helper action to v2.5.0 (#2346 )
fix(deps): update module github.com/caarlos0/env/v6 to v6.10.1 (#2348 )
fix(deps): update module github.com/gin-contrib/cors to v1.4.0 (#2349 )
fix(deps): update module github.com/sirupsen/logrus to v1.9.0 (#2354 ) [skip ci]
fix(deps): update module gorm.io/driver/postgres to v1.4.5 (#2361 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.2.0 (#2357 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.138 (#2358 ) [skip ci]
fix(deps): update module gorm.io/gorm to v1.24.1 (#2366 ) [skip ci]
fix(deps): update module gorm.io/driver/mysql to v1.4.4 (#2360 ) [skip ci]
fix(deps): update module github.com/spf13/cobra to v1.6.1 (#2356 ) [skip ci]
chore(deps): update actions-cool/issues-helper action to v3 (#2367 ) [skip ci]
fix(deps): update module gorm.io/driver/sqlite to v1.4.3 (#2365 ) [skip ci]
chore(deps): update actions/checkout action to v3 (#2368 ) [skip ci]
chore(deps): update actions/setup-go action to v3 (#2374 ) [skip ci]
chore(deps): update actions/upload-artifact action to v3 (#2375 ) [skip ci]
chore(deps): update docker/build-push-action action to v3 (#2377 ) [skip ci]
chore(deps): update docker/login-action action to v2 (#2378 ) [skip ci]
chore(deps): update docker/metadata-action action to v4 (#2381 ) [skip ci]
chore(deps): update docker/setup-buildx-action action to v2 (#2382 ) [skip ci]
chore(deps): update docker/setup-qemu-action action to v2 (#2387 ) [skip ci]
fix(deps): update module github.com/aws/aws-sdk-go to v1.44.139 (#2394 ) [skip ci]
fix(deps): update module golang.org/x/crypto to v0.3.0 (#2395 ) [skip ci]
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 08:49:15 +08:00
Noah Hsu
4dcaa24758
fix: cache is modified while sorting ( close #2340 )
2022-11-15 14:38:23 +08:00
BoYanZh
3fbdf6f022
fix: resolve import cycle in alist v3 driver ( close #2337 pr #2338 )
2022-11-15 10:51:32 +08:00
Noah Hsu
aa9ba289bb
fix(123): overwrite upload if file has no change ( close #2324 )
2022-11-14 17:58:49 +08:00
Noah Hsu
3b6d8987db
chore: add id to resp of create storage
2022-11-13 20:17:10 +08:00
Noah Hsu
6e3df9f847
fix(google_drive): type of chunk_size ( close #2303 )
2022-11-12 18:46:38 +08:00