From f9ef5b23aff3d37a4ab823b49819d1325ea9c559 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sat, 4 May 2024 21:58:35 +0200 Subject: [PATCH 1/6] Adding multimedia directories --- manifest.toml | 2 +- scripts/install | 3 +++ scripts/restore | 3 +++ scripts/upgrade | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 864ee1d..fa40ac5 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Immich" description.en = "Photo and video backup solution directly from your mobile phone" description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile" -version = "1.103.1~ynh1" +version = "1.103.1~ynh2" maintainers = ["ewilly"] diff --git a/scripts/install b/scripts/install index fb2a967..8ce42da 100755 --- a/scripts/install +++ b/scripts/install @@ -75,6 +75,9 @@ yunohost service add "$app-server" --description="Immich Server" --log="/var/log yunohost service add "$app-microservices" --description="Immich Microservices" --log="/var/log/$app/$app-microservices.log" yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log" +ynh_multimedia_build_main_dir +ynh_multimedia_addaccess --user_name=$app + ynh_use_logrotate ynh_add_fail2ban_config --logpath="/var/log/$app/$app-server.log" --failregex="$failregex" diff --git a/scripts/restore b/scripts/restore index 0f19c04..a268b3f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,9 @@ yunohost service add "$app-server" --description="Immich Server" --log="/var/log yunohost service add "$app-microservices" --description="Immich Microservices" --log="/var/log/$app/$app-microservices.log" yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log" +ynh_multimedia_build_main_dir +ynh_multimedia_addaccess --user_name=$app + ynh_restore_file --origin_path="/etc/logrotate.d/$app" ynh_restore_file --origin_path="/etc/fail2ban/jail.d/$app.conf" diff --git a/scripts/upgrade b/scripts/upgrade index a9bfbca..1cdf14b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,6 +78,9 @@ yunohost service add "$app-microservices" --description="Immich Microservices" - yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log" yunohost service add "$app-server" --description="Immich Server" --log="/var/log/$app/$app-server.log" +ynh_multimedia_build_main_dir +ynh_multimedia_addaccess --user_name=$app + ynh_use_logrotate --non-append ynh_add_fail2ban_config --logpath="/var/log/$app/$app-server.log" --failregex="$failregex" From d229832902d37e5847049f49bce2bf942ee6b571 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 4 May 2024 19:58:15 +0000 Subject: [PATCH 2/6] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 70c2d76..785a40e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Shipped version:** 1.103.1~ynh1 +**Shipped version:** 1.103.1~ynh2 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 6f24171..bcc622c 100644 --- a/README_eu.md +++ b/README_eu.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Paketatutako bertsioa:** 1.103.1~ynh1 +**Paketatutako bertsioa:** 1.103.1~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 3da83ca..e7c677b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,7 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos. - Interface conviviale et egronomique ; -**Version incluse :** 1.103.1~ynh1 +**Version incluse :** 1.103.1~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 86d43f9..f8b5f17 100644 --- a/README_gl.md +++ b/README_gl.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**Versión proporcionada:** 1.103.1~ynh1 +**Versión proporcionada:** 1.103.1~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 232c86c..70d67d5 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -24,7 +24,7 @@ Self-hosted photo and video management solution. - Easy-to-use and friendly interface ; -**分发版本:** 1.103.1~ynh1 +**分发版本:** 1.103.1~ynh2 ## 截图 From 6c8a141bd4ee158a83481a92c04f50e576dc5070 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 6 May 2024 22:09:48 +0200 Subject: [PATCH 3/6] Add disclaimer --- doc/DISCLAIMER.md | 4 ++++ doc/DISCLAIMER_fr.md | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 doc/DISCLAIMER.md create mode 100644 doc/DISCLAIMER_fr.md diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md new file mode 100644 index 0000000..3f703a2 --- /dev/null +++ b/doc/DISCLAIMER.md @@ -0,0 +1,4 @@ +## Disclaimer + +This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. +HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md new file mode 100644 index 0000000..00800d3 --- /dev/null +++ b/doc/DISCLAIMER_fr.md @@ -0,0 +1,4 @@ +## Avertissement + +Ce package supporte les formats d'images suivant : JPEG, PNG, WebP, AVIF (limité à profondeur de couleur de 8 bits), TIFF, GIF et SVG. +Le format HEIC/HEIF n'est pas supporté (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). From 53708754043e7089a98c8c0a01f48446fd71c44c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 6 May 2024 20:09:46 +0000 Subject: [PATCH 4/6] Auto-update READMEs --- README.md | 7 +++++++ README_eu.md | 7 +++++++ README_fr.md | 7 +++++++ README_gl.md | 7 +++++++ README_zh_Hans.md | 9 ++++++++- 5 files changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 785a40e..5e7a781 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,13 @@ Self-hosted photo and video management solution. ![Screenshot of Immich](./doc/screenshots/immich-screenshots.png) +## Disclaimers / important information + +## Disclaimer + +This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. +HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). + ## Documentation and resources - Official app website: diff --git a/README_eu.md b/README_eu.md index bcc622c..61ca807 100644 --- a/README_eu.md +++ b/README_eu.md @@ -30,6 +30,13 @@ Self-hosted photo and video management solution. ![Immich(r)en pantaila-argazkia](./doc/screenshots/immich-screenshots.png) +## Ezespena / informazio garrantzitsua + +## Disclaimer + +This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. +HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). + ## Dokumentazioa eta baliabideak - Aplikazioaren webgune ofiziala: diff --git a/README_fr.md b/README_fr.md index e7c677b..acaadad 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,6 +30,13 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos. ![Capture d’écran de Immich](./doc/screenshots/immich-screenshots.png) +## Avertissements / informations importantes + +## Avertissement + +Ce package supporte les formats d'images suivant : JPEG, PNG, WebP, AVIF (limité à profondeur de couleur de 8 bits), TIFF, GIF et SVG. +Le format HEIC/HEIF n'est pas supporté (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). + ## Documentations et ressources - Site officiel de l’app : diff --git a/README_gl.md b/README_gl.md index f8b5f17..533e110 100644 --- a/README_gl.md +++ b/README_gl.md @@ -30,6 +30,13 @@ Self-hosted photo and video management solution. ![Captura de pantalla de Immich](./doc/screenshots/immich-screenshots.png) +## Avisos / información importante + +## Disclaimer + +This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. +HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). + ## Documentación e recursos - Web oficial da app: diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 70d67d5..739169b 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Immich +# YunoHost 上的 Immich [![集成程度](https://dash.yunohost.org/integration/immich.svg)](https://dash.yunohost.org/appci/app/immich) ![工作状态](https://ci-apps.yunohost.org/ci/badges/immich.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/immich.maintain.svg) @@ -30,6 +30,13 @@ Self-hosted photo and video management solution. ![Immich 的截图](./doc/screenshots/immich-screenshots.png) +## 免责声明 / 重要信息 + +## Disclaimer + +This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. +HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). + ## 文档与资源 - 官方应用网站: From fd9db44867955dce578d9191f9618e69dc4d5127 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 6 May 2024 22:12:05 +0200 Subject: [PATCH 5/6] Update disclaimer --- doc/DISCLAIMER.md | 2 -- doc/DISCLAIMER_fr.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 3f703a2..802cf8f 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,4 +1,2 @@ -## Disclaimer - This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 00800d3..999d29e 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,4 +1,2 @@ -## Avertissement - Ce package supporte les formats d'images suivant : JPEG, PNG, WebP, AVIF (limité à profondeur de couleur de 8 bits), TIFF, GIF et SVG. Le format HEIC/HEIF n'est pas supporté (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). From 6d32943b382077d96b80e32d6c0fafba7bc9693e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 6 May 2024 20:11:53 +0000 Subject: [PATCH 6/6] Auto-update READMEs --- README.md | 2 -- README_eu.md | 2 -- README_fr.md | 2 -- README_gl.md | 2 -- README_zh_Hans.md | 2 -- 5 files changed, 10 deletions(-) diff --git a/README.md b/README.md index 5e7a781..d3fd123 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,6 @@ Self-hosted photo and video management solution. ## Disclaimers / important information -## Disclaimer - This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/README_eu.md b/README_eu.md index 61ca807..2f1d69b 100644 --- a/README_eu.md +++ b/README_eu.md @@ -32,8 +32,6 @@ Self-hosted photo and video management solution. ## Ezespena / informazio garrantzitsua -## Disclaimer - This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/README_fr.md b/README_fr.md index acaadad..15ee84c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -32,8 +32,6 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos. ## Avertissements / informations importantes -## Avertissement - Ce package supporte les formats d'images suivant : JPEG, PNG, WebP, AVIF (limité à profondeur de couleur de 8 bits), TIFF, GIF et SVG. Le format HEIC/HEIF n'est pas supporté (cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/README_gl.md b/README_gl.md index 533e110..7b796eb 100644 --- a/README_gl.md +++ b/README_gl.md @@ -32,8 +32,6 @@ Self-hosted photo and video management solution. ## Avisos / información importante -## Disclaimer - This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600). diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 739169b..9261e55 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -32,8 +32,6 @@ Self-hosted photo and video management solution. ## 免责声明 / 重要信息 -## Disclaimer - This package provides support for the JPEG, PNG, WebP, AVIF (limited to 8-bit depth), TIFF, GIF and SVG (input) image formats. HEIC/HEIF file format is not supported (see cf. https://github.com/YunoHost-Apps/immich_ynh/issues/40#issuecomment-2096788600).