memos/plugin
Aleksandr Baryshnikov fa17dce046
feat: pre-signed URL for S3 storage (#2855)
Adds automatically background refresh of all external links if they are belongs to the current blob (S3) storage. The feature is disabled by default in order to keep backward compatibility.

The background go-routine spawns once during startup and periodically signs and updates external links if that links belongs to current S3 storage.

The original idea was to sign external links on-demand, however, with current architecture it will require duplicated code in plenty of places. If do it, the changes will be quite invasive and in the end pointless: I believe, the architecture will be eventually updated to give more scalable way for pluggable storage. For example - Upload/Download interface without hard dependency on external link. There are stubs already, but I don't feel confident enough to change significant part of the application architecture.
2024-01-29 21:12:29 +08:00
..
http-getter fix: content sanitization in getimage endpoint (#2241) 2023-09-18 12:45:26 +08:00
idp chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
openai fix: golangci-lint version (#1381) 2023-03-18 22:34:22 +08:00
storage/s3 feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
telegram chore: fix misuse of package path instead of filepath.path (#2684) 2023-12-29 07:50:15 +08:00
webhook chore: implement webhook dispatch in api v1 2023-11-25 10:31:58 +08:00