From f8f72e879f3ad060ef56b254d90d0c8f8f008142 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Jan 2023 20:12:17 +0100 Subject: [PATCH 1/3] #8 --- scripts/install | 2 +- scripts/upgrade | 2 +- {conf => sources}/ifm.php | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {conf => sources}/ifm.php (100%) diff --git a/scripts/install b/scripts/install index 346c249..3ffe5b6 100755 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3 ynh_app_setting_set --app=$app --key=final_path --value=$final_path mkdir -p $final_path -mv "../conf/ifm.php" "$final_path/ifm.php" +mv "../sources/ifm.php" "$final_path/ifm.php" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 96dc505..347608f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,7 +67,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=2 - mv -f "../conf/ifm.php" "$final_path/ifm.php" + mv -f "../sources/ifm.php" "$final_path/ifm.php" fi chmod 750 "$final_path" diff --git a/conf/ifm.php b/sources/ifm.php similarity index 100% rename from conf/ifm.php rename to sources/ifm.php From 11927d1c0ec8d16132aad0f1d084cdb6f3c50583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 13 Jan 2023 20:25:50 +0100 Subject: [PATCH 2/3] Update manifest.json --- manifest.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 7e124ec..75571d5 100644 --- a/manifest.json +++ b/manifest.json @@ -6,11 +6,10 @@ "en": "Improved File Manager", "fr": "Gestionnaire de fichiers amélioré" }, - "version": "4.0.0~ynh1", + "version": "4.0.0~ynh2", "url": "https://github.com/misterunknown/ifm", "upstream": { "license": "MIT", - "website": "https://github.com/misterunknown/ifm", "demo": "https://ifmdemo.gitea.de/", "code": "https://github.com/misterunknown/ifm" }, From 58feff7898b76a8ccfc257f7c4cbca83a95026b2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 13 Jan 2023 19:25:55 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 3 +-- README_fr.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f2f39dd..a6ee33e 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The IFM is a web-based filemanager, which comes as a single file solution using - simple authentication (LDAP via `ldap_bind` possible) -**Shipped version:** 4.0.0~ynh1 +**Shipped version:** 4.0.0~ynh2 **Demo:** https://ifmdemo.gitea.de/ @@ -42,7 +42,6 @@ The IFM is a web-based filemanager, which comes as a single file solution using The IFM is usually locked to it's own directory (`/home/yunohost.app/ifm`), so you are not able to go above. You can change that by setting `env[IFM_ROOT_DIR] = /home/yunohost.app/ifm` in the PHP config `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 with the help of this [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). ## Documentation and resources -* Official app website: * Upstream app code repository: * YunoHost documentation for this app: * Report a bug: diff --git a/README_fr.md b/README_fr.md index 931f9d0..b0413c1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -28,7 +28,7 @@ L'IFM est un gestionnaire de fichiers basé sur le Web, qui se présente sous la - aperçu de l'image - authentification simple (LDAP via `ldap_bind` possible) -**Version incluse :** 4.0.0~ynh1 +**Version incluse :** 4.0.0~ynh2 **Démo :** https://ifmdemo.gitea.de/ @@ -41,7 +41,6 @@ L'IFM est un gestionnaire de fichiers basé sur le Web, qui se présente sous la L'IFM est généralement verrouillé dans son propre répertoire (`/home/yunohost.app/ifm`), vous ne pouvez donc pas aller sur d'autres répertoires. Vous pouvez changer cela en définissant `env[IFM_ROOT_DIR] = /home/yunohost.app/ifm` dans la configuration PHP `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 en vous aidant de cette [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). ## Documentations et ressources -* Site officiel de l'app : * Dépôt de code officiel de l'app : * Documentation YunoHost pour cette app : * Signaler un bug :