456 Commits

Author SHA1 Message Date
小傅Fox
46701a176d
feat(aria2): mark aria2 seeding as complete (#2223)
Currently if using aria2 to download a torrent file, it does not
consider seeding + active as completed, so the torrent download task
only completes as aria2 stops seeding.

This commit uses seeder property of TaskInfo, and mark tasks with active
status and true seeder as complete.
2022-11-06 16:20:09 +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
0019959eec fix: delete cache if files is empty 2022-10-25 16:42:06 +08:00
Noah Hsu
a2c808c8ce fix: incorrect root path of initial storage for dev mode 2022-10-23 16:26:14 +08:00
缘生
4fef500795
feat(user): set default password of init user from env (#2058)
add init user default password

Signed-off-by: ysicing <i@ysicing.me>

Signed-off-by: ysicing <i@ysicing.me>
2022-10-19 20:06:06 +08:00
Noah Hsu
b8cf02ca68 fix(aria2): retry 5 times for get status (close #1857) 2022-10-18 15:27:19 +08:00
Noah Hsu
baebc2fbe9 fix: can't delete disabled storage (close #1942) 2022-10-09 22:20:48 +08:00
Noah Hsu
8c69260972 fix(webdav): set mime by ext if it's empty 2022-10-09 19:29:55 +08:00
Noah Hsu
451e418b18 perf: return cache before check obj to reduce recursion 2022-09-28 21:19:36 +08:00
Noah Hsu
9d9c79179b feat: custom token expires in 2022-09-27 14:05:00 +08:00
Noah Hsu
2fc0ccbfe0 fix: don't init aria2 in new goroutine (close #1752) 2022-09-26 15:11:08 +08:00
Noah Hsu
f86ad1dce4 fix: create temp dir perm with 777 (close #1813) 2022-09-26 14:48:59 +08:00
Noah Hsu
f0181d92cd fix: keep type of setting item is correct 2022-09-25 21:20:32 +08:00
Noah Hsu
7c32af4649 refactor!: move api_url and base_path to config file 2022-09-25 17:57:54 +08:00
Noah Hsu
03dbb3a403 chore: fix typo of env name 2022-09-25 17:41:04 +08:00
Noah Hsu
a570e4c7a0 fix: some settings don't take effect at startup 2022-09-23 20:37:49 +08:00
Noah Hsu
539c47bd3b chore: change log if aria2 not ready 2022-09-23 20:04:47 +08:00
Noah Hsu
b6d9018ebd fix: sorting by modified doesn't work (close #1756) 2022-09-23 12:30:32 +08:00
Noah Hsu
b71ecc8e89 chore: add a default polyfill to head 2022-09-22 11:29:39 +08:00
Noah Hsu
d8dc8d8623 fix: dir duplicate creation (close #1687) 2022-09-19 13:43:23 +08:00
Noah Hsu
24d58f278a fix: don't use cache if no objs 2022-09-18 18:38:47 +08:00
Noah Hsu
6c89c6c8ae fix: aria2 download magnet link (close #1665) 2022-09-18 16:07:32 +08:00
Noah Hsu
bec3a327a7 fix: hide objs if only virtual files 2022-09-17 15:31:30 +08:00
Noah Hsu
d329df70f3 fix: failed create record if use mysql (close #1690) 2022-09-16 22:21:43 +08:00
Noah Hsu
d9f0603271 fix: copy folder between two storage (fix #1670) 2022-09-15 17:58:32 +08:00
Noah Hsu
86a625cb40 fix: set CHARSET to utf8mb4 if use mysql 2022-09-15 17:14:03 +08:00
Noah Hsu
7ad3748a46 feat: update cache after remove instead of clear 2022-09-14 20:28:52 +08:00
Noah Hsu
9e5ef974a7 fix: send on closed channel 2022-09-14 15:13:02 +08:00
Noah Hsu
2de0da87fa fix: infinite loop if new multi-level folder (close #1661) 2022-09-13 18:34:04 +08:00
Noah Hsu
78e34f0d9f fix: log error if err != nil (close #1651) 2022-09-12 17:01:06 +08:00
Noah Hsu
cd73e34ccc chore: optional other interface 2022-09-11 18:40:19 +08:00
Noah Hsu
107462e42e chore: change default pdf viewer address 2022-09-11 18:27:28 +08:00
Noah Hsu
969018db37 fix: is the root folder required (close #1633) 2022-09-11 16:23:46 +08:00
Noah Hsu
fd99c2197b fix: remove relative path check 2022-09-11 14:05:13 +08:00
Noah Hsu
f5c7a11da5 chore: add client ip to key of link cache 2022-09-10 14:12:57 +08:00
Noah Hsu
220cd4d6b8 fix: must update version if upgrade 2022-09-10 13:47:38 +08:00
Noah Hsu
4af9124162 fix: error if use abs temp path (close #1624) 2022-09-09 18:50:54 +08:00
Noah Hsu
63569be41d fix: wrong columnName index 2022-09-09 16:44:54 +08:00
Noah Hsu
7d3c3df207 ci: fix web release url 2022-09-09 13:34:22 +08:00
Noah Hsu
7a12f1bddd chore: add audio_cover setting 2022-09-07 19:18:19 +08:00
Noah Hsu
71d30b6819 chore: rename index to order of storage 2022-09-07 15:55:15 +08:00
Noah Hsu
a24dfddc2a feat: add 189cloud driver 2022-09-06 14:39:21 +08:00
Noah Hsu
3dd4fbd76d feat: add webdav driver 2022-09-04 22:34:54 +08:00
Noah Hsu
9d20c887df fix: webdav_policy options 2022-09-04 14:48:21 +08:00
Noah Hsu
a1c86b3350 chore!: change root folder 2022-09-04 13:22:42 +08:00
Noah Hsu
ffba5e0aec feat: add sftp driver (close #1466) 2022-09-04 12:43:52 +08:00
Noah Hsu
8fd56ef9dd feat: check status before storage call 2022-09-03 22:32:09 +08:00
Noah Hsu
5d0668b00b feat: add google_drive driver 2022-09-03 20:34:06 +08:00
Noah Hsu
7da9e33c4d fix: hide access_token in error message of baidu_netdisk 2022-09-03 19:48:11 +08:00
Noah Hsu
611457c0e7 feat: add baidu_netdisk driver 2022-09-02 22:46:31 +08:00