From 00ead15ac818cb9f96e463c198b5afd91056cf90 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:36:44 +0200 Subject: [PATCH 01/28] Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot --- README.md | 2 +- README_fr.md | 2 +- manifest.toml | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40fbd2b..a3f7fa5 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:** 23.08.02~ynh1 +**Shipped version:** 23.08.02~ynh2 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 41f326f..b2c05d5 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 :** 23.08.02~ynh1 +**Version incluse :** 23.08.02~ynh2 **Démo :** https://invidious.site/ diff --git a/manifest.toml b/manifest.toml index eff7332..ee8e74e 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 = "23.08.02~ynh1" +version = "23.08.02~ynh2" maintainers = ["eric_G"] @@ -60,6 +60,10 @@ ram.runtime = "50M" api.show_tile = false api.allowed = ["visitors"] api.protected = true + vi.url = "/vi" + vi.show_tile = false + vi.allowed = ["visitors"] + vi.protected = true [resources.apt] packages = "libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" From e08520e197961236ef058f38e78e4ab5f45a9463 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 26 Aug 2023 11:38:39 +0200 Subject: [PATCH 02/28] fix --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index ee8e74e..26b5dad 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 = "23.08.02~ynh2" +version = "23.08.26~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 45945b6..9d005ed 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=d956b1826e15da6cfcd9a1531b0f1e6ef577dd10 +version_commit=34508966027fce3f460d9670eeecef67b92565a0 #================================================= # PERSONAL HELPERS From 0c2cf46af7ee742f9364a7641a776a5e546e0f1c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Aug 2023 09:38:44 +0000 Subject: [PATCH 03/28] 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 a3f7fa5..b5b3135 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:** 23.08.02~ynh2 +**Shipped version:** 23.08.26~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index b2c05d5..80634f4 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 :** 23.08.02~ynh2 +**Version incluse :** 23.08.26~ynh1 **Démo :** https://invidious.site/ From f8344772b62607b2559014aa7020ddb51c96aa2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:57:59 +0200 Subject: [PATCH 04/28] Update manifest.toml --- manifest.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 26b5dad..63815b8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -29,7 +29,6 @@ ram.runtime = "50M" [install] [install.domain] type = "domain" - full_domain = true [install.admin] type = "user" From 62132e8ee321fa2e435c7c4cf89ea08fbce6b5c4 Mon Sep 17 00:00:00 2001 From: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Date: Wed, 6 Sep 2023 21:46:38 +0200 Subject: [PATCH 05/28] Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * fix * Auto-update README --------- Co-authored-by: yunohost-bot * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot --- scripts/install | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8728c61..de1da35 100644 --- a/scripts/install +++ b/scripts/install @@ -75,9 +75,6 @@ ynh_script_progression --message="Building Invidious.. (this will take some time pushd "$install_dir" ./invidious --migrate - ynh_exec_warn_less shards install --production - ynh_exec_warn_less crystal build $install_dir/src/invidious.cr --release - #ynh_exec_warn_less crystal build $install_dir/src/invidious.cr --Ddisable_quic --release popd #================================================= From 8779d17ebb2b825940782b8436f33305f069c51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 6 Sep 2023 21:47:43 +0200 Subject: [PATCH 06/28] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 63815b8..b03a89c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -65,7 +65,7 @@ ram.runtime = "50M" vi.protected = true [resources.apt] - packages = "libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" + packages = "postgresql libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" [resources.database] type = "postgresql" From fdd95605e0c3574518bad5d97acd2ea771872405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 6 Sep 2023 21:49:48 +0200 Subject: [PATCH 07/28] fix --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index b03a89c..5e6215b 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 = "23.08.26~ynh1" +version = "23.09.09~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 9d005ed..ba3855a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=34508966027fce3f460d9670eeecef67b92565a0 +version_commit=ac0c0609bb8b652e630c3603cd9dbb1c87fbdf44 #================================================= # PERSONAL HELPERS From 5abbbf4e95c5654466673744d974d830ccc5984b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 6 Sep 2023 19:49:53 +0000 Subject: [PATCH 08/28] 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 b5b3135..48bee17 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:** 23.08.26~ynh1 +**Shipped version:** 23.09.09~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 80634f4..a938654 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 :** 23.08.26~ynh1 +**Version incluse :** 23.09.09~ynh1 **Démo :** https://invidious.site/ From 9bd9b0af0072d62e444dffa31f26bc5d9f668521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:43:50 +0200 Subject: [PATCH 09/28] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5e6215b..06558d0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -65,7 +65,7 @@ ram.runtime = "50M" vi.protected = true [resources.apt] - packages = "postgresql libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev" + packages = "postgresql, libssl-dev, libxml2-dev, libyaml-dev, libgmp-dev, libreadline-dev, librsvg2-bin, imagemagick, libsqlite3-dev, zlib1g-dev, libevent-dev, libpcre3-dev" [resources.database] type = "postgresql" From b33c9d8bfc7c45bf5b0098c78398b0b8ca58ced0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Sep 2023 16:58:10 +0000 Subject: [PATCH 10/28] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 48bee17..195d151 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,6 @@ In addition to constituting an advantage in terms of confidentiality (the data d * Official app website: * Official admin documentation: * 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 a938654..167a753 100644 --- a/README_fr.md +++ b/README_fr.md @@ -43,7 +43,6 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné * Site officiel de l’app : * Documentation officielle de l’admin : * Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : * Signaler un bug : ## Informations pour les développeurs From e15f7053b9a5132b5c0a679eb8f1275d40e7ac9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:58:32 +0200 Subject: [PATCH 11/28] Update manifest.toml --- manifest.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 06558d0..1d1d2d3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -34,8 +34,6 @@ ram.runtime = "50M" type = "user" [install.init_main_permission] - help.en = "If enabled, Invidious will be accessible by people who do not have an account. This can be changed later via the webadmin." - help.fr = "Si cette case est cochée, Invidious sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." type = "group" default = "visitors" From 6c6235e1a6af20f407316bfea3a3258db04ee5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:59:23 +0200 Subject: [PATCH 12/28] cleaning --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 1d1d2d3..e0ad781 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 = "23.09.09~ynh1" +version = "23.09.29~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index ba3855a..57e4f63 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=ac0c0609bb8b652e630c3603cd9dbb1c87fbdf44 +version_commit=bb14f794969f62582917a39c2dd57bf92fa146a7 #================================================= # PERSONAL HELPERS From 4d4a87892e81d0037402e40aad38f40d7c06d192 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Sep 2023 16:59:29 +0000 Subject: [PATCH 13/28] 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 195d151..d3f7c03 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:** 23.09.09~ynh1 +**Shipped version:** 23.09.29~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 167a753..e10f7be 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 :** 23.09.09~ynh1 +**Version incluse :** 23.09.29~ynh1 **Démo :** https://invidious.site/ From 1a5fd8ec38603221daa7da4e296aa8bb2853bc6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 15 Oct 2023 11:17:38 +0200 Subject: [PATCH 14/28] update --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index e0ad781..1848cfd 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 = "23.09.29~ynh1" +version = "23.10.15~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 57e4f63..09133c8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=bb14f794969f62582917a39c2dd57bf92fa146a7 +version_commit=069e91d2a609b1df94bdfbb693335969b2a281d8 #================================================= # PERSONAL HELPERS From d5d5b9ac76d4fc11735d014e697d59819e36be3c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 15 Oct 2023 09:17:43 +0000 Subject: [PATCH 15/28] 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 d3f7c03..8ecc81c 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:** 23.09.29~ynh1 +**Shipped version:** 23.10.15~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index e10f7be..469b9d6 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 :** 23.09.29~ynh1 +**Version incluse :** 23.10.15~ynh1 **Démo :** https://invidious.site/ From 15de2e8d4da4f834a75cc3e086988f99e88abab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:22:03 +0200 Subject: [PATCH 16/28] upgrade --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 1848cfd..3fa83c6 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 = "23.10.15~ynh1" +version = "23.10.23~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 09133c8..3a81436 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=069e91d2a609b1df94bdfbb693335969b2a281d8 +version_commit=2414e7db411f9de7ba40cad370d4b195830d4456 #================================================= # PERSONAL HELPERS From 1a45270a8dd7af6fd298bc8e2ed86e376f97c41a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 23 Oct 2023 10:22:09 +0000 Subject: [PATCH 17/28] 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 8ecc81c..4bf8a2d 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:** 23.10.15~ynh1 +**Shipped version:** 23.10.23~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 469b9d6..bdb93ab 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 :** 23.10.15~ynh1 +**Version incluse :** 23.10.23~ynh1 **Démo :** https://invidious.site/ From fa1f2106f58c05cf199b6fdff3e477c0567e34ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 11 Nov 2023 20:36:57 +0100 Subject: [PATCH 18/28] fix --- manifest.toml | 7 +++++-- scripts/_common.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3fa83c6..5aa57b8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,23 +5,26 @@ name = "Invidious" description.en = "Alternative front-end to YouTube" description.fr = "Front-end alternatif à YouTube" -version = "23.10.23~ynh1" +version = "23.11.11~ynh1" maintainers = ["eric_G"] [upstream] license = "GPL-3.0-only" +website = "https://invidio.us/" demo = "https://invidious.site/" admindoc = "https://docs.invidious.io/" code = "https://github.com/iv-org/invidious" -website = "https://invidio.us/" [integration] yunohost = ">= 11.2" architectures = ["amd64"] multi_instance = false + ldap = false + sso = false + disk = "50M" ram.build = "2G" ram.runtime = "50M" diff --git a/scripts/_common.sh b/scripts/_common.sh index 3a81436..c2fc738 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=2414e7db411f9de7ba40cad370d4b195830d4456 +version_commit=c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a #================================================= # PERSONAL HELPERS From ba170d3d1d1ada05ae3c6c924913fd4d4df852b9 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 11 Nov 2023 19:37:01 +0000 Subject: [PATCH 19/28] 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 0efc3c3..3ee4f55 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:** 23.10.23~ynh1 +**Shipped version:** 23.11.11~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 5a5dda9..8eee447 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 :** 23.10.23~ynh1 +**Version incluse :** 23.11.11~ynh1 **Démo :** https://invidious.site/ From e89d34da3300ca6766e6f7d2f70518c42346094f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 29 Dec 2023 10:51:22 +0100 Subject: [PATCH 20/28] update to upstream --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5aa57b8..2fe2fb0 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 = "23.11.11~ynh1" +version = "23.12.18~ynh1" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index c2fc738..0238c24 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a +version_commit=97c4165f55c4574efb554c9dae8d919d08da1cdd #================================================= # PERSONAL HELPERS From 333b13b0be4937355c51c509306108f2250873e6 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Dec 2023 09:51:26 +0000 Subject: [PATCH 21/28] 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 3ee4f55..1be71fc 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:** 23.11.11~ynh1 +**Shipped version:** 23.12.18~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 8eee447..dc8b854 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 :** 23.11.11~ynh1 +**Version incluse :** 23.12.18~ynh1 **Démo :** https://invidious.site/ From 80fd6b85345e0b91264163ea84e701d2e1fc6741 Mon Sep 17 00:00:00 2001 From: Dallo <131776117+D4llo@users.noreply.github.com> Date: Thu, 4 Jan 2024 19:10:37 +0100 Subject: [PATCH 22/28] Update configuration link (#145) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * fix * Auto-update README --------- Co-authored-by: yunohost-bot * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * Update configuration link * Update configuration link fr --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> --- doc/ADMIN.md | 2 +- doc/ADMIN_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 49ab760..180357e 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1 +1 @@ -You can configure Invidious by modifying the configuration file `__INSTALL_DIR__/config/config.yml` with the help of this [documentation](https://docs.invidious.io/Configuration.md). +You can configure Invidious by modifying the configuration file `__INSTALL_DIR__/config/config.yml` with the help of this [documentation](https://docs.invidious.io/configuration/). diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 551eea4..b190fc8 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1 +1 @@ -Vous pouvez configurer Invidious en modifiant le fichier de configuration `__INSTALL_DIR__/config/config.yaml` avec l'aide de cette [documentation](https://docs.invidious.io/Configuration.md). +Vous pouvez configurer Invidious en modifiant le fichier de configuration `__INSTALL_DIR__/config/config.yaml` avec l'aide de cette [documentation](https://docs.invidious.io/configuration/). From 94b961c27de658a18a2afc0b3651f1256fd16fd1 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 4 Jan 2024 19:18:16 +0100 Subject: [PATCH 23/28] 2 new settings in the config panel (#144) * Testing (#143) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * fix * Auto-update README * Update manifest.toml * Only build invidious once per install (#136) * Thumbnails (#133) (#134) * Thumbnails (#133) * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * fix * Auto-update README --------- Co-authored-by: yunohost-bot * Only build invidious once per install * Update manifest.toml --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot * Update manifest.toml * fix * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * cleaning * Auto-update README * update * Auto-update README * upgrade * Auto-update README * fix * Auto-update README * update to upstream * Auto-update README --------- Co-authored-by: yunohost-bot Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> * implement new parameters * add new parameters * fix shellcheck SC2086 * typo * sigh an omission * add pre upgrade message about the 2 new settings * simplify ynh_add_config templates paths * bad copy paste :"3 * add how to find the config panel * add a note about the fact we can't use resources.sources instead of git * oupsi ^^" --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot Co-authored-by: selfhoster1312 <121760708+selfhoster1312@users.noreply.github.com> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com> --- conf/config.yml | 6 +-- config_panel.toml | 65 +++++++++++++++++++----------- doc/PRE_UPGRADE.d/23.12.18~ynh2.md | 7 ++++ scripts/change_url | 10 ++--- scripts/install | 33 +++++++++------ scripts/remove | 4 +- scripts/restore | 10 ++--- scripts/upgrade | 48 +++++++++++++--------- 8 files changed, 113 insertions(+), 70 deletions(-) create mode 100644 doc/PRE_UPGRADE.d/23.12.18~ynh2.md diff --git a/conf/config.yml b/conf/config.yml index 5ab0d23..d43b06e 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -216,7 +216,7 @@ hsts: true ## Accepted values: true, false ## Default: true ## -#popular_enabled: true +# popular_enabled: true ## ## Enable/Disable statstics (available at /api/v1/stats). @@ -305,7 +305,7 @@ admins: ["__ADMIN__"] ## Accepted values: true, false ## Default: true ## -#enable_user_notifications: true +enable_user_notifications: __ENABLE_USER_NOTIFICATIONS__ # ----------------------------- # Background jobs @@ -433,7 +433,7 @@ jobs: ## Accepted values: any string. HTML is accepted. ## Default: ## -#banner: +banner: __BANNER__ ## ## Subscribe to channels using PubSubHub (Google PubSubHubbub service). diff --git a/config_panel.toml b/config_panel.toml index 48f96ec..b9d11fb 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -4,29 +4,48 @@ version = "1.0" 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:__INSTALL_DIR__/config/config.yml" +[main.users_accounts] +name = "Users and accounts configuration" - [main.config.login_enabled] - ask = "Enable login" - type = "boolean" - yes = "true" - no = "false" - help = "Allow/Forbid users to log-in" - bind = "login_enabled:__INSTALL_DIR__/config/config.yml" +[main.users_accounts.registration_enabled] +ask = "Enable registration" +type = "boolean" +yes = "true" +no = "false" +help = "Allow/Forbid Invidious (local) account creation" +bind = "registration_enabled:__INSTALL_DIR__/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:__INSTALL_DIR__/config/config.yml" \ No newline at end of file +[main.users_accounts.login_enabled] +ask = "Enable login" +type = "boolean" +yes = "true" +no = "false" +help = "Allow/Forbid users to log-in" +bind = "login_enabled:__INSTALL_DIR__/config/config.yml" + +[main.users_accounts.captcha_enabled] +ask = "Enable captcha" +type = "boolean" +yes = "true" +no = "false" +help = "Enable/Disable the captcha challenge on the login page" +bind = "captcha_enabled:__INSTALL_DIR__/config/config.yml" + +[main.users_accounts.enable_user_notifications] +ask = "Enable user notifications" +type = "boolean" +yes = "true" +no = "false" +help = "Note: On large instances, it is recommended to set this option to 'false' in order to reduce the amount of data written to the database, and hence improve the overall performance of the instance." +bind = "enable_user_notifications:__INSTALL_DIR__/config/config.yml" + + +[main.miscellaneous] +name = "Miscellaneous configuration" + +[main.miscellaneous.banner] +ask.en = "Text of the banner" +bind = "banner:__INSTALL_DIR__/config/config.yml" +help = "Custom banner displayed at the top of every page. This can used for instance announcements. Accepted values: any string. HTML is accepted. Empty by default." +type = "string" diff --git a/doc/PRE_UPGRADE.d/23.12.18~ynh2.md b/doc/PRE_UPGRADE.d/23.12.18~ynh2.md new file mode 100644 index 0000000..c352c22 --- /dev/null +++ b/doc/PRE_UPGRADE.d/23.12.18~ynh2.md @@ -0,0 +1,7 @@ +Two new settings can now be configured in the app config panel: + +- Enable/Disable the user notifications for all users: On large instances, it is recommended to set this option to 'false' in order to reduce the amount of data written to the database, and hence improve the overall performance of the instance. +- Banner: Custom banner displayed at the top of every page. This can used for instance announcements. Accepted values: any string. HTML is accepted. Empty by default. + +To user either of these settings, go to the config panel: +Applications → Invidious → Invidious configuration diff --git a/scripts/change_url b/scripts/change_url index fb0e118..cbd75ed 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Stopping a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" #================================================= # MODIFY URL IN NGINX CONF @@ -30,10 +30,10 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Modifying a config file..." --weight=1 -ynh_add_config --template="../conf/config.yml" --destination="$install_dir/config/config.yml" +ynh_add_config --template="config.yml" --destination="$install_dir/config/config.yml" -chmod 600 $install_dir/config/config.yml -chown $app:$app "$install_dir/config/config.yml" +chmod 600 "$install_dir/config/config.yml" +chown "$app:$app" "$install_dir/config/config.yml" #================================================= # GENERIC FINALISATION @@ -42,7 +42,7 @@ chown $app:$app "$install_dir/config/config.yml" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" +ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index de1da35..ec40918 100644 --- a/scripts/install +++ b/scripts/install @@ -17,16 +17,20 @@ key=$(ynh_string_random --length=24) registration_enabled="true" login_enabled="true" captcha_enabled="true" +enable_user_notifications="true" +banner="" #================================================= # STORE SETTINGS FROM MANIFEST #================================================= ynh_script_progression --message="Storing installation settings..." --weight=2 -ynh_app_setting_set --app=$app --key=key --value=$key -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 +ynh_app_setting_set --app="$app" --key=key --value="$key" +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 +ynh_app_setting_set --app="$app" --key=enable_user_notifications --value=$enable_user_notifications +ynh_app_setting_set --app="$app" --key=banner --value="$banner" #================================================= # INSTALL DEPENDENCIES @@ -41,30 +45,33 @@ ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- - ynh_script_progression --message="Setting up source files..." --weight=4 mkdir -p "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R "$app:www-data" "$install_dir" -git config --system --add safe.directory $install_dir +git config --system --add safe.directory "$install_dir" # Download, check integrity, uncompress and patch the source from GitHub +# note: we can't use resources.sources instead of git because Invidious is +# expecting to be in a git environment for the building step... +# see: https://github.com/YunoHost-Apps/invidious_ynh/pull/127 git clone https://github.com/iv-org/invidious "$install_dir" --quiet pushd "$install_dir" - git reset --hard --quiet $version_commit + git reset --hard --quiet "$version_commit" make popd chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R "$app:www-data" "$install_dir" #================================================= # 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" +ynh_add_config --template="config.yml" --destination="$install_dir/config/config.yml" chmod 600 "$install_dir/config/config.yml" -chown $app:$app "$install_dir/config/config.yml" +chown "$app:$app" "$install_dir/config/config.yml" #================================================= # SPECIFIC SETUP @@ -85,7 +92,7 @@ ynh_script_progression --message="Adding system configurations related to $app . # Create a dedicated NGINX config ynh_add_nginx_config -ynh_add_config --template="../conf/cron_invidious" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron_invidious" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" @@ -93,7 +100,7 @@ ynh_use_logrotate ynh_add_systemd_config -yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" +yunohost service add "$app" --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE @@ -101,7 +108,7 @@ yunohost service add $app --description="Invidious is an alternative front-end t ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=$app --action=start --log_path=systemd +ynh_systemd_action --service_name="$app" --action=start --log_path=systemd #================================================= # END OF SCRIPT diff --git a/scripts/remove b/scripts/remove index 95cc5e2..ca7f10d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -16,10 +16,10 @@ source /usr/share/yunohost/helpers #================================================= # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) -if ynh_exec_warn_less yunohost service status $app >/dev/null +if ynh_exec_warn_less yunohost service status "$app" >/dev/null then ynh_script_progression --message="Removing $app service..." --weight=1 - yunohost service remove $app + yunohost service remove "$app" fi #================================================= diff --git a/scripts/restore b/scripts/restore index c970c8c..5fbbb2a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -26,7 +26,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R "$app:www-data" "$install_dir" #================================================= # SPECIFIC RESTORATION @@ -42,7 +42,7 @@ ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- - #================================================= ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=6 -ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name +ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" #================================================= # RESTORE SYSTEM CONFIGURATIONS @@ -50,7 +50,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service --quiet +systemctl enable "$app.service" --quiet ynh_restore_file --origin_path="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" @@ -58,7 +58,7 @@ chmod 644 "/etc/cron.d/$app" ynh_restore_file --origin_path="/etc/logrotate.d/$app" -yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" +yunohost service add "$app" --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # GENERIC FINALIZATION @@ -67,7 +67,7 @@ yunohost service add $app --description="Invidious is an alternative front-end t #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -ynh_systemd_action --service_name=$app --action=start --log_path=systemd +ynh_systemd_action --service_name="$app" --action=start --log_path=systemd ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 0dd72ee..84db87e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -22,7 +22,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Stopping a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=stop --log_path=systemd +ynh_systemd_action --service_name="$app" --action=stop --log_path=systemd #================================================= # ENSURE DOWNWARD COMPATIBILITY @@ -31,22 +31,32 @@ 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 + 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 + 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 + ynh_app_setting_set --app="$app" --key=captcha_enabled --value=$captcha_enabled fi if [ -z "${key:-}" ]; then key=$(ynh_string_random --length=24) - ynh_app_setting_set --app=$app --key=key --value=$key + ynh_app_setting_set --app="$app" --key=key --value="$key" +fi + +if [ -z "${enable_user_notifications:-}" ]; then + enable_user_notifications="true" + ynh_app_setting_set --app="$app" --key=enable_user_notifications --value="$enable_user_notifications" +fi + +if [ -z "${banner:-}" ]; then + banner="" + ynh_app_setting_set --app="$app" --key=banner --value="$banner" fi #================================================= @@ -64,21 +74,21 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=5 - pushd $install_dir - chown -R $app:www-data "$install_dir" - git config --system --add safe.directory $install_dir + pushd "$install_dir" + chown -R "$app:www-data" "$install_dir" + git config --system --add safe.directory "$install_dir" - ynh_exec_as $app git fetch + ynh_exec_as "$app" git fetch #git checkout master - ynh_exec_as $app git reset --hard --quiet $version_commit - ynh_exec_as $app git pull + ynh_exec_as "$app" git reset --hard --quiet "$version_commit" + ynh_exec_as "$app" git pull ynh_exec_warn_less shards install --production - ynh_exec_warn_less crystal build $install_dir/src/invidious.cr --release + ynh_exec_warn_less crystal build "$install_dir/src/invidious.cr" --release popd fi chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R "$app:www-data" "$install_dir" #================================================= # REAPPLY SYSTEM CONFIGURATIONS @@ -90,30 +100,30 @@ ynh_add_nginx_config ynh_add_systemd_config -ynh_add_config --template="../conf/cron_invidious" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron_invidious" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" ynh_use_logrotate --non-append -yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" +yunohost service add "$app" --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log" #================================================= # 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" +ynh_add_config --template="config.yml" --destination="$install_dir/config/config.yml" -chmod 600 $install_dir/config/config.yml -chown $app:$app "$install_dir/config/config.yml" +chmod 600 "$install_dir/config/config.yml" +chown "$app:$app" "$install_dir/config/config.yml" #================================================= # START SYSTEMD SERVICE #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=restart --log_path=systemd +ynh_systemd_action --service_name="$app" --action=restart --log_path=systemd #================================================= # END OF SCRIPT From 868b8353e24e369bde60bde4e976a96c3475b257 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 7 Jan 2024 09:29:26 +0100 Subject: [PATCH 24/28] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 2fe2fb0..8e0b732 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 = "23.12.18~ynh1" +version = "23.12.18~ynh2" maintainers = ["eric_G"] From bf30d95eee7a4f605cb3523bbbcd8cd3359fd5a4 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 7 Jan 2024 08:29:31 +0000 Subject: [PATCH 25/28] 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 1be71fc..9e11025 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:** 23.12.18~ynh1 +**Shipped version:** 23.12.18~ynh2 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index dc8b854..e6b10fd 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 :** 23.12.18~ynh1 +**Version incluse :** 23.12.18~ynh2 **Démo :** https://invidious.site/ From 44f648e113d7bf9415f0e62761b3b75b4179fe97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 14 Jan 2024 19:39:43 +0100 Subject: [PATCH 26/28] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8e0b732..af3ba36 100644 --- a/manifest.toml +++ b/manifest.toml @@ -25,7 +25,7 @@ ldap = false sso = false -disk = "50M" +disk = "150M" ram.build = "2G" ram.runtime = "50M" From 0d84b41013e49715605e226aeed99164d4b8558c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:28:40 +0100 Subject: [PATCH 27/28] upgrade to upstream --- manifest.toml | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index af3ba36..ed3d03a 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 = "23.12.18~ynh2" +version = "24.01.18~ynh2" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 0238c24..79e274b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=97c4165f55c4574efb554c9dae8d919d08da1cdd +version_commit=1c0b4205d40781ff2d34d64dddf29e5dc89d1723 #================================================= # PERSONAL HELPERS From bac45bbb07f066151ee19b9d798cfafc4855c086 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 18 Jan 2024 09:28:45 +0000 Subject: [PATCH 28/28] 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 9e11025..46be3cd 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:** 23.12.18~ynh2 +**Shipped version:** 24.01.18~ynh2 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index e6b10fd..0ddbf47 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 :** 23.12.18~ynh2 +**Version incluse :** 24.01.18~ynh2 **Démo :** https://invidious.site/