KirCute
60a489eb68
feat(archive): support non-overwrite decompress ( #1701 )
2025-11-25 10:27:29 +08:00
ASLant
39dcf9bd19
feat(onedrive): support frontend direct upload ( #1532 )
...
* OneDrive添加直连上传
* refactor
* fix: duplicate root path join
---------
Co-authored-by: KirCute <951206789@qq.com >
2025-11-06 23:22:02 +08:00
j2rong4cn
174eae802a
perf(stream): optimize CacheFullAndWriter for better memory management ( #1584 )
...
* perf(stream): optimize CacheFullAndWriter for better memory management
* fix(stream): ensure proper seek handling in CacheFullAndWriter for improved data integrity
2025-11-05 12:16:09 +08:00
j2rong4cn
6de15b6310
feat(stream): enhance GetRangeReaderFromLink rate limiting ( #1528 )
...
* feat(stream): enhance GetRangeReaderFromLink rate limiting
* refactor(stream): update GetRangeReaderFromMFile to return *model.FileRangeReader
* refactor(stream): simplify context error handling in RateLimitReader, RateLimitWriter, and RateLimitFile
* refactor(net): replace custom LimitedReadCloser with readers.NewLimitedReadCloser
* fix(model): update Link.ContentLength JSON tag for correct serialization
* docs(model): add clarification to FileRangeReader usage comment
2025-11-04 23:56:09 +08:00
ILoveScratch
15f276537c
fix(share): remove share when user delete ( #1493 )
2025-10-19 22:48:21 +08:00
ILoveScratch
febbcd6027
feat(cache): improve cache management ( #1339 )
...
* feat(cache): improve cache management
* feat(disk-usage): add cache
* feat(disk-usage): add refresh
* fix(disk-usage): cache with ttl
* feat(cache): implement KeyedCache and TypedCache for improved caching mechanism
* fix(copy): update object retrieval to use Get instead of GetUnwrap
* refactor(cache): simplify DirectoryCache structure and improve object management
* fix(cache): correct cache entry initialization and key deletion logic in TypedCache
* refactor(driver): remove GetObjInfo interface and simplify Link function logic
https://github.com/OpenListTeam/OpenList/pull/888/files#r2430925783
* fix(link): optimize link retrieval and caching logic
* refactor(cache): consolidate cache management and improve directory cache handling
* fix(cache): add cache control based on storage configuration in List function
* .
* refactor: replace fmt.Sprintf with strconv for integer conversions
* refactor(cache): enhance cache entry management with Expirable interface
* fix(cache): improve link reference acquisition logic to handle expiration
* refactor: replace OnlyLinkMFile with NoLinkSF in driver configurations and logic
* refactor(link): enhance link caching logic with dynamic type keys based on IP and User-Agent
* feat(drivers): add LinkCacheType to driver configurations for enhanced caching
* refactor(cache): streamline directory object management in cache operations
* refactor(cache): remove unnecessary 'dirty' field from CacheEntry structure
* refactor(cache): replace 'dirty' field with bitwise flags
* refactor(io): 调高SyncClosers.AcquireReference的优先级
* refactor(link): 优化链接获取逻辑,增加重
* refactor(link): 添加RequireReference字段以增强链接管理
* refactor(link): 移除MFile字段,改用RangeReader
* refactor: 移除不必要的NoLinkSF字段
* refactor(cache): 修改目录缓存的脏标志定义和更新逻辑
* feat(cache): add expiration gc
---------
Co-authored-by: KirCute <951206789@qq.com >
Co-authored-by: KirCute <kircute@foxmail.com >
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-10-18 21:47:18 +08:00
KirCute
4ba7696032
feat(pikpak): support disk usage ( #1426 )
...
* feat(pikpak): support disk usage
* fix(alias): cannot list with details
* refactor: rename `NewDiskUsageFromUsedAndTotal`
* fix(disk-usage): get details of storages that is not initialized
2025-10-06 16:37:00 +08:00
NewbieOrange
4153245f2c
fix(drivers): free space underflow if used larger than total space ( #1407 )
2025-10-04 00:41:45 +08:00
KirCute
a2fc38be8d
perf(disk-usage): concurrently get details ( #1326 )
2025-09-29 23:26:56 +08:00
KirCute
cc16cb35bf
feat(style): add driver icons and disk usage ( #1274 )
...
* feat(style): add driver icons and disk usage
* feat(driver): add disk usage for 115_open, 123_open, aliyundrive_open and baidu_netdisk
* feat(driver): add disk usage for crypt, sftp and smb
* chore: clean unused variable
* feat(driver): add disk usage for cloudreve_v4
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top >
* fix(local): disk label check when getting disk usage
* feat(style): return details when accessing the manage page
---------
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top >
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
2025-09-19 11:59:11 +08:00
KirCute
bbb7c06504
feat(alias): support pass through provider ( #1269 )
2025-09-14 21:36:38 +08:00
KirCute
e4c902dd93
feat(share): support more secure file sharing ( #991 )
...
提供一种类似大多数网盘的文件分享操作,这种分享方式可以通过强制 Web 代理隐藏文件源路径,可以设置分享码、最大访问数和过期时间,并且不需要启用 guest 用户。
在全局设置中可以调整:
- 是否强制 Web 代理
- 是否允许预览
- 是否允许预览压缩文件
- 分享文件后,点击“复制链接”按钮复制的内容
前端部分:OpenListTeam/OpenList-Frontend#156
文档部分:OpenListTeam/OpenList-Docs#130
Close #183
Close #526
Close #860
Close #892
Close #1079
* feat(share): support more secure file sharing
* feat(share): add archive preview
* fix(share): fix some bugs
* feat(openlist_share): add openlist share driver
* fix(share): lack unwrap when get virtual path
* fix: use unwrapPath instead of path for virtual file name comparison
* fix(share): change request method of /api/share/list from GET to Any
* fix(share): path traversal vulnerability in sharing path check
* 修复分享alias驱动的文件 没开代理时无法获取URL
* fix(sharing): update error message for sharing root link extraction
---------
Co-authored-by: Suyunmeng <69945917+Suyunmeng@users.noreply.github.com >
Co-authored-by: j2rong4cn <j2rong@qq.com >
2025-08-19 15:10:02 +08:00
j2rong4cn
57fceabcf4
perf(stream): improve file stream range reading and caching mechanism ( #1001 )
...
* perf(stream): improve file stream range reading and caching mechanism
* 。
* add bytes_test.go
* fix(stream): handle EOF and buffer reading more gracefully
* 注释
* refactor: update CacheFullAndWriter to accept pointer for UpdateProgress
* update tests
* Update drivers/google_drive/util.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
* 更优雅的克隆Link
* 修复stream已缓存但无法重复读取
* 将Bytes类型重命名为Reader
* 修复栈溢出
* update tests
---------
Signed-off-by: j2rong4cn <36783515+j2rong4cn@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-11 23:41:22 +08:00
MadDogOwner
8c244a984d
refactor(assets): migrate to resource domain ( #975 )
...
* refactor(assets): migrate to resource domain
* feat(bootstrap): add migration value for logo and favicon settings
2025-08-10 09:57:33 +08:00
j2rong4cn
9ac0484bc0
perf(ftp): improve concurrent Link response; fix alias/local driver issues ( #974 )
2025-08-06 13:32:37 +08:00
SenkjM
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
pnparadise
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
j2rong4cn
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
itsHenry
e5fbe72581
fix(security): add login count validation for webdav ( #693 )
2025-07-12 17:03:41 +08:00
Seven
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
Suyunjing
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
j2rong4cn
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
MadDogOwner
874dc292ae
fix(gomod): go modules with tagged versions ( #499 )
...
fix: go modules with tagged versions
2025-07-01 09:54:50 +08:00
j2rong4cn
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
Suyunmeng
a3c7cb059d
chore:Change Logo URL and fixed aliyundrive open bugs ( #208 )
...
* Fix Logo URL
* fixed aliyunpan_open
* fixed aliyundrive bugs
* fixed onlineapi bugs
* fixed onlineapi bugs
* Fixed Bugs
* Rollback
* fixed
* fixed onlineapi
* fixed driver
---------
Signed-off-by: Suyunmeng <sumengjing@outlook.com >
2025-06-19 21:20:29 +08:00
Suyunmeng
d95c4f0127
chore: change the CDN link of the logo and modify the OCR port ( #84 )
...
* Change the CDN link of the logo and modify the OCR port
* Update
* Rollback OCR interface
2025-06-15 23:19:25 +08:00
Yinan Qin
3f821bdcd1
revert: using old salt value ( #29 )
...
Signed-off-by: Yinan Qin <39023210+elysia-best@users.noreply.github.com >
2025-06-13 12:47:51 +08:00
Hantong Chen
9e05c81d9c
chore: update project logo ( #26 )
2025-06-12 23:29:35 +08:00
Kuingsmile
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
Yinan Qin
5feb86ceee
chore(docs&ci): change links in files & fix github ci and docker ci ( #3 )
...
* Enable blank issue
* chore(README.md): update docs (temporally)
* Update FUNDING.yml
* chore: purge README.md
* Update README.md
Alist改为OpenList
* Update README_cn.md
Alist改为OpenList
* Update README.md
漏了一处
* Update README_ja.md
Alist改为OpenList
* Update README_cn.md
漏了一处
* Update CODE_OF_CONDUCT.md
更改链接
* Update README.md
更新tg链接
* Update README_cn.md
更新tg链接
* Update README_ja.md
更新tg链接
* chore(build&docs): use new links in build and github templates
* Update README.md
更新团队名
* chore: disable translation update, change beta release into artifacts
* fix: disable docker build and name the uploaded artifacts
* fix typo
* Update README_cn.md
更新团队名称
* Update README_ja.md
更新
* Update project name in CONTRIBUTING.md
* Update README_cn.md
更新
* Update README.md
更新
* Update README_ja.md
* fix: fix artifact name
* chore(build.sh): use original musl.cc
* fix(ci): fix action artifacts upload
* Update CODE_OF_CONDUCT.md
TG更改为Telegram
* Update README_cn.md
更新论坛链接
* Update README.md
更新论坛链接
* Update README_ja.md
更新论坛链接
* feat: update community based call back for onedrive
* chore(ci): update musl.cc link
* chore: use openlist as name instead of default OpenList
* Update user.go
* chore: fix artifact name
* feat(ci): add docker build test
* fix: add more platforms
* fix: explicitly use docker.io
* fix: fix typo
* fix(docker): fix test build push platform
* chore: change to OpenListTeam
* Update CODE_OF_CONDUCT.md
* doc: update org name
* docs: change repo urls
* feat: release docker image to ghcr.io on tagging
* fix: fix the name of test_docker
* build: update the names in docker-compose and docker file
* chore: rename
---------
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: 绎泽 <yize@tencent.to >
Co-authored-by: zyk2507 <93830642+zyk2507@users.noreply.github.com >
2025-06-12 21:29:43 +08:00
j2rong4cn
ddffacf07b
perf: optimize IO read/write usage ( #8243 )
...
* perf: optimize IO read/write usage
* .
* Update drivers/139/driver.go
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
---------
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top >
2025-04-12 16:55:31 +08:00
KirCute_ECT
3b71500f23
feat(traffic): support limit task worker count & file stream rate ( #7948 )
...
* feat: set task workers num & client stream rate limit
* feat: server stream rate limit
* upgrade xhofe/tache
* .
2025-02-16 12:22:11 +08:00
j2rong4cn
5c5d8378e5
fix(archive): unable to preview ( #7843 )
...
* fix(archive): unrecognition zip
* feat(archive): add tree for zip meta
* fix bug
* refactor(archive): meta cache time use Link Expiration first
* feat(archive): return sort policy in meta (#2 )
* refactor
* perf(archive): reduce new network requests
---------
Co-authored-by: KirCute_ECT <951206789@qq.com >
2025-01-27 20:08:56 +08:00
j2rong4cn
2be0c3d1a0
feat(alias): add DownloadConcurrency and DownloadPartSize option ( #7829 )
...
* fix(net): goroutine logic bug (AlistGo/alist#7215 )
* Fix goroutine logic bug
* Fix bug
---------
Co-authored-by: hpy hs <hshpy.pengyu@gmail.com >
* perf(net): sequential and dynamic concurrency
* fix(net): incorrect error return
* feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option
* feat(net): add `ConcurrencyLimit`
* pref(net): create `chunk` on demand
* refactor
* refactor
* fix(net): `r.Closers.Add` has no effect
* refactor
---------
Co-authored-by: hpy hs <hshpy.pengyu@gmail.com >
2025-01-27 20:08:39 +08:00
foxxorcat
bdcf450203
fix: resolve concurrent read/write issues in WrapObjName ( #7865 )
2025-01-27 20:06:18 +08:00
KirCute_ECT
bb40e2e2cd
feat(archive): archive manage ( #7817 )
...
* feat(archive): archive management
* fix(ftp-server): remove duplicate ReadAtSeeker realization
* fix(archive): bad seeking of SeekableStream
* fix(archive): split internal and driver extraction api
* feat(archive): patch
* fix(shutdown): clear decompress upload tasks
* chore
* feat(archive): support .iso format
* chore
2025-01-18 23:28:12 +08:00
Jealous
ed149be84b
feat(index): add disable index option for storages ( #7730 )
2024-12-30 22:52:55 +08:00
KirCute_ECT
48916cdedf
fix(permission): enhance the strictness of permissions ( #7705 close #7680 )
...
* fix(permission): enhance the strictness of permissions
* fix: add initial permissions to admin
2024-12-25 21:17:58 +08:00
KirCute_ECT
77d0c78bfd
feat(sftp-server): public key login ( #7668 )
2024-12-25 21:15:06 +08:00
KirCute_ECT
650b03aeb1
feat: ftp server support ( #7634 close #1898 )
...
* feat: ftp server support
* fix(ftp): incorrect mode for dirs in LIST returns
2024-12-10 20:17:46 +08:00
itsHenry
74f8295960
feat: persistant Task ( #6925 close #5313 )
2024-08-07 12:16:21 +08:00
j2rong4cn
87caaf2459
fix: out of order when database is not sqlite3 ( #6560 )
2024-08-03 13:11:09 +08:00
j2rong4cn
29fe49fb87
fix(alias): Support forced refresh of file list ( #6562 )
2024-06-16 16:59:10 +08:00
j2rong4cn
5f60b51cf8
feat: add proxy_range option for 139Yun Alias AList V3 ( #6496 )
2024-05-22 23:31:42 +08:00
NewbieOrange
e37465e67e
feat(crypt): force stream upload for supported drivers ( #6270 )
2024-03-29 14:42:01 +08:00
Andy Hsu
2a17d0c2cd
fix: settings reset to default after restart if set to empty ( close #6143 )
2024-03-05 16:29:26 +08:00
Sukka
ae6984714d
fix: remove default polyfill ( #6130 close #6100 )
...
* refactor(setting): replace `polyfill.io``
* fix: remove default polyfill
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2024-03-02 15:36:28 +08:00
itsHenry
d0f88bd1cb
feat: s3 server support ( #6088 close #5186 )
...
Currently tested: List, Get, Remove
2024-03-02 15:35:10 +08:00
Andy Hsu
478470f609
feat!: replace regex package ( close #5755 )
2023-12-31 15:03:25 +08:00
Guobao
697a0ed2d3
feat: add ldap login support ( #5706 )
...
* feat: add ldap login support
* fix: ldap permission config group
2023-12-31 13:46:13 +08:00