alist/internal/offline_download/tool
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
..
add.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
all_test.go feat: refactor offline download (#5408 close #4108) 2023-11-06 16:56:55 +08:00
base.go feat(offline_download): add simple http tool (close #4002) 2023-11-24 16:26:05 +08:00
download.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
tools.go feat: refactor task module 2023-11-20 18:01:51 +08:00
transfer.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
util.go feat: persistant Task (#6925 close #5313) 2024-08-07 12:16:21 +08:00