alist/server/handles
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: invalidate token on logout (#6923 close #6792) 2024-08-04 12:32:39 +08:00
down.go feat: add `proxy_range` option for `139Yun` `Alias` `AList V3` (#6496) 2024-05-22 23:31:42 +08:00
driver.go style: shorten name `operations` to `op` 2022-08-31 21:01:15 +08:00
fsbatch.go fix: regexp rename error (close #4644 in #4653) 2023-06-26 15:15:57 +08:00
fsmanage.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
fsread.go feat: add `header` to `meta` (ref #5317) 2023-10-02 16:43:29 +08:00
fsup.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
helper.go fix: reflected XSS vulnerability plist api 2023-11-24 16:46:48 +08:00
index.go fix(search): BuildIndex concurrency error (#7035) 2024-08-22 00:44:55 +08:00
ldap_login.go fix(ldap): `exiting by peer` exception occurred during the TLS connection(#5977) 2024-02-01 10:43:08 +08:00
meta.go fix: some missing regexp lib modified 2024-01-01 18:44:59 +08:00
offline_download.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
search.go refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
setting.go refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
ssologin.go fix: some typos (#6283) 2024-04-02 16:50:30 +08:00
storage.go feat: batch reload all storages (close #2762 pr #2775) 2022-12-21 19:21:18 +08:00
task.go feat: support general users view and cancel own tasks (#7416 close #7398) 2024-11-01 23:32:26 +08:00
user.go fix: webauthn logspam (#6181) 2024-03-10 16:48:25 +08:00
webauthn.go feat: add support for client-side discoverable WebAuthn login (#5722) 2023-12-24 15:21:17 +08:00