diff --git a/README.md b/README.md index de3d6e0..a484289 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d - Ability to subscribe to channels without creating a Google account -**Shipped version:** 12.06.23~ynh1 +**Shipped version:** 02.08.23~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 503120a..8dd3249 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné - Possibilité d'afficher les commentaires Reddit plutôt que les commentaires YouTube, - Possibilité de s'abonner aux chaines sans créer de compte Google -**Version incluse :** 12.06.23~ynh1 +**Version incluse :** 02.08.23~ynh1 **Démo :** https://invidious.site/ diff --git a/conf/config.yml b/conf/config.yml index 82b32bf..5ab0d23 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -84,7 +84,7 @@ external_port: 443 ## Accepted values: a valid IPv4 or IPv6 address. ## default: 0.0.0.0 (listen on all interfaces) ## -host_binding: 0.0.0.0 +host_binding: 127.0.0.1 ## ## Domain name under which this instance is hosted. This is diff --git a/manifest.toml b/manifest.toml index 1f1714a..cccc945 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Invidious" description.en = "Alternative front-end to YouTube" description.fr = "Front-end alternatif à YouTube" -version = "12.06.23~ynh1" +version = "02.08.23~ynh1" maintainers = ["eric_G"] @@ -17,7 +17,7 @@ code = "https://github.com/iv-org/invidious" website = "https://invidio.us/" [integration] -yunohost = ">= 11.1.20" +yunohost = ">= 11.2" architectures = ["amd64"] multi_instance = false ldap = false @@ -43,7 +43,7 @@ ram.runtime = "50M" [install.language] ask.en = "Choose the application language" ask.fr = "Choisissez la langue de l'application" - type = "string" + type = "select" choices = ["de", "en-US", "es", "fr", "it", "nl", "pt-PT"] default = "fr" diff --git a/scripts/_common.sh b/scripts/_common.sh index 3f8056f..45945b6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=e6f5fcbc4b7eab7bdeee1a1d2586334f34f50af7 +version_commit=d956b1826e15da6cfcd9a1531b0f1e6ef577dd10 #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index 7e14c62..fb0e118 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -25,6 +25,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# MODIFY A CONFIG FILE +#================================================= +ynh_script_progression --message="Modifying a config file..." --weight=1 + +ynh_add_config --template="../conf/config.yml" --destination="$install_dir/config/config.yml" + +chmod 600 $install_dir/config/config.yml +chown $app:$app "$install_dir/config/config.yml" + #================================================= # GENERIC FINALISATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 51c498e..0dd72ee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,10 +101,12 @@ yunohost service add $app --description="Invidious is an alternative front-end t #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." +ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="../conf/config.yml" --destination="$install_dir/config/config.yml" + chmod 600 $install_dir/config/config.yml +chown $app:$app "$install_dir/config/config.yml" #================================================= # START SYSTEMD SERVICE