Commit Graph

10 Commits

Author SHA1 Message Date
7cc8b951a3 refactor: update resource id naming 2024-03-20 20:39:16 +08:00
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
582cc6609c feat: add user-defined id to resource 2024-01-21 10:49:30 +08:00
a22ad90174 fix: set memo resources error in mysql (#2761)
Fix error updating memo resources in mysql
2024-01-15 20:05:07 +08:00
8b9455d784 chore: fix memo resources position 2024-01-06 09:23:20 +08:00
f184d65267 fix: attachments send from telegram lost (#2650) 2023-12-21 09:47:25 +08:00
c608877c3e chore: clean binary entries 2023-12-11 22:16:39 +08:00
1fbd568dfe fix: create resource without some attributes (#2354) 2023-10-08 05:29:03 -05:00
553de3cc7e fix: mysql syntax 2023-10-07 22:56:12 +08:00
a6ee61e96d chore: update package name 2023-10-05 23:11:29 +08:00