alist/server/middlewares
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
..
auth.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
check.go feat: static files for embed viewers (#2739) 2022-12-19 13:34:06 +08:00
down.go feat: add fine-grained control for link signing (#3924) 2023-03-24 22:44:33 +08:00
fsup.go fix: upload check if disable sub folder (close #3741) 2023-03-07 14:13:39 +08:00
https.go feat!: support listen to the unix (close #4671) 2023-07-04 17:56:02 +08:00
limit.go feat: limit max connection count (#2701) 2022-12-14 10:33:58 +08:00
search.go feat: multiple search indexes (#2514) 2022-11-28 13:45:25 +08:00