86324d2d6b
fix(net): ensure accurate content-length in response ( #749 )
...
* fix(fs): ensure accurate content-length in http2 requests
Chrome browsers were unable to preview thumbnails, reporting an
'ERR_HTTP_2_PROTOCOL_ERROR'. This was caused by an incorrect
content-length header in the server's response for thumbnail images.
This commit corrects the content-length calculation, allowing
Chrome and other compliant clients to render thumbnails correctly.
* fix(net): ensure accurate content-length in response
* 补缺
* .
---------
Co-authored-by: zhiqiang.huang <zhiqiang.tech@gmail.com >
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-19 20:36:27 +08:00
0c461991f9
chore: standardize context keys with custom ContextKey type ( #697 )
...
* chore: standardize context keys with custom ContextKey type
* fix bug
* 使用Request.Context
2025-07-14 23:55:17 +08:00
cc01b410a4
perf(link): optimize concurrent response ( #641 )
...
* fix(crypt): bug caused by link cache
* perf(crypt,mega,halalcloud,quark,uc): optimize concurrent response link
* chore: 删除无用代码
* ftp
* 修复bug;资源释放
* 添加SyncClosers
* local,sftp,smb
* 重构,优化,增强
* Update internal/stream/util.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
* chore
* chore
* 优化,修复bug
* .
---------
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-12 17:57:54 +08:00
e83f8e197a
feat(offline-download): SimpleHttp
: download stream direct upload ( #523 )
...
* feat(offline-download): stream download to upload
* 重命名stream_put为upload_download_stream
* chore
2025-07-02 18:47:16 +08:00
874dc292ae
fix(gomod): go modules with tagged versions ( #499 )
...
fix: go modules with tagged versions
2025-07-01 09:54:50 +08:00
52c93f2046
build:Update old dependencies to new hosting ( #495 )
...
* build:Update old dependencies to new hosting
2025-06-30 21:26:42 +08:00
103abc942e
refactor: pass api_url
through context ( #457 )
...
* refactor: pass `api_url` through context
* 移除 LinkArgs.HttpReq
* pref(alias): 减少不必要下载代理
* 修复bug
* net: 支持1并发 分片下载
2025-06-30 15:48:05 +08:00
fdcc2f136e
chore: change module name to OpenListTeam/OpenList ( #2 )
...
* Enable blank issue
* chore(README.md): update docs (temporally)
* Update FUNDING.yml
* chore: purge README.md
* chore: change module name to OpenListTeam/OpenList
* fix: fix link errors
* chore: remove v3 in module name
* fix: resolve some conficts
* fix: resolve conficts
* docs: update with latest file
---------
Co-authored-by: ShenLin <773933146@qq.com >
Co-authored-by: Hantong Chen <cxwdyx620@gmail.com >
Co-authored-by: joshua <i@joshua.su >
Co-authored-by: Hantong Chen <70561268+cxw620@users.noreply.github.com >
2025-06-12 22:02:46 +08:00
d5ec998699
feat(task): allow retry canceled ( #7852 )
2025-01-27 20:18:10 +08:00
11b6a6012f
fix(copy): use Link and Put when the driver does not support copying ( #7834 )
2025-01-18 23:52:02 +08:00
d7aa1608ac
feat(task): add speed monitor ( #7655 )
2024-12-25 21:09:54 +08:00
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
74f8295960
feat: persistant Task ( #6925 close #5313 )
2024-08-07 12:16:21 +08:00
026e944cbb
feat: add task info to resp of add task api ( close #5579 )
2023-12-03 14:44:20 +08:00
7583c4d734
feat: customize workers and retry of task ( close #5493 fix #5274 )
2023-11-21 15:51:57 +08:00
11a30c5044
feat: refactor task module
2023-11-20 18:01:51 +08:00
352a6a741a
feat(webdav): support copy directly without task ( close #5206 )
2023-09-13 15:45:57 +08:00
a3748af772
feat: misc improvements about upload/copy/hash ( #5045 )
...
general: add createTime/updateTime support in webdav and some drivers
general: add hash support in some drivers
general: cross-storage rapid-upload support
general: enhance upload to avoid local temp file if possible
general: replace readseekcloser with File interface to speed upstream operations
feat(aliyun_open): same as above
feat(crypt): add hack for 139cloud
Close #4934
Close #4819
baidu_netdisk needs to improve the upload code to support rapid-upload
2023-08-27 21:14:23 +08:00
5606c23768
perf(copy): use multi-thread downloader ( close #5000 )
2023-08-13 15:31:49 +08:00
b2f5757f8d
fix(copy): copy from driver that return writer
( close #4291 )
2023-05-26 21:57:43 +08:00
62a06fa0f9
feat: optimize file operation interface ( #2757 )
...
* feat: optimize file operation interface
* chore: fix typo
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 15:02:40 +08:00
d9f0603271
fix: copy folder between two storage ( fix #1670 )
2022-09-15 17:58:32 +08:00
7ac1d14eeb
style: shorten name operations
to op
2022-08-31 21:01:15 +08:00
af884010d1
feat: local storage image thumbnail
2022-08-11 20:32:17 +08:00
b51e664543
chore: go fmt
2022-08-03 14:26:59 +08:00
2bff656f00
chore: rename VirtualPath
to MountPath
2022-07-12 14:11:37 +08:00
fc1204c914
chore: rename account to storage
2022-07-10 14:45:39 +08:00
96380a50da
feat: file proxy handle
2022-06-28 21:58:46 +08:00
d1efec4539
chore: common err resp log
2022-06-28 18:12:53 +08:00
956a5ae906
perf: extract fs func and add error log
2022-06-23 23:03:11 +08:00
3fe0a7bf6b
refactor(task): remove Data
field
2022-06-22 19:28:41 +08:00
55c4a925ba
chore(fs): rename some param
2022-06-21 16:37:51 +08:00
55d6434daa
refactor(task): generic task manager
2022-06-21 16:14:37 +08:00
d665cce739
feat: add task work limit
2022-06-18 20:38:14 +08:00
adf0178bb7
feat: add progress for task
2022-06-18 20:06:45 +08:00
d73a9e4734
fix: format % is missing verb at end of string
2022-06-17 21:42:56 +08:00
73c0c0bf44
chore: export copy and upload task manager
2022-06-17 21:38:37 +08:00
72a76599e4
feat: add upload file to task manager
2022-06-17 21:35:46 +08:00
b9f9e5853e
fix: copy task name
2022-06-17 21:30:16 +08:00
fa6e918fc7
feat: add copy to task manager
2022-06-17 21:23:44 +08:00
53e969e894
feat: task manager
2022-06-17 16:31:41 +08:00
2d60dab13c
feat: copy files between 2 accounts
2022-06-15 18:58:26 +08:00