KirCute_ECT
bb40e2e2cd
feat(archive): archive manage ( #7817 )
...
* feat(archive): archive management
* fix(ftp-server): remove duplicate ReadAtSeeker realization
* fix(archive): bad seeking of SeekableStream
* fix(archive): split internal and driver extraction api
* feat(archive): patch
* fix(shutdown): clear decompress upload tasks
* chore
* feat(archive): support .iso format
* chore
2025-01-18 23:28:12 +08:00
Jealous
b60da9732f
feat(offline-download): allow using offline download tools in any storage ( #7716 )
...
* Feat(offline-download): allow using thunder offline download tool in any storage
* Feat(offline-download): allow using 115 offline download tool in any storage
* Feat(offline-download): allow using pikpak offline download tool in any storage
* style(offline-download): unify offline download tool names
* feat(offline-download): show available offline download tools only
* Fix(offline-download): update unmodified tool names.
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2025-01-10 21:24:44 +08:00
KirCute_ECT
77d0c78bfd
feat(sftp-server): public key login ( #7668 )
2024-12-25 21:15:06 +08:00
KirCute_ECT
64ceb5afb6
feat: support general users view and cancel own tasks ( #7416 close #7398 )
...
* feat: support general users view and cancel own tasks
Add a creator attribute to the upload, copy and offline download
tasks, so that a GENERAL task creator can view and cancel them.
BREAKING CHANGE:
1. A new internal package `task` including the struct `TaskWithCreator`
which embeds `tache.Base` is created, and the past dependence on
`tache.Task` will all be transferred to dependence on this package.
2. The API `/admin/task` can now also be accessed via `/task`, and the
old endpoint is retained to ensure compatibility with legacy
automation scripts.
Closes #7398
* fix(deps): update github.com/xhofe/tache to v0.1.3
2024-11-01 23:32:26 +08:00
Shelton Zhu
bdf4b52885
feat(offline_download): add transmission ( close #4102 in #7232 )
2024-09-28 23:15:58 +08:00
itsHenry
81258d3e8a
feat: invalidate token on logout ( #6923 close #6792 )
2024-08-04 12:32:39 +08:00
itsHenry
9c84b6596f
feat: stand-alone port s3 server ( #6242 )
...
* feat: single port s3 server
* fix: unable to PUT files if not in root dir
2024-03-24 15:16:00 +08:00
itsHenry
d0f88bd1cb
feat: s3 server support ( #6088 close #5186 )
...
Currently tested: List, Get, Remove
2024-03-02 15:35:10 +08:00
Guobao
697a0ed2d3
feat: add ldap login support ( #5706 )
...
* feat: add ldap login support
* fix: ldap permission config group
2023-12-31 13:46:13 +08:00
Andy Hsu
3f405de6a9
feat: customize allow `origins`, `headers` and `methods`
2023-11-24 19:18:34 +08:00
Andy Hsu
769281bd40
feat: refactor offline download ( #5408 close #4108 )
...
* wip: refactor offline download (#5331 )
* base tool
* working: aria2
* refactor: change type of percentage to float64
* wip: adapt aria2
* wip: use items in offline_download
* wip: use tool manager
* wip: adapt qBittorrent
* chore: fix typo
* Squashed commit of the following:
commit 4fc0a77565
Author: Andy Hsu <i@nn.ci>
Date: Fri Oct 20 21:06:25 2023 +0800
fix(baidu_netdisk): upload file > 4GB (close #5392 )
commit aaffaee2b5
Author: gmugu <94156510@qq.com>
Date: Thu Oct 19 19:17:53 2023 +0800
perf(webdav): support request with cookies (#5391 )
commit 8ef8023c20
Author: NewbieOrange <NewbieOrange@users.noreply.github.com>
Date: Thu Oct 19 19:17:09 2023 +0800
fix(aliyundrive_open): upload progress for normal upload (#5398 )
commit cdfbe6dcf2
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Wed Oct 18 16:27:07 2023 +0800
fix: hash gcid empty file (#5394 )
commit 94d028743a
Author: Andy Hsu <i@nn.ci>
Date: Sat Oct 14 13:17:51 2023 +0800
ci: remove `pr-welcome` label when close issue [skip ci]
commit 7f7335435c
Author: itsHenry <2671230065@qq.com>
Date: Sat Oct 14 13:12:46 2023 +0800
feat(cloudreve): support thumbnail (#5373 close #5348 )
* feat(cloudreve): support thumbnail
* chore: remove unnecessary code
commit b9e192b29c
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Thu Oct 12 20:57:12 2023 +0800
fix(115): limit request rate (#5367 close #5275 )
* fix(115):limit request rate
* chore(115): fix unit of `limit_rate`
---------
Co-authored-by: Andy Hsu <i@nn.ci>
commit 69a98eaef6
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed Oct 11 22:01:55 2023 +0800
fix(deps): update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.9+incompatible (#5141 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 1ebc96a4e5
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:32:00 2023 +0800
fix(wopan): fatal error concurrent map writes (close #5352 )
commit 66e2324cac
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:23:11 2023 +0800
chore(deps): upgrade dependencies
commit 7600dc28df
Author: Andy Hsu <i@nn.ci>
Date: Tue Oct 10 18:13:58 2023 +0800
fix(aliyundrive_open): change default api to raw server (close #5358 )
commit 8ef89ad0a4
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Tue Oct 10 18:08:27 2023 +0800
fix(baidu_netdisk): hash and `error 2` (#5356 )
* fix(baidu):hash and error:2
* fix:invalid memory address
commit 35d672217d
Author: jeffmingup <1960588251@qq.com>
Date: Sun Oct 8 19:29:45 2023 +0800
fix(onedrive_app): incorrect api on `_accessToken` (#5346 )
commit 1a283bb272
Author: foxxorcat <95907542+foxxorcat@users.noreply.github.com>
Date: Fri Oct 6 16:04:39 2023 +0800
feat(google_drive): add `hash_info`, `ctime`, `thumbnail` (#5334 )
commit a008f54f4d
Author: nkh0472 <67589323+nkh0472@users.noreply.github.com>
Date: Thu Oct 5 13:10:51 2023 +0800
docs: minor language improvements (#5329 ) [skip ci]
* fix: adapt update progress type
* Squashed commit of the following:
commit 65c5ec0c34
Author: itsHenry <2671230065@qq.com>
Date: Sat Nov 4 13:35:09 2023 +0800
feat(cloudreve): folder size count and switch (#5457 close #5395 )
commit a6325967d0
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Oct 30 15:11:20 2023 +0800
fix(deps): update module github.com/charmbracelet/lipgloss to v0.9.1 (#5234 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit 4dff49470a
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon Oct 30 15:10:36 2023 +0800
fix(deps): update golang.org/x/exp digest to 7918f67 (#5366 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit cc86d6f3d1
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun Oct 29 14:45:55 2023 +0800
fix(deps): update module golang.org/x/net to v0.17.0 [security] (#5370 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
commit c0f9c8ebaf
Author: Andy Hsu <i@nn.ci>
Date: Thu Oct 26 19:21:09 2023 +0800
feat: add ignore direct link params (close #5434 )
2023-11-06 16:56:55 +08:00
itsHenry
30977cdc6d
feat: sso compatibility mode ( #5260 )
2023-09-22 16:45:51 +08:00
Andy Hsu
cd2f8077fa
chore: enable all pprof handle on debug
2023-09-07 14:56:50 +08:00
Andy Hsu
6f6d20e1ba
fix: `force_https` not take effect on `noRoute` ( close #5167 )
2023-09-05 13:05:46 +08:00
itsHenry
1aa024ed6b
feat: support webauthn login ( #4945 )
...
* feat: support webauthn login
* manually merge
* fix: clear user cache after updating authn
* decrease db size of Authn
* change authn type to text
* simplify code structure
---------
Co-authored-by: Andy Hsu <i@nn.ci>
2023-08-14 22:54:38 +08:00
Andy Hsu
75acbcc115
perf: sha256 for user's password ( close #3552 )
2023-08-06 22:09:17 +08:00
Andy Hsu
30415cefbe
perf: delete user cache after cancel `2FA`
2023-08-06 20:47:58 +08:00
Andy Hsu
3f8b3da52b
feat(server): add `HEAD` method support ( close #4740 )
2023-07-11 13:47:49 +08:00
Andy Hsu
7d20a01dba
feat!: support listen to the unix ( close #4671 )
...
Starting from this commit, the HTTP server related config all move to the scheme
2023-07-04 17:56:02 +08:00
walloo
e9c74f9959
fix: regexp rename error ( close #4644 in #4653 )
...
Co-authored-by: Andy Hsu <i@nn.ci>
2023-06-26 15:15:57 +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
5be79eb26e
feat: add `robots.txt` setting ( close #4303 )
2023-05-12 16:53:15 +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
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
Andy Hsu
ebcbb29a0f
feat: ping api ( close #3752 )
2023-03-07 19:05:52 +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
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
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
Andy Hsu
ae2ee1821a
chore: change qBittorrent setting [skip ci]
2023-02-15 16:51:29 +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
Andy Hsu
43a8ed472b
fix: can't login by github after disable guest ( close #3314 )
2023-02-09 20:12:04 +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
Noah Hsu
e118f4a3b9
feat: update index by `req.Paths`
2022-12-24 20:23:04 +08:00
BoYanZh
3af23f6792
feat: batch reload all storages ( close #2762 pr #2775 )
2022-12-21 19:21:18 +08:00
BoYanZh
7947ff1ae4
feat: limit max connection count ( #2701 )
2022-12-14 10:33:58 +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
Noah Hsu
5b7aa9c1cf
feat: allow all cors headers ( close #2571 )
2022-12-05 20:05:20 +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
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
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
85e1350af8
fix: check password while upload ( close #2444 )
2022-11-22 16:14:01 +08:00
Noah Hsu
4d6ab53336
feat: add form upload api ( close #1693 #1709 )
2022-09-22 16:53:58 +08:00
Noah Hsu
d6d82c3138
fix: page crashes if ipa name contains chinese ( close #1712 )
2022-09-19 13:33:23 +08:00
Noah Hsu
5ff0d850d7
feat(aliyundrive): add doc and video preview api
2022-09-11 19:12:54 +08:00
Noah Hsu
a24dfddc2a
feat: add 189cloud driver
2022-09-06 14:39:21 +08:00
Noah Hsu
59ec17a353
feat: add driver config in driver info
2022-08-30 14:39:10 +08:00
Noah Hsu
d267c43556
feat: static file router
2022-08-28 23:13:03 +08:00
Noah Hsu
5ab5cc327f
feat: generate plist for ipa
2022-08-28 15:23:00 +08:00
Noah Hsu
e9927806d4
fix(local): return `ObjectNotFound` if can't find file
2022-08-19 11:02:00 +08:00