Andy Hsu
7583c4d734
feat: customize workers and retry of task ( close #5493 fix #5274 )
2023-11-21 15:51:57 +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
Andy Hsu
3231c3d930
perf(db): release database before exit
2023-09-05 13:04:27 +08:00
Andy Hsu
635809c376
feat(cmd): list all storages command ( close #4960 )
2023-08-08 16:15:45 +08:00
Andy Hsu
1c00d64952
feat: rehash password with a unique salt for each user
2023-08-07 15:46:19 +08:00
Andy Hsu
5b6b2f427a
feat(cmd): add show token command
2023-08-07 13:49:23 +08:00
Andy Hsu
e9cb37122e
chore(cmd): change come output for admin command
2023-08-06 23:02:22 +08:00
Andy Hsu
a425392a2b
feat(cmd): set or random new password for admin
2023-08-06 22:34:02 +08:00
Andy Hsu
30415cefbe
perf: delete user cache after cancel `2FA`
2023-08-06 20:47:58 +08:00
Andy Hsu
2b533e4b91
feat: allow customize perm of unix file ( close #4709 )
2023-07-08 20:17:05 +08:00
Andy Hsu
e4c7b0f17c
fix: https port is not effective
2023-07-05 13:02:52 +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
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
f9e067abec
feat: support delayed start ( #4532 )
2023-06-05 16:00:31 +08:00
Andy Hsu
be62d64dba
chore: cancel 2fa succeed tips
2023-03-25 18:36:13 +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
dc000f640a
feat: optional log to std
2023-03-05 15:07:06 +08:00
Andy Hsu
4be8524d80
feat: add alert for driver
2023-02-23 22:03:11 +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
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 4e20daaf9e
.
* 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
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
Noah Hsu
bc6baf1be0
fix(ci): sort lang json file
2022-12-05 14:40:46 +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
efe0e6af22
feat: silent start, stop and restart
2022-11-11 18:42:06 +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
dcaaae366b
feat: add support for mega.nz (close 1553)
2022-10-08 22:16:41 +08:00
联盟少侠
08a001fbd1
feat: add a start func for external calls ( #1628 )
2022-09-13 20:12:57 +08:00
Noah Hsu
40882443c2
feat: add show admin's username
2022-09-10 16:39:08 +08:00
Noah Hsu
a24dfddc2a
feat: add 189cloud driver
2022-09-06 14:39:21 +08:00
Noah Hsu
534d8d30fc
feat: skip generate lang if no changes
2022-09-05 16:40:51 +08:00
Noah Hsu
7ac1d14eeb
style: shorten name `operations` to `op`
2022-08-31 21:01:15 +08:00
Noah Hsu
41edac5826
fix: convert driver name while generate lang
2022-08-30 22:11:58 +08:00
Noah Hsu
a6b9dbfbe4
fix: use `utils.Log` in some places
2022-08-30 16:13:01 +08:00
Noah Hsu
046bbb3a48
feat: use `lumberjack` for log rotate
2022-08-30 15:22:54 +08:00
Noah Hsu
59ec17a353
feat: add driver config in driver info
2022-08-30 14:39:10 +08:00
Noah Hsu
a6f3094c9a
chore: graceful restart or stop
2022-08-28 15:34:12 +08:00
Noah Hsu
fbcf082ca7
feat: auto generate settings lang
2022-08-27 18:35:05 +08:00
Noah Hsu
7425e001db
feat: auto generate drivers language json
2022-08-26 15:08:31 +08:00
Noah Hsu
0fdfd1f2c2
feat: load storages while starting
2022-08-11 21:32:33 +08:00
Noah Hsu
5b40254e3b
chore: fix drivers not import
2022-08-07 13:23:15 +08:00
Noah Hsu
0df3473337
feat: use cobra and add some command
2022-08-07 13:09:59 +08:00
Noah Hsu
8c27ca3e8b
chore: import fmt
2022-07-29 18:22:42 +08:00
Noah Hsu
3c7a2f78cf
chore: init db and aria2
2022-06-29 17:37:40 +08:00
Noah Hsu
1a148eee7c
feat: initial setting items
2022-06-27 15:51:02 +08:00
Noah Hsu
c67f128f15
chore: move server package to root
2022-06-26 19:10:14 +08:00
Noah Hsu
54ca68e4b3
chore: init users
2022-06-25 22:05:02 +08:00
Noah Hsu
c5295f4d72
feat: user jwt login
2022-06-25 21:34:44 +08:00
Noah Hsu
306b90399c
chore: move conf package
2022-06-25 20:38:02 +08:00