45 Commits

Author SHA1 Message Date
Simon
61a06992c3
fix(aria2): directory missing (close #1856 pr #2504) 2022-11-28 14:05:28 +08:00
Noah Hsu
3b6d8987db chore: add id to resp of create storage 2022-11-13 20:17:10 +08:00
小傅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
b8cf02ca68 fix(aria2): retry 5 times for get status (close #1857) 2022-10-18 15:27:19 +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
6c89c6c8ae fix: aria2 download magnet link (close #1665) 2022-09-18 16:07:32 +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
0f2425ce53 feat: add teambition driver 2022-09-02 18:24:14 +08:00
Noah Hsu
284274b37e feat: add 123pan driver 2022-09-01 22:13:37 +08:00
Noah Hsu
7ac1d14eeb style: shorten name operations to op 2022-08-31 21:01:15 +08:00
Noah Hsu
f551dc76d0 feat: add onedrive driver 2022-08-30 21:52:06 +08:00
Noah Hsu
68a125491b chore: add refresh arg in list func 2022-08-29 19:15:52 +08:00
Noah Hsu
b51e664543 chore: go fmt 2022-08-03 14:26:59 +08:00
Noah Hsu
c7128133d6 chore: rename remove to delete 2022-07-31 21:42:01 +08:00
Noah Hsu
e08810a12f chore: fix test typo 2022-07-18 14:52:34 +08:00
Noah Hsu
2bff656f00 chore: rename VirtualPath to MountPath 2022-07-12 14:11:37 +08:00
Noah Hsu
4ac312fd07 chore: add version to aria handle 2022-07-12 14:02:29 +08:00
Noah Hsu
18b218c6c9 fix: the variable has the same name as the package 2022-07-10 16:39:55 +08:00
Noah Hsu
fc1204c914 chore: rename account to storage 2022-07-10 14:45:39 +08:00
Noah Hsu
4340a48633 fix: put as task from web 2022-07-01 15:11:18 +08:00
Noah Hsu
fd55f2cbfa chore: reduce query aria2 status interval 2022-06-29 20:32:45 +08:00
Noah Hsu
f54418bdae fix: serialize task info 2022-06-29 20:28:02 +08:00
Noah Hsu
786e44d1d2 fix: init aria2 client 2022-06-29 20:07:33 +08:00
Noah Hsu
0bf724f447 feat: task manage api 2022-06-29 18:36:14 +08:00
Noah Hsu
c88680b495 chore: aria2 task wait for transfer 2022-06-29 18:12:31 +08:00
Noah Hsu
8abee6504f feat: set aria2 client and add url to aria2 api 2022-06-29 17:31:37 +08:00
Noah Hsu
b474eefd87 chore: rename store to db 2022-06-25 21:36:35 +08:00
Noah Hsu
306b90399c chore: move conf package 2022-06-25 20:38:02 +08:00
Noah Hsu
7dadab95b2 fix: missed mimetype of stream in aria2 monitor 2022-06-25 15:15:54 +08:00
Noah Hsu
956a5ae906 perf: extract fs func and add error log 2022-06-23 23:03:11 +08:00
Noah Hsu
40b7ecc845 chore(aria2): export task manager 2022-06-23 21:24:23 +08:00
Noah Hsu
92983aa185 chore: get or remove by states 2022-06-23 21:19:01 +08:00
Noah Hsu
6c61f1d261 chore: add state for task 2022-06-23 21:09:54 +08:00
Noah Hsu
aedcae840d test(aria2): download and transfer file 2022-06-23 17:06:17 +08:00
Noah Hsu
d77dea733f chore: rename errors 2022-06-23 16:03:27 +08:00
Noah Hsu
fd5c3e831d chore: change size of file to int64 2022-06-23 15:57:36 +08:00
Noah Hsu
c3040fdfc3 chore: move errors 2022-06-23 15:57:10 +08:00
Noah Hsu
2612cd7f1c test(aria2): init aria2 client 2022-06-22 19:36:49 +08:00
Noah Hsu
3fe0a7bf6b refactor(task): remove Data field 2022-06-22 19:28:41 +08:00
Noah Hsu
a6df492fff refactor(aria2): extract monitor 2022-06-22 15:16:13 +08:00
Noah Hsu
f6242d46b1 feat: add uri to aria2 2022-06-21 17:37:02 +08:00
Noah Hsu
55d6434daa refactor(task): generic task manager 2022-06-21 16:14:37 +08:00
Noah Hsu
1b3387ca1a chore: aria2 notifier 2022-06-20 22:29:52 +08:00
Noah Hsu
6c552a9d62 chore: aria2 related function 2022-06-20 20:34:58 +08:00