9469c95b14
fix(security): potential XSS vulnerabilities ( #896 )
2025-07-31 12:57:20 +08:00
cf912dcf7a
fix(cmd): output to console ( #920 )
...
fix(cmd): output to terminal
2025-07-31 11:44:00 +08:00
ccd4af26e5
feat(patch): add migration from Alist V3 driver to OpenList ( #919 )
...
* feat(patch): add migration from Alist V3 driver to OpenList
* chore(patch): improve logging
2025-07-31 11:43:21 +08:00
1682e873d6
feat(search): enhanced meilisearch
search experience ( #864 )
...
* feat(search): enhanced `meilisearch` search experience
- upgrade `meilisearch` dependency
- support subdirectory search
- optimize searchDocument fields for subdirectory search
- specify full index uid instead of index prefix
* fix(search): more fixes to `meilisearch`
- make use of context where context was not used
- remove code of waiting task in deletion process, as tasks are queued and will be executed orderly (if tasks were submitted to the queue successfully), which can improve `AutoUpdate` performance
2025-07-31 11:24:22 +08:00
54ae7e6d9b
feat(115_open): Add GetObjInfo to accelerate getting link ( #888 )
...
* feat(115_open): Add GetObjInfo to accelerate getting link
* feat(fs): use cache directly when cache exist
2025-07-31 11:20:02 +08:00
d6867b4ab6
fix(user): show admin password on first start ( #883 )
...
* fix: fix admin password not shown in first start
* chore: add time dependence
Co-authored-by: Yinan Qin <39023210+elysia-best@users.noreply.github.com >
Signed-off-by: ILoveScratch <ilovescratch@foxmail.com >
* fix: fix log format
Co-authored-by: Yinan Qin <39023210+elysia-best@users.noreply.github.com >
Signed-off-by: ILoveScratch <ilovescratch@foxmail.com >
---------
Signed-off-by: ILoveScratch <ilovescratch@foxmail.com >
Co-authored-by: Yinan Qin <39023210+elysia-best@users.noreply.github.com >
2025-07-29 21:36:27 +08:00
7da06655cb
feat(setting): add site version information ( #859 )
...
* feat(setting): add site version information
* feat(conf): update conf.WebVersion to rolling
* fix(static): update condition to check conf.Version instead of conf.WebVersion
* fix(build.sh): use rolling release for web frontend in dev and beta builds
* chore(build.sh): update GitAuthor to The OpenList Projects Contributors
* fix(static): update condition to check conf.WebVersion
2025-07-29 09:49:33 +08:00
e0b3a611ba
feat(thunderx,pikpak): add offline download support for ThunderX; add ctx to specific PikPak functions ( #879 )
...
* feat(thunderx,pikpak): add offline download support for ThunderX; add ctx to specific PikPak functions
* Update internal/offline_download/tool/download.go
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
Signed-off-by: 花月喵梦 <152958106+nekohy@users.noreply.github.com >
---------
Signed-off-by: 花月喵梦 <152958106+nekohy@users.noreply.github.com >
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
2025-07-29 09:46:28 +08:00
4e9c30f49d
feat(fs): full support webdav cross-driver copy and move ( #823 )
...
* fix(fs): restore webdav cross-driver copy and move
* fix bug
* webdav支持复制、移动 文件夹
* 优化
* 。
2025-07-26 00:27:46 +08:00
da8d6607cf
fix(static): support logo replacement ( #834 Close #754 )
2025-07-25 17:12:51 +08:00
b273232f87
refactor(log): redir utils.Log to logrus after init ( #833 )
2025-07-25 13:38:45 +08:00
358e4d851e
refactor(log): filter ( #816 )
2025-07-25 11:33:27 +08:00
e93ab76036
feat(task-group): introduce TaskGroupCoordinator for coordinated task execution ( #721 )
...
* feat(task): add task hook,batch task
refactor(move): move use CopyTask
* Update internal/task/batch_task/refresh.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Seven <53081179+Seven66677731@users.noreply.github.com >
* fix: upload task allFinish judge
* Update internal/task/batch_task/refresh.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Seven <53081179+Seven66677731@users.noreply.github.com >
* feat: enhance concurrency safety
* 优化代码
* 解压缩
* 修复死锁
* refactor(move): move as task
* 重构,优化
* .
* 优化,修复bug
* .
* 修复bug
* feat: add task retry judge
* 代理Task.SetState函数来判断Task的生命周期
* chore: use OnSucceeded、OnFailed、OnBeforeRetry functions
* 优化
* 优化,去除重复代码
* .
* 优化
* .
* webdav
* Revert "fix(fs):After the file is copied or moved, flush the cache of the directory that was copied or moved to."
This reverts commit 5f03edd683
.
---------
Signed-off-by: Seven <53081179+Seven66677731@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-24 16:15:24 +08:00
a9f02ecdac
refactor(log):Refactor log filtering to use centralized configuration and add server-specific filtering ( #798 )
...
* feat(log):Add configurable log filtering middleware for HTTP requests
Implement a comprehensive log filtering system that allows selective suppression of HTTP request logs based on paths, methods, and prefixes. The system includes environment variable configuration support and filters health checks, WebDAV requests, and HEAD requests by default to reduce log noise.
* fix(log):Replace gin.DefaultLogFormatter with custom implementation
* Remove filtered logger test file
* fix(log):Refactor log filtering to use centralized configuration and add server-specific filtering
* fix(log):Add documentation comments for log filtering configuration
2025-07-24 16:10:47 +08:00
5f03edd683
fix(fs):After the file is copied or moved, flush the cache of the directory that was copied or moved to. ( #592 )
...
* fix(fs):After the file is copied, the cache of the copied directory is refreshed
* fixed randomstring
* fixed EOL and Sync branch
chore(quark_uc): `webdav_policy` default to native_proxy
* fixed uuid and other bugs
* fixed comments
* fixed EOL
* add move refresh
* fixed builds
* fixed batch
* change betch to task.go
---------
Co-authored-by: Sumengjing <146963948+suyunjing-su@users.noreply.github.com >
2025-07-24 10:24:12 +08:00
8b65c918d4
chore(permission): admin enables webdav read-only by default ( #726 )
...
chore: admin enables webdav read-only by default
2025-07-24 10:19:49 +08:00
bba4fb2203
fix(security): directory traversal ( #744 )
...
* fix(security): Directory traversal
* chore: .
* 优化
---------
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-22 14:45:01 +08:00
a20c2020f8
fix(cmd): optimize parse of command flag --data
( #777 )
...
* Fix (cmd): optimize parse of command flag `--data`
* DBFile
* 优化
* os.Getwd()
2025-07-22 10:51:28 +08:00
5a0d8ee1b8
feat(proxy): add disable proxy sign ( #764 )
...
* feat(proxy): add disable proxy sign
* Update driver.go
* GenerateDownProxyUrl
* .
* Update internal/op/driver.go
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
* .
---------
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
Co-authored-by: j2rong4cn <j2rong@qq.com >
Co-authored-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
2025-07-21 17:03:08 +08:00
811a862288
feat(archives): add additional accepted archive extensions ( #747 )
2025-07-20 15:32:46 +08:00
74d32fd4d7
fix(simplehttp): logic bug when unable to parse file name ( #761 )
2025-07-20 14:13:30 +08:00
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
2a4c546a8b
feat: default settings api ( #716 )
...
* feat: default settings api
* fix logic bug
* chore
2025-07-14 23:41:34 +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
e5fbe72581
fix(security): add login count validation for webdav ( #693 )
2025-07-12 17:03:41 +08:00
19c6b6f930
feat(115_open): add offline download ( #683 )
2025-07-11 20:17:54 +08:00
7c7cec0993
style(offline_download): add more description in log ( #653 )
...
fix(offline_download): add more description in log
2025-07-09 14:16:05 +08:00
3838ef0663
feat(traffic): update progress when caching file ( #646 )
...
* feat(traffic): update progress when caching file
* 调整参数位置和命名
---------
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-08 21:41:45 +08:00
a77e515c9b
fix(ocr): repair verification code OCR recognition service ( #602 )
...
* fix(ocr):Repair verification code OCR recognition service
* 修复对 非新用户 无效的问题
* chore: SettingItem.PreDefault重命名为MigrationValue
---------
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-06 13:09:17 +08:00
9557834342
[skip ci] chore(net): update test
2025-07-04 18:44:52 +08:00
f3920b02f7
fix(net): goroutine deadlock
2025-07-04 12:52:21 +08:00
ffb6c2a180
refactor: optimize stream, link, and resource management ( #486 )
...
* refactor: optimize stream, link, and resource management
* Link.MFile改为io.ReadSeeker类型
* fix (crypt): read on closed response body
* chore
* chore
* chore
2025-07-03 10:39:34 +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
c166fe6127
chore: remove exp and go mod tidy ( #440 )
2025-07-02 15:30:53 +08:00
b4997e7a7e
Revert "fix(fs): update objs cache" ( close #511 )
...
Revert "fix(fs): update objs cache (#507 )"
This reverts commit f26892ac3c
.
2025-07-01 20:33:44 +08:00
f26892ac3c
fix(fs): update objs cache ( #507 )
2025-07-01 15:46:34 +08:00
a17b3dc405
feat(strm_driver): add strm driver ( #410 )
...
* feat(strm_driver): add strm driver
* chore(strm_driver): get api_url from context
* 优化代码
* chore(strm_driver): update package name
---------
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-01 14:29:28 +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
862b1c3c53
chore(net): remove unnecessary goroutine
2025-07-01 00:28:26 +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
6d0d3ac612
fix: crypt: file already closed; net: concurrent download deadlock
2025-06-30 01:49:27 +08:00
76a1f99df1
chore(default setting): add avif in default image settings ( #458 )
2025-06-28 19:18:08 +08:00
23cfe8090b
pref(net): improve concurrent read and write buffer ( #416 )
...
* pref(net): improve concurrent read and write buffer
* chore
2025-06-27 15:18:11 +08:00
0fd602bc1b
refactor(fs):Refactor the delete function and fix known issues ( #353 )
...
* fix(move):Fix file move logic
* fix(move):fixed move logic
* fix(move):Fixed move logic
* Fixed errs
* fix(move):fixed movetask
* fix(move):fix movetask
* fixed
* fix(move):Refactoring the move structure
* fix(move):Fixed move system
* Fixed
* Fixed
* Fixed
* Fixed
* Fixed
* Rollback
* Fixed and Refactor
* fix(move):fixed
* fix(move):Solve related performance issues
* refacter(move):fixed build bugs
2025-06-24 23:36:37 +08:00
d695d28e13
feat(thunder&thunder_browser): fix deviceId generation & support offline download and update login interface ( #290 )
...
* fix(thunder): fix deviceID generation
* feat(thunder_browser): support offline download and update login interface
* feat(thunder_browser): add fluent_play method for offline download
2025-06-24 21:54:30 +08:00
96cf2f7cf9
fix(fs):Repair file loss caused by special reasons when moving files ( #321 )
...
* fix(move):Fix file move logic
* fix(move):fixed move logic
2025-06-23 19:48:17 +08:00
49213c1321
fix(setting): update PDF and EPUB viewer URLs ( #297 )
...
- Change PDF.js viewer URL from protocol-relative to HTTPS and updates parameter from "url" to "file" for proper document loading
- Also standardize EPUB.js viewer to use HTTPS protocol for consistency
2025-06-23 11:32:22 +08:00
639b5cf7c2
fix(net):empty file download error ( #282 )
2025-06-22 14:21:45 +08:00