From ea875a4c64339ce057d1c0faf64d99d01649c828 Mon Sep 17 00:00:00 2001 From: Pierluigi Cau Date: Sat, 21 Aug 2021 06:21:05 +0000 Subject: [PATCH 01/10] Try to fix issue with datadir --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c030df1..61ad29d 100644 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -datadir=/home/yunohost.app/$app +# datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir From 7bf2a7ca777c3b05a577147ed4126386033ba9cf Mon Sep 17 00:00:00 2001 From: Pierluigi Cau Date: Sat, 21 Aug 2021 06:28:31 +0000 Subject: [PATCH 02/10] No need to redeclare datadir --- scripts/install | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install b/scripts/install index 61ad29d..8048444 100644 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,6 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -# datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir From cab300e9e02f28b129e6a6cfe1c9b9567d829214 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 25 Sep 2021 15:31:31 +0200 Subject: [PATCH 03/10] Fix shasum --- conf/api.src | 2 +- conf/front.src | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/api.src b/conf/api.src index f2a77fa..b34f7fb 100644 --- a/conf/api.src +++ b/conf/api.src @@ -1,5 +1,5 @@ SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/1.1.4/download?job=build_api -SOURCE_SUM=82fb761ec4d98c732771011b3053f52237b85d575debf08f7184eede5fb0e37b +SOURCE_SUMc3ea7013ffcbeb4e2832cc596cdccb2e2034b4250a25130aa4dc0d648fe03463 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/front.src b/conf/front.src index 47bfc2a..6d3c19f 100644 --- a/conf/front.src +++ b/conf/front.src @@ -1,5 +1,5 @@ SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/builds/artifacts/1.1.4/download?job=build_front -SOURCE_SUM=4e7461510a7bbfefa78c514f35597ea7b95836cc4407ea0421463d7798c8a7cd +SOURCE_SUM=83e11273159dd617d16483168300768583b14ffb93cbceec5c4dccdfe2d3fb44 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true From dcb20213aa1c9acab0277ee2803417eaa1e6db19 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 25 Sep 2021 16:31:46 +0200 Subject: [PATCH 04/10] Update api.src --- conf/api.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/api.src b/conf/api.src index b34f7fb..e5c102a 100644 --- a/conf/api.src +++ b/conf/api.src @@ -1,5 +1,5 @@ SOURCE_URL=https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/artifacts/1.1.4/download?job=build_api -SOURCE_SUMc3ea7013ffcbeb4e2832cc596cdccb2e2034b4250a25130aa4dc0d648fe03463 +SOURCE_SUM=c3ea7013ffcbeb4e2832cc596cdccb2e2034b4250a25130aa4dc0d648fe03463 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true From 8b6831c5064be760c12e244a0fd80c50e9319214 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 23 Oct 2021 16:52:46 +0200 Subject: [PATCH 05/10] Fix disclaimer/description encoding making autoreadme crash --- doc/DISCLAIMER_fr.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 8343524..c8de072 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,10 +1,10 @@ -* L'installation nécessite un domaine ou un sous-domaine dédié. L'installation dans un chemin du domaine n'est pas prise en charge par le projet en amont en raison des exigences de dépendance. +* L'installation nécessite un domaine ou un sous-domaine dédié. L'installation dans un chemin du domaine n'est pas prise en charge par le projet en amont en raison des exigences de dépendance. * Admin -L'administrateur utilise le login que vous avez fourni lors de l'installation. Le mot de passe est le même que celui que vous utilisez pour YunoHost. +L'administrateur utilise le login que vous avez fourni lors de l'installation. Le mot de passe est le même que celui que vous utilisez pour YunoHost. -L'interface d'administration est accessible à l'adresse : votre.domaine.fr/api/admin -Pour ajouter une collection de fichiers musicaux à une bibliothèque dans votre installation YunoHost de Funkwhale, créez un lien symbolique vers votre collection intitulée "music" dans `/home/yunohost.app/funkwhale/data/`. +L'interface d'administration est accessible à l'adresse : votre.domaine.fr/api/admin +Pour ajouter une collection de fichiers musicaux à une bibliothèque dans votre installation YunoHost de Funkwhale, créez un lien symbolique vers votre collection intitulée "music" dans `/home/yunohost.app/funkwhale/data/`. `foo@bar:~$sudo ln -s /your/music/collection /home/yunohost.app/funkwhale/data/music` -Les fichiers peuvent ensuite être ajoutés à votre bibliothèque à partir de l'onglet *Envoi* dans une bibliothèque musicale sous la rubrique **Importer de la musique de votre serveur**. +Les fichiers peuvent ensuite être ajoutés à votre bibliothèque à partir de l'onglet *Envoi* dans une bibliothèque musicale sous la rubrique **Importer de la musique de votre serveur**. From 21d8aa8e8713741dbaab8edae26d1a32ecde5f8f Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sat, 23 Oct 2021 14:53:03 +0000 Subject: [PATCH 06/10] Auto-update README --- README.md | 55 +++++++++++++++++++++++----------------------------- README_fr.md | 55 ++++++++++++++++++++-------------------------------- 2 files changed, 45 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index e42ad47..339f75b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ + + # Funkwhale for YunoHost [![Integration level](https://dash.yunohost.org/integration/funkwhale.svg)](https://dash.yunohost.org/appci/app/funkwhale) ![](https://ci-apps.yunohost.org/ci/badges/funkwhale.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/funkwhale.maintain.svg) @@ -5,27 +10,27 @@ *[Lire ce readme en français.](./README_fr.md)* -> *This package allows you to install Funkwhale quickly and simply on a YunoHost server. +> *This package allows you to install Funkwhale quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -A modern, convivial and free music server on YunoHost -Installation requires a dedicated domain or subdomain. Installing in a subpath is not supported by the upstream project due to dependency requirements. +Modern, convivial and free music server -**Shipped version:** 1.1.4 +**Shipped version:** 1.1.4~ynh1 + +**Demo:** https://demo.funkwhale.audio ## Screenshots -![](https://upload.wikimedia.org/wikipedia/commons/d/d8/Capture_d%27%C3%A9cran_de_la_page_d%27accueil_de_Funkwhale.png) +![](./doc/screenshots/screenshot1.png) -## Demo +## Disclaimers / important information -* [Official demo](https://demo.funkwhale.audio) +* Any known limitations, constrains or stuff not working, such as (but not limited to): + * Installation requires a dedicated domain or subdomain. Installing in a subpath is not supported by the upstream project due to dependency requirements. -**Username:** demo **Password:** demo - -## Admin +* Admin The admin uses the login you provided at installation. The password is the same you use for YunoHost. The admin interface is accessible at the address: `your.domain.fr/api/admin` @@ -36,28 +41,14 @@ foo@bar:~$sudo ln -s /your/music/collection /home/yunohost.app/funkwhale/data/mu ``` The files can then be added to your library from the *uploading* tab in a music library under the heading **Import music from your server**. -## Documentation +## Documentation and resources - * Official documentation: https://docs.funkwhale.audio - -## YunoHost specific features - - * Are LDAP and HTTP auth supported? **Yes** - * Can the app be used by multiple users? **Yes** - -#### Supported architectures - -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/funkwhale.svg)](https://ci-apps.yunohost.org/ci/apps/funkwhale/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/funkwhale.svg)](https://ci-apps-arm.yunohost.org/ci/apps/funkwhale/) - -## Links - - * Report a bug: https://github.com/YunoHost-Apps/funkwhale_ynh/issues - * App website: https://docs.funkwhale.audio - * Upstream app repository: https://dev.funkwhale.audio/funkwhale/funkwhale - * YunoHost website: https://yunohost.org/ - ---- +* Official app website: https://funkwhale.audio/ +* Official user documentation: https://docs.funkwhale.audio/users/index.html +* Official admin documentation: https://docs.funkwhale.audio/admin/index.html +* Upstream app code repository: https://dev.funkwhale.audio/funkwhale +* YunoHost documentation for this app: https://yunohost.org/app_funkwhale +* Report a bug: https://github.com/YunoHost-Apps/funkwhale_ynh/issues ## Developer info @@ -69,3 +60,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/funkwhale_ynh/tree/te or sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug ``` + +**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index 8865e54..d5440d6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -3,29 +3,29 @@ [![Niveau d'intégration](https://dash.yunohost.org/integration/funkwhale.svg)](https://dash.yunohost.org/appci/app/funkwhale) ![](https://ci-apps.yunohost.org/ci/badges/funkwhale.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/funkwhale.maintain.svg) [![Installer Funkwhale avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=funkwhale) -*[Read this readme in english.](./README.md)* +*[Read this readme in english.](./README.md)* +*[Lire ce readme en français.](./README_fr.md)* -> *Ce package vous permet d'installer Funkwhale rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* +> *Ce package vous permet d'installer Funkwhale rapidement et simplement sur un serveur YunoHost. +Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* ## Vue d'ensemble -Un serveur de musique moderne, convivial et gratuit sur YunoHost -L'installation nécessite un domaine ou un sous-domaine dédié. L'installation dans un chemin du domaine n'est pas prise en charge par le projet en amont en raison des exigences de dépendance. +Serveur de musique moderne, convivial et gratuit -**Version incluse :** 1.1.4 +**Version incluse :** 1.1.4~ynh1 + +**Démo :** https://demo.funkwhale.audio ## Captures d'écran -![](https://upload.wikimedia.org/wikipedia/commons/d/d8/Capture_d%27%C3%A9cran_de_la_page_d%27accueil_de_Funkwhale.png) +![](./doc/screenshots/screenshot1.png) -## Démo +## Avertissements / informations importantes -* [Démo officielle](https://demo.funkwhale.audio) +* L'installation nécessite un domaine ou un sous-domaine dédié. L'installation dans un chemin du domaine n'est pas prise en charge par le projet en amont en raison des exigences de dépendance. -**Nom d’utilisateur :** demo **Mot de passe :** demo - -## Admin +* Admin L'administrateur utilise le login que vous avez fourni lors de l'installation. Le mot de passe est le même que celui que vous utilisez pour YunoHost. @@ -33,30 +33,15 @@ L'interface d'administration est accessible à l'adresse : votre.domaine.fr/api/ Pour ajouter une collection de fichiers musicaux à une bibliothèque dans votre installation YunoHost de Funkwhale, créez un lien symbolique vers votre collection intitulée "music" dans `/home/yunohost.app/funkwhale/data/`. `foo@bar:~$sudo ln -s /your/music/collection /home/yunohost.app/funkwhale/data/music` Les fichiers peuvent ensuite être ajoutés à votre bibliothèque à partir de l'onglet *Envoi* dans une bibliothèque musicale sous la rubrique **Importer de la musique de votre serveur**. -## Documentation - * Documentation officielle : https://docs.funkwhale.audio +## Documentations et ressources -## Caractéristiques spécifiques YunoHost - -#### Support multi-utilisateur - -* L'authentification LDAP et HTTP est-elle prise en charge ? **OUI** -* L'application peut-elle être utilisée par plusieurs utilisateurs ? **OUI** - -#### Architectures supportées - -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/funkwhale.svg)](https://ci-apps.yunohost.org/ci/apps/funkwhale/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/funkwhale.svg)](https://ci-apps-arm.yunohost.org/ci/apps/funkwhale/) - -## Liens - - * Signaler un bug : https://github.com/YunoHost-Apps/funkwhale_ynh/issues - * Site de l'application : https://docs.funkwhale.audio - * Dépôt de l'application principale : https://dev.funkwhale.audio/funkwhale/funkwhale - * Site web YunoHost : https://yunohost.org/ - ---- +* Site officiel de l'app : https://funkwhale.audio/ +* Documentation officielle utilisateur : https://docs.funkwhale.audio/users/index.html +* Documentation officielle de l'admin : https://docs.funkwhale.audio/admin/index.html +* Dépôt de code officiel de l'app : https://dev.funkwhale.audio/funkwhale +* Documentation YunoHost pour cette app : https://yunohost.org/app_funkwhale +* Signaler un bug : https://github.com/YunoHost-Apps/funkwhale_ynh/issues ## Informations pour les développeurs @@ -68,3 +53,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/funkwhale_ynh/tree/te ou sudo yunohost app upgrade funkwhale -u https://github.com/YunoHost-Apps/funkwhale_ynh/tree/testing --debug ``` + +**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file From 8b3025970e04ad097f78ed539a951c23dc65d47c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 23 Nov 2021 07:46:12 +0100 Subject: [PATCH 07/10] Add templates --- doc/DESCRIPTION.md | 1 + doc/DESCRIPTION_fr.md | 1 + manifest.json | 6 ++---- scripts/restore | 5 +---- 4 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 doc/DESCRIPTION.md create mode 100644 doc/DESCRIPTION_fr.md diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..213775f --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1 @@ +Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network. \ No newline at end of file diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100644 index 0000000..0541ed9 --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1 @@ +Funkwhale est un projet communautaire qui vous permet d'écouter et de partager de la musique et de l'audio au sein d'un réseau ouvert et décentralisé. \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1ffe232..dba86fb 100644 --- a/manifest.json +++ b/manifest.json @@ -36,13 +36,11 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index 60b5027..37cef64 100644 --- a/scripts/restore +++ b/scripts/restore @@ -39,10 +39,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS From 2d21ec59e44bd0fc7910d2f3fe99495e93eaf45c Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 23 Nov 2021 06:46:19 +0000 Subject: [PATCH 08/10] 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 339f75b..05f915d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -Modern, convivial and free music server +Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network. **Shipped version:** 1.1.4~ynh1 diff --git a/README_fr.md b/README_fr.md index d5440d6..154c42a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour ## Vue d'ensemble -Serveur de musique moderne, convivial et gratuit +Funkwhale est un projet communautaire qui vous permet d'écouter et de partager de la musique et de l'audio au sein d'un réseau ouvert et décentralisé. **Version incluse :** 1.1.4~ynh1 From 1f380ee9a3140ab43e931c8821718132714d87bb Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 29 Nov 2021 16:01:01 +0100 Subject: [PATCH 09/10] Bump package version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index dba86fb..a31b8df 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Modern, convivial and free music server", "fr": "Serveur de musique moderne, convivial et gratuit" }, - "version": "1.1.4~ynh1", + "version": "1.1.4~ynh2", "url": "https://funkwhale.audio", "upstream": { "license": "AGPL-3.0-or-later", From fcc0df43297785e7e122fba6caa3175f0bd159c7 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 29 Nov 2021 15:01:04 +0000 Subject: [PATCH 10/10] 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 05f915d..9f456d5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network. -**Shipped version:** 1.1.4~ynh1 +**Shipped version:** 1.1.4~ynh2 **Demo:** https://demo.funkwhale.audio diff --git a/README_fr.md b/README_fr.md index 154c42a..ef076b5 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Funkwhale est un projet communautaire qui vous permet d'écouter et de partager de la musique et de l'audio au sein d'un réseau ouvert et décentralisé. -**Version incluse :** 1.1.4~ynh1 +**Version incluse :** 1.1.4~ynh2 **Démo :** https://demo.funkwhale.audio