11cf561307
fix(security): potential XSS vulnerabilities ( #880 )
...
* fix(security): potential XSS vulnerabilities
* chore: replace alist identifier to openlist identifier
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
Signed-off-by: ILoveScratch <ilovescratch@foxmail.com >
---------
Signed-off-by: ILoveScratch <ilovescratch@foxmail.com >
Co-authored-by: ILoveScratch <ilovescratch@foxmail.com >
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
2025-07-29 20:17:11 +08:00
239b58f63e
fix(ci):Disable linux/s390x Docker builds ( #887 )
2025-07-29 16:22:50 +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
be1ad08a83
feat(ci):Add Windows 7 and LoongArch Release build support ( #857 )
...
* feat:Add Windows 7 and LoongArch old world build support (#30 )
* feat:Add Windows 7 and Loongson old world build support
- Add BuildWin7() function with patched Go compiler for Windows 7 compatibility
- Add BuildLoongOldWorld() function for linux-loong64-abi1.0 target
- Create Zig-based wrapper scripts for Windows 7 cross-compilation
- Integrate new build functions into existing release workflows
* fix(win7):Add MinGW-w64 toolchain and improve LoongArch ABI isolation
- Install MinGW-w64 cross-compilation toolchain for Win7 compatibility
- Replace Zig compiler wrappers with MinGW-w64 for Windows 7 builds
- Add Go build cache cleaning to prevent LoongArch ABI1.0/ABI2.0 cross-contamination
- Force clean rebuilds (-a flag) for LoongArch builds to ensure ABI compatibility
* feat: add Windows 7 build support to beta release workflow
* feat: add LoongArch ABI2.0 support alongside existing ABI1.0 build (#31 )
- Add BuildWin7() function with patched Go compiler for Windows 7 compatibility
- Add BuildLoongOldWorld() function for linux-loong64-abi1.0 target
- Create Zig-based wrapper scripts for Windows 7 cross-compilation
- Integrate new build functions into existing release workflows
- Install MinGW-w64 cross-compilation toolchain for Win7 compatibility
- Replace Zig compiler wrappers with MinGW-w64 for Windows 7 builds
- Add Go build cache cleaning to prevent LoongArch ABI1.0/ABI2.0 cross-contamination
- Force clean rebuilds (-a flag) for LoongArch builds to ensure ABI compatibility
* [skip ci]refactor:Refactor LoongArch builds to separate glibc from musl compilation
* fix(go-cache):Improve error handling for Go module cache cleaning in LoongArch builds
* feat(build): Enhance LoongArch build process with improved toolchain setup and cache management
* fix(build): Update Windows 7 target naming in build scripts and workflows
* refactor(build): Replace MinGW-w64 with Zig for Windows 7 toolchain in build scripts
* chore(cgo): remove cgo-actions subproject
2025-07-27 00:27:31 +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
0ee31a3f36
fix(crypt): wrong ContentLength
2025-07-25 19:55:22 +08:00
23bddf991e
feat(drivers): enable local sorting for cloudreve, ilanzou ( #840 )
...
* feat(cloudreve): enable local sorting
* feat(ilanzou): enable local sorting
2025-07-25 18:01:19 +08:00
da8d6607cf
fix(static): support logo replacement ( #834 Close #754 )
2025-07-25 17:12:51 +08:00
6134574dac
fix(fs): rename bug ( #832 )
...
* fix(fs): rename bug
* chore
* fix bug
* .
---------
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-07-25 13:42:39 +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
e8a1ed638a
fix(ci):Exclude FreeBSD patch releases from version detection
v4.0.9
2025-07-24 22:41:45 +08:00
4106e2a996
fix(static): correct CDN fetch condition for index.html ( #814 )
2025-07-24 22:28:58 +08:00
c2271df64e
fix(ci): update OpenListTeam/cgo-actions to v1.2.2 to fix loongarch64 build ( #811 )
...
* Update beta_release.yml
* Update build.yml
2025-07-24 22:20:23 +08:00
d4b8570eb8
fix(docker): Fix the runsvdir permission issue caused by su-exec user switching and resolve the RUN_ARIA2 variable compatibility problem. ( #805 )
2025-07-24 17:22:49 +08:00
bd297e8ccc
fix(deps): update module golang.org/x/image to v0.29.0 ( #804 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 16:22:19 +08:00
923d282c8a
fix(deps): update module github.com/sheltonzhu/115driver to v1.1.0 ( #803 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 16:21:32 +08:00
4d8c4d7089
fix(deps): update module github.com/coreos/go-oidc to v2.3.0+incompatible ( #586 )
...
* fix(deps): update module github.com/coreos/go-oidc to v2.3.0+incompatible
* Update go.mod
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
---------
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
2025-07-24 16:21:03 +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
93849a3b5b
fix(deps): update module github.com/pquerna/otp to v1.5.0 ( #799 )
...
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
2025-07-24 16:07:23 +08:00
c2e0d0c9ce
fix(deps): update module github.com/protonmail/go-crypto to v1.3.0 ( #800 )
...
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
2025-07-24 16:06:50 +08:00
4a713363ee
fix(deps): update module github.com/azure/azure-sdk-for-go/sdk/storage/azblob to v1.6.2 ( #801 )
...
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
2025-07-24 16:06:10 +08:00
3da8ccb7a7
fix(deps): update module github.com/rclone/rclone to v1.70.3 ( #802 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 16:05:20 +08:00
676b8cff0b
fix(deps): update azure-sdk-for-go monorepo ( #579 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:27:36 +08:00
57cf28fc90
fix(deps): update github.com/fclairamb/ftpserverlib digest to 4a925d7 ( #675 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:26:39 +08:00
8cf90e074d
fix(deps): update module github.com/charmbracelet/bubbletea to v1.3.6 ( #585 )
...
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com >
2025-07-24 10:26:23 +08:00
74c2ed8306
fix(deps): update module github.com/charmbracelet/bubbles to v0.21.0 ( #583 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:25:09 +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
b5f0e3e5ee
fix(deps): update module github.com/go-webauthn/webauthn to v0.13.4 ( #677 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:05:44 +08:00
179894ff37
fix(deps): update module github.com/ipfs/go-cid to v0.5.0 ( #680 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:05:05 +08:00
e2fc89c637
chore(deps): update dependency go to v1.24.5 ( #783 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:04:20 +08:00
cacf67b181
fix(deps): update module github.com/yuin/goldmark to v1.7.13 ( #794 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-24 10:04:00 +08:00
afb043e1d6
feat(docker): Change keep-alive strategy to runit, add aria2 log support ( #791 )
2025-07-24 09:19:33 +08:00
d9debb81ad
feat(log):Add configurable log filtering middleware for HTTP requests ( #782 )
...
* 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.
2025-07-24 00:00:26 +08:00
4c069fddd6
fix(terabox): file upload error ( #733 )
...
* fix(terabox):fix file upload error failed to create file errno 10
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
* fix(terabox):fix file upload error failed to create file errno 10
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
* replace the goto statement with the retry-go package
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
* Update util.go
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
* Update util.go
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
* go fmt
---------
Signed-off-by: yuyamionini <46483865+yuyamionini@users.noreply.github.com >
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
2025-07-23 23:42:12 +08:00
b450a2104d
chore(docs): update domain ( #788 )
...
* chore(docs): update domain
* docs(issue): add guide link for bug reporting
2025-07-23 14:26:21 +08:00
7d0de17daf
feat(static): fetch index.html from cdn for beta ( #372 )
...
* refactor(static): simplify folder iteration in Static function
* feat(static): disable local static when `cdn` is set
* feat(static): fetch index.html from cdn for beta
* refactor(static): use RestyClient for better retrying
* fix(static): add Accept header when fetching index.html from CDN
* refactor(static): optimize HTML replacement
* chore(static): add logging to static file system initialization
* feat(static): ensure static file redirected to CDN
2025-07-22 22:14:07 +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
a92b5eb929
refactor(cloudreve): use retry-go
for net/http
uploads ( #773 )
...
* refactor(cloudreve): use retry-go for uploads
* refactor(cloudreve_v4): use retry-go for uploads
* refactor(onedrive): use retry-go for uploads
* refactor(onedrive_app): use retry-go for uploads
* chore(onedrive_app): remove unnecessary error handling for host retrieval
* feat(cloudreve): move read logic inside retry block
* feat(cloudreve_v4): move read logic inside retry block
* feat(onedrive): move read logic inside retry block
* feat(onedrive_app): move read logic inside retry block
2025-07-22 10:25:04 +08:00
6817494a41
chore(ci): update cgo-actions to 1.2.1 & add patch version define for go ( #779 )
...
chore(ci): update cgo-actions to 1.2.1 & fix patch version for go
2025-07-22 09:02:07 +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
012e51c551
fix(cloudreve_v4): remove deprecated authn check for login ( #767 )
...
* fix(cloudreve_v4): disable authn check for login
* chore(cloudreve_v4): update site login config fields
2025-07-21 15:53:10 +08:00
59ec1dbc9b
feat(lenovonas_share): add option to not show root directory ( #772 )
2025-07-21 14:38:10 +08:00
6bb28d13f9
fix(quark): set the transcoding link ContentLength to the correct size
2025-07-20 16:40:32 +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