From 392bff28bcd01f5f78a6c42e976a2f508fadd551 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 2 Oct 2023 07:54:33 +0000 Subject: [PATCH 01/17] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index f36f571..ca61bdc 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ See https://jellyfin.org/posts/vue-vue3 for details. * Official app website: * Upstream app code repository: -* YunoHost documentation for this app: * Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index 1bc76da..cdea8d2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -33,7 +33,6 @@ Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. * Site officiel de l’app : * Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : * Signaler un bug : ## Informations pour les développeurs From d1b1f0432948577de787db3eafb2bbaf1688ccc4 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 9 Sep 2023 18:16:13 +0200 Subject: [PATCH 02/17] Upgrade to v0.3.1 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3a3da8b..5420e92 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Jellyfin Vue Client" description.en = "A modern web client for Jellyfin based on Vue." description.fr = "Un client web moderne pour Jellyfin basé sur Vue." -version = "0.3~ynh1" +version = "0.3.1~ynh1" maintainers = ["johndoe"] @@ -56,8 +56,8 @@ ram.runtime = "0M" # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with : # ynh_setup_source --dest_dir="$install_dir" # You can also define other assets than "main" and add --source_id="foobar" in the previous command - url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz" - sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f" + url = "https://github.com/jellyfin/jellyfin-vue/archive/refs/tags/0.3.1.tar.gz" + sha256 = "49316b5f7ef57d09bfa31e5e461fac1866d03902f9b087d2c3ec5b294ed934f8" # These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py # to auto-update the previous asset urls and sha256sum + manifest version From bda93fc067f90e64023a7c79296fef6f524b5e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 2 Oct 2023 09:59:36 +0200 Subject: [PATCH 03/17] Fix permissions on upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index ee5229d..5acdb8b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,6 +48,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" + chown -R $app:www-data "$install_dir" ynh_script_progression --message="Installing NodeJS..." --weight=20 From 8aa3a9d82a13dbba28d59855a7d45758d6e1bb9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 2 Oct 2023 10:01:35 +0200 Subject: [PATCH 04/17] Reload nginx after restore --- scripts/restore | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/restore b/scripts/restore index f285c32..f6148a2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -31,6 +31,15 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +#================================================= +# GENERIC FINALIZATION +#================================================= +# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE +#================================================= +ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 + +ynh_systemd_action --service_name=nginx --action=reload + #================================================= # END OF SCRIPT #================================================= From 74fa4eb689e582f0ad734b8971b2e3764a7016aa Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 2 Oct 2023 08:01:47 +0000 Subject: [PATCH 05/17] Auto-update README --- README.md | 3 +-- README_fr.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f36f571..4fc2f83 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details. -**Shipped version:** 0.3~ynh1 +**Shipped version:** 0.3.1~ynh1 ## Screenshots @@ -32,7 +32,6 @@ See https://jellyfin.org/posts/vue-vue3 for details. * Official app website: * Upstream app code repository: -* YunoHost documentation for this app: * Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index 1bc76da..edd3953 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. -**Version incluse :** 0.3~ynh1 +**Version incluse :** 0.3.1~ynh1 ## Captures d’écran @@ -33,7 +33,6 @@ Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. * Site officiel de l’app : * Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : * Signaler un bug : ## Informations pour les développeurs From 59843e5978b9f1f4be8c155298e14ea3e5cb8e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 2 Oct 2023 11:20:41 +0200 Subject: [PATCH 06/17] Fix warnings of manifest --- manifest.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5420e92..8b21172 100644 --- a/manifest.toml +++ b/manifest.toml @@ -12,8 +12,7 @@ version = "0.3.1~ynh1" maintainers = ["johndoe"] [upstream] -license = "GPLv3" -website = "https://github.com/jellyfin/jellyfin-vue" +license = " GPL-3.0-only" # admindoc = "https://yunohost.org/packaging_apps" # userdoc = "https://yunohost.org/apps" code = "https://github.com/jellyfin/jellyfin-vue" From 7d35b9eca74dcc198f0907eda521472b1225fe46 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 2 Oct 2023 09:20:52 +0000 Subject: [PATCH 07/17] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 4fc2f83..81ced3c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ See https://jellyfin.org/posts/vue-vue3 for details. ## Documentation and resources -* Official app website: * Upstream app code repository: * Report a bug: diff --git a/README_fr.md b/README_fr.md index edd3953..2908fc2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,6 @@ Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. ## Documentations et ressources -* Site officiel de l’app : * Dépôt de code officiel de l’app : * Signaler un bug : From dd2c5c83d15b1696735bd1b342486b6143f464cd Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 7 Oct 2023 09:37:43 +0200 Subject: [PATCH 08/17] cleaning --- doc/DESCRIPTION.md | 5 +---- doc/DESCRIPTION_fr.md | 6 +----- manifest.toml | 22 +++------------------- 3 files changed, 5 insertions(+), 28 deletions(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index b05c8c2..e8aeec9 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1,4 +1 @@ -Jellyfin Vue is the next step of Jellyfin's development. -It's a new frontend, based on Vue. - -See https://jellyfin.org/posts/vue-vue3 for details. +Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details. diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index 345cf8d..aa426ab 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1,5 +1 @@ -Jellyfin Vue est la prochaine étape du développement de Jellyfin. - -C'est une nouvelle interface, basée sur Vue. - -Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. +Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. diff --git a/manifest.toml b/manifest.toml index 3a3da8b..05c9305 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,8 +4,8 @@ packaging_format = 2 id = "jellyfin-vue" name = "Jellyfin Vue Client" -description.en = "A modern web client for Jellyfin based on Vue." -description.fr = "Un client web moderne pour Jellyfin basé sur Vue." +description.en = "Modern web client for Jellyfin" +description.fr = "Client web moderne pour Jellyfin" version = "0.3~ynh1" @@ -14,14 +14,12 @@ maintainers = ["johndoe"] [upstream] license = "GPLv3" website = "https://github.com/jellyfin/jellyfin-vue" -# admindoc = "https://yunohost.org/packaging_apps" -# userdoc = "https://yunohost.org/apps" code = "https://github.com/jellyfin/jellyfin-vue" fund = "https://opencollective.com/jellyfin" [integration] -yunohost = ">= 11.1.21" +yunohost = ">= 11.2" architectures = "all" multi_instance = true ldap = true @@ -32,38 +30,24 @@ ram.runtime = "0M" [install] [install.domain] - # this is a generic question - ask strings are automatically handled by YunoHost's core type = "domain" [install.path] - # this is a generic question - ask strings are automatically handled by YunoHost's core type = "path" default = "/jellyfin-vue" [install.init_main_permission] - # this is a generic question - ask strings are automatically handled by YunoHost's core - # This won't be saved as setting and will instead be used to initialize the SSOwat permission type = "group" default = "visitors" [resources] - # See the packaging documentation for the full set - # of explanation regarding the behavior and properties for each of those [resources.sources] [resources.sources.main] - # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with : - # ynh_setup_source --dest_dir="$install_dir" - # You can also define other assets than "main" and add --source_id="foobar" in the previous command url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz" sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f" - # These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py - # to auto-update the previous asset urls and sha256sum + manifest version - # assuming the upstream's code repo is on github and relies on tags or releases - # See the 'sources' resource documentation for more details - autoupdate.strategy = "latest_github_tag" [resources.system_user] From 5de7cf94bda44bd81709a4337ec6cb4f246d4d4a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 7 Oct 2023 07:37:48 +0000 Subject: [PATCH 09/17] Auto-update README --- README.md | 5 +---- README_fr.md | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ca61bdc..c141b70 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -Jellyfin Vue is the next step of Jellyfin's development. -It's a new frontend, based on Vue. - -See https://jellyfin.org/posts/vue-vue3 for details. +Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details. **Shipped version:** 0.3~ynh1 diff --git a/README_fr.md b/README_fr.md index cdea8d2..6dfe246 100644 --- a/README_fr.md +++ b/README_fr.md @@ -16,11 +16,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po ## Vue d’ensemble -Jellyfin Vue est la prochaine étape du développement de Jellyfin. - -C'est une nouvelle interface, basée sur Vue. - -Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. +Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. **Version incluse :** 0.3~ynh1 From ec5e13de27ea27d5a91510209ff38230e38eaa39 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 7 Oct 2023 07:38:43 +0000 Subject: [PATCH 10/17] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 8c7b2b7..301628b 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, ba ## Documentation and resources +* Official app website: * Upstream app code repository: * Report a bug: diff --git a/README_fr.md b/README_fr.md index 9964132..dff6561 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,6 +27,7 @@ Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une no ## Documentations et ressources +* Site officiel de l’app : * Dépôt de code officiel de l’app : * Signaler un bug : From 2f57a798e3490ddd70d58618945ae8b7a9b1c923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:12:20 +0200 Subject: [PATCH 11/17] Update manifest.toml --- manifest.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 52432af..3a9754d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -13,7 +13,6 @@ maintainers = ["johndoe"] [upstream] license = "GPLv3" -website = "https://github.com/jellyfin/jellyfin-vue" code = "https://github.com/jellyfin/jellyfin-vue" fund = "https://opencollective.com/jellyfin" From f5ebeb353871feccd888a27088ce606b7e3a672f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 7 Oct 2023 09:12:25 +0000 Subject: [PATCH 12/17] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 301628b..8c7b2b7 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, ba ## Documentation and resources -* Official app website: * Upstream app code repository: * Report a bug: diff --git a/README_fr.md b/README_fr.md index dff6561..9964132 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,6 @@ Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une no ## Documentations et ressources -* Site officiel de l’app : * Dépôt de code officiel de l’app : * Signaler un bug : From f16f781e10b60eaf9667853f728283e91f5e32f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:13:41 +0200 Subject: [PATCH 13/17] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 3a9754d..4d71b98 100644 --- a/manifest.toml +++ b/manifest.toml @@ -12,7 +12,7 @@ version = "0.3.1~ynh1" maintainers = ["johndoe"] [upstream] -license = "GPLv3" +license = "GPL-3.0-only" code = "https://github.com/jellyfin/jellyfin-vue" fund = "https://opencollective.com/jellyfin" From 2f80d46a80f7a98c20b050047ee784a44958edfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:14:55 +0200 Subject: [PATCH 14/17] Update manifest.toml --- manifest.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 4d71b98..4ad93f4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -46,7 +46,8 @@ ram.runtime = "0M" url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz" sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f" - autoupdate.strategy = "latest_github_tag" + autoupdate.upstream = "https://github.com/jellyfin/jellyfin-vue/" + autoupdate.strategy = "latest_github_commit" [resources.system_user] From 7e30b0bfd31b2114f1d2e2eda2b0488d4804e968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:19:39 +0200 Subject: [PATCH 15/17] Update upgrade --- scripts/upgrade | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5acdb8b..ba44836 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,31 +11,6 @@ source /usr/share/yunohost/helpers upgrade_type=$(ynh_check_app_version_changed) -#================================================= -# STANDARD UPGRADE STEPS -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -#ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 - -# -# N.B. : the followings setting migrations snippets are provided as *EXAMPLES* -# of what you may want to do in some cases (e.g. a setting was not defined on -# some legacy installs and you therefore want to initiaze stuff during upgrade) -# - -# If db_name doesn't exist, create it -#if [ -z "$db_name" ]; then -# db_name=$(ynh_sanitize_dbid --db_name=$app) -# ynh_app_setting_set --app=$app --key=db_name --value=$db_name -#fi - -# If install_dir doesn't exist, create it -#if [ -z "$install_dir" ]; then -# install_dir=/var/www/$app -# ynh_app_setting_set --app=$app --key=install_dir --value=$install_dir -#fi - #================================================= # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...) #================================================= @@ -61,9 +36,6 @@ then _npm_build_install "$install_dir/source" "$install_dir/www" "$path/" fi -# $install_dir will automatically be initialized with some decent -# permission by default ... however, you may need to recursively reapply -# ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir" #================================================= From 6c81e7d344928918ad16585b434772baefc9a8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:21:00 +0200 Subject: [PATCH 16/17] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 4ad93f4..5af4cbc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Jellyfin Vue Client" description.en = "Modern web client for Jellyfin" description.fr = "Client web moderne pour Jellyfin" -version = "0.3.1~ynh1" +version = "0.3.1~ynh2" maintainers = ["johndoe"] From 73dd9adaf1f2d0a0d80f9dd1c630354c76c9d54b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 7 Oct 2023 09:21:06 +0000 Subject: [PATCH 17/17] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c7b2b7..b4d2197 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, based on Vue. See https://jellyfin.org/posts/vue-vue3 for details. -**Shipped version:** 0.3.1~ynh1 +**Shipped version:** 0.3.1~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 9964132..be30689 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une nouvelle interface, basée sur Vue. Des détails peuvent être trouvés ici : https://jellyfin.org/posts/vue-vue3. -**Version incluse :** 0.3.1~ynh1 +**Version incluse :** 0.3.1~ynh2 ## Captures d’écran