WittF
4ef97bf244
feat(share): add OG preview for home route share links
...
Intercept /home route for social media bots viewing cloudreve://share
paths and render OG preview directly.
2 weeks ago
WittF
bac8908691
refactor(share): extract share logic to reusable packages
...
- Extract LoadShareForInfo() and BuildRedirectURL() to pkg/share
- Move OG template and preview logic to pkg/sharepreview
- Extract IsSocialMediaBot() to pkg/util
- Simplify service/share/visit.go to use new packages
2 weeks ago
WittF
017e52dd63
refactor(share): restructure OG rendering with template system
...
- Extend ShareOGData with additional fields for richer previews
- Add magic variable replacement for File/Folder/Status scenarios
- Refactor status handling with switch/case pattern
- Separate rendering paths for files, folders, and status messages
2 weeks ago
WittF
5e02fbcd53
fix(share): improve OG preview with edge cases and code reuse
...
- Handle invalid/expired/password-protected shares gracefully
- Show appropriate messages for login-required shares
- Simplify bot detection to social media crawlers only
- Extract isShareUnlocked() for code reuse
2 weeks ago
WittF
99d1c05339
feat(share): add Open Graph support for social media previews
...
- Detect social media bots (Facebook, Twitter, Discord, etc.)
- Render OG meta tags with file name, size, and owner info
- Auto-redirect to share page after preview is rendered
2 weeks ago
Darren Yu
47218607ff
docs: correct links ( #3213 )
2 weeks ago
Darren Yu
5b214beadc
feat(thumb): change image type to NRGBA when do resize to keep transparency ( #3207 )
2 weeks ago
Darren Yu
2ecc7f4f59
fix(cos): missing response-content-disposition header when enable not sign for CDN url ( #2546 ) ( #3202 )
...
* fix(cos): missing response-content-disposition header for public-read bucket
* fix(cos): anonymous GET req not support response header
2 weeks ago
Darren Yu
2725bd47b5
fix(share): download on folder share wrongly not counted ( #3196 )
2 weeks ago
Aaron Liu
864332f2e5
fix(route): force CORS header for content route with correct header parameters ( close #3192 )
2 weeks ago
Aaron Liu
a84c5d8e97
feat(oauth): OAuth for 3rd party apps
2 weeks ago
Aaron Liu
a908ec462f
chore(readme): update readme badges
3 weeks ago
Aaron Liu
bc6845bd74
fix(ci): disable docker provenance on self-hosted agent
3 weeks ago
Aaron Liu
7039fa801d
chore(ado): switch to self-hosted vsts pool
3 weeks ago
Aaron Liu
6f8aecd35a
update submodule
3 weeks ago
Aaron Liu
722abb81c5
fix(nodepool): exclusive lock should be held for weight LB
3 weeks ago
Aaron Liu
e8f965e980
fix(security): resolve multiple vulnerability.
...
Vulnerability identified and fix provided by Kolega.dev (https://kolega.dev )
3 weeks ago
Aaron Liu
f01ed64bdb
feat(perf): improve memory usage for importing task / add configurable Pprof endpoint ( fix #3059 )
3 weeks ago
Aaron Liu
736414fa10
fix(dbfs): setting version does not change file size
3 weeks ago
Aaron Liu
5924e406ab
chore(golang): upgrade to 1.25
3 weeks ago
dependabot[bot]
87b1020c4a
chore(deps): bump github.com/quic-go/quic-go from 0.55.0 to 0.57.0 ( #3133 )
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.55.0 to 0.57.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.55.0...v0.57.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-version: 0.57.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 month ago
Aaron Liu
32632db36f
feat(fs): change event debounce before emitting to subscriber
2 months ago
Aaron Liu
c01b748dfc
feat(fs): fs change event notification via SSE / show panic stack trace in task queue
2 months ago
Darren Yu
05c68b4062
fix(thumb blob path): separators be wrongly modified ( #3062 ) ( #3116 )
...
* fix(thumb blob path): separators be wrongly modified
* Update common.go
2 months ago
Darren Yu
a08c796e3f
fix(ks3): fix content disposition format for download filename ( #3040 ) ( #3057 )
2 months ago
Aaron Liu
fec4dec3ac
feat(upload): etag check in client-side upload / support empty policy ID
2 months ago
Aaron Liu
67c6f937c9
fix(oss): disable RSA min key size check for OSS callback ( #3038 )
3 months ago
Aaron Liu
6ad72e07f4
update submodule
3 months ago
Aaron Liu
994ef7af81
fix(search): multiple metadata search does not work ( #3027 )
3 months ago
Darren Yu
b507c1b893
docs: update feature description ( #3023 )
...
* docs: update feature description
* Apply suggestion from @HFO4
---------
Co-authored-by: AaronLiu <abslant.liu@gmail.com>
3 months ago
Darren Yu
deecc5c20b
feat(thumb blob path): support magic variables in thumb blob path ( #3030 )
3 months ago
dependabot[bot]
6085f2090f
chore(deps): bump golang.org/x/image ( #2093 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20211028202545-6944b10bf410 to 0.18.0.
- [Commits](https://github.com/golang/image/commits/v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
dependabot[bot]
670b79eef3
chore(deps): bump github.com/gin-contrib/cors from 1.3.0 to 1.6.0 ( #2097 )
...
Bumps [github.com/gin-contrib/cors](https://github.com/gin-contrib/cors ) from 1.3.0 to 1.6.0.
- [Release notes](https://github.com/gin-contrib/cors/releases )
- [Changelog](https://github.com/gin-contrib/cors/blob/master/.goreleaser.yaml )
- [Commits](https://github.com/gin-contrib/cors/compare/v1.3.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/gin-contrib/cors
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
dependabot[bot]
4785be81c2
chore(deps): bump github.com/wneessen/go-mail from 0.6.2 to 0.7.1 ( #2939 )
...
Bumps [github.com/wneessen/go-mail](https://github.com/wneessen/go-mail ) from 0.6.2 to 0.7.1.
- [Release notes](https://github.com/wneessen/go-mail/releases )
- [Commits](https://github.com/wneessen/go-mail/compare/v0.6.2...v0.7.1 )
---
updated-dependencies:
- dependency-name: github.com/wneessen/go-mail
dependency-version: 0.7.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Aaron Liu
f27969d74f
chore: update required golang version and gzip middleware
3 months ago
Aaron Liu
e3580d9351
feat(encryption): add UI and settings for file encryption
3 months ago
Aaron Liu
16b02b1fb3
feat: file blob encryption
4 months ago
Darren Yu
6bd30a8af7
fix(oss): change default expire ttl and sign param to adapt SDK v2 ( #2979 )
...
* fix(oss): change default expire ttl and sign param to adapt SDK v2
* fix(oss): add expire ttl limit
4 months ago
Aaron Liu
21cdafb2af
fix(oss): traffic limit should be in query instead of headers ( #2977 )
4 months ago
Aaron Liu
e29237d593
fix(webdav): error code for missing parent in mkcol should be `409` instead of `404` ( #2953 )
4 months ago
Aaron Liu
46897e2880
fix(oss): presigned multipart upload mismatch
4 months ago
Aaron Liu
213eaa54dd
update submodule
4 months ago
Aaron Liu
e7d6fb25e4
feat(oss): upgrade to SDK v2 ( #2963 )
4 months ago
Darren Yu
e3e08a9b75
feat(share): adapt to keep specified path in V3 sharing link ( #2958 )
4 months ago
酸柠檬猹Char
78f7ec8b08
fix: Some containers won't auto restart in the current Docker Compose ( #2932 )
...
Add "restart: unless-stopped" to the database and redis container.
4 months ago
Aaron Liu
3d41e00384
feat(media meta): add Mapbox as a map provider option ( #2922 )
4 months ago
Aaron Liu
5e5dca40c4
feat(media meta): reverse geocoding from mapbox ( #2922 )
4 months ago
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>
5 months ago
Aaron Liu
440ab775b8
chore(compose): add aria2 port mapping
5 months ago
Darren Yu
678593f30d
fix(thumb blob path): remove extra randomkey in thumb blob path ( #2893 )
...
* fix(thumb blob path): remove extra randomkey in thumb blob path
* Update upload.go
Refactor SavePath assignment for clarity.
* Update thumbnail.go
5 months ago