alist/internal/fs
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
..
copy.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
fs.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
get.go refactor: obj name mapping and internal path processing (#2733) 2022-12-17 19:49:05 +08:00
link.go feat(alias): support proxy and direct together 2023-03-14 13:46:27 +08:00
list.go fix(alias): Support forced refresh of file list (#6562) 2024-06-16 16:59:10 +08:00
other.go feat: optimize file operation interface (#2757) 2022-12-20 15:02:40 +08:00
put.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
walk.go perf(alias): disabled log on fs call (close #4054) 2023-04-07 00:02:07 +08:00