From 14696ed1c293595dbc35f2111abc168d9ba7cb53 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 19 Jan 2022 22:15:44 +0100 Subject: [PATCH 01/17] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 36c6a01..b6ff7ea 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=042ff8da643e9304f4d2c7db8f0c3cdba82d35ee +version_commit=8b0ed8b110752327b98565e4ecc4faf437c0bb3b # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From 67012cbe60fa9ce3b8845718cd11b9e302f7489e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 20 Jan 2022 15:40:49 +0100 Subject: [PATCH 02/17] Testing (#73) * Add config panel --- README.md | 2 +- README_fr.md | 2 +- conf/config.yml | 6 +++--- conf/nginx.conf | 4 ---- config_panel.toml | 32 ++++++++++++++++++++++++++++++++ manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 7 +++++++ scripts/upgrade | 19 +++++++++++++++++++ 9 files changed, 65 insertions(+), 11 deletions(-) create mode 100644 config_panel.toml diff --git a/README.md b/README.md index 1de497d..83695db 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.12~ynh1 +**Shipped version:** 22.01.14~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 932e0d4..ffbfcd0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.12~ynh1 +**Version incluse :** 22.01.14~ynh1 **Démo :** https://invidious.site/ diff --git a/conf/config.yml b/conf/config.yml index 7a4191b..7d29058 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -252,7 +252,7 @@ hsts: true ## Accepted values: true, false ## Default: true ## -#registration_enabled: true +registration_enabled: __REGISTRATION_ENABLED__ ## ## Allow/Forbid users to log-in. This setting affects the ability @@ -261,7 +261,7 @@ hsts: true ## Accepted values: true, false ## Default: true ## -#login_enabled: true +login_enabled: __LOGIN_ENABLED__ ## ## Enable/Disable the captcha challenge on the login page. @@ -272,7 +272,7 @@ hsts: true ## Accepted values: true, false ## Default: true ## -#captcha_enabled: true +captcha_enabled: __CAPTCHA_ENABLED__ ## ## List of usernames that will be granted administrator rights. diff --git a/conf/nginx.conf b/conf/nginx.conf index 346adf0..089fcff 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,10 +17,6 @@ location __PATH__/ { } location __PATH__/embed/ { - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } proxy_pass http://127.0.0.1:__PORT__/embed/; proxy_redirect off; diff --git a/config_panel.toml b/config_panel.toml new file mode 100644 index 0000000..14e71f1 --- /dev/null +++ b/config_panel.toml @@ -0,0 +1,32 @@ +version = "1.0" + +[main] +name = "Invidious configuration" +services = ["__APP__"] + + [main.config] + name = "Configuration Options" + + [main.config.registration_enabled] + ask = "Enable registration" + type = "boolean" + yes = "true" + no = "false" + help = "Allow/Forbid Invidious (local) account creation" + bind = "registration_enabled:__FINALPATH__/config/config.yml" + + [main.config.login_enabled] + ask = "Enable login" + type = "boolean" + yes = "true" + no = "false" + help = "Allow/Forbid users to log-in" + bind = "login_enabled:__FINALPATH__/config/config.yml" + + [main.config.captcha_enabled] + ask = "Enable captcha" + type = "boolean" + yes = "true" + no = "false" + help = "Enable/Disable the captcha challenge on the login page" + bind = "captcha_enabled:__FINALPATH__/config/config.yml" \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1de3257..cdae8d0 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.12~ynh1", + "version": "22.01.14~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index 7853fa5..b6ff7ea 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=b65dced646acf56f914a8916fd411237a141ecce +version_commit=8b0ed8b110752327b98565e4ecc4faf437c0bb3b # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" diff --git a/scripts/install b/scripts/install index f03e6f1..27c6ddb 100644 --- a/scripts/install +++ b/scripts/install @@ -30,6 +30,10 @@ language=$YNH_APP_ARG_LANGUAGE app=$YNH_APP_INSTANCE_NAME +registration_enabled="true" +login_enabled="true" +captcha_enabled="true" + #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #================================================= @@ -49,6 +53,9 @@ ynh_script_progression --message="Storing installation settings..." --weight=2 ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=language --value=$language +ynh_app_setting_set --app=$app --key=registration_enabled --value=$registration_enabled +ynh_app_setting_set --app=$app --key=login_enabled --value=$login_enabled +ynh_app_setting_set --app=$app --key=captcha_enabled --value=$captcha_enabled #================================================= # STANDARD MODIFICATIONS diff --git a/scripts/upgrade b/scripts/upgrade index 996076f..46f2b30 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,10 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) +registration_enabled=$(ynh_app_setting_get --app=$app --key=registration_enabled) +login_enabled=$(ynh_app_setting_get --app=$app --key=login_enabled) +captcha_enabled=$(ynh_app_setting_get --app=$app --key=captcha_enabled) + #================================================= # CHECK VERSION #================================================= @@ -59,6 +63,21 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 +if [ -z "$registration_enabled" ]; then + registration_enabled="true" + ynh_app_setting_set --app=$app --key=registration_enabled --value=$registration_enabled +fi + +if [ -z "$login_enabled" ]; then + login_enabled="true" + ynh_app_setting_set --app=$app --key=login_enabled --value=$login_enabled +fi + +if [ -z "$captcha_enabled" ]; then + captcha_enabled="true" + ynh_app_setting_set --app=$app --key=captcha_enabled --value=$captcha_enabled +fi + # Cleaning legacy permissions if ynh_legacy_permissions_exists; then ynh_legacy_permissions_delete_all From e04583c63fdb8bbbf5d8a91ba66222cb35a3a6f2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 20 Jan 2022 15:42:36 +0100 Subject: [PATCH 03/17] Fix --- conf/config.yml | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/config.yml b/conf/config.yml index 7d29058..aa15ae2 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -695,7 +695,7 @@ default_user_preferences: ## Accepted values: dash, hd720, medium, small ## Default: hd720 ## - quality: dash + quality: hd720 ## ## Default dash video quality. diff --git a/manifest.json b/manifest.json index cdae8d0..cada44c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.14~ynh1", + "version": "22.01.14~ynh2", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", From 32402a3a6a04fcc994139910cd18f1d942c526f4 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 20 Jan 2022 14:42:45 +0000 Subject: [PATCH 04/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 83695db..430517a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.14~ynh1 +**Shipped version:** 22.01.14~ynh2 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index ffbfcd0..1602737 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.14~ynh1 +**Version incluse :** 22.01.14~ynh2 **Démo :** https://invidious.site/ From 6c9530392d5b5ab35620a2bc5fd1ba4579ad629d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 20 Jan 2022 15:43:45 +0100 Subject: [PATCH 05/17] Testing (#75) * Update _common.sh --- README.md | 2 +- README_fr.md | 2 +- conf/config.yml | 2 +- manifest.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 83695db..430517a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.14~ynh1 +**Shipped version:** 22.01.14~ynh2 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index ffbfcd0..1602737 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.14~ynh1 +**Version incluse :** 22.01.14~ynh2 **Démo :** https://invidious.site/ diff --git a/conf/config.yml b/conf/config.yml index 7d29058..aa15ae2 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -695,7 +695,7 @@ default_user_preferences: ## Accepted values: dash, hd720, medium, small ## Default: hd720 ## - quality: dash + quality: hd720 ## ## Default dash video quality. diff --git a/manifest.json b/manifest.json index cdae8d0..cada44c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.14~ynh1", + "version": "22.01.14~ynh2", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", From 6e471eb2966e683a0c516bb9489fd5b06e16201a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 27 Jan 2022 10:11:42 +0100 Subject: [PATCH 06/17] upgrade to upstream --- manifest.json | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index cada44c..1480bbe 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.14~ynh2", + "version": "22.01.27~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index b6ff7ea..8f123b9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=8b0ed8b110752327b98565e4ecc4faf437c0bb3b +version_commit=0749baae4bf81ac89550f7927bd5375f27ea1ca7 # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From 648747f1395b9ecc9bca950908f60b30155363bc Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 27 Jan 2022 09:11:48 +0000 Subject: [PATCH 07/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 430517a..43af1e5 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.14~ynh2 +**Shipped version:** 22.01.27~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 1602737..1018a00 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.14~ynh2 +**Version incluse :** 22.01.27~ynh1 **Démo :** https://invidious.site/ From 71e2d03b3a2c64e6d70af765dbc74ad2e17d77df Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 1 Feb 2022 09:21:41 +0100 Subject: [PATCH 08/17] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8f123b9..95a1471 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=0749baae4bf81ac89550f7927bd5375f27ea1ca7 +version_commit=2289f98c1ee5d32aba37f4d46f5a8a6cb2a52641 # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From 6ec2d447e163fea692e7424e921fbc7067835c1b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 1 Feb 2022 09:22:09 +0100 Subject: [PATCH 09/17] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 1480bbe..6982eef 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.27~ynh1", + "version": "22.02.01~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", From eda5d4c6d25e2c14eb348d8d9c48553dbefbddf3 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 1 Feb 2022 08:22:15 +0000 Subject: [PATCH 10/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 43af1e5..0996f23 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.27~ynh1 +**Shipped version:** 22.02.01~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 1018a00..9dc7f50 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.27~ynh1 +**Version incluse :** 22.02.01~ynh1 **Démo :** https://invidious.site/ From 54b90110870967730720d0cc61f24ec18d007e29 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 8 Feb 2022 18:33:07 +0100 Subject: [PATCH 11/17] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 95a1471..d098485 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=2289f98c1ee5d32aba37f4d46f5a8a6cb2a52641 +version_commit=170e75499816af460d76d05ce4d440d37a01e0fb # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From ac33357622625c332afc82d9fad436079fc1e475 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 8 Feb 2022 18:33:24 +0100 Subject: [PATCH 12/17] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 6982eef..9066e9d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.02.01~ynh1", + "version": "22.02.08~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", From 8b06d27068970022387361d77c1f9d9d46a83607 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 8 Feb 2022 17:33:32 +0000 Subject: [PATCH 13/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 0996f23..12fa42d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.02.01~ynh1 +**Shipped version:** 22.02.08~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 9dc7f50..061605c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.02.01~ynh1 +**Version incluse :** 22.02.08~ynh1 **Démo :** https://invidious.site/ From 85077ffe75061f91e9ee73ad5b86da01fa33b95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 9 Feb 2022 12:53:34 +0100 Subject: [PATCH 14/17] Testing (#76) * Fix linter warnings * Update README.md * Update README.md delete App website (it's down) brought link in line 26 and 30 up to date with link to new place of documentation * Change version * Update links * Finding an available port * Add more_set_headers to NGINX conf * Silencing PostgreSQL warnings * Update nginx.conf * Update nginx.conf * Make `/embed/` links work properly (#8) Gives them the right headers and redirects them to the right place * Update manifest.json * fix * Update restore * Update install * Fix * Update install * Fix * Update install * Fix * Fix * Update check_process * Fix embeds again (#12) * Fix embeds again * Remove extra repo (#14) * Remove extra repo * Update manifest.json * Cleaning up * Patch * Fix * Fix * Fix * Update manifest.json * Update upgrade * Fix * Preserve config file and protect it * Fix permissions * Fix * Fix * fix * Update README.md (#28) .yml iso .yaml file * Fix * Update install * [autopatch] Update issue and PR templates (#32) Co-authored-by: Yunohost-Bot <> * [autopatch] Update issue and PR templates (#33) Co-authored-by: Yunohost-Bot <> * Fix * Fix * Update install * Auto-update README * Update install * Fix * Update _common.sh * Fix * Auto-update README * Fix * Fix * Create change_url * Fix * Update nginx.conf * Update check_process * Auto-update README * Auto-update README * upgrade crystal * Auto-update README * Update restore * Update upgrade * Update upgrade * Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. * Update upgrade * Update check_process * Add limitations * Auto-update README * New config file (#44) * Add config * Update check_process * From git commit (#46) * from commit * Fix doc link * Auto-update README * Update upgrade * Update config.yml * Update manifest.json * Auto-update README * Version bump (#54) * upgrade * Update restore * Add description * Auto-update README * config.yml may not exist during upgrade (#58) * Update systemd.service * Update manifest.json * Update manifest.json * Auto-update README * Reorder * Update _common.sh * Fix * Update Crystal (#63) * Update Crystal * Update install * Fix * Update _common.sh * Update _common.sh * 4.3 * Auto-update README * Upgrade * Auto-update README * Config panel (#72) * Add config panel * Update _common.sh * Fix * Auto-update README * upgrade to upstream * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README * Update _common.sh * Update manifest.json * Auto-update README Co-authored-by: deckname <58575263+deckname@users.noreply.github.com> Co-authored-by: Alexandre Aubin Co-authored-by: Georgelemental Co-authored-by: Jules-Bertholet Co-authored-by: clavelc <25869334+clavelc@users.noreply.github.com> Co-authored-by: YunoHost Bot Co-authored-by: Yunohost-Bot <> --- README.md | 2 +- README_fr.md | 2 +- manifest.json | 2 +- scripts/_common.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 430517a..12fa42d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.01.14~ynh2 +**Shipped version:** 22.02.08~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 1602737..061605c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.01.14~ynh2 +**Version incluse :** 22.02.08~ynh1 **Démo :** https://invidious.site/ diff --git a/manifest.json b/manifest.json index cada44c..9066e9d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.01.14~ynh2", + "version": "22.02.08~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index b6ff7ea..d098485 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=8b0ed8b110752327b98565e4ecc4faf437c0bb3b +version_commit=170e75499816af460d76d05ce4d440d37a01e0fb # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From 52fd06ccfbe533d2c49701c3e6c1502329640485 Mon Sep 17 00:00:00 2001 From: Jens Diemer Date: Fri, 25 Feb 2022 19:27:51 +0100 Subject: [PATCH 15/17] Bugfix #77 by replace "shards" command (#79) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 27c6ddb..a5ab054 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,7 @@ ynh_add_nginx_config ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60 pushd "$final_path" - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd diff --git a/scripts/upgrade b/scripts/upgrade index 46f2b30..ee39f4a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ then #git checkout master git reset --hard --quiet $version_commit git pull - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd fi From a8935a345bf3bfa19056fd51b287f2111325ae33 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Feb 2022 19:29:46 +0100 Subject: [PATCH 16/17] Upgrade to upstream --- manifest.json | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 9066e9d..5913b69 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.02.08~ynh1", + "version": "22.02.25~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index d098485..29056b7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=170e75499816af460d76d05ce4d440d37a01e0fb +version_commit=081fd541afc9b2f9b821e0f8f4c66dda0839295c # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" From ff2cf5f10f402c856460f507706db248392dcb3d Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Fri, 25 Feb 2022 18:29:51 +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 12fa42d..72ce012 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,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:** 22.02.08~ynh1 +**Shipped version:** 22.02.25~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 061605c..69630ef 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,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 :** 22.02.08~ynh1 +**Version incluse :** 22.02.25~ynh1 **Démo :** https://invidious.site/