j2rong4cn
2be0c3d1a0
feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option ( #7829 )
...
* fix(net): goroutine logic bug (AlistGo/alist#7215 )
* Fix goroutine logic bug
* Fix bug
---------
Co-authored-by: hpy hs <hshpy.pengyu@gmail.com>
* perf(net): sequential and dynamic concurrency
* fix(net): incorrect error return
* feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option
* feat(net): add `ConcurrencyLimit`
* pref(net): create `chunk` on demand
* refactor
* refactor
* fix(net): `r.Closers.Add` has no effect
* refactor
---------
Co-authored-by: hpy hs <hshpy.pengyu@gmail.com>
2025-01-27 20:08:39 +08:00
Jealous
c2633dd443
fix(workflow): use the dev version of the web for beta releases ( #7862 )
...
* fix(workflow): use dev version of the web for beta releases
* chore(config): check version string by prefix
2025-01-23 22:49:35 +08:00
KirCute_ECT
5994c17b4e
feat(patch): upgrade patch module ( #7738 )
...
* feat(patch): upgrade patch module
* chore(patch): add docs
* fix(patch): skip and rewrite invalid last launched version
* fix(patch): turn two functions into patches
2024-12-30 22:48:33 +08:00
foxxorcat
c9fa3d7cd6
fix: broken file with local proxy ( #7132 close #7112 )
...
* fix: local proxy download file damage
* fix: temp dir remove
2024-09-08 10:44:34 +08:00
itsHenry
74f8295960
feat: persistant Task ( #6925 close #5313 )
2024-08-07 12:16:21 +08:00
Andy Hsu
3e0de5eaac
fix(deps): adapt module github.com/caarlos0/env/v9 ( #4728 )
2023-07-10 22:06:50 +08:00
XYUU
a3446720a2
fix: make `TlsInsecureSkipVerify` enable for all request ( #4386 )
2023-05-14 17:05:47 +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
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
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
1c212f6c30
feat!: force to use the bin dir as the data dir ( close #2108 )
...
- move default log path to `data/log/log.log`
- replace `--conf` with `--data`
2022-11-01 19:16:23 +08:00
Noah Hsu
9d9c79179b
feat: custom token expires in
2022-09-27 14:05:00 +08:00
Noah Hsu
f86ad1dce4
fix: create temp dir perm with `777` ( close #1813 )
2022-09-26 14:48:59 +08:00
Noah Hsu
4af9124162
fix: error if use abs temp path ( close #1624 )
2022-09-09 18:50:54 +08:00
Noah Hsu
61fa6f38a8
feat: add type to fs read api
2022-08-08 00:51:05 +08:00
Noah Hsu
0df3473337
feat: use cobra and add some command
2022-08-07 13:09:59 +08:00
Noah Hsu
b51e664543
chore: go fmt
2022-08-03 14:26:59 +08:00
Noah Hsu
1a148eee7c
feat: initial setting items
2022-06-27 15:51:02 +08:00