Commit Graph

682 Commits

Author SHA1 Message Date
Aaron Liu
91717b7c49 feat(archive): add support for 7z and bz2 / extract rar and 7zip files protected with password (#2668) 2025-08-21 10:20:13 +08:00
Aaron Liu
a1ce16bd5e fix(smtp): SMTP reset error should be ignored for non-standard SMTP server implementation (#2791) 2025-08-19 09:43:23 +08:00
Aaron Liu
872b08e5da fix(smtp): force enabling SSL does not work (#2777) 2025-08-13 18:54:56 +08:00
Aaron Liu
5f18d277c8 fix(conf): ProxyHeader should be optional (#2760) 2025-08-12 09:53:15 +08:00
Darren Yu
bb3db2e326 fix(middleware): left deafult ProxyHeader config item as blank to reduce risk of fake xff (#2760) 2025-08-12 09:35:36 +08:00
Aaron Liu
8688069fac refactor(mail): migrate to wneessen/go-mail (#2738) 2025-08-10 10:40:21 +08:00
Aaron Liu
4c976b8627 feat(blob path): diable {path} magic var for blob path 2025-08-07 11:35:28 +08:00
Aaron Liu
b0375f5a24 fix(recycle): nil pointer if failed to found files in trash (#2750) 2025-08-07 11:03:02 +08:00
Aaron Liu
48e9719336 fix(dbfs): deadlock in SQLite while creating upload session 2025-08-07 10:30:44 +08:00
Darren Yu
7654ce889c fix(blob path): Random variables in blob save path be wrongly fixed (#2741)
* fix(blob path): Random variables in blob save path be wrongly fixed

* feat(blob path): Use regex to match all magic variables
2025-08-05 20:29:14 +08:00
Aaron Liu
80b25e88ee fix(dbfs): file modified_at should not be updated by ent 2025-08-05 15:11:32 +08:00
Aaron Liu
e31a6cbcb3 fix(workflow): concurrent read&write to progress map while transfer files in batch (#2737) 2025-08-05 12:02:17 +08:00
Aaron Liu
c8c2a60adb feat(storage policy): set deny/allow list for file extension and custom regexp (#2695) 2025-07-25 11:32:04 +08:00
Aaron Liu
60bf0e02b3 fix(qbittorrent): download task option not working (#2666) 2025-07-25 10:15:55 +08:00
omiku
488f32512d Add Kingsoft Cloud object storage policy to solve the cross-domain and friendly file name incompatibility problem of s3 compatible storage policy. (#2665)
* 新增金山云对象存储策略,解决s3兼容存储策略的跨域及友好文件名不兼容问题

* fix bug&add download Expire time args

* Handling of expiration times when they may be empty
2025-07-21 16:08:22 +08:00
Aaron Liu
1cdccf5fc9 feat(thumb): adding option to define custom input argument for FFmpeg (#2657) 2025-07-15 14:11:42 +08:00
Aaron Liu
15762cb393 feat(thumb): support output webp thumbnails for vips generator (#2657) 2025-07-15 13:51:23 +08:00
Aaron Liu
e96b595622 feat(direct link): add option to get direct link with download enforced (#2651) 2025-07-15 13:22:04 +08:00
Aaron Liu
d19fc0e75c feat(remote download): sanitize file names with special characters (#2648) 2025-07-15 12:00:39 +08:00
Aaron Liu
000124f6c7 feat(ui): custom HTML content in predefined locations (#2621) 2025-07-15 10:45:32 +08:00
Aaron Liu
ca57ca1ba0 feat(custom): custom sidebar items 2025-07-15 10:41:13 +08:00
Aaron Liu
3cda4d1ef7 feat(fs): custom properties for files (#2407) 2025-07-12 11:15:33 +08:00
Aaron Liu
617d3a4262 feat(qiniu): use accelerated upload domain (#2497) 2025-07-05 10:50:51 +08:00
Aaron Liu
75a03aa708 fix(auth): unified empty path for sign content (#2616) 2025-07-05 10:05:09 +08:00
Aaron Liu
fe2ccb4d4e feat(share): add option to automatically render and show README file (#2382) 2025-07-04 14:40:32 +08:00
Anye
e0b2b4649e fix(db): map MariaDB type to MySQL (#2587)
* fix(db): 将MariaDB数据库类型映射到MySQL类型

* Update client.go
2025-06-30 19:32:21 +08:00
WittF
6106b57bc7 feat(captcha): update static asset source option (#2589)
* feat(captcha): Add captcha_cap_asset_server configuration option to support static asset server settings (#2584)

* fix(captcha): Backend default: cdn → jsdelivr
2025-06-29 10:14:26 +08:00
Aaron Liu
dc611bcb0d feat(explorer): manage created direct links / option to enable unique redirected direct links 2025-06-26 18:45:54 +08:00
WittF
2500ebc6a4 refactor(captcha): update Cap to 2.0.0 (#2573)
* refactor(captcha): update Cap backend to 2.0.0 API format

* feat(captcha): add Cap version config for 1.x/2.x compatibility

* fix(captcha): change Cap default version to 1.x for backward compatibility

* refactor(captcha): remove Cap 1.x compatibility, keep only 2.x support

* feat(captcha): update field names to Cap 2.0 standard - Site Key and Secret Key

* fix(captcha): update Cap field names in defaults configuration
2025-06-26 14:58:58 +08:00
Aaron Liu
3db522609e feat(thumb): support generating thumbnails using simple_dcraw from LibRAW 2025-06-24 10:47:36 +08:00
charlieJ107
1bd62e8feb [Feature](database): Add Support for SSL Connections and Database URL Configuration (#2540)
* feat(database): add support for SSL connections and database URL configuration

* feat(config): update Redis configuration to use TLS in configurre name instead of SSL

* fix(database): remove default values for DatabaseURL and SSLMode in DatabaseConfig

* chore(.gitignore): add cloudreve built binary to ignore list
2025-06-23 17:12:20 +08:00
Aaron Liu
fec549f5ec feat(ent): migrate DB settings in patches 2025-06-22 10:31:33 +08:00
Aaron Liu
bdc0aafab0 fix(remote download): file path slashes incorrectly formated for remote download transfer if master and slave node use different path style (#2532) 2025-06-21 09:51:12 +08:00
WittF
9f9796f2f3 Add Cap Captcha support (#2511)
* Add Cap Captcha support

- Add CaptchaCap type constant in types.go
- Add Cap struct with InstanceURL, KeyID, and KeySecret fields
- Add CapCaptcha method in provider.go to return Cap settings
- Add default settings for Cap captcha in setting.go
- Implement Cap captcha verification logic in middleware
- Expose Cap captcha settings in site API

This adds support for Cap captcha service as an alternative
captcha option alongside existing reCAPTCHA, Turnstile and
built-in captcha options.

* update cap json tags
2025-06-19 11:31:17 +08:00
WintBit
9d28fde00c feat: fileshare custom password support (#2493)
* feat: fileshare custom password support

* fix: blank password check

* feat: backend share link password check

* Revert "feat: backend share link password check"

This reverts commit 22c7bb0b355235b48b29938eb995b3986b1122f1.

* feat: use go-playground/validator binding rule
2025-06-16 16:34:47 +08:00
Aaron Liu
633ea479d7 fix(es): redact non-ASCII file name in filename segment (#2473) 2025-06-12 11:48:41 +08:00
Aaron Liu
6561e3075f fix(qiniu): cannot sign URL for file blob with % (#2463) 2025-06-12 10:48:39 +08:00
Aaron Liu
e750cbfb77 fix(cron): add missing tasks to collect expired items in mem KV (#2466) 2025-06-12 09:55:05 +08:00
Aaron Liu
3ab86e9b1d fix: lock conflict while changing view / fix: sign out not blocking refresh tokens 2025-06-12 09:47:01 +08:00
Aaron Liu
2a7b46437f fix(onedrive): cannot list folder with more than 500 direct children (#2446) 2025-06-05 16:51:48 +08:00
Aaron Liu
522fcca6af feat(explorer): save user's view setting to server / optionally share view setting via share link (#2232) 2025-06-05 10:00:37 +08:00
Aaron Liu
c13b7365b0 fix(s3): avoid perform URL encoding for proxyed path again if possible (#2413) 2025-05-29 10:19:06 +08:00
Aaron Liu
51fa9f66a5 feat(dashboard): traverse file URI from file ID (#2412) 2025-05-29 09:44:11 +08:00
Aaron Liu
65095855c1 fix(directlink): direct link should not be accessible if the parent file is in trash bin (#2415) 2025-05-29 09:42:22 +08:00
Aaron Liu
ec53769e33 fix(session): kv is not initialized 2025-05-23 20:01:10 +08:00
Aaron Liu
1fa70dc699 fix(dashboard): remove default shortcut setting 2025-05-23 18:20:05 +08:00
Aaron Liu
db7b54c5d7 feat(session): sign out and revoke root token 2025-05-23 16:49:01 +08:00
Aaron Liu
c6ee3e5dcd feat(dbfs): set default share shortcut for new users 2025-05-23 15:39:57 +08:00
Aaron Liu
9f5ebe11b6 feat(wopi): put relative file 2025-05-23 15:37:02 +08:00
Aaron Liu
1a3c3311e6 fix(arai2): cannot select file back after unselected (#2386) 2025-05-23 15:35:01 +08:00