alist/internal/offline_download
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
..
115 feat(115): add offline download tool (close #6888 in #6954) 2024-08-10 20:59:07 +08:00
aria2 fix: set progress to 100 when it's NaN (close #5906) 2024-01-20 13:06:46 +08:00
http fix(offline_download): os.create failure while the name of downloaded file is empty (#7041) 2024-08-22 00:44:23 +08:00
pikpak feat: add pikpak offline download function (#6648) 2024-07-07 16:50:05 +08:00
qbit fix(qbit): seed time doesn't take effect (close #5663) 2023-12-11 15:20:29 +08:00
tool feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
transmission feat(offline_download): add transmission (close #4102 in #7232) 2024-09-28 23:15:58 +08:00
all.go feat(offline_download): add transmission (close #4102 in #7232) 2024-09-28 23:15:58 +08:00