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