alist/server
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
..
common feat: invalidate token on logout (#6923 close #6792) 2024-08-04 12:32:39 +08:00
handles feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
middlewares feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
s3 feat: update alist-org/gofakes3 to v0.0.7 to support create folder in PutObject (#6880) 2024-07-27 20:06:05 +08:00
static fix: embed all files of dist 2024-02-03 19:44:50 +08:00
webdav feat: add `proxy_range` option for `139Yun` `Alias` `AList V3` (#6496) 2024-05-22 23:31:42 +08:00
debug.go chore: enable all pprof handle on debug 2023-09-07 14:56:50 +08:00
router.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
s3.go fix(s3): don't bind s3 port if s3 is not enabled (#6291) 2024-04-03 10:09:48 +08:00
webdav.go fix(webdav): optimize `HEAD` request (close #5182) 2023-09-06 16:32:51 +08:00