Commit Graph

662 Commits

Author SHA1 Message Date
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 22c7bb0b35.

* 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
Aaron Liu acffd984c1 fix(dbfs): file uri `name_or` op should be compatiable with older version 2025-05-20 11:59:40 +08:00
Aaron Liu 7ddb611d6c fix(upload): metadata in upload session request is not created 2025-05-20 11:59:24 +08:00
Aaron Liu 7bace40a4d fix(import): import from slave not working / fix(recycle): skip sending delete request if no blob needs to be deleted in this batch 2025-05-20 10:46:27 +08:00
Aaron Liu a10a008ed7 feat(workflow): import files from external storage 2025-05-20 10:45:16 +08:00
Aaron Liu 5d72faf688 fix(thumb): thumb queue retry setting not working (#2367) 2025-05-16 13:52:54 +08:00
Aaron Liu 0a28bf1689 refactor(download): handle stream saver download outside of driver implementation (fix #2366) 2025-05-16 13:52:31 +08:00
Aaron Liu 1e2cfe0061 fix: undefined types 2025-05-13 16:07:57 +08:00
Aaron Liu 71a624c10e enhance(dbfs): admin should be able to access user's files even if it's inactive (#2327) 2025-05-13 15:08:00 +08:00
Aaron Liu 1b8beb3390 feat(directlink): allow admin create direct link for users (#2340) 2025-05-13 15:07:36 +08:00
Aaron Liu edd50147e7 fix(qbittorrent): unknown state after seeding complete 2025-05-13 15:05:14 +08:00
小白-白 10e3854082
fix(thumb): libreoffice warning (#2358) 2025-05-13 14:38:17 +08:00
Aaron Liu fbf1d1d42c fix(uri): hash tag is not properly handled in CrUri 2025-05-08 19:20:19 +08:00
Aaron Liu a0b4c97db0 fix(remote download): slave canceled task error is not passed to master in non-debug mode (#2301) 2025-04-27 10:38:35 +08:00
Aaron Liu 2333ed3501 fix(chunk): omit error for teeing file to chunk buffer (#2303) 2025-04-27 10:38:04 +08:00
Aaron Liu 67d3b25c87 fix(dbfs): set current version is not executed from existing transaction 2025-04-27 10:37:33 +08:00
Aaron Liu ca47f79ecb feat(aria2): patching select file operation is not filtered by existing state (#2294) 2025-04-27 10:36:33 +08:00
Aaron Liu 77ae381474 feat(aria2): show detailed error message from aria2 (#2296) 2025-04-27 10:36:06 +08:00
Aaron Liu d195002bf7 fix: compile error 2025-04-24 15:56:10 +08:00
Aaron Liu 969e35192a fix(remote download): improve file pre-upload validation (fix #2286) 2025-04-24 15:26:58 +08:00
Aaron Liu 7b5e0e8581 fix(dbfs): enforce root protection for single file share 2025-04-21 19:43:09 +08:00