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
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
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
da8d6607cf
fix(static): support logo replacement ( #834 Close #754 )
2025-07-25 17:12:51 +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
19c6b6f930
feat(115_open): add offline download ( #683 )
2025-07-11 20:17:54 +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
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
0f5ed14fe2
feat(fs): add cross-storage move support ( #211 )
...
* feat(fs): add cross-storage move support
* fix(fs): add check before moving files
* fix(fs): changed error detect method
---------
Co-authored-by: ShenLin <773933146@qq.com >
2025-06-20 17:54:24 +08:00
c82e632ee1
fix: potential XSS vulnerabilities ( #7923 )
...
* fix: potential XSS vulnerabilities
* feat: support filter and render for readme.md
* chore: set ReadMeAutoRender to true
* fix attachFileName undefined
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2025-03-15 23:28:40 +08:00
30d8c20756
feat(archive): support deprioritize previewing ( #7984 )
2025-02-16 12:24:10 +08:00
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
b60da9732f
feat(offline-download): allow using offline download tools in any storage ( #7716 )
...
* Feat(offline-download): allow using thunder offline download tool in any storage
* Feat(offline-download): allow using 115 offline download tool in any storage
* Feat(offline-download): allow using pikpak offline download tool in any storage
* style(offline-download): unify offline download tool names
* feat(offline-download): show available offline download tools only
* Fix(offline-download): update unmodified tool names.
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2025-01-10 21:24:44 +08:00
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
088120df82
feat(sso): add custom extra scope support ( #7577 )
2024-12-09 23:33:46 +08:00
bdf4b52885
feat(offline_download): add transmission ( close #4102 in #7232 )
2024-09-28 23:15:58 +08:00
9c84b6596f
feat: stand-alone port s3 server ( #6242 )
...
* feat: single port s3 server
* fix: unable to PUT files if not in root dir
2024-03-24 15:16:00 +08:00
d0f88bd1cb
feat: s3 server support ( #6088 close #5186 )
...
Currently tested: List, Get, Remove
2024-03-02 15:35:10 +08:00
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
c0f9c8ebaf
feat: add ignore direct link params ( close #5434 )
2023-10-26 19:21:09 +08:00
e719a1a456
feat(sso): custom username key for OIDC
( close #5169 )
2023-10-02 14:42:40 +08:00
30977cdc6d
feat: sso compatibility mode ( #5260 )
2023-09-22 16:45:51 +08:00
352a6a741a
feat(webdav): support copy directly without task ( close #5206 )
2023-09-13 15:45:57 +08:00
1aa024ed6b
feat: support webauthn login ( #4945 )
...
* feat: support webauthn login
* manually merge
* fix: clear user cache after updating authn
* decrease db size of Authn
* change authn type to text
* simplify code structure
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-08-14 22:54:38 +08:00
de8f9e9eee
feat: SSO auto register ( close #4692 in #4795 )
...
Co-authored-by: Andy Hsu <i@nn.ci >
2023-07-20 16:30:30 +08:00
5be79eb26e
feat: add robots.txt
setting ( close #4303 )
2023-05-12 16:53:15 +08:00
cf8ab29a17
feat: optional allow be mounted ( close #4218 )
2023-04-27 16:33:01 +08:00
2bae8e129e
feat: add Casdoor single sign-on ( #4222 )
2023-04-26 16:01:40 +08:00
f3db23a41e
feat(qbittorrent): add offline download seed time ( #3842 close #3588 )
2023-03-14 12:13:23 +08:00
603681fbe6
feat: rebuild Single sign-on system ( #3649 close #3571 )
...
* rebuild single sign on system
* perf: use cache
* fix: codefactor check
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-03-02 17:55:33 +08:00
c28168c970
feat: support qbittorrent ( close #3087 in #3333 )
...
* feat(qbittorrent): authorization and logging in support
* feat(qbittorrent/client): support `AddFromLink`
* refactor(qbittorrent/client): check authorization when getting a new client
* feat(qbittorrent/client): support `GetInfo`
* test(qbittorrent/client): update test cases
* feat(qbittorrent): init qbittorrent client on bootstrap
* feat(qbittorrent): support setting webui url via gin
* feat(qbittorrent/client): support deleting
* feat(qbittorrent/client): parse `TorrentStatus` enum when unmarshalling json in `GetInfo()`
* feat(qbittorrent/client): support getting files by id
* feat(qbittorrent): support adding qbittorrent tasks via gin
* refactor(qbittorrent/client): return a `Client` interface in `New()` instead of `*client`
* refactor: task handle
* chore: fix typo
* chore: change path
---------
Co-authored-by: Andy Hsu <i@nn.ci >
2023-02-14 15:20:45 +08:00
a181b56ea7
feat: optional forward direct link params ( close #3123 )
2023-02-07 16:39:14 +08:00
ce4a295008
fix!: check https with X-Forwarded-Proto
...
not read old setting `api_url` and `base_path` from this commit
2023-01-19 12:16:42 +08:00
26fe0a7684
feat: customize index max depth
...
Because some driver's issue may cause infinite loop
2023-01-17 17:33:18 +08:00
1c453ae147
feat: add a switch to enable auto update index ( close #2930 )
2023-01-07 00:59:30 +08:00
83fe17c6ec
feat: support github login ( #2639 )
...
* Support Github Login
* improve according to codefactor
* fix due to last updates
* optimization
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-27 22:11:22 +08:00
146619134d
feat: customize proxy ignore headers ( close #2763 pr #2766 )
...
* clean referer when use proxy
* feat: customize proxy ignore headers
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-20 16:08:32 +08:00
62ea93837c
feat: alist v3 index permission ( #2653 )
...
* feat: alist v3 index permission
* fix allowIndexed check
Co-authored-by: Noah Hsu <i@nn.ci >
2022-12-10 19:03:09 +08:00
6f1aeb47fd
feat: index enhancement ( close #2632 pr #2636 )
...
* feat: index paths as setting
* feat: clear index (#2632 )
* feat: check indexMQ more frequently
2022-12-09 10:02:13 +08:00
bf8b6f4c2c
feat: customize ignore paths of indexes
2022-12-05 16:45:11 +08:00
8c0dfe2f3d
feat: Search enhancement ( #2562 )
...
* feat: ignore AList storage on indexing
* fix: remove unused err in `walkFn`
* chore(ci): fix auto_lang trigger and run it
* feat: batch index
* feat: quit index & init index
* feat: set DocType for bleve data
* fix: build index cleanup check origin err
2022-12-05 13:28:39 +08:00
09f480318c
fix: unify settings string ( #2555 )
2022-12-02 17:42:42 +08:00
ff0bcfef8a
feat: optional sign all files
2022-11-30 22:10:07 +08:00
ddcba93eea
feat: multiple search indexes ( #2514 )
...
* refactor: abstract search interface
* wip: ~
* fix cycle import
* objs update hook
* wip: ~
* Delete search/none
* auto update index while cache changed
* db searcher
TODO: bleve init issue
cannot open index, metadata missing
* fix size type
why float64??
* fix typo
* fix nil pointer using
* api adapt ui
* bleve: fix clear & change struct
2022-11-28 13:45:25 +08:00
c09800790b
feat: custom filename char mapping
...
fixes #2447 #2446 #2440 #2409 #2006 #1979 #1507 #324 #691 #518 #430
2022-11-22 15:54:18 +08:00
a24dfddc2a
feat: add 189cloud driver
2022-09-06 14:39:21 +08:00
d9ee174dd3
feat!: unity iframe preview
2022-08-23 16:50:54 +08:00
05d8c27918
chore: rename icon_color
to main_color
2022-08-13 15:11:46 +08:00
6f48a0a82a
chore: add custom office viewer
2022-08-08 13:03:34 +08:00
2b04cf4ac3
feat: custom hide error message by regexp ( close #1468 )
2022-08-08 12:53:53 +08:00