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.
* chore: added tooltip for vacuum button
- At the moment only has text for English language therefore other JSON files need to be updated accordingly
* Update en.json
* Translated using Weblate (French)
Currently translated at 100.0% (317 of 317 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/fr/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (317 of 317 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/
---------
Co-authored-by: Ezmana <ezmana.land@gmail.com>
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
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/
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Translated using Weblate (Croatian)
Currently translated at 92.7% (293 of 316 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hr/
Co-authored-by: May Kittens Devour Your Soul <yoshimitsu002@gmail.com>
* 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 (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/
---------
Co-authored-by: LibreTranslate <noreply-mt-libretranslate@weblate.org>
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
* Translated using Weblate (Croatian)
Currently translated at 92.3% (290 of 314 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hr/
* Translated using Weblate (Korean)
Currently translated at 100.0% (314 of 314 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ko/
---------
Co-authored-by: May Kittens Devour Your Soul <yoshimitsu002@gmail.com>
Co-authored-by: nulta <un5450@naver.com>
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (314 of 314 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Translated using Weblate (Croatian)
Currently translated at 87.5% (274 of 313 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hr/
Co-authored-by: May Kittens Devour Your Soul <yoshimitsu002@gmail.com>
Translated using Weblate (German)
Currently translated at 99.6% (312 of 313 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/de/
Co-authored-by: Frank Emmerlich <femmdi2012@gmail.com>
Translated using Weblate (German)
Currently translated at 99.6% (312 of 313 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/de/
Co-authored-by: Frank Emmerlich <femmdi2012@gmail.com>
* Added translation using Weblate (Arabic)
* Translated using Weblate (Arabic)
Currently translated at 46.6% (146 of 313 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ar/
---------
Co-authored-by: Ali AlShaikh <Mi3LiX9@outlook.sa>
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (315 of 315 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/
Co-authored-by: Qing Long <longyinx@duck.com>
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (315 of 315 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (315 of 315 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/
---------
Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Co-authored-by: Qing Long <longyinx@duck.com>
Changed translation of "private" to "Privato" instead of "Privao" (missing the letter "t")
Signed-off-by: serverless83 <35410475+serverless83@users.noreply.github.com>