diff --git a/README.md b/README.md index 4fc2f83..b4d2197 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,10 @@ 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.1~ynh1 +**Shipped version:** 0.3.1~ynh2 ## Screenshots @@ -30,7 +27,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..be30689 100644 --- a/README_fr.md +++ b/README_fr.md @@ -16,14 +16,10 @@ 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.1~ynh1 +**Version incluse :** 0.3.1~ynh2 ## Captures d’écran @@ -31,7 +27,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 : 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 af35ee3..e72c1c4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,20 +4,20 @@ 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.1~ynh1" +version = "0.3.1~ynh2" maintainers = [""] [upstream] -license = "GPL-3.0" +license = "GPL-3.0-only" 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 @@ -43,9 +43,11 @@ ram.runtime = "0M" [resources.sources] [resources.sources.main] - url = "https://github.com/jellyfin/jellyfin-vue/archive/refs/tags/0.3.1.tar.gz" - sha256 = "49316b5f7ef57d09bfa31e5e461fac1866d03902f9b087d2c3ec5b294ed934f8" - autoupdate.strategy = "latest_github_tag" + url = "https://github.com/jellyfin/jellyfin-vue/archive/f1efc3cd0923d09af69debea1e19a08b24310afc.tar.gz" + sha256 = "7f3a81a44153b456012bb0c2a0d404eb0b4ac0db1c56768cef7e37ed4eb52c6f" + + autoupdate.upstream = "https://github.com/jellyfin/jellyfin-vue/" + autoupdate.strategy = "latest_github_commit" [resources.system_user] diff --git a/scripts/restore b/scripts/restore index b15eb44..c496636 100755 --- a/scripts/restore +++ b/scripts/restore @@ -28,6 +28,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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 6fdd467..5b55d12 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...) #================================================= @@ -48,6 +23,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 @@ -60,9 +36,6 @@ then ynh_exec_as $app _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" #=================================================