memos/web
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
..
public chore: update favicon 2024-01-15 21:10:41 +08:00
src feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
.eslintrc.json
.gitignore fix: docker-compose.dev.yaml (#2695) 2024-01-02 18:33:19 +08:00
.prettierrc.js
index.html fix: appearance and locale initial value 2024-01-16 22:53:45 +08:00
package.json chore: remove unused dependencies 2024-01-27 20:20:36 +08:00
pnpm-lock.yaml chore: remove unused dependencies 2024-01-27 20:20:36 +08:00
postcss.config.js
README.md chore: tweak wording 2023-10-18 06:05:19 +08:00
tailwind.config.js chore: update response styles 2023-11-08 22:10:15 +08:00
tsconfig.json
vite.config.ts chore: update dependencies 2024-01-19 19:20:59 +08:00

memos web