Commit Graph

2176 Commits (fa17dce04638dc05b2283afe6bd4db2a840f9e16)
 

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 cbcec80c5d chore: fix import order 1 year ago
Steven 2b7bd47b44 fix: rss routes 1 year ago
Steven 54c5039db3 chore: fix golang linter 1 year ago
Steven af646ce2de refactor: move gomark 1 year ago
Steven f4ac7ff529 chore: update memo resource url 1 year ago
Steven 55ecdae509 chore: fix auto link matcher 1 year ago
Steven ef73299340 chore: update resource name migrator 1 year ago
Steven 8c6292925e chore: update code block styles 1 year ago
Steven f05a89315c chore: fix list memos 1 year ago
Steven a4452d8a2f chore: update linter rules 1 year ago
Steven 5e74394643 chore: add resource name migrator 1 year ago
Steven f4e722c516 chore: remove latest tag 1 year ago
Steven 12275c6a34 chore: fix linter warning 1 year ago
Steven 21ef5a9bc0 chore: tweak workspace service 1 year ago
Steven 87b23940a6 chore: upgrade backend dependencies 1 year ago
Steven 11dd23f59b chore: tweak link checks 1 year ago
Lincoln Nogueira 887903b66b
feat: add buf plugin to generate openapiv2 spec (#2843) 1 year ago
Steven 309fab222e chore: implement nested blockquote 1 year ago
Steven 1dc4f02b64 chore: update memo requests 1 year ago
Steven 8db90a040c chore: remove unused dependencies 1 year ago
Steven 932f636d84 chore: update codeblock renderer 1 year ago
Steven ed32b20c9e chore: update frontend dependencies 1 year ago
Steven 10d709c167 chore: fix highlight cursor 1 year ago
Steven 8455114eef chore: fix list memos request 1 year ago
Steven c26109cd36 chore: update list memos request 1 year ago
Steven 4b223c1e4c chore: update collapse sidebar 1 year ago
Steven b9cbe6626f chore: update tag rename 1 year ago
Steven 566171783d chore: tweak embedded memo style 1 year ago
Steven 7edb3598ea chore: update default request limit 1 year ago
Steven bc2d2d0cde feat: support set embedded content in UI 1 year ago
Steven e1977df14b chore: remove check underscores 1 year ago
Wei Zhang ddc89029b7
fix: use mysql to parse dsn (#2838)
Signed-off-by: Zhang Wei <kweizh@gmail.com>
1 year ago
Steven f8b9a83d4a chore: tweak default value 1 year ago
Steven 2f16b7065a chore: tweak scripts 1 year ago
Steven e5ff1829a5 chore: add Hungarian locale 1 year ago
Steven d7889d9903 chore: tweak url filters 1 year ago
Steven db3457e081 chore: bump version 1 year ago
Steven 4f2b00b4f3 chore: add migration scripts 1 year ago
Steven 79558028c0 feat: implement rename tag 1 year ago
Steven 70d1301dc3 chore: use filter in url params 1 year ago
Steven 6d5e1def76 chore: update member section 1 year ago
boojack a5bc2d0ed6
chore: update i18n from Weblate (#2832)
* Added translation using Weblate (Hungarian)

* Translated using Weblate (Hungarian)

Currently translated at 0.3% (1 of 317 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hu/

* Translated using Weblate (Hungarian)

Currently translated at 71.2% (226 of 317 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hu/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (316 of 316 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (316 of 316 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hant/

---------

Co-authored-by: Vermunds <com.github@weylus.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Co-authored-by: ti777777 <ti12272198686@yahoo.com.tw>
1 year ago
Steven 08ac60cc70 chore: update memo relation dialog 1 year ago
Mudkip f654d3c90e
fix: encode filename when using url prefix for resources (#2829)
* fix: encode filename when using url prefix for resources

* fix: only encode the last parts of filename

* fix: encode all parts in filepath
1 year ago
Steven 1b69b73eb9 chore: update calendar styles 1 year ago
Steven 3dbb254aeb chore: update referenced memo title from params 1 year ago
Steven fdb1779a59 chore: implement referenced content renderer 1 year ago
Steven a316e239ce chore: implement referenced content node 1 year ago
Steven d7f02b94e5 chore: fix linter 1 year ago