From 76805f12cc37a58aa867cf0a4146553b1ced713d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 15 Jan 2023 15:22:43 +0100 Subject: [PATCH 1/6] Add PHP8.1 and 8.2 --- check_process | 26 ++++++++++++++++++++++++++ config_panel.toml | 2 +- manifest.json | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index ca46183..afaef57 100644 --- a/check_process +++ b/check_process @@ -85,6 +85,32 @@ setup_sub_dir=1 upgrade=1 backup_restore=1 +;; Test with PHP8.1 + ; Manifest + domain="domain.tld" + path="/path" + with_sftp=0 + password="myreallystrengthpassword" + is_public=1 + phpversion="8.1" + with_mysql=0 + ; Checks + setup_sub_dir=1 + upgrade=1 + backup_restore=1 +;; Test with PHP8.2 + ; Manifest + domain="domain.tld" + path="/path" + with_sftp=0 + password="myreallystrengthpassword" + is_public=1 + phpversion="8.2" + with_mysql=0 + ; Checks + setup_sub_dir=1 + upgrade=1 + backup_restore=1 ;;; Options Email= Notification=change diff --git a/config_panel.toml b/config_panel.toml index 1d5407d..bff497e 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -24,7 +24,7 @@ name = "My Webapp configuration" [main.php_fpm_config.phpversion] ask = "PHP version" type = "select" - choices = ["none", "7.3", "7.4", "8.0"] + choices = ["none", "7.3", "7.4", "8.0", "8.1", "8.2"] default = "none" [main.php_fpm_config.fpm_footprint] diff --git a/manifest.json b/manifest.json index 69f6b2e..67275a9 100644 --- a/manifest.json +++ b/manifest.json @@ -64,7 +64,7 @@ "en": "Choose a PHP version you want to use for your app", "fr": "Choisissez une version PHP que vous souhaitez utiliser pour votre application" }, - "choices" : ["none", "7.3", "7.4", "8.0"], + "choices" : ["none", "7.3", "7.4", "8.0", "8.1", "8.2"], "default" : "7.4" }, { From b304babad53bfa43b351367b2675c5f657bfe7ac Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 25 Jan 2023 12:01:22 +0000 Subject: [PATCH 2/6] Auto-update README --- README.md | 4 +--- README_fr.md | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 068332d..d7b670d 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,7 @@ PHP-FPM version can also be selected among 7.3, 7.4, and 8.0. #### SFTP port -You may have change the SSH port as described in this section: -[Modify the SSH port](https://yunohost.org/en/security#modify-the-ssh-port); -then you should use this port to update your website with SFTP. +You may have change the SSH port as described in this section: [Modify the SSH port](https://yunohost.org/en/security#modify-the-ssh-port); then you should use this port to update your website with SFTP. ## Documentation and resources diff --git a/README_fr.md b/README_fr.md index 63a2878..6c53beb 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,6 +21,8 @@ Elle peut également créer une base de données MySQL - qui sera sauvegardée e La version de PHP-FPM peut aussi être choisie, parmi 7.3, 7.4, et 8.0. +**Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur. + **Version incluse :** 1.0~ynh12 ## Avertissements / informations importantes From 6bb034a440a8ce90cd10b8913988d0248481d4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:02:49 +0100 Subject: [PATCH 3/6] add versions supported --- doc/DESCRIPTION.md | 2 +- doc/DESCRIPTION_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 5f91f2b..9a5eea2 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -2,6 +2,6 @@ This application allows you to easily install a custom Web application, providin It can also create a MySQL database - which will be backed up and restored with your application. The connection details will be stored in the file `db_access.txt` located in the root directory. -PHP-FPM version can also be selected among 7.3, 7.4, and 8.0. +PHP-FPM version can also be selected among 7.3, 7.4, 8.0, 8.1 and 8.2. **Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is one you chosen during the installation. Under the Web directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside. diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index c439f61..b1eef70 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -2,6 +2,6 @@ Cette application vous permet d'installer facilement une application vide person Elle peut également créer une base de données MySQL - qui sera sauvegardée et restaurée avec votre application. Les détails de connexion seront stockés dans le fichier `db_accesss.txt` situé dans le répertoire racine. -La version de PHP-FPM peut aussi être choisie, parmi 7.3, 7.4, et 8.0. +La version de PHP-FPM peut aussi être choisie, parmi 7.3, 7.4, 8.0, 8.1 et 8.2. **Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur. From 8e6bab756dae74ede91fa7a9195a3ba5133ff53f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 25 Jan 2023 12:03:02 +0000 Subject: [PATCH 4/6] 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 d7b670d..c7e1037 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This application allows you to easily install a custom Web application, providin It can also create a MySQL database - which will be backed up and restored with your application. The connection details will be stored in the file `db_access.txt` located in the root directory. -PHP-FPM version can also be selected among 7.3, 7.4, and 8.0. +PHP-FPM version can also be selected among 7.3, 7.4, 8.0, 8.1 and 8.2. **Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is one you chosen during the installation. Under the Web directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside. diff --git a/README_fr.md b/README_fr.md index 6c53beb..d6cfbab 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Cette application vous permet d'installer facilement une application vide person Elle peut également créer une base de données MySQL - qui sera sauvegardée et restaurée avec votre application. Les détails de connexion seront stockés dans le fichier `db_accesss.txt` situé dans le répertoire racine. -La version de PHP-FPM peut aussi être choisie, parmi 7.3, 7.4, et 8.0. +La version de PHP-FPM peut aussi être choisie, parmi 7.3, 7.4, 8.0, 8.1 et 8.2. **Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur. From 1126d88ca69db7e23d22f73487c332ae3a31419c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:54:10 +0100 Subject: [PATCH 5/6] Update manifest.json --- manifest.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/manifest.json b/manifest.json index faa37ea..95c50be 100644 --- a/manifest.json +++ b/manifest.json @@ -13,9 +13,6 @@ "code": "https://github.com/YunoHost-Apps/my_webapp_ynh" }, "license": "GPL-3.0-only", - "upstream": { - "license": "GPL-3.0-only", - "code": "https://github.com/YunoHost-Apps/my_webapp_ynh" }, "maintainer": { "name": "", From 82a2315fc447560ea9b1ee1ede4900f6cd363705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:35:49 +0100 Subject: [PATCH 6/6] Update manifest.json --- manifest.json | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.json b/manifest.json index 95c50be..36fe534 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,6 @@ "code": "https://github.com/YunoHost-Apps/my_webapp_ynh" }, "license": "GPL-3.0-only", - }, "maintainer": { "name": "", "email": ""