Commit Graph

7 Commits (ce133ad69b21394113ee5855f71e9daaa37ae355)

Author SHA1 Message Date
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.
1 year ago
Steven 582cc6609c feat: add user-defined id to resource 1 year ago
Steven 8b9455d784 chore: fix memo resources position 1 year ago
Athurg Gooth f184d65267
fix: attachments send from telegram lost (#2650) 1 year ago
Steven c608877c3e chore: clean binary entries 1 year ago
Athurg Gooth 1fbd568dfe
fix: create resource without some attributes (#2354) 2 years ago
Steven a6ee61e96d chore: update package name 2 years ago