memos/api/v1
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
..
auth.go feat: add user-defined name to memo 2024-01-20 23:48:35 +08:00
common.go chore: update memo view activity 2023-10-01 14:14:33 +08:00
docs.go chore: regenerate swagger docs 2023-12-19 22:37:07 +08:00
http_getter.go chore: fix tag in http_getter.go (#2500) 2023-11-11 23:21:15 +08:00
idp.go chore: move common packages to internal 2023-10-26 09:02:50 +08:00
jwt.go chore: upgrade backend dependencies 2024-01-28 07:13:11 +08:00
memo.go chore: update memo resource url 2024-01-28 23:02:38 +08:00
memo_organizer.go chore: move common packages to internal 2023-10-26 09:02:50 +08:00
memo_relation.go chore: implement webhook dispatch in api v1 2023-11-25 10:31:58 +08:00
resource.go feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
storage.go feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
swagger.yaml feat: pre-signed URL for S3 storage (#2855) 2024-01-29 21:12:29 +08:00
system.go chore: skip invalida setting checks 2023-12-23 08:55:23 +08:00
system_setting.go chore: use consistent relative paths for resources (#2683) 2023-12-29 07:49:55 +08:00
tag.go chore: remove outdated activity definition 2023-10-27 23:11:56 +08:00
tag_test.go revert: fix: exclude all punctuation chars except underscore in tags (#2033) 2023-07-26 21:11:13 +08:00
user.go feat: add user-defined name to memo 2024-01-20 23:48:35 +08:00
v1.go fix: rss routes 2024-01-29 21:04:35 +08:00