memos/store/db/sqlite
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
..
migration chore: tweak default value 2024-01-26 09:22:47 +08:00
seed chore: add resource name migrator 2024-01-28 07:58:53 +08:00
activity.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
common.go chore: impl inbox store methods 2023-10-27 08:17:58 +08:00
idp.go chore: clean binary entries 2023-12-11 22:16:39 +08:00
inbox.go fix: deleting inbox records that senders have been deleted (#2743) 2024-01-11 21:29:22 +08:00
memo.go chore: fix list memos 2024-01-28 08:38:29 +08:00
memo_organizer.go feat: add support for ListMemoOrganizer (#2367) 2023-10-09 08:18:47 -05:00
memo_relation.go fix: mysql syntax 2023-10-07 22:56:12 +08:00
migration_history.go chore: update migration history store 2023-11-06 08:33:31 +08:00
migrator.go chore: retire auto backup for sqlite 2023-12-19 22:34:06 +08:00
resource.go feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
sqlite.go fix: deleting inbox records that senders have been deleted (#2743) 2024-01-11 21:29:22 +08:00
storage.go chore: clean binary entries 2023-12-11 22:16:39 +08:00
system_setting.go chore: update package name 2023-10-05 23:11:29 +08:00
tag.go fix: ListTag not support omit params (#2366) 2023-10-09 01:40:54 -05:00
user.go chore: clean binary entries 2023-12-11 22:16:39 +08:00
user_setting.go chore: deprecate user setting legacy api 2023-12-08 22:41:47 +08:00
webhook.go chore: clean binary entries 2023-12-11 22:16:39 +08:00