memos/store
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
..
db feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
activity.go feat: add version checker 2023-11-06 20:49:02 +08:00
cache.go chore: deprecate user setting legacy api 2023-12-08 22:41:47 +08:00
common.go refactor: migrate storage to apiv1 (#1890) 2023-07-04 10:05:57 +08:00
driver.go chore: retire auto backup for sqlite 2023-12-19 22:34:06 +08:00
idp.go chore: update store cache 2023-10-05 15:17:40 +08:00
inbox.go chore: remove unused inbox status 2023-10-28 02:49:35 +08:00
memo.go feat: add user-defined name to memo 2024-01-20 23:48:35 +08:00
memo_organizer.go feat: add support for ListMemoOrganizer (#2367) 2023-10-09 08:18:47 -05:00
memo_relation.go chore: update list memos 2023-12-06 22:44:49 +08:00
migration_history.go chore: fix html escaping 2023-12-17 23:37:00 +08:00
migrator.go chore: update resource name migrator 2024-01-28 21:40:24 +08:00
resource.go feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
storage.go refactor: migrate storage to driver 2023-09-26 19:43:55 +08:00
store.go chore: add resource name migrator 2024-01-28 07:58:53 +08:00
system_setting.go chore: remote context.Context pointer (#2448) 2023-10-26 20:21:44 +08:00
tag.go chore: store vacuum and clean (#2293) 2023-09-26 20:27:31 -05:00
user.go feat: add version checker 2023-11-06 20:49:02 +08:00
user_setting.go chore: update user setting names 2023-12-16 12:18:53 +08:00
webhook.go chore: implement webhook store 2023-11-24 22:45:38 +08:00