Commit Graph

1010 Commits (6106b57bc7c7abe2bc3950f380fa114d876c89cc)

Author SHA1 Message Date
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 f38f32f9f5 fix(db): sslmode prefer not supported in some pg version (?) related: #2540 2025-06-27 13:54:10 +08:00
Aaron Liu d382bd8f8d fix(dashboard): cannot change storage policy for groups (#2577) 2025-06-27 12:53:07 +08:00
Aaron Liu 02abeaed2e update submodule 2025-06-27 09:21:19 +08:00
Aaron Liu 6c9a72af14 update submodule 2025-06-26 18:51:44 +08:00
Aaron Liu 4562042b8d fix(dashboard): cannot save settings for anonymous group 2025-06-26 18:48:07 +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
Anye d1bbfd4bc4
feat(db): add mariadb alias (#2560) 2025-06-23 17:17:18 +08:00
WittF b11188fa50
feat(file): add support for more file extensions (#2557)
- Add aac audio format support
- Add ini, env, json, log, yml text file extensions
- Add iso archive format support
- Add ico, icns thumbnail generation support
2025-06-23 17:16:29 +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 8fe2889772 feat(file apps): add excalidraw (#2317) 2025-06-21 12:03:08 +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
Aaron Liu 3de33aeb10 update submodule 2025-06-20 14:07:03 +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
Aaron Liu 9a216cd09e feat(share): improve UI for share link result (follow up #https://github.com/cloudreve/frontend/pull/259) 2025-06-17 11:37:30 +08:00
WintBit 41eb010698
fix: allow empty password for ShareCreateService (#2498) 2025-06-17 11:03:29 +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 40644f5234 chore: refresh README 2025-06-14 11:06:42 +08:00
Aaron Liu d6d615e689 fix(docker compose): redis failed to persist due to permission error (#2476) 2025-06-14 10:07:32 +08:00
Aaron Liu 95d2b5804e fix(router): remove unused get all group route 2025-06-13 13:30:13 +08:00
Aaron Liu a517f41ab1 Revert "chore(deps): bump github.com/mojocn/base64Captcha (#2266)"
This reverts commit e57e11a30e.
2025-06-12 11:59:50 +08:00
dependabot[bot] e57e11a30e
chore(deps): bump github.com/mojocn/base64Captcha (#2266)
Bumps [github.com/mojocn/base64Captcha](https://github.com/mojocn/base64Captcha) from 0.0.0-20190801020520-752b1cd608b2 to 1.3.6.
- [Release notes](https://github.com/mojocn/base64Captcha/releases)
- [Commits](https://github.com/mojocn/base64Captcha/commits/v1.3.6)

---
updated-dependencies:
- dependency-name: github.com/mojocn/base64Captcha
  dependency-version: 1.3.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 11:56:41 +08:00
dependabot[bot] 5f1b3a2bed
chore(deps): bump golang.org/x/net (#2244)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220630215102-69896b714898 to 0.38.0.
- [Commits](https://github.com/golang/net/commits/v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 11:54:40 +08:00
dependabot[bot] b5136fc5e4
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#2267)
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-version: 5.2.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 11:52:08 +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 8d6d188c3f fix(docker): cannot generate thumbs for heic/heif images if boot from docker image 2025-06-12 11:27:38 +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 e2dbb0404a Update submodule 2025-06-05 18:16:52 +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 fe309b234c chore: add new build target: freebsd_amd64, freebsd_arm64, linux_loong64 (#2442) 2025-06-05 16:36:33 +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 9a96a88243 chore(dockerfile): fix syntax error 2025-05-23 19:00:59 +08:00
Aaron Liu e0b193427c chore(dockerfile): improve layer cache hit rate 2025-05-23 18:23:39 +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