Commit Graph

334 Commits

Author SHA1 Message Date
Aaron Liu
0be493c6e2 fix(oauth): client secret cannot be saved (close #3337) 2026-03-04 14:40:37 +08:00
Aaron Liu
2a59407916 fix(oauth): openid scope is not added by default / add scope name and list in dashboard (close #3274) 2026-02-14 10:00:14 +08:00
Aaron Liu
153a00ecd5 feat(fts): start background task to force build index for existing files (close #2895) 2026-02-12 13:40:11 +08:00
Aaron Liu
1e3b851e19 feat: full-text search and RAG powered search 2026-02-11 16:05:09 +08:00
Aaron Liu
57239e81af security: use crypto/rand for secret keys 2026-02-05 19:19:39 +08:00
Aaron Liu
b913b4683f fix(eventhub): mark as offline if keepalive fails to send 2026-02-05 19:12:42 +08:00
Copilot
1f580f0d8a Adjust OAuth grant validation limits (no code changes yet) (#3261)
* Initial plan

* Increase OAuth state limit

Co-authored-by: HFO4 <16058869+HFO4@users.noreply.github.com>

* Default PKCE method when missing

Co-authored-by: HFO4 <16058869+HFO4@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: HFO4 <16058869+HFO4@users.noreply.github.com>
2026-02-03 14:55:00 +08:00
Aaron Liu
87d48ac4a7 Merge remote-tracking branch 'origin/master' 2026-01-28 15:15:01 +08:00
Aaron Liu
5d9cfaa973 fix(eventhub): nil pointer trying get owner 2026-01-28 13:46:27 +08:00
Aaron Liu
1c5eefdc6a feat(devices): add landing page for desktop client 2026-01-28 12:54:23 +08:00
Aaron Liu
c99a4ece90 feat(oauth): user can manage existing OAuth grant 2026-01-28 12:53:21 +08:00
Aaron Liu
43d77d2319 feat(dashboard): manage OAuth apps 2026-01-28 12:52:13 +08:00
WittF
e4e6beb52d feat(share): add Open Graph preview for social media crawlers (#3234)
* feat(share): add Open Graph preview for social media crawlers

Add middleware to intercept social media bot requests and return
OG meta tags for share links, enabling rich previews on platforms
like Facebook, Twitter, Discord, etc.

* feat(og): reuse existing share service and show thumbnail if possible

* resolve comments

---------

Co-authored-by: Aaron Liu <abslant.liu@gmail.com>
2026-01-25 12:48:14 +08:00
Aaron Liu
a84c5d8e97 feat(oauth): OAuth for 3rd party apps 2026-01-23 15:22:29 +08:00
Aaron Liu
32632db36f feat(fs): change event debounce before emitting to subscriber 2025-12-13 14:48:01 +08:00
Aaron Liu
c01b748dfc feat(fs): fs change event notification via SSE / show panic stack trace in task queue 2025-12-13 14:48:01 +08:00
Aaron Liu
fec4dec3ac feat(upload): etag check in client-side upload / support empty policy ID 2025-12-05 15:17:07 +08:00
Aaron Liu
e3580d9351 feat(encryption): add UI and settings for file encryption 2025-10-24 15:04:54 +08:00
Aaron Liu
16b02b1fb3 feat: file blob encryption 2025-10-21 14:54:13 +08:00
Darren Yu
e3e08a9b75 feat(share): adapt to keep specified path in V3 sharing link (#2958) 2025-10-12 10:28:40 +08:00
Aaron Liu
3d41e00384 feat(media meta): add Mapbox as a map provider option (#2922) 2025-09-27 10:19:22 +08:00
Aaron Liu
5e5dca40c4 feat(media meta): reverse geocoding from mapbox (#2922) 2025-09-26 11:27:46 +08:00
Mason Liu
668b542c59 feat: update reset thumbnail feature (#2854)
* update reset thumbnail feature

* consolidate supported thumbnail extensions into site config; remove dedicated API

* allow patching thumb ; remove Reset Thumbnail API

* fix code formatting

---------

Co-authored-by: Aaron Liu <abslant.liu@gmail.com>
2025-09-23 11:24:38 +08:00
Aaron Liu
7d97237593 feat(archive viewer): option to select text encoding for zip files (#2867) 2025-09-12 15:41:43 +08:00
Aaron Liu
a581851f84 feat(webdav): option to disable system file uploads (#2871) 2025-09-12 14:04:51 +08:00
Aaron Liu
9f1cb52cfb feat(explorer): preview archive file content and extract selected files (#2852) 2025-09-02 11:54:04 +08:00
Aaron Liu
c3ed4f5839 feat(uploader): concurrent chunk uploads 2025-08-30 10:36:20 +08:00
Aaron Liu
13e774f27d feat(dashboard): filter file by shared link, direct link, uploading status (#2667) 2025-08-21 13:14:11 +08:00
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
b0057fe92f feat(profile): options to select why kind of share links to show in user's profile (#2453) 2025-08-12 09:52:47 +08:00
Aaron Liu
8688069fac refactor(mail): migrate to wneessen/go-mail (#2738) 2025-08-10 10:40:21 +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
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
e96b595622 feat(direct link): add option to get direct link with download enforced (#2651) 2025-07-15 13:22:04 +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
b13490357b feat(dashboard): cleanup tasks and events (#2368) 2025-07-05 11:52:15 +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
Aaron Liu
aada3aab02 feat(storage): load balance storage policy (#2436) 2025-07-04 10:05:15 +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
fec549f5ec feat(ent): migrate DB settings in patches 2025-06-22 10:31:33 +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
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
3ab86e9b1d fix: lock conflict while changing view / fix: sign out not blocking refresh tokens 2025-06-12 09:47:01 +08:00