You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/api/v1
Elliot Chen 3181c076b2
feat: add {uuid} in path template when using local storage or S3 (#2696)
Add {uuid} in path template when using local storage or S3

Add an addition tag `{uuid}` to the `replacePathTemplate`.

It is a workaround to leak the public links of a resource when using S3-based object storage. Currently, all resource blobs stored in S3 (R2, OSS) are set to be public. It is insecure as the resources for the private memos are also accessible on the Internet. Using an additional {uuid} might reduce this risk.

Meanwhile, it is also possible to avoid filename conflict
1 year ago
..
auth.go chore: update user setting names 1 year ago
common.go chore: update memo view activity 2 years ago
docs.go chore: regenerate swagger docs 1 year ago
http_getter.go chore: fix tag in http_getter.go (#2500) 1 year ago
idp.go chore: move common packages to internal 2 years ago
jwt.go chore: fix jwt acl 1 year ago
memo.go chore: tweak variable names 1 year ago
memo_organizer.go chore: move common packages to internal 2 years ago
memo_relation.go chore: implement webhook dispatch in api v1 1 year ago
resource.go feat: add {uuid} in path template when using local storage or S3 (#2696) 1 year ago
rss.go chore: tweak frontend routes register 1 year ago
storage.go chore: move common packages to internal 2 years ago
swagger.yaml chore: regenerate swagger docs 1 year ago
system.go chore: skip invalida setting checks 1 year ago
system_setting.go chore: use consistent relative paths for resources (#2683) 1 year ago
tag.go chore: remove outdated activity definition 2 years ago
tag_test.go revert: fix: exclude all punctuation chars except underscore in tags (#2033) 2 years ago
user.go chore: prevent archive/delete current user 1 year ago
v1.go chore: deprecate user setting legacy api 1 year ago